Skip to content

Commit 75826d6

Browse files
committed
fix: replace node-ipc with @achrinza/node-ipc to further secure the dependency chain
1 parent dd53f26 commit 75826d6

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

packages/@vue/cli-shared-utils/lib/ipc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ipc = require('node-ipc')
1+
const ipc = require('@achrinza/node-ipc')
22

33
const DEFAULT_ID = process.env.VUE_CLI_IPC || 'vue-cli'
44
const DEFAULT_IDLE_TIMEOUT = 3000

packages/@vue/cli-shared-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"launch-editor": "^2.2.1",
2727
"lru-cache": "^6.0.0",
2828
"node-fetch": "^2.6.7",
29-
"node-ipc": "9.2.1",
29+
"@achrinza/node-ipc": "9.2.2",
3030
"open": "^8.0.2",
3131
"ora": "^5.3.0",
3232
"read-pkg": "^5.1.1",

packages/@vue/cli-ui/apollo-server/util/ipc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ipc = require('node-ipc')
1+
const ipc = require('@achrinza/node-ipc')
22
// Utils
33
const { log, dumpObject } = require('../util/logger')
44

packages/@vue/cli-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"lodash.merge": "^4.6.1",
5454
"lowdb": "^1.0.0",
5555
"lru-cache": "^6.0.0",
56-
"node-ipc": "9.2.1",
56+
"@achrinza/node-ipc": "9.2.2",
5757
"node-notifier": "^10.0.0",
5858
"parse-git-config": "^3.0.0",
5959
"portfinder": "^1.0.26",

yarn.lock

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
# yarn lockfile v1
33

44

5+
"@achrinza/node-ipc@9.2.2":
6+
version "9.2.2"
7+
resolved "https://registry.yarnpkg.com/@achrinza/node-ipc/-/node-ipc-9.2.2.tgz#ae1b5d3d6a9362034eea60c8d946b93893c2e4ec"
8+
integrity sha512-b90U39dx0cU6emsOvy5hxU4ApNXnE3+Tuo8XQZfiKTGelDwpMwBVgBP7QX6dGTcJgu/miyJuNJ/2naFBliNWEw==
9+
dependencies:
10+
"@node-ipc/js-queue" "2.0.3"
11+
event-pubsub "4.3.0"
12+
js-message "1.0.7"
13+
514
"@akryum/winattr@^3.0.0":
615
version "3.0.0"
716
resolved "https://registry.yarnpkg.com/@akryum/winattr/-/winattr-3.0.0.tgz#c345d49f8415583897e345729c12b3503927dd11"
@@ -2824,6 +2833,13 @@
28242833
pathval "1.1.1"
28252834
type-detect "4.0.5"
28262835

2836+
"@node-ipc/js-queue@2.0.3":
2837+
version "2.0.3"
2838+
resolved "https://registry.yarnpkg.com/@node-ipc/js-queue/-/js-queue-2.0.3.tgz#ac7fe33d766fa53e233ef8fedaf3443a01c5a4cd"
2839+
integrity sha512-fL1wpr8hhD5gT2dA1qifeVaoDFlQR5es8tFuKqjHX+kdOtdNHnxkVZbtIrR2rxnMFvehkjaZRNV2H/gPXlb0hw==
2840+
dependencies:
2841+
easy-stack "1.0.1"
2842+
28272843
"@nodelib/fs.scandir@2.1.5":
28282844
version "2.1.5"
28292845
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
@@ -8622,7 +8638,7 @@ duplexer@^0.1.1, duplexer@^0.1.2, duplexer@~0.1.1:
86228638
resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6"
86238639
integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==
86248640

8625-
easy-stack@^1.0.1:
8641+
easy-stack@1.0.1:
86268642
version "1.0.1"
86278643
resolved "https://registry.yarnpkg.com/easy-stack/-/easy-stack-1.0.1.tgz#8afe4264626988cabb11f3c704ccd0c835411066"
86288644
integrity sha512-wK2sCs4feiiJeFXn3zvY0p41mdU5VUgbgs1rNsc/y5ngFUijdWd+iIN8eoyuZHKB8xN6BL4PdWmzqFmxNg6V2w==
@@ -12826,13 +12842,6 @@ js-message@1.0.7:
1282612842
resolved "https://registry.yarnpkg.com/js-message/-/js-message-1.0.7.tgz#fbddd053c7a47021871bb8b2c95397cc17c20e47"
1282712843
integrity sha512-efJLHhLjIyKRewNS9EGZ4UpI8NguuL6fKkhRxVuMmrGV2xN/0APGdQYwLFky5w9naebSZ0OwAGp0G6/2Cg90rA==
1282812844

12829-
js-queue@2.0.2:
12830-
version "2.0.2"
12831-
resolved "https://registry.yarnpkg.com/js-queue/-/js-queue-2.0.2.tgz#0be590338f903b36c73d33c31883a821412cd482"
12832-
integrity sha512-pbKLsbCfi7kriM3s1J4DDCo7jQkI58zPLHi0heXPzPlj0hjUsm+FesPUbE0DSbIVIK503A36aUBoCN7eMFedkA==
12833-
dependencies:
12834-
easy-stack "^1.0.1"
12835-
1283612845
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
1283712846
version "4.0.0"
1283812847
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499"
@@ -14919,15 +14928,6 @@ node-int64@^0.4.0:
1491914928
resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b"
1492014929
integrity sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=
1492114930

14922-
node-ipc@9.2.1:
14923-
version "9.2.1"
14924-
resolved "https://registry.yarnpkg.com/node-ipc/-/node-ipc-9.2.1.tgz#b32f66115f9d6ce841dc4ec2009d6a733f98bb6b"
14925-
integrity sha512-mJzaM6O3xHf9VT8BULvJSbdVbmHUKRNOH7zDDkCrA1/T+CVjq2WVIDfLt0azZRXpgArJtl3rtmEozrbXPZ9GaQ==
14926-
dependencies:
14927-
event-pubsub "4.3.0"
14928-
js-message "1.0.7"
14929-
js-queue "2.0.2"
14930-
1493114931
node-notifier@^10.0.0:
1493214932
version "10.0.1"
1493314933
resolved "https://registry.yarnpkg.com/node-notifier/-/node-notifier-10.0.1.tgz#0e82014a15a8456c4cfcdb25858750399ae5f1c7"

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy