From 4b4530d3bea06f40e42dfcb1fcdc20337aab6726 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 3 Mar 2023 06:00:50 +0000 Subject: [PATCH 1/2] chore(deps): update dependency rimraf to v4 --- package.json | 2 +- packages/airnode-abi/package.json | 2 +- packages/airnode-adapter/package.json | 2 +- packages/airnode-admin/package.json | 2 +- packages/airnode-deployer/package.json | 2 +- packages/airnode-node/package.json | 2 +- packages/airnode-operation/package.json | 2 +- packages/airnode-protocol/package.json | 2 +- packages/airnode-utilities/package.json | 2 +- packages/airnode-validator/package.json | 2 +- yarn.lock | 42 +++++++++++++++++++++++++ 11 files changed, 52 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index 963c1124f4..4712017c8c 100644 --- a/package.json +++ b/package.json @@ -126,7 +126,7 @@ "libsodium-wrappers": "^0.7.10", "prettier": "^2.8.1", "prettier-plugin-solidity": "^1.0.0-dev.24", - "rimraf": "^3.0.2", + "rimraf": "^4.2.0", "solhint": "^3.3.7", "ts-node": "^10.9.1", "typescript": "^4.8.4", diff --git a/packages/airnode-abi/package.json b/packages/airnode-abi/package.json index d3ca90d777..947eebb24a 100644 --- a/packages/airnode-abi/package.json +++ b/packages/airnode-abi/package.json @@ -23,7 +23,7 @@ "devDependencies": { "@types/lodash": "^4.14.186", "jest": "^29.2.2", - "rimraf": "^3.0.2", + "rimraf": "^4.2.0", "typescript": "^4.8.4" } } diff --git a/packages/airnode-adapter/package.json b/packages/airnode-adapter/package.json index 3419d77b13..8d38a21071 100644 --- a/packages/airnode-adapter/package.json +++ b/packages/airnode-adapter/package.json @@ -35,7 +35,7 @@ "ethereum-waffle": "^4.0.10", "hardhat": "2.10.2", "jest": "^29.2.2", - "rimraf": "^3.0.2", + "rimraf": "^4.2.0", "ts-jest": "^29.0.3", "typescript": "^4.8.4" } diff --git a/packages/airnode-admin/package.json b/packages/airnode-admin/package.json index 1af2a071f1..0eaacfcf39 100644 --- a/packages/airnode-admin/package.json +++ b/packages/airnode-admin/package.json @@ -38,7 +38,7 @@ "@types/node": "^18.13.0", "@types/yargs": "^17.0.13", "jest": "^29.2.2", - "rimraf": "^3.0.2", + "rimraf": "^4.2.0", "ts-jest": "^29.0.3", "ts-node": "^10.9.1", "typescript": "^4.8.4" diff --git a/packages/airnode-deployer/package.json b/packages/airnode-deployer/package.json index d88a4b612d..05a3797c1c 100644 --- a/packages/airnode-deployer/package.json +++ b/packages/airnode-deployer/package.json @@ -54,7 +54,7 @@ "copyfiles": "^2.4.1", "esbuild-loader": "^2.20.0", "jest": "^29.2.2", - "rimraf": "^3.0.2", + "rimraf": "^4.2.0", "ts-jest": "^29.0.3", "ts-node": "^10.9.1", "typescript": "^4.8.4", diff --git a/packages/airnode-node/package.json b/packages/airnode-node/package.json index 11173ed396..da3ee73fbb 100644 --- a/packages/airnode-node/package.json +++ b/packages/airnode-node/package.json @@ -49,7 +49,7 @@ "@types/yargs": "^17.0.13", "copyfiles": "^2.4.1", "jest": "^29.2.2", - "rimraf": "^3.0.2", + "rimraf": "^4.2.0", "ts-jest": "^29.0.3", "ts-node": "^10.9.1", "typescript": "^4.8.4" diff --git a/packages/airnode-operation/package.json b/packages/airnode-operation/package.json index ebcbc4e698..f771add859 100644 --- a/packages/airnode-operation/package.json +++ b/packages/airnode-operation/package.json @@ -41,7 +41,7 @@ "@nomiclabs/hardhat-ethers": "^2.2.1", "@types/express": "^4.17.14", "@types/morgan": "^1.9.3", - "rimraf": "^3.0.2", + "rimraf": "^4.2.0", "typescript": "^4.8.4" } } diff --git a/packages/airnode-protocol/package.json b/packages/airnode-protocol/package.json index 562133a401..ae88ace946 100644 --- a/packages/airnode-protocol/package.json +++ b/packages/airnode-protocol/package.json @@ -39,7 +39,7 @@ "hardhat-deploy": "^0.11.19", "hardhat-gas-reporter": "^1.0.9", "replace-in-file": "^6.3.5", - "rimraf": "^3.0.2", + "rimraf": "^4.2.0", "solidity-coverage": "^0.8.2", "typechain": "^8.1.0", "typescript": "^4.8.4" diff --git a/packages/airnode-utilities/package.json b/packages/airnode-utilities/package.json index 696c319b76..8612307f63 100644 --- a/packages/airnode-utilities/package.json +++ b/packages/airnode-utilities/package.json @@ -29,7 +29,7 @@ "@types/node": "^18.13.0", "hardhat": "2.10.2", "jest": "^29.2.2", - "rimraf": "^3.0.2", + "rimraf": "^4.2.0", "ts-node": "^10.9.1", "typescript": "^4.8.4" } diff --git a/packages/airnode-validator/package.json b/packages/airnode-validator/package.json index 793112e33d..618e9a520c 100644 --- a/packages/airnode-validator/package.json +++ b/packages/airnode-validator/package.json @@ -33,7 +33,7 @@ "devDependencies": { "@types/yargs": "^17.0.13", "jest": "^29.2.2", - "rimraf": "^3.0.2", + "rimraf": "^4.2.0", "ts-jest": "^29.0.3", "ts-node": "^10.9.1", "typescript": "^4.8.4" diff --git a/yarn.lock b/yarn.lock index fdea08e41b..cf44aa03e8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7366,6 +7366,16 @@ glob@^8.0.1: minimatch "^5.0.1" once "^1.3.0" +glob@^9.2.0: + version "9.2.1" + resolved "https://registry.yarnpkg.com/glob/-/glob-9.2.1.tgz#f47e34e1119e7d4f93a546e75851ba1f1e68de50" + integrity sha512-Pxxgq3W0HyA3XUvSXcFhRSs+43Jsx0ddxcFrbjxNGkL2Ak5BAUBxLqI5G6ADDeCHLfzzXFhe0b1yYcctGmytMA== + dependencies: + fs.realpath "^1.0.0" + minimatch "^7.4.1" + minipass "^4.2.4" + path-scurry "^1.6.1" + global-modules@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-2.0.0.tgz#997605ad2345f27f51539bea26574421215c7780" @@ -9348,6 +9358,11 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +lru-cache@^7.14.1: + version "7.18.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.18.1.tgz#4716408dec51d5d0104732647f584d1f6738b109" + integrity sha512-8/HcIENyQnfUTCDizRu9rrDyG6XG/21M4X7/YEGZeD76ZJilFPAUVb/2zysFf7VVO1LEjCDFyHp8pMMvozIrvg== + lru-cache@^7.4.4, lru-cache@^7.5.1, lru-cache@^7.7.1: version "7.14.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.14.0.tgz#21be64954a4680e303a09e9468f880b98a0b3c7f" @@ -9632,6 +9647,13 @@ minimatch@^5.0.1: dependencies: brace-expansion "^2.0.1" +minimatch@^7.4.1: + version "7.4.2" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-7.4.2.tgz#157e847d79ca671054253b840656720cb733f10f" + integrity sha512-xy4q7wou3vUoC9k1xGTXc+awNdGaGVHtFUaey8tiX4H1QRc04DZ/rmDFwNm2EBsuYEhAZ6SgMmYf3InGY6OauA== + dependencies: + brace-expansion "^2.0.1" + minimist-options@4.1.0, minimist-options@^4.0.2: version "4.1.0" resolved "https://registry.yarnpkg.com/minimist-options/-/minimist-options-4.1.0.tgz#c0655713c53a8a2ebd77ffa247d342c40f010619" @@ -9700,6 +9722,11 @@ minipass@^3.0.0, minipass@^3.1.1, minipass@^3.1.6: dependencies: yallist "^4.0.0" +minipass@^4.0.2, minipass@^4.2.4: + version "4.2.4" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-4.2.4.tgz#7d0d97434b6a19f59c5c3221698b48bbf3b2cd06" + integrity sha512-lwycX3cBMTvcejsHITUgYj6Gy6A7Nh4Q6h9NP4sTHY1ccJlC7yKzDmiShEHsJ16Jf1nKGDEaiHxiltsJEvk0nQ== + minizlib@^2.1.1, minizlib@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-2.1.2.tgz#e90d3466ba209b932451508a11ce3d3632145931" @@ -10690,6 +10717,14 @@ path-parse@^1.0.6, path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== +path-scurry@^1.6.1: + version "1.6.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.6.1.tgz#dab45f7bb1d3f45a0e271ab258999f4ab7e23132" + integrity sha512-OW+5s+7cw6253Q4E+8qQ/u1fVvcJQCJo/VFD8pje+dbJCF1n5ZRMV2AEHbGp+5Q7jxQIYJxkHopnj6nzdGeZLA== + dependencies: + lru-cache "^7.14.1" + minipass "^4.0.2" + path-to-regexp@0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" @@ -11510,6 +11545,13 @@ rimraf@^3.0.0, rimraf@^3.0.2: dependencies: glob "^7.1.3" +rimraf@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-4.2.0.tgz#f9c2a2b121f5133095c5d578983aec534c65f282" + integrity sha512-tPt+gLORNVqRCk0NwuJ5SlMEcOGvt4CCU8sUPqgCFtCbnoNCTd9Q6vq7JlBbxQlACiH14OR28y7piA2Bak9Sxw== + dependencies: + glob "^9.2.0" + ripemd160@^2.0.0, ripemd160@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" From a553adfd43ba3058f454d9e8f66ad39942f77039 Mon Sep 17 00:00:00 2001 From: Derek Croote Date: Thu, 2 Mar 2023 22:12:44 -0800 Subject: [PATCH 2/2] Update rimraf command to include glob argument Required in rimraf v4.2 --- .changeset/tidy-dolls-search.md | 2 ++ packages/airnode-abi/package.json | 2 +- packages/airnode-adapter/package.json | 2 +- packages/airnode-admin/package.json | 2 +- packages/airnode-deployer/package.json | 2 +- packages/airnode-examples/package.json | 2 +- packages/airnode-node/package.json | 2 +- packages/airnode-operation/package.json | 4 ++-- packages/airnode-protocol/package.json | 2 +- packages/airnode-utilities/package.json | 2 +- packages/airnode-validator/package.json | 2 +- 11 files changed, 13 insertions(+), 11 deletions(-) create mode 100644 .changeset/tidy-dolls-search.md diff --git a/.changeset/tidy-dolls-search.md b/.changeset/tidy-dolls-search.md new file mode 100644 index 0000000000..a845151cc8 --- /dev/null +++ b/.changeset/tidy-dolls-search.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/packages/airnode-abi/package.json b/packages/airnode-abi/package.json index 947eebb24a..d0b1465c06 100644 --- a/packages/airnode-abi/package.json +++ b/packages/airnode-abi/package.json @@ -10,7 +10,7 @@ ], "scripts": { "build": "yarn run clean && yarn run compile", - "clean": "rimraf -rf *.tsbuildinfo ./dist ./build *.tgz", + "clean": "rimraf -g *.tsbuildinfo ./dist ./build *.tgz", "compile": "tsc --build tsconfig.json", "pack": "yarn pack", "test": "SILENCE_LOGGER=true jest --coverage", diff --git a/packages/airnode-adapter/package.json b/packages/airnode-adapter/package.json index 8d38a21071..d65b367318 100644 --- a/packages/airnode-adapter/package.json +++ b/packages/airnode-adapter/package.json @@ -10,7 +10,7 @@ ], "scripts": { "build": "yarn run clean && yarn run compile", - "clean": "rimraf -rf *.tsbuildinfo ./dist ./build *.tgz", + "clean": "rimraf -g *.tsbuildinfo ./dist ./build *.tgz", "compile": "hardhat compile && tsc --build tsconfig.json", "pack": "yarn pack", "test": "yarn test:ts && yarn test:hardhat", diff --git a/packages/airnode-admin/package.json b/packages/airnode-admin/package.json index 0eaacfcf39..7341e38cbb 100644 --- a/packages/airnode-admin/package.json +++ b/packages/airnode-admin/package.json @@ -12,7 +12,7 @@ ], "scripts": { "build": "yarn run clean && yarn run compile", - "clean": "rimraf -rf *.tsbuildinfo ./dist ./build *.tgz", + "clean": "rimraf -g *.tsbuildinfo ./dist ./build *.tgz", "cli": "ts-node bin/admin.ts", "compile": "tsc --build tsconfig.json", "pack": "yarn pack", diff --git a/packages/airnode-deployer/package.json b/packages/airnode-deployer/package.json index 05a3797c1c..9cf6c374d1 100644 --- a/packages/airnode-deployer/package.json +++ b/packages/airnode-deployer/package.json @@ -12,7 +12,7 @@ ], "scripts": { "build": "yarn clean && yarn compile && yarn webpack && yarn copy:webpack && yarn copy:terraform", - "clean": "rimraf -rf *.tsbuildinfo ./dist ./.webpack ./build *.tgz", + "clean": "rimraf -g *.tsbuildinfo ./dist ./.webpack ./build *.tgz", "cli": "ts-node bin/deployer.ts", "compile": "tsc --build tsconfig.json", "copy:terraform": "copyfiles terraform/**/**/*.tf terraform/**/**/*.tpl dist/", diff --git a/packages/airnode-examples/package.json b/packages/airnode-examples/package.json index 7ff75bf174..ec531c6520 100644 --- a/packages/airnode-examples/package.json +++ b/packages/airnode-examples/package.json @@ -9,7 +9,7 @@ ], "scripts": { "build": "yarn run clean && yarn compile", - "clean": "rimraf -rf *.tsbuildinfo ./dist ./build *.tgz", + "clean": "rimraf -g *.tsbuildinfo ./dist ./build *.tgz", "choose-integration": "ts-node src/scripts/choose-integration.ts", "compile": "hardhat compile && tsc --build tsconfig.json", "create-airnode-config": "ts-node src/scripts/create-airnode-config.ts", diff --git a/packages/airnode-node/package.json b/packages/airnode-node/package.json index da3ee73fbb..486d944fea 100644 --- a/packages/airnode-node/package.json +++ b/packages/airnode-node/package.json @@ -10,7 +10,7 @@ ], "scripts": { "build": "yarn run clean && yarn run compile", - "clean": "rimraf -rf *.tsbuildinfo ./dist ./build *.tgz", + "clean": "rimraf -g *.tsbuildinfo ./dist ./build *.tgz", "compile": "tsc --build tsconfig.json", "dev:invoke": "ts-node src/cli/validate-config.ts && ts-node src/cli/invoke.ts", "dev:http-data-invoke": "ts-node src/cli/http-data-invoke.ts", diff --git a/packages/airnode-operation/package.json b/packages/airnode-operation/package.json index f771add859..783e7938c4 100644 --- a/packages/airnode-operation/package.json +++ b/packages/airnode-operation/package.json @@ -10,13 +10,13 @@ ], "scripts": { "build": "yarn run clean && yarn run compile", - "clean": "rimraf -rf *.tsbuildinfo ./dist ./build *.tgz", + "clean": "rimraf -g *.tsbuildinfo ./dist ./build *.tgz", "compile": "tsc --build tsconfig.json", "compile:watch": "tsc --build tsconfig.json -w", "dev:api": "ts-node src/server.ts", "dev:api:background": "yarn run dev:clean && pm2 start ecosystem.config.js --only web-api", "dev:background": "yarn run dev:clean && pm2 start ecosystem.config.js", - "dev:clean": "rimraf -rf ./logs", + "dev:clean": "rimraf ./logs", "dev:delete": "pm2 delete all", "dev:eth-deploy": "ts-node src/scripts/evm-dev-deploy.ts", "dev:eth-node": "hardhat node", diff --git a/packages/airnode-protocol/package.json b/packages/airnode-protocol/package.json index ae88ace946..18263f2b3f 100644 --- a/packages/airnode-protocol/package.json +++ b/packages/airnode-protocol/package.json @@ -10,7 +10,7 @@ ], "scripts": { "build": "yarn run clean && yarn compile", - "clean": "rimraf -rf ./src/contracts *.tsbuildinfo ./dist ./build *.tgz", + "clean": "rimraf -g ./src/contracts *.tsbuildinfo ./dist ./build *.tgz", "compile": "yarn run compile:contracts && yarn run compile:tsc", "compile:contracts": "hardhat compile", "compile:tsc": "yarn compile:contract-dts && yarn compile:copy-contract-dts && tsc --build tsconfig.json", diff --git a/packages/airnode-utilities/package.json b/packages/airnode-utilities/package.json index 8612307f63..83d27cb2ae 100644 --- a/packages/airnode-utilities/package.json +++ b/packages/airnode-utilities/package.json @@ -9,7 +9,7 @@ ], "scripts": { "build": "yarn run clean && yarn run compile", - "clean": "rimraf -rf *.tsbuildinfo ./dist ./build *.tgz", + "clean": "rimraf -g *.tsbuildinfo ./dist ./build *.tgz", "compile": "tsc --build tsconfig.json", "test": "SILENCE_LOGGER=true jest --selectProjects unit", "test:e2e": "SILENCE_LOGGER=true jest --selectProjects e2e --runInBand", diff --git a/packages/airnode-validator/package.json b/packages/airnode-validator/package.json index 618e9a520c..19cde363ac 100644 --- a/packages/airnode-validator/package.json +++ b/packages/airnode-validator/package.json @@ -12,7 +12,7 @@ ], "scripts": { "build": "yarn run clean && yarn run compile", - "clean": "rimraf -rf *.tsbuildinfo ./dist ./build *.tgz", + "clean": "rimraf -g *.tsbuildinfo ./dist ./build *.tgz", "cli": "ts-node bin/validator.ts", "compile": "yarn tsc --build tsconfig.json", "pack": "yarn pack",