diff --git a/package.json b/package.json index 4f1139258a7c..a3c145e00efe 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,7 @@ "octokit": "2.0.14", "ora": "5.4.1", "prompts": "2.4.2", - "rimraf": "4.4.1", + "rimraf": "5.0.0", "typescript": "5.0.4", "yargs": "17.7.1", "zx": "7.2.1" diff --git a/packages/cli/package.json b/packages/cli/package.json index e9912b741421..ea1b8354754f 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -63,7 +63,7 @@ "prettier": "2.8.8", "prisma": "4.13.0", "prompts": "2.4.2", - "rimraf": "4.4.1", + "rimraf": "5.0.0", "secure-random-password": "0.2.3", "terminal-link": "2.1.1", "title-case": "3.0.3", diff --git a/packages/cli/src/commands/buildHandler.js b/packages/cli/src/commands/buildHandler.js index 841fe51c0d7d..6337ad508fb9 100644 --- a/packages/cli/src/commands/buildHandler.js +++ b/packages/cli/src/commands/buildHandler.js @@ -3,7 +3,7 @@ import path from 'path' import execa from 'execa' import { Listr } from 'listr2' -import rimraf from 'rimraf' +import { rimraf } from 'rimraf' import terminalLink from 'terminal-link' import { buildApi } from '@redwoodjs/internal/dist/build/api' diff --git a/packages/core/package.json b/packages/core/package.json index 6197b641a76a..9266464647a3 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -75,7 +75,7 @@ "nodemon": "2.0.22", "null-loader": "4.0.1", "react-refresh": "0.14.0", - "rimraf": "4.4.1", + "rimraf": "5.0.0", "style-loader": "3.3.2", "typescript": "5.0.4", "url-loader": "4.1.1", diff --git a/packages/internal/package.json b/packages/internal/package.json index 83219740990f..062c9dfb73e7 100644 --- a/packages/internal/package.json +++ b/packages/internal/package.json @@ -55,7 +55,7 @@ "graphql": "16.6.0", "kill-port": "1.6.1", "prettier": "2.8.8", - "rimraf": "4.4.1", + "rimraf": "5.0.0", "string-env-interpolation": "1.0.1", "systeminformation": "5.17.12", "terminal-link": "2.1.1", diff --git a/packages/project-config/package.json b/packages/project-config/package.json index 34432bbcec56..2a032a7f9d3a 100644 --- a/packages/project-config/package.json +++ b/packages/project-config/package.json @@ -41,7 +41,7 @@ "@types/findup-sync": "4.0.2", "dependency-cruiser": "12.11.3", "jest": "29.5.0", - "rimraf": "4.4.1", + "rimraf": "5.0.0", "typescript": "5.0.4" }, "gitHead": "3905ed045508b861b495f8d5630d76c7a157d8f1" diff --git a/tasks/framework-tools/lib/project.mjs b/tasks/framework-tools/lib/project.mjs index cdd4db048f81..ad10d6fc41de 100644 --- a/tasks/framework-tools/lib/project.mjs +++ b/tasks/framework-tools/lib/project.mjs @@ -5,7 +5,7 @@ import path from 'node:path' import execa from 'execa' import ora from 'ora' -import rimraf from 'rimraf' +import { rimraf } from 'rimraf' import terminalLink from 'terminal-link' import { diff --git a/tasks/test-project/test-project b/tasks/test-project/test-project index 14464ba8a52f..a707fa273b1e 100755 --- a/tasks/test-project/test-project +++ b/tasks/test-project/test-project @@ -9,7 +9,7 @@ const chalk = require('chalk') const execa = require('execa') const fse = require('fs-extra') const Listr = require('listr2').Listr -const rimraf = require('rimraf') +const { rimraf } = require('rimraf') const { hideBin } = require('yargs/helpers') const yargs = require('yargs/yargs') diff --git a/yarn.lock b/yarn.lock index d805eba3164c..57123deaf315 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5804,6 +5804,13 @@ __metadata: languageName: node linkType: hard +"@pkgjs/parseargs@npm:^0.11.0": + version: 0.11.0 + resolution: "@pkgjs/parseargs@npm:0.11.0" + checksum: 5bd7576bb1b38a47a7fc7b51ac9f38748e772beebc56200450c4a817d712232b8f1d3ef70532c80840243c657d491cf6a6be1e3a214cff907645819fdc34aadd + languageName: node + linkType: hard + "@playwright/test@npm:1.32.3": version: 1.32.3 resolution: "@playwright/test@npm:1.32.3" @@ -6801,7 +6808,7 @@ __metadata: prettier: 2.8.8 prisma: 4.13.0 prompts: 2.4.2 - rimraf: 4.4.1 + rimraf: 5.0.0 secure-random-password: 0.2.3 terminal-link: 2.1.1 title-case: 3.0.3 @@ -6900,7 +6907,7 @@ __metadata: nodemon: 2.0.22 null-loader: 4.0.1 react-refresh: 0.14.0 - rimraf: 4.4.1 + rimraf: 5.0.0 style-loader: 3.3.2 typescript: 5.0.4 url-loader: 4.1.1 @@ -7065,7 +7072,7 @@ __metadata: jest: 29.5.0 kill-port: 1.6.1 prettier: 2.8.8 - rimraf: 4.4.1 + rimraf: 5.0.0 string-env-interpolation: 1.0.1 systeminformation: 5.17.12 terminal-link: 2.1.1 @@ -7121,7 +7128,7 @@ __metadata: fast-glob: 3.2.12 findup-sync: 5.0.0 jest: 29.5.0 - rimraf: 4.4.1 + rimraf: 5.0.0 string-env-interpolation: 1.0.1 typescript: 5.0.4 languageName: unknown @@ -13558,7 +13565,7 @@ __metadata: languageName: node linkType: hard -"cliui@npm:^7.0.2": +"cliui@npm:^7.0.2, cliui@npm:^7.0.4": version: 7.0.4 resolution: "cliui@npm:7.0.4" dependencies: @@ -17640,6 +17647,16 @@ __metadata: languageName: node linkType: hard +"foreground-child@npm:^3.1.0": + version: 3.1.1 + resolution: "foreground-child@npm:3.1.1" + dependencies: + cross-spawn: ^7.0.0 + signal-exit: ^4.0.1 + checksum: 9700a0285628abaeb37007c9a4d92bd49f67210f09067638774338e146c8e9c825c5c877f072b2f75f41dc6a2d0be8664f79ffc03f6576649f54a84fb9b47de0 + languageName: node + linkType: hard + "forever-agent@npm:~0.6.1": version: 0.6.1 resolution: "forever-agent@npm:0.6.1" @@ -18338,6 +18355,21 @@ __metadata: languageName: node linkType: hard +"glob@npm:^10.0.0": + version: 10.2.2 + resolution: "glob@npm:10.2.2" + dependencies: + foreground-child: ^3.1.0 + jackspeak: ^2.0.3 + minimatch: ^9.0.0 + minipass: ^5.0.0 + path-scurry: ^1.7.0 + bin: + glob: dist/cjs/src/bin.js + checksum: 24238fc36ea34f4874e858eeda7d94ae2de6dbdd40d8a75dc707dc20853357394a12e9340b3e46f9e50231bf904b15e5dec15d2de63631bb1d2e8d4920c04996 + languageName: node + linkType: hard + "glob@npm:^7.1.1, glob@npm:^7.1.3, glob@npm:^7.1.4, glob@npm:^7.1.6, glob@npm:^7.2.0": version: 7.2.3 resolution: "glob@npm:7.2.3" @@ -20629,6 +20661,19 @@ __metadata: languageName: node linkType: hard +"jackspeak@npm:^2.0.3": + version: 2.1.0 + resolution: "jackspeak@npm:2.1.0" + dependencies: + "@pkgjs/parseargs": ^0.11.0 + cliui: ^7.0.4 + dependenciesMeta: + "@pkgjs/parseargs": + optional: true + checksum: 16b57ef838fe8f480fba640f2bb26928e15eb5ceeb1860164213c67a3aa77f74c983a815b0ebf8d0c90a74c7b3696f7f1e08c4fd21f4c8f2e7f0f6b01b4e1d3a + languageName: node + linkType: hard + "jake@npm:^10.8.5": version: 10.8.5 resolution: "jake@npm:10.8.5" @@ -22539,6 +22584,13 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^9.0.0": + version: 9.1.1 + resolution: "lru-cache@npm:9.1.1" + checksum: a70630bccc94e6d6bf5523de8103302407a3b0090f4e245d126569ba96f85b4fa10ad537fb5d9435c58ba3762c0880361f8f5a92d7c9d10b59c8fcc8a0c615e5 + languageName: node + linkType: hard + "lru-cache@npm:~4.0.0": version: 4.0.2 resolution: "lru-cache@npm:4.0.2" @@ -23264,6 +23316,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^9.0.0": + version: 9.0.0 + resolution: "minimatch@npm:9.0.0" + dependencies: + brace-expansion: ^2.0.1 + checksum: d966656c280a994f89c3711e8cdac0c78d8703d028a26722d0229e3e92bf515a065165caa64cbccdd7ca89bb0338a3094920f8d42d36295c4d55922e19ae366e + languageName: node + linkType: hard + "minimist-options@npm:4.1.0": version: 4.1.0 resolution: "minimist-options@npm:4.1.0" @@ -23382,13 +23443,20 @@ __metadata: languageName: node linkType: hard -"minipass@npm:^4.0.0, minipass@npm:^4.0.2, minipass@npm:^4.2.4": +"minipass@npm:^4.0.0, minipass@npm:^4.2.4": version: 4.2.5 resolution: "minipass@npm:4.2.5" checksum: 98ef3a4f0e7cbb2a152139069fd48eca331296948946c69fd569eee24d875e1dbbe989609b561b9ff8ecdc3438f46ed6c287efd150facd7d374a8fd6ba689d02 languageName: node linkType: hard +"minipass@npm:^5.0.0": + version: 5.0.0 + resolution: "minipass@npm:5.0.0" + checksum: a91d8043f691796a8ac88df039da19933ef0f633e3d7f0d35dcd5373af49131cf2399bfc355f41515dc495e3990369c3858cd319e5c2722b4753c90bf3152462 + languageName: node + linkType: hard + "minizlib@npm:^2.0.0, minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": version: 2.1.2 resolution: "minizlib@npm:2.1.2" @@ -25367,13 +25435,13 @@ __metadata: languageName: node linkType: hard -"path-scurry@npm:^1.6.1": - version: 1.6.3 - resolution: "path-scurry@npm:1.6.3" +"path-scurry@npm:^1.6.1, path-scurry@npm:^1.7.0": + version: 1.7.0 + resolution: "path-scurry@npm:1.7.0" dependencies: - lru-cache: ^7.14.1 - minipass: ^4.0.2 - checksum: dbb64eb6beebc34bd971e21743aa720b0401a587051b36d7027f0a2526decff867d42e2e16e7a459d955e049e62b575da7ee39b74d4efa7e425e513806734585 + lru-cache: ^9.0.0 + minipass: ^5.0.0 + checksum: a8d1fd105b5b1bb0b86c73e3e1433d8227b8075c4868453529611ed8b0ba768d1195c54690c1de125277c4e8f09c7459b0e98f99fbd357c9b34dd566cbe6b55b languageName: node linkType: hard @@ -27842,14 +27910,14 @@ __metadata: languageName: node linkType: hard -"rimraf@npm:4.4.1, rimraf@npm:^4.4.1": - version: 4.4.1 - resolution: "rimraf@npm:4.4.1" +"rimraf@npm:5.0.0": + version: 5.0.0 + resolution: "rimraf@npm:5.0.0" dependencies: - glob: ^9.2.0 + glob: ^10.0.0 bin: rimraf: dist/cjs/src/bin.js - checksum: 8c5e142d26d8b222be9dc9a1a41ba48e95d8f374e813e66a8533e87c6180174fcb3f573b9b592eca12740ebf8b78526d136acd971d4a790763d6f2232c34fa24 + checksum: 965dcd7928334a86eeb02dc59874c6d1bf1a1361da4f55561083e5d216bfc52b933c14dae69450bea6943e52d0f704445e8f80c428c3390bd905f15daefdb0f7 languageName: node linkType: hard @@ -27864,6 +27932,17 @@ __metadata: languageName: node linkType: hard +"rimraf@npm:^4.4.1": + version: 4.4.1 + resolution: "rimraf@npm:4.4.1" + dependencies: + glob: ^9.2.0 + bin: + rimraf: dist/cjs/src/bin.js + checksum: 8c5e142d26d8b222be9dc9a1a41ba48e95d8f374e813e66a8533e87c6180174fcb3f573b9b592eca12740ebf8b78526d136acd971d4a790763d6f2232c34fa24 + languageName: node + linkType: hard + "rimraf@npm:~2.6.2": version: 2.6.3 resolution: "rimraf@npm:2.6.3" @@ -27962,7 +28041,7 @@ __metadata: octokit: 2.0.14 ora: 5.4.1 prompts: 2.4.2 - rimraf: 4.4.1 + rimraf: 5.0.0 typescript: 5.0.4 yargs: 17.7.1 zx: 7.2.1 @@ -28548,6 +28627,13 @@ __metadata: languageName: node linkType: hard +"signal-exit@npm:^4.0.1": + version: 4.0.1 + resolution: "signal-exit@npm:4.0.1" + checksum: 8ff362b7fe81d50cb664c773d2406d68f02aef7ab50b2fdb6a0bb2514730529062be4f981cc5534c05f34a20caa6f91a78a5d1dc90446a968359d80adb63b014 + languageName: node + linkType: hard + "signedsource@npm:^1.0.0": version: 1.0.0 resolution: "signedsource@npm:1.0.0"