Skip to content

Commit b340844

Browse files
authored
chore: remove vm2 from dev dependencies (#284)
1 parent 8593425 commit b340844

File tree

6 files changed

+14
-61
lines changed

6 files changed

+14
-61
lines changed

.yarn/patches/vm2-npm-3.9.9-03fd1f4dc5.patch

-28
This file was deleted.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@
9696
]
9797
},
9898
"resolutions": {
99-
"vm2": "patch:vm2@npm:3.9.9#.yarn/patches/vm2-npm-3.9.9-03fd1f4dc5.patch"
99+
"vm2": "portal:./vm2"
100100
}
101101
}

vm2/README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
We don't use `vm2`, this is just a mock to avoid security warnings associated
2+
with the actual `vm2` package.

vm2/index.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"use strict";
2+
module.exports = {
3+
VM() {},
4+
VMScript() {},
5+
};

vm2/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

yarn.lock

+5-32
Original file line numberDiff line numberDiff line change
@@ -1551,7 +1551,7 @@ __metadata:
15511551
languageName: node
15521552
linkType: hard
15531553

1554-
"acorn-walk@npm:^8.1.1, acorn-walk@npm:^8.2.0":
1554+
"acorn-walk@npm:^8.1.1":
15551555
version: 8.2.0
15561556
resolution: "acorn-walk@npm:8.2.0"
15571557
checksum: 389d3f19998ac0924a590485a6502b72059e3ab67cc820477c2c40cca06b6c50bb8d424bfbb8fe97955eb489b88cb5dc7ee6979fcf9321dce7eb451ba3456d3d
@@ -1567,15 +1567,6 @@ __metadata:
15671567
languageName: node
15681568
linkType: hard
15691569

1570-
"acorn@npm:^8.7.0":
1571-
version: 8.10.0
1572-
resolution: "acorn@npm:8.10.0"
1573-
bin:
1574-
acorn: bin/acorn
1575-
checksum: 5de0f8f7507bdd36c764431cb91c97d99ba15b6f04dbfe4375151aff3caf9566e3c98d340f128a56a5fa930164d7be12c93d8f0f0fe795b9b310888a781c789c
1576-
languageName: node
1577-
linkType: hard
1578-
15791570
"agent-base@npm:6, agent-base@npm:^6.0.2":
15801571
version: 6.0.2
15811572
resolution: "agent-base@npm:6.0.2"
@@ -5858,29 +5849,11 @@ __metadata:
58585849
languageName: node
58595850
linkType: hard
58605851

5861-
"vm2@npm:3.9.9":
5862-
version: 3.9.9
5863-
resolution: "vm2@npm:3.9.9"
5864-
dependencies:
5865-
acorn: "npm:^8.7.0"
5866-
acorn-walk: "npm:^8.2.0"
5867-
bin:
5868-
vm2: bin/vm2
5869-
checksum: d704e9fb7171ba7083f9f72fc7bbfecd161d11ba51abb5ed3e83d921fcf33f578c2a6b09ef0fd10030a3bc6f01323c4b6d241aa1d432484965d3ec13457dfe53
5870-
languageName: node
5871-
linkType: hard
5872-
5873-
"vm2@patch:vm2@npm:3.9.9#.yarn/patches/vm2-npm-3.9.9-03fd1f4dc5.patch::locator=corepack%40workspace%3A.":
5874-
version: 3.9.9
5875-
resolution: "vm2@patch:vm2@npm%3A3.9.9#.yarn/patches/vm2-npm-3.9.9-03fd1f4dc5.patch::version=3.9.9&hash=9a9032&locator=corepack%40workspace%3A."
5876-
dependencies:
5877-
acorn: "npm:^8.7.0"
5878-
acorn-walk: "npm:^8.2.0"
5879-
bin:
5880-
vm2: bin/vm2
5881-
checksum: d283b74b742b738b4c1040bc76d8b506a5b44264c05307b7eb99a44a909a69bb7377ee4bcf276b9795dd81795de448ed103b1d986554355d6deb4332293073fa
5852+
"vm2@portal:./vm2::locator=corepack%40workspace%3A.":
5853+
version: 0.0.0-use.local
5854+
resolution: "vm2@portal:./vm2::locator=corepack%40workspace%3A."
58825855
languageName: node
5883-
linkType: hard
5856+
linkType: soft
58845857

58855858
"walker@npm:^1.0.8":
58865859
version: 1.0.8

0 commit comments

Comments
 (0)