diff --git a/packages/environment/chain.js b/packages/environment/chain.js index dab98b5a16b..6e738f5ee6b 100644 --- a/packages/environment/chain.js +++ b/packages/environment/chain.js @@ -1,7 +1,7 @@ #!/usr/bin/env node require("source-map-support/register"); -const IPC = require("node-ipc").IPC; +const IPC = require("@achrinza/node-ipc").IPC; const Ganache = require("ganache"); const path = require("path"); const debug = require("debug"); diff --git a/packages/environment/develop.js b/packages/environment/develop.js index 75c207435e6..e30fcdd4f13 100644 --- a/packages/environment/develop.js +++ b/packages/environment/develop.js @@ -1,4 +1,4 @@ -const { IPC } = require("node-ipc"); +const { IPC } = require("@achrinza/node-ipc"); const path = require("path"); const { spawn } = require("child_process"); const debug = require("debug"); diff --git a/packages/environment/package.json b/packages/environment/package.json index ba60c60381c..a7fc21fef3c 100644 --- a/packages/environment/package.json +++ b/packages/environment/package.json @@ -20,6 +20,7 @@ "test": "mocha ./test/** ./test/**/*" }, "dependencies": { + "@achrinza/node-ipc": "9.2.7", "@truffle/artifactor": "^4.0.197", "@truffle/config": "^1.3.60", "@truffle/error": "^0.2.1", @@ -29,7 +30,6 @@ "@truffle/resolver": "^9.0.51", "chalk": "^4.1.2", "ganache": "7.9.1", - "node-ipc": "9.2.1", "source-map-support": "^0.5.19", "web3": "1.10.0" }, diff --git a/yarn.lock b/yarn.lock index 6727453d098..12bcc45e115 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,15 @@ # yarn lockfile v1 +"@achrinza/node-ipc@9.2.7": + version "9.2.7" + resolved "https://registry.yarnpkg.com/@achrinza/node-ipc/-/node-ipc-9.2.7.tgz#cc418f9218d24d9b87f32207e5d6e71c64e241f8" + integrity sha512-/EvNkqB4HNxPWCZASmgrjqG8gIdPOolD67LGASvGMp/FY5ne0rbvpYg5o9x8RmgjAl8KdmNQ4YlV1et9DYiW8g== + dependencies: + "@node-ipc/js-queue" "2.0.3" + event-pubsub "4.3.0" + js-message "1.0.7" + "@ampproject/remapping@^2.0.0": version "2.1.1" resolved "https://registry.yarnpkg.com/@ampproject/remapping/-/remapping-2.1.1.tgz#7922fb0817bf3166d8d9e258c57477e3fd1c3610" @@ -5649,6 +5658,13 @@ resolved "https://registry.yarnpkg.com/@noble/secp256k1/-/secp256k1-1.6.3.tgz#7eed12d9f4404b416999d0c87686836c4c5c9b94" integrity sha512-T04e4iTurVy7I8Sw4+c5OSN9/RkPlo1uKxAomtxQNLq8j1uPAqnsqG1bqvY3Jv7c13gyr6dui0zmh/I3+f/JaQ== +"@node-ipc/js-queue@2.0.3": + version "2.0.3" + resolved "https://registry.yarnpkg.com/@node-ipc/js-queue/-/js-queue-2.0.3.tgz#ac7fe33d766fa53e233ef8fedaf3443a01c5a4cd" + integrity sha512-fL1wpr8hhD5gT2dA1qifeVaoDFlQR5es8tFuKqjHX+kdOtdNHnxkVZbtIrR2rxnMFvehkjaZRNV2H/gPXlb0hw== + dependencies: + easy-stack "1.0.1" + "@nodelib/fs.scandir@2.1.3": version "2.1.3" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.3.tgz#3a582bdb53804c6ba6d146579c46e52130cf4a3b" @@ -12785,7 +12801,7 @@ duplexer@^0.1.2: resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" integrity sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg== -easy-stack@^1.0.1: +easy-stack@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/easy-stack/-/easy-stack-1.0.1.tgz#8afe4264626988cabb11f3c704ccd0c835411066" integrity sha512-wK2sCs4feiiJeFXn3zvY0p41mdU5VUgbgs1rNsc/y5ngFUijdWd+iIN8eoyuZHKB8xN6BL4PdWmzqFmxNg6V2w== @@ -17999,13 +18015,6 @@ js-message@1.0.7: resolved "https://registry.yarnpkg.com/js-message/-/js-message-1.0.7.tgz#fbddd053c7a47021871bb8b2c95397cc17c20e47" integrity sha512-efJLHhLjIyKRewNS9EGZ4UpI8NguuL6fKkhRxVuMmrGV2xN/0APGdQYwLFky5w9naebSZ0OwAGp0G6/2Cg90rA== -js-queue@2.0.2: - version "2.0.2" - resolved "https://registry.yarnpkg.com/js-queue/-/js-queue-2.0.2.tgz#0be590338f903b36c73d33c31883a821412cd482" - integrity sha512-pbKLsbCfi7kriM3s1J4DDCo7jQkI58zPLHi0heXPzPlj0hjUsm+FesPUbE0DSbIVIK503A36aUBoCN7eMFedkA== - dependencies: - easy-stack "^1.0.1" - js-scrypt@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/js-scrypt/-/js-scrypt-0.2.0.tgz#7a62b701b4616e70ad0cde544627aabb99d7fe39" @@ -20161,15 +20170,6 @@ node-interval-tree@^1.3.3: dependencies: shallowequal "^1.0.2" -node-ipc@9.2.1: - version "9.2.1" - resolved "https://registry.yarnpkg.com/node-ipc/-/node-ipc-9.2.1.tgz#b32f66115f9d6ce841dc4ec2009d6a733f98bb6b" - integrity sha512-mJzaM6O3xHf9VT8BULvJSbdVbmHUKRNOH7zDDkCrA1/T+CVjq2WVIDfLt0azZRXpgArJtl3rtmEozrbXPZ9GaQ== - dependencies: - event-pubsub "4.3.0" - js-message "1.0.7" - js-queue "2.0.2" - node-preload@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/node-preload/-/node-preload-0.2.1.tgz#c03043bb327f417a18fee7ab7ee57b408a144301"