@oxc-angular-testing/transform 0.0.17 → 0.0.18

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.
Files changed (2) hide show
  1. package/index.d.ts +7 -0
  2. package/package.json +8 -8
package/index.d.ts CHANGED
@@ -97,6 +97,13 @@ export interface TransformOptions {
97
97
  coverageVariable?: string
98
98
  /** Emit a source map (default `true`). */
99
99
  sourceMap?: boolean
100
+ /**
101
+ * Keep the source map's `names` (default `true`). `false` drops them (and
102
+ * each mapping's name field) for parity with tsc's `transpileModule`, whose
103
+ * maps carry none — jest relabels stack frames through `names`. Positions
104
+ * are unaffected. The jest plugin passes `false`.
105
+ */
106
+ sourceMapNames?: boolean
100
107
  }
101
108
 
102
109
  /** Result of a transform. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oxc-angular-testing/transform",
3
- "version": "0.0.17",
3
+ "version": "0.0.18",
4
4
  "description": "Fast Angular test transforms (resource inlining, decorator downleveling, signal initializer APIs) on oxc, with optional istanbul coverage instrumentation in a single AST pass.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -55,13 +55,13 @@
55
55
  "typescript": "^5.6.0"
56
56
  },
57
57
  "optionalDependencies": {
58
- "@oxc-angular-testing/binding-darwin-arm64": "0.0.17",
59
- "@oxc-angular-testing/binding-darwin-x64": "0.0.17",
60
- "@oxc-angular-testing/binding-linux-x64-gnu": "0.0.17",
61
- "@oxc-angular-testing/binding-linux-arm64-gnu": "0.0.17",
62
- "@oxc-angular-testing/binding-linux-x64-musl": "0.0.17",
63
- "@oxc-angular-testing/binding-win32-x64-msvc": "0.0.17",
64
- "@oxc-angular-testing/binding-win32-arm64-msvc": "0.0.17"
58
+ "@oxc-angular-testing/binding-darwin-arm64": "0.0.18",
59
+ "@oxc-angular-testing/binding-darwin-x64": "0.0.18",
60
+ "@oxc-angular-testing/binding-linux-x64-gnu": "0.0.18",
61
+ "@oxc-angular-testing/binding-linux-arm64-gnu": "0.0.18",
62
+ "@oxc-angular-testing/binding-linux-x64-musl": "0.0.18",
63
+ "@oxc-angular-testing/binding-win32-x64-msvc": "0.0.18",
64
+ "@oxc-angular-testing/binding-win32-arm64-msvc": "0.0.18"
65
65
  },
66
66
  "scripts": {
67
67
  "build": "napi build --platform --release && tsc -p tsconfig.json",