From 13b8b0788d76ea9043a5f0ff01a85260aa22386d Mon Sep 17 00:00:00 2001 From: dish Date: Wed, 28 May 2025 11:23:29 -0400 Subject: [PATCH] nodePackages.rimraf: drop --- doc/release-notes/rl-2511.section.md | 2 + pkgs/development/node-packages/aliases.nix | 1 + .../node-packages/node-packages.json | 1 - .../node-packages/node-packages.nix | 121 ------------------ 4 files changed, 3 insertions(+), 122 deletions(-) diff --git a/doc/release-notes/rl-2511.section.md b/doc/release-notes/rl-2511.section.md index d2982c348730..6f83bb58d734 100644 --- a/doc/release-notes/rl-2511.section.md +++ b/doc/release-notes/rl-2511.section.md @@ -204,6 +204,8 @@ - `python3Packages.pyheif` has been dropped due to lack of upstream maintenance and breakage. Use `python3Packages.pillow-heif` instead. +- `nodePackages.rimraf` has been removed, as it is a Javascript library, and packages that want to use it should depend directly on it instead. + ## Other Notable Changes {#sec-nixpkgs-release-25.11-notable-changes} diff --git a/pkgs/development/node-packages/aliases.nix b/pkgs/development/node-packages/aliases.nix index bb541a64d4c6..3d12c6ac17e6 100644 --- a/pkgs/development/node-packages/aliases.nix +++ b/pkgs/development/node-packages/aliases.nix @@ -188,6 +188,7 @@ mapAliases { remod-cli = pkgs.remod; # added 2024-12-04 "reveal.js" = throw "reveal.js was removed because it provides no executable"; # added 2025-03-23 reveal-md = pkgs.reveal-md; # added 2023-07-31 + rimraf = throw "rimraf was removed because it is a library, and your project should lock it instead."; # added 2025-05-28 rollup = throw "rollup has been removed because it was broken"; # added 2025-04-28 inherit (pkgs) rtlcss; # added 2023-08-29 s3http = throw "s3http was removed because it was abandoned upstream"; # added 2023-08-18 diff --git a/pkgs/development/node-packages/node-packages.json b/pkgs/development/node-packages/node-packages.json index 1f473a018c11..8aafc43a21ee 100644 --- a/pkgs/development/node-packages/node-packages.json +++ b/pkgs/development/node-packages/node-packages.json @@ -135,7 +135,6 @@ , "purescript-psa" , "purs-tidy" , "purty" -, "rimraf" , "sass" , "semver" , "sloc" diff --git a/pkgs/development/node-packages/node-packages.nix b/pkgs/development/node-packages/node-packages.nix index af270592afa0..f21616995c29 100644 --- a/pkgs/development/node-packages/node-packages.nix +++ b/pkgs/development/node-packages/node-packages.nix @@ -19734,15 +19734,6 @@ let sha512 = "7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg=="; }; }; - "glob-11.0.1" = { - name = "glob"; - packageName = "glob"; - version = "11.0.1"; - src = fetchurl { - url = "https://registry.npmjs.org/glob/-/glob-11.0.1.tgz"; - sha512 = "zrQDm8XPnYEKawJScsnM0QzobJxlT/kHOOlRTio8IH/GrmxRE5fjllkzdaHclIuNjUQTJYH2xHNIGfdpJkDJUw=="; - }; - }; "glob-6.0.4" = { name = "glob"; packageName = "glob"; @@ -23532,15 +23523,6 @@ let sha512 = "OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw=="; }; }; - "jackspeak-4.1.0" = { - name = "jackspeak"; - packageName = "jackspeak"; - version = "4.1.0"; - src = fetchurl { - url = "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.0.tgz"; - sha512 = "9DDdhb5j6cpeitCbvLO7n7J4IxnbM6hoF6O1g4HQ5TfhvvKN8ywDM7668ZhMHRqVmxqhps/F6syWK2KcPxYlkw=="; - }; - }; "jade-0.27.0" = { name = "jade"; packageName = "jade"; @@ -25953,15 +25935,6 @@ let sha512 = "JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ=="; }; }; - "lru-cache-11.0.2" = { - name = "lru-cache"; - packageName = "lru-cache"; - version = "11.0.2"; - src = fetchurl { - url = "https://registry.npmjs.org/lru-cache/-/lru-cache-11.0.2.tgz"; - sha512 = "123qHRfJBmo2jXDbo/a5YOQrJoHF/GNQTLzQ5+IdK5pWpceK17yRc6ozlWd25FxvGKQbIUs91fDFkXmDHTKcyA=="; - }; - }; "lru-cache-2.2.0" = { name = "lru-cache"; packageName = "lru-cache"; @@ -27808,15 +27781,6 @@ let sha512 = "JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg=="; }; }; - "minimatch-10.0.1" = { - name = "minimatch"; - packageName = "minimatch"; - version = "10.0.1"; - src = fetchurl { - url = "https://registry.npmjs.org/minimatch/-/minimatch-10.0.1.tgz"; - sha512 = "ethXTt3SGGR+95gudmqJ1eNhRO7eGEGIgYA9vnPatK4/etz2MEVDno5GMCibdMTuBMyElzIlgxMna3K94XDIDQ=="; - }; - }; "minimatch-3.0.8" = { name = "minimatch"; packageName = "minimatch"; @@ -31175,15 +31139,6 @@ let sha512 = "Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA=="; }; }; - "path-scurry-2.0.0" = { - name = "path-scurry"; - packageName = "path-scurry"; - version = "2.0.0"; - src = fetchurl { - url = "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz"; - sha512 = "ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg=="; - }; - }; "path-to-regexp-0.1.12" = { name = "path-to-regexp"; packageName = "path-to-regexp"; @@ -61974,82 +61929,6 @@ in bypassCache = true; reconstructLock = true; }; - rimraf = nodeEnv.buildNodePackage { - name = "rimraf"; - packageName = "rimraf"; - version = "6.0.1"; - src = fetchurl { - url = "https://registry.npmjs.org/rimraf/-/rimraf-6.0.1.tgz"; - sha512 = "9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A=="; - }; - dependencies = [ - sources."@isaacs/cliui-8.0.2" - sources."ansi-regex-5.0.1" - sources."ansi-styles-6.2.1" - sources."balanced-match-1.0.2" - sources."brace-expansion-2.0.1" - sources."color-convert-2.0.1" - sources."color-name-1.1.4" - sources."cross-spawn-7.0.6" - sources."eastasianwidth-0.2.0" - sources."emoji-regex-9.2.2" - sources."foreground-child-3.3.1" - sources."glob-11.0.1" - sources."is-fullwidth-code-point-3.0.0" - sources."isexe-2.0.0" - sources."jackspeak-4.1.0" - sources."lru-cache-11.0.2" - sources."minimatch-10.0.1" - sources."minipass-7.1.2" - sources."package-json-from-dist-1.0.1" - sources."path-key-3.1.1" - sources."path-scurry-2.0.0" - sources."shebang-command-2.0.0" - sources."shebang-regex-3.0.0" - sources."signal-exit-4.1.0" - sources."string-width-5.1.2" - ( - sources."string-width-cjs-4.2.3" - // { - dependencies = [ - sources."emoji-regex-8.0.0" - sources."strip-ansi-6.0.1" - ]; - } - ) - ( - sources."strip-ansi-7.1.0" - // { - dependencies = [ - sources."ansi-regex-6.1.0" - ]; - } - ) - sources."strip-ansi-cjs-6.0.1" - sources."which-2.0.2" - sources."wrap-ansi-8.1.0" - ( - sources."wrap-ansi-cjs-7.0.0" - // { - dependencies = [ - sources."ansi-styles-4.3.0" - sources."emoji-regex-8.0.0" - sources."string-width-4.2.3" - sources."strip-ansi-6.0.1" - ]; - } - ) - ]; - buildInputs = globalBuildInputs; - meta = { - description = "A deep deletion module for node (like `rm -rf`)"; - homepage = "https://github.com/isaacs/rimraf#readme"; - license = "ISC"; - }; - production = true; - bypassCache = true; - reconstructLock = true; - }; sass = nodeEnv.buildNodePackage { name = "sass"; packageName = "sass";