-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency jest-preset-angular to v14 #243
base: develop
Are you sure you want to change the base?
Conversation
⚠ Artifact update problemRenovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below: File name: package-lock.json
|
b213451
to
8771fc4
Compare
8771fc4
to
00a710a
Compare
00a710a
to
2048e44
Compare
|
2048e44
to
2c5c4de
Compare
This PR contains the following updates:
8.3.2
->14.1.1
Release Notes
thymikee/jest-preset-angular (jest-preset-angular)
v14.1.1
Compare Source
Features
v14.1.0
Compare Source
Features
14.0.4 (2024-05-07)
Features
outputFromObservable
, closes #2374input.required
, closes #237014.0.3 (2024-02-16)
Features
14.0.2 (2024-02-11)
Performance Improvements
14.0.1 (2024-02-09)
Features
esbuild
to be version from Angular 15.x.x (af38578)v14.0.4
Compare Source
Features
outputFromObservable
, closes #2374input.required
, closes #2370v14.0.3
Compare Source
Features
v14.0.2
Compare Source
Performance Improvements
v14.0.1
Compare Source
Features
esbuild
to be version from Angular 15.x.x (af38578)v14.0.0
Compare Source
BREAKING CHANGES
13.1.6 (2024-01-11)
Bug Fixes
13.1.5 (2024-01-03)
Bug Fixes
13.1.4 (2023-11-11)
Bug Fixes
13.1.3 (2023-11-06)
Features
13.1.2 (2023-09-19)
Code Refactoring
zone.js/testing
instead ofzone-testing-bundle
(#2163) (5128ecb), closes #216213.1.1 (2023-05-14)
Bug Fixes
ngcc-jest-processor
(#2079) (b6b3911)v13.1.6
Compare Source
Bug Fixes
v13.1.5
Compare Source
Bug Fixes
v13.1.4
Compare Source
Bug Fixes
v13.1.3
Compare Source
Features
v13.1.2
Compare Source
Code Refactoring
zone.js/testing
instead ofzone-testing-bundle
(#2163) (5128ecb), closes #2162v13.1.1
Compare Source
Bug Fixes
ngcc-jest-processor
(#2079) (b6b3911)v13.1.0
Compare Source
Features
13.0.1 (2023-03-21)
Bug Fixes
ɵivyEnabled
with workaround to detect Ivy mode (#2016) (44d3922), closes #2003v13.0.1
Compare Source
Bug Fixes
ɵivyEnabled
with workaround to detect Ivy mode (#2016) (44d3922), closes #2003v13.0.0
Compare Source
Bug Fixes
jest-util
to list ofdependencies
(#1777) (db8f7c9), closes #1773esbuild-check.js
(#1806) (c2f2b61)Features
target
toES2015
(#1788) (695c730)destroyAfterEach
andteardown
options (#1768) (fe4c73b)BREAKING CHANGES
destroyAfterEach
andteardown
are no longer available to use, please usetestEnvironmentOptions
instead.target
istsconfig
is now respected according to user configuration, it is no longer hardcoded atES2015
. See also note at https://thymikee.github.io/jest-preset-angular/docs/getting-started/installationv12.2.6
Compare Source
Bug Fixes
__ngContext__
from snapshots (#1816) (6997b0b)v12.2.5
Compare Source
Bug Fixes
v12.2.4
Compare Source
Bug Fixes
v12.2.3
Compare Source
Features
v12.2.2
Compare Source
Bug Fixes
ts_compatibility/src
when publishing the package (#1747) (26f021f), closes #1743v12.2.1
Compare Source
Bug Fixes
replace-resource
(#1739) (aea7205), closes #1732v12.2.0
Compare Source
Bug Fixes
Features
global-setup.mjs
to use with Jest ESM mode (#1661) (97a0ec8)TestEnvironmentOptions
for setup test env (#1657) (a64a4ac), closes #1656v12.1.0
Compare Source
Features
teardown
object toglobal-setup
(#1475) (3dab02b)12.0.1 (2022-05-14)
Features
destroyAfterEach
viaglobalThis
for setup test env (#1469) (9a735f9), closes #1466v12.0.1
Compare Source
Features
destroyAfterEach
viaglobalThis
for setup test env (#1469) (9a735f9), closes #1466v12.0.0
Compare Source
Bug Fixes
jest
andtypescript
to peer deps (#1442) (6a652af), closes #1441Features
setup-jest.mjs
for ESM mode (#1463) (cc6ce3f)esbuild
(#1455) (b58d089), closes #1413 #1437ng-jest-resolver
from default/esm presets (#1440) (56673c4)reflect-metadata
insetup-jest
(#1428) (5a36729)zone-patch
and its fallback (#1427) (bf9ea44)ngcc
with specifictsconfig
path (#1418) (5f535b5), closes #1348ngcc
viaskipNgcc
option viaglobalThis
(#1417) (7950b5c), closes #1396ngcc-jest-processor
entry file (#1414) (2c5fd20)BREAKING CHANGES
zone.js
is 0.11.x and Angular 10 is EOL, so now we can use zone patch directly fromzone.js
.If one is not using
zone.js@0.11.x
, please upgrade.reflect-metadata
is not needed anymore.ng-jest-resolver
is now optional..mjs
and any files fromnode_modules
excludingtslib
to be processed withesbuild
.With the new option
processWithEsbuild
, now we put default all.mjs
files to be processed byesbuild
. Files likelodash-es
default isn't processed byesbuild
.If you wish to use
esbuild
to process such files, please configure in your Jest config likengcc-jest-processor
entry file is now removed. One should usejest-preset-angular/global-setup
instead.11.1.2 (2022-04-24)
Bug Fixes
ngcc-jest-processor
(3899abf), closes #141111.1.1 (2022-02-11)
Performance Improvements
esbuild
result (#1309) (3412142)ts-jest
config set cache (#1318) (d47d1eb), closes #1311v11.1.2
Compare Source
Bug Fixes
ngcc-jest-processor
(3899abf), closes #1411v11.1.1
Compare Source
Performance Improvements
esbuild
result (#1309) (3412142)ts-jest
config set cache (#1318) (d47d1eb), closes #1311v11.1.0
Compare Source
Bug Fixes
esbuild
(#1283) (af528e6), closes #1255DEPRECATIONS
ngcc-jest-processor
is deprecated in favor ofglobalSetup
file (#1275) (75e7368)11.0.1 (2021-11-22)
Bug Fixes
bs-logger
as a direct dependency (#1192) (c7f6550), closes #1191v11.0.1
Compare Source
Bug Fixes
bs-logger
as a direct dependency (#1192) (c7f6550), closes #1191v11.0.0
Compare Source
Bug Fixes
ts-jest
types for preset types (#1172) (81854f6)mjs
to the list ofmoduleFileExtensions
(#1155) (3c992a1), closes #1147Features
Code Refactoring
transformIgnorePatterns
value (#1162) (99a4b1b1)Performance Improvements
js
files innode_modules
withesbuild
(#1169) (1de3bf0)esbuild
to process.mjs
files (#1142) (5d3fe10), closes #1141BREAKING CHANGES
js
files fromnode_modules
are now compiled withesbuild
to improve performance.^12.20.0 || ^14.15.0 || >=16.10.0
to handle
.mjs
files from Angular ESM packages. Please check our migration documentation at https://thymikee.github.io/jest-preset-angular/docs/next/guides/angular-13+Special Thanks
Alan Agius, Pete Bacon Darwin from Angular team
v10.1.0
Compare Source
Bug Fixes
target
to ES2015 whentarget
> ES2016 (#1118) (64229a8), closes #1058Code Refactoring
downlevel-ctor
transformer (#1099) (3c26aba)replace-resource
transformer (#1100) (ce68298)html-comment
to new Jest serializer (#1114) (3005330)v10.0.1
Compare Source
Bug Fixes
ngcc-jest-processor
via some Jest args (#1013) (7d3a712)v10.0.0
Compare Source
Build
BREAKING CHANGES
Angular 9 is no longer supported, see https://angular.io/guide/releases#support-policy-and-schedule The minimum support Angular version now is 10
9.0.7 (2021-08-20)
Bug Fixes
ngcc-jest-processor
(#991) (4735f90), closes #9909.0.6 (2021-08-17)
Bug Fixes
allowJs: true
internally always (#976) (9900c8b), closes #974@angular/core
forngcc-jest-preprocessor
util (#981) (c35d3f2)9.0.5 (2021-07-22)
Features
Code Refactoring
webpack
and@angular-devkit/build-angular
from peer dependencies and optional dependencies (#973) (ce7fc60)9.0.4 (2021-06-15)
Bug Fixes
9.0.3 (2021-06-08)
Bug Fixes
@angular/platform-browser-dynamic
to peer dep (c1729e4)9.0.2 (2021-06-06)
Bug Fixes
exports
inpackage.json
(#948) (928e08b), closes /github.com/thymikee/jest-preset-angular/issues/941#issuecomment-8545803489.0.1 (2021-05-28)
Bug Fixes
build
inpackage.json
(#936) (b035581), closes #935v9.0.7
Compare Source
Bug Fixes
ngcc-jest-processor
(#991) (4735f90), closes #990v9.0.6
Compare Source
Bug Fixes
allowJs: true
internally always (#976) (9900c8b), closes #974@angular/core
forngcc-jest-preprocessor
util (#981) (c35d3f2)v9.0.5
Compare Source
Features
Code Refactoring
webpack
and@angular-devkit/build-angular
from peer dependencies and optional dependencies (#973) (ce7fc60)v9.0.4
Compare Source
Bug Fixes
v9.0.3
Compare Source
Bug Fixes
@angular/platform-browser-dynamic
to peer dep (c1729e4)v9.0.2
Compare Source
Bug Fixes
exports
inpackage.json
(#948) (928e08b), closes /github.com/thymikee/jest-preset-angular/issues/941#issuecomment-854580348v9.0.1
Compare Source
Bug Fixes
build
inpackage.json
(#936) (b035581), closes #935v9.0.0
Compare Source
Bug Fixes
moduleNameMapper
config (#910) (df482bc), closes #908Features
exports
field topackage.json
, see https://nodejs.org/api/packages.html#packages_package_entry_pointspresets
entry point (#801) (e4ff0c0)replace-resources
AST transformer from Angular (#708) (1b20c19)downlevel-ctor
AST transformer from Angular (#730) (1f964c3)Performance Improvements
cacheFS
from jest to reduce file system reading (#679) (f5d9d4b)skipLibCheck: true
if not defined in tsconfig (#678) (0df3ce1)BREAKING CHANGES
import 'jest-preset-angular'
should change toimport 'jest-preset-angular/setup-jest'
InlineFilesTransformer
andStripStylesTransformer
are REMOVED anddefault
jest-preset-angular
uses AST transformers from@angular/compiler-cli
and@ngtools/webpack
.One should remove the old transformers from the jest config.
jest-preset-angular
now switches to default to use its own transformer which wraps aroundts-jest
to transform codes.Users who are currently doing in jest config
should change to
'jest-preset-angular/build/AngularNoNgAttributesSnapshotSerializer.js'
is changed to'jest-preset-angular/build/serializers/no-ng-attributes
.'jest-preset-angular/build/AngularSnapshotSerializer.js'
is changed to'jest-preset-angular/build/serializers/ng-snapshot
.'jest-preset-angular/build/HTMLCommentSerializer.js'
is changed to'jest-preset-angular/build/serializers/html-comment
.tsconfig.json
doesn't contain any path mappingshence removing
moduleNameMapper
from preset will make sure that the preset works in pair withtsconfig.json
.Ones who are relying on the value of
moduleNameMapper
from the preset should create their ownmoduleNameMapper
config manually or via
ts-jest
util https://kulshekhar.github.io/ts-jest/docs/getting-started/paths-mapping.If you wish to reuse the old configuration of
moduleNameMapper
, you can put this into your Jest configskipLibCheck
is not defined in tsconfig,jest-preset-angular
will set it totrue
. If one wants to have it asfalse
, one can set explicitly in tsconfig.jest-preset-angular
now switches to default to use its own transformer which wraps aroundts-jest
to transform codes.Users who are currently doing in jest config
should change to
v8.4.0
Compare Source
Features
ngcc-jest-processor
util script (#853) (e8c9689)DEPRECATIONS
'jest-preset-angular/build/AngularNoNgAttributesSnapshotSerializer.js'
is deprecated in favor of'jest-preset-angular/build/serializers/no-ng-attributes'
'jest-preset-angular/build/AngularSnapshotSerializer.js'
is deprecated in favor of'jest-preset-angular/build/serializers/ng-snapshot'
'jest-preset-angular/build/HTMLCommentSerializer.js'
is deprecated in favor of'jest-preset-angular/build/serializers/html-comment'
import 'jest-preset-angular'
is deprecated in favor ofimport 'jest-preset-angular/setup-jest'
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.