Skip to content

Commit 40be7fd

Browse files
committed
fix(vue2): use clone-deep instead of fast-copy, closes #1583
1 parent 63c03d7 commit 40be7fd

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

packages/app-backend-vue2/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"@vue/devtools-api": "^6.0.0-beta.7",
1414
"@vue-devtools/app-backend-api": "^0.0.0",
1515
"@vue-devtools/shared-utils": "^0.0.0",
16-
"fast-copy": "^2.1.1"
16+
"clone-deep": "^4.0.1"
1717
},
1818
"devDependencies": {
1919
"@types/node": "^13.9.1",

packages/app-backend-vue2/src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { DevtoolsApi } from '@vue-devtools/app-backend-api'
22
import { App, ComponentState, CustomInspectorNode, CustomInspectorState, setupDevtoolsPlugin } from '@vue/devtools-api'
33
import { isEmptyObject, target } from '@vue-devtools/shared-utils'
4-
import copy from 'fast-copy'
4+
import copy from 'clone-deep'
55

66
let actionId = 0
77

yarn.lock

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4847,11 +4847,6 @@ extsprintf@^1.2.0:
48474847
resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f"
48484848
integrity sha1-4mifjzVvrWLMplo6kcXfX5VRaS8=
48494849

4850-
fast-copy@^2.1.1:
4851-
version "2.1.1"
4852-
resolved "https://registry.yarnpkg.com/fast-copy/-/fast-copy-2.1.1.tgz#f5cbcf2df64215e59b8e43f0b2caabc19848083a"
4853-
integrity sha512-Qod3DdRgFZ8GUIM6ygeoZYpQ0QLW9cf/FS9KhhjlYggcSZXWAemAw8BOCO5LuYCrR3Uj3qXDVTUzOUwG8C7beQ==
4854-
48554850
fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3:
48564851
version "3.1.3"
48574852
resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525"

0 commit comments

Comments
 (0)