Skip to content

Commit c56a260

Browse files
committed
feat(sync-actions): update jsondiffpatch lib to ESM version
1 parent dc69426 commit c56a260

File tree

3 files changed

+23
-6
lines changed

3 files changed

+23
-6
lines changed

jest.test.config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ module.exports = {
1919
'^.+\\.js$': '<rootDir>/jest.transform.js',
2020
'^.+\\.ts?$': 'ts-jest',
2121
},
22+
transformIgnorePatterns: [
23+
"node_modules/(?!(jsondiffpatch)/)"
24+
],
2225
testRegex: '\\.spec\\.(js|ts)$',
2326
moduleFileExtensions: ['ts', 'js'],
2427
testPathIgnorePatterns: [

packages/sync-actions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
},
3737
"dependencies": {
3838
"fast-equals": "^2.0.0",
39-
"jsondiffpatch": "0.4.0",
39+
"jsondiffpatch": "0.6.0",
4040
"lodash.flatten": "^4.4.0",
4141
"lodash.foreach": "^4.5.0",
4242
"lodash.isequal": "^4.5.0",

yarn.lock

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2807,6 +2807,11 @@
28072807
dependencies:
28082808
"@types/node" "*"
28092809

2810+
"@types/diff-match-patch@^1.0.36":
2811+
version "1.0.36"
2812+
resolved "https://registry.yarnpkg.com/@types/diff-match-patch/-/diff-match-patch-1.0.36.tgz#dcef10a69d357fe9d43ac4ff2eca6b85dbf466af"
2813+
integrity sha512-xFdR6tkm0MWvBfO8xXCSsinYxHcqkQUlcHeSpMC2ukzOb6lwQAfDmW+Qt0AvlGd8HpsS28qKsB+oPeJn9I39jg==
2814+
28102815
"@types/eslint-visitor-keys@^1.0.0":
28112816
version "1.0.0"
28122817
resolved "https://registry.yarnpkg.com/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#1ee30d79544ca84d68d4b3cdb0af4f205663dd2d"
@@ -5748,7 +5753,7 @@ dezalgo@^1.0.0, dezalgo@~1.0.3:
57485753
asap "^2.0.0"
57495754
wrappy "1"
57505755

5751-
diff-match-patch@^1.0.0:
5756+
diff-match-patch@^1.0.0, diff-match-patch@^1.0.5:
57525757
version "1.0.5"
57535758
resolved "https://registry.yarnpkg.com/diff-match-patch/-/diff-match-patch-1.0.5.tgz#abb584d5f10cd1196dfc55aa03701592ae3f7b37"
57545759
integrity sha512-IayShXAgj/QMXgB0IWmKx+rOPuGMhqm5w6jvFxmVenXKIzRqTAAsbBPT3kWQeGANj3jGgvcvv4yK6SxqYmikgw==
@@ -9282,10 +9287,19 @@ json5@^1.0.2:
92829287
dependencies:
92839288
minimist "^1.2.0"
92849289

9285-
jsondiffpatch@0.4.0:
9286-
version "0.4.0"
9287-
resolved "https://registry.yarnpkg.com/jsondiffpatch/-/jsondiffpatch-0.4.0.tgz#0a7bf7e9ddb42a7353fc8f36323a0644b548e756"
9288-
integrity sha512-QdGUINo8RyqCjskw1vVeVJNdj2BAtOixXU1C1pQ3FQGvaBmNoPdXrMlTr3wvIna4I3SXuUMmjyxxSBOIuGShcg==
9290+
jsondiffpatch@0.6.0:
9291+
version "0.6.0"
9292+
resolved "https://registry.yarnpkg.com/jsondiffpatch/-/jsondiffpatch-0.6.0.tgz#daa6a25bedf0830974c81545568d5f671c82551f"
9293+
integrity sha512-3QItJOXp2AP1uv7waBkao5nCvhEv+QmJAd38Ybq7wNI74Q+BBmnLn4EDKz6yI9xGAIQoUF87qHt+kc1IVxB4zQ==
9294+
dependencies:
9295+
"@types/diff-match-patch" "^1.0.36"
9296+
chalk "^5.3.0"
9297+
diff-match-patch "^1.0.5"
9298+
9299+
jsondiffpatch@^0.4.0:
9300+
version "0.4.1"
9301+
resolved "https://registry.yarnpkg.com/jsondiffpatch/-/jsondiffpatch-0.4.1.tgz#9fb085036767f03534ebd46dcd841df6070c5773"
9302+
integrity sha512-t0etAxTUk1w5MYdNOkZBZ8rvYYN5iL+2dHCCx/DpkFm/bW28M6y5nUS83D4XdZiHy35Fpaw6LBb+F88fHZnVCw==
92899303
dependencies:
92909304
chalk "^2.3.0"
92919305
diff-match-patch "^1.0.0"

0 commit comments

Comments
 (0)