nx 24.0.0-rc.1 → 24.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -209,7 +209,12 @@ Module._load = function (request, parent, isMain) {
209
209
  };
210
210
 
211
211
  const indexModulePath = require.resolve('./native-bindings.js');
212
- delete require.cache[indexModulePath];
212
+ // Absent on Node 22.15–22.22.2 and 24.0–24.11.0 under a `module.registerHooks()`
213
+ // load hook (Playwright 1.64): node evaluates CJS imported from ESM with its
214
+ // internal loader there.
215
+ if (require.cache) {
216
+ delete require.cache[indexModulePath];
217
+ }
213
218
  // A direct re-export: node's CommonJS export lexer follows this form, so ESM
214
219
  // importers see the named exports. Assigning via a variable hides them.
215
220
  module.exports = require('./native-bindings.js');
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nx",
3
- "version": "24.0.0-rc.1",
3
+ "version": "24.0.0",
4
4
  "private": false,
5
5
  "type": "commonjs",
6
6
  "description": "The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.",
@@ -150,16 +150,16 @@
150
150
  }
151
151
  },
152
152
  "optionalDependencies": {
153
- "@nx/nx-darwin-arm64": "24.0.0-rc.1",
154
- "@nx/nx-darwin-x64": "24.0.0-rc.1",
155
- "@nx/nx-freebsd-x64": "24.0.0-rc.1",
156
- "@nx/nx-linux-arm-gnueabihf": "24.0.0-rc.1",
157
- "@nx/nx-linux-arm64-gnu": "24.0.0-rc.1",
158
- "@nx/nx-linux-arm64-musl": "24.0.0-rc.1",
159
- "@nx/nx-linux-x64-gnu": "24.0.0-rc.1",
160
- "@nx/nx-linux-x64-musl": "24.0.0-rc.1",
161
- "@nx/nx-win32-arm64-msvc": "24.0.0-rc.1",
162
- "@nx/nx-win32-x64-msvc": "24.0.0-rc.1"
153
+ "@nx/nx-darwin-arm64": "24.0.0",
154
+ "@nx/nx-darwin-x64": "24.0.0",
155
+ "@nx/nx-freebsd-x64": "24.0.0",
156
+ "@nx/nx-linux-arm-gnueabihf": "24.0.0",
157
+ "@nx/nx-linux-arm64-gnu": "24.0.0",
158
+ "@nx/nx-linux-arm64-musl": "24.0.0",
159
+ "@nx/nx-linux-x64-gnu": "24.0.0",
160
+ "@nx/nx-linux-x64-musl": "24.0.0",
161
+ "@nx/nx-win32-arm64-msvc": "24.0.0",
162
+ "@nx/nx-win32-x64-msvc": "24.0.0"
163
163
  },
164
164
  "nx-migrations": {
165
165
  "migrations": "./migrations.json",