@rspack-canary/test-tools 1.5.8-canary-6c1a40e3-20250925175235 → 1.5.8-canary-15732646-20250927173602

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.
@@ -361,6 +361,8 @@ class NodeRunner {
361
361
  context: esmContext,
362
362
  initializeImportMeta: (meta, _) => {
363
363
  meta.url = (0, node_url_1.pathToFileURL)(file.path).href;
364
+ meta.dirname = node_path_1.default.dirname(file.path);
365
+ meta.filename = file.path;
364
366
  },
365
367
  importModuleDynamically: async (specifier, module) => {
366
368
  const result = await _require(node_path_1.default.dirname(file.path), specifier, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rspack-canary/test-tools",
3
- "version": "1.5.8-canary-6c1a40e3-20250925175235",
3
+ "version": "1.5.8-canary-15732646-20250927173602",
4
4
  "license": "MIT",
5
5
  "description": "Test tools for rspack",
6
6
  "main": "dist/index.js",
@@ -100,10 +100,10 @@
100
100
  "wast-loader": "^1.14.1",
101
101
  "worker-rspack-loader": "^3.1.2",
102
102
  "exports-loader": "^5.0.0",
103
- "@rspack/cli": "npm:@rspack-canary/cli@1.5.8-canary-6c1a40e3-20250925175235",
103
+ "@rspack/cli": "npm:@rspack-canary/cli@1.5.8-canary-15732646-20250927173602",
104
104
  "@rspack/binding-testing": "1.4.1",
105
- "@rspack/core": "npm:@rspack-canary/core@1.5.8-canary-6c1a40e3-20250925175235",
106
- "@rspack/test-tools": "npm:@rspack-canary/test-tools@1.5.8-canary-6c1a40e3-20250925175235"
105
+ "@rspack/test-tools": "npm:@rspack-canary/test-tools@1.5.8-canary-15732646-20250927173602",
106
+ "@rspack/core": "npm:@rspack-canary/core@1.5.8-canary-15732646-20250927173602"
107
107
  },
108
108
  "peerDependencies": {
109
109
  "@rspack/core": ">=1.0.0"