Skip to content

Commit 2d5e4f2

Browse files
fix(deps): update dependency synckit to ^0.9.0 (#14829)
1 parent 349afc3 commit 2d5e4f2

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

packages/jest-snapshot/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"natural-compare": "^1.4.0",
4040
"pretty-format": "workspace:*",
4141
"semver": "^7.5.3",
42-
"synckit": "^0.8.5"
42+
"synckit": "^0.9.0"
4343
},
4444
"devDependencies": {
4545
"@babel/preset-flow": "^7.7.2",

packages/jest-snapshot/src/InlineSnapshots.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export function saveInlineSnapshots(
5252
if (semver.gte(prettier.version, '3.0.0')) {
5353
workerFn = createSyncFn(
5454
require.resolve(/*webpackIgnore: true*/ './worker'),
55-
);
55+
) as WorkerFn;
5656
cachedPrettier.set(`worker|${prettierPath}`, workerFn);
5757
}
5858
} catch (error) {

yarn.lock

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13272,7 +13272,7 @@ __metadata:
1327213272
prettier-v2: "npm:prettier@^2.1.5"
1327313273
pretty-format: "workspace:*"
1327413274
semver: ^7.5.3
13275-
synckit: ^0.8.5
13275+
synckit: ^0.9.0
1327613276
tsd-lite: ^0.8.0
1327713277
languageName: unknown
1327813278
linkType: soft
@@ -19804,7 +19804,7 @@ __metadata:
1980419804
languageName: node
1980519805
linkType: hard
1980619806

19807-
"synckit@npm:^0.8.5, synckit@npm:^0.8.6":
19807+
"synckit@npm:^0.8.6":
1980819808
version: 0.8.8
1980919809
resolution: "synckit@npm:0.8.8"
1981019810
dependencies:
@@ -19814,6 +19814,16 @@ __metadata:
1981419814
languageName: node
1981519815
linkType: hard
1981619816

19817+
"synckit@npm:^0.9.0":
19818+
version: 0.9.0
19819+
resolution: "synckit@npm:0.9.0"
19820+
dependencies:
19821+
"@pkgr/core": ^0.1.0
19822+
tslib: ^2.6.2
19823+
checksum: c38bc3df0306c3242ddc5628d766ef0b4ca85a8a861b0a26b03483f09eca31a7fbdbcefb1b9fdee9e49db7739df25ce728cb2c6aef02ddc58bf46ee71924a36b
19824+
languageName: node
19825+
linkType: hard
19826+
1981719827
"tapable@npm:^1.0.0":
1981819828
version: 1.1.3
1981919829
resolution: "tapable@npm:1.1.3"

0 commit comments

Comments
 (0)