Skip to content

Commit

Permalink
remove util dependency from instrumenter and test
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold committed Oct 9, 2024
1 parent bc07da7 commit 7cdd111
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 71 deletions.
6 changes: 4 additions & 2 deletions code/lib/instrumenter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
},
"dependencies": {
"@storybook/global": "^5.0.0",
"@vitest/utils": "^2.0.5",
"util": "^0.12.4"
"@vitest/utils": "^2.0.5"
},
"devDependencies": {
"typescript": "^5.3.2"
Expand All @@ -68,6 +67,9 @@
"@vitest/expect",
"@vitest/spy",
"@vitest/utils"
],
"externals": [
"util"
]
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16"
Expand Down
6 changes: 4 additions & 2 deletions code/lib/test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
"@testing-library/jest-dom": "6.5.0",
"@testing-library/user-event": "14.5.2",
"@vitest/expect": "2.0.5",
"@vitest/spy": "2.0.5",
"util": "^0.12.4"
"@vitest/spy": "2.0.5"
},
"devDependencies": {
"chai": "^5.1.1",
Expand All @@ -79,6 +78,9 @@
"@vitest/expect",
"@vitest/spy",
"@vitest/utils"
],
"externals": [
"util"
]
},
"gitHead": "e6a7fd8a655c69780bc20b9749c2699e44beae16"
Expand Down
68 changes: 1 addition & 67 deletions code/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6067,7 +6067,6 @@ __metadata:
browser-assert: "npm:^1.2.1"
browser-dtector: "npm:^3.4.0"
camelcase: "npm:^8.0.0"
chai: "npm:^4.4.1"
cli-table3: "npm:^0.6.1"
commander: "npm:^12.1.0"
comment-parser: "npm:^1.4.1"
Expand Down Expand Up @@ -6360,7 +6359,6 @@ __metadata:
"@storybook/global": "npm:^5.0.0"
"@vitest/utils": "npm:^2.0.5"
typescript: "npm:^5.3.2"
util: "npm:^0.12.4"
peerDependencies:
storybook: "workspace:^"
languageName: unknown
Expand Down Expand Up @@ -7113,7 +7111,6 @@ __metadata:
ts-dedent: "npm:^2.2.0"
type-fest: "npm:~2.19"
typescript: "npm:^5.3.2"
util: "npm:^0.12.4"
peerDependencies:
storybook: "workspace:^"
languageName: unknown
Expand Down Expand Up @@ -10130,13 +10127,6 @@ __metadata:
languageName: node
linkType: hard

"assertion-error@npm:^1.1.0":
version: 1.1.0
resolution: "assertion-error@npm:1.1.0"
checksum: 10c0/25456b2aa333250f01143968e02e4884a34588a8538fbbf65c91a637f1dbfb8069249133cd2f4e530f10f624d206a664e7df30207830b659e9f5298b00a4099b
languageName: node
linkType: hard

"assertion-error@npm:^2.0.1":
version: 2.0.1
resolution: "assertion-error@npm:2.0.1"
Expand Down Expand Up @@ -11437,21 +11427,6 @@ __metadata:
languageName: node
linkType: hard

"chai@npm:^4.4.1":
version: 4.5.0
resolution: "chai@npm:4.5.0"
dependencies:
assertion-error: "npm:^1.1.0"
check-error: "npm:^1.0.3"
deep-eql: "npm:^4.1.3"
get-func-name: "npm:^2.0.2"
loupe: "npm:^2.3.6"
pathval: "npm:^1.1.1"
type-detect: "npm:^4.1.0"
checksum: 10c0/b8cb596bd1aece1aec659e41a6e479290c7d9bee5b3ad63d2898ad230064e5b47889a3bc367b20100a0853b62e026e2dc514acf25a3c9385f936aa3614d4ab4d
languageName: node
linkType: hard

"chai@npm:^5.1.1":
version: 5.1.1
resolution: "chai@npm:5.1.1"
Expand Down Expand Up @@ -11568,15 +11543,6 @@ __metadata:
languageName: node
linkType: hard

"check-error@npm:^1.0.3":
version: 1.0.3
resolution: "check-error@npm:1.0.3"
dependencies:
get-func-name: "npm:^2.0.2"
checksum: 10c0/94aa37a7315c0e8a83d0112b5bfb5a8624f7f0f81057c73e4707729cdd8077166c6aefb3d8e2b92c63ee130d4a2ff94bad46d547e12f3238cc1d78342a973841
languageName: node
linkType: hard

"check-error@npm:^2.1.1":
version: 2.1.1
resolution: "check-error@npm:2.1.1"
Expand Down Expand Up @@ -12847,15 +12813,6 @@ __metadata:
languageName: node
linkType: hard

"deep-eql@npm:^4.1.3":
version: 4.1.3
resolution: "deep-eql@npm:4.1.3"
dependencies:
type-detect: "npm:^4.0.0"
checksum: 10c0/ff34e8605d8253e1bf9fe48056e02c6f347b81d9b5df1c6650a1b0f6f847b4a86453b16dc226b34f853ef14b626e85d04e081b022e20b00cd7d54f079ce9bbdd
languageName: node
linkType: hard

"deep-eql@npm:^5.0.1":
version: 5.0.2
resolution: "deep-eql@npm:5.0.2"
Expand Down Expand Up @@ -16003,7 +15960,7 @@ __metadata:
languageName: node
linkType: hard

"get-func-name@npm:^2.0.1, get-func-name@npm:^2.0.2":
"get-func-name@npm:^2.0.1":
version: 2.0.2
resolution: "get-func-name@npm:2.0.2"
checksum: 10c0/89830fd07623fa73429a711b9daecdb304386d237c71268007f788f113505ef1d4cc2d0b9680e072c5082490aec9df5d7758bf5ac6f1c37062855e8e3dc0b9df
Expand Down Expand Up @@ -19270,15 +19227,6 @@ __metadata:
languageName: node
linkType: hard

"loupe@npm:^2.3.6":
version: 2.3.7
resolution: "loupe@npm:2.3.7"
dependencies:
get-func-name: "npm:^2.0.1"
checksum: 10c0/71a781c8fc21527b99ed1062043f1f2bb30bdaf54fa4cf92463427e1718bc6567af2988300bc243c1f276e4f0876f29e3cbf7b58106fdc186915687456ce5bf4
languageName: node
linkType: hard

"loupe@npm:^3.1.0, loupe@npm:^3.1.1":
version: 3.1.1
resolution: "loupe@npm:3.1.1"
Expand Down Expand Up @@ -22534,13 +22482,6 @@ __metadata:
languageName: node
linkType: hard

"pathval@npm:^1.1.1":
version: 1.1.1
resolution: "pathval@npm:1.1.1"
checksum: 10c0/f63e1bc1b33593cdf094ed6ff5c49c1c0dc5dc20a646ca9725cc7fe7cd9995002d51d5685b9b2ec6814342935748b711bafa840f84c0bb04e38ff40a335c94dc
languageName: node
linkType: hard

"pathval@npm:^2.0.0":
version: 2.0.0
resolution: "pathval@npm:2.0.0"
Expand Down Expand Up @@ -27457,13 +27398,6 @@ __metadata:
languageName: node
linkType: hard

"type-detect@npm:^4.0.0, type-detect@npm:^4.1.0":
version: 4.1.0
resolution: "type-detect@npm:4.1.0"
checksum: 10c0/df8157ca3f5d311edc22885abc134e18ff8ffbc93d6a9848af5b682730ca6a5a44499259750197250479c5331a8a75b5537529df5ec410622041650a7f293e2a
languageName: node
linkType: hard

"type-fest@npm:~2.19":
version: 2.19.0
resolution: "type-fest@npm:2.19.0"
Expand Down

0 comments on commit 7cdd111

Please sign in to comment.