@atlaspack/transformer-typescript-tsc 2.14.27-inline-requires-take-2-850fb4568.0 → 2.14.28-dev-optimised-prelude-6fa233c65.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.
- package/CHANGELOG.md +8 -0
- package/lib/TSCTransformer.js +1 -1
- package/package.json +4 -4
- package/src/TSCTransformer.ts +1 -1
package/CHANGELOG.md
CHANGED
package/lib/TSCTransformer.js
CHANGED
|
@@ -72,7 +72,7 @@ var _default = exports.default = new (_plugin().Transformer)({
|
|
|
72
72
|
let map = new (_sourceMap().default)(options.projectRoot);
|
|
73
73
|
map.addVLQMap(JSON.parse(sourceMapText));
|
|
74
74
|
if (originalMap) {
|
|
75
|
-
// @ts-expect-error TS2345
|
|
75
|
+
// @ts-expect-error TS2345 - the types are wrong, `extends` accepts a `SourceMap` or a `Buffer`
|
|
76
76
|
map.extends(originalMap);
|
|
77
77
|
}
|
|
78
78
|
asset.setMap(map);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaspack/transformer-typescript-tsc",
|
|
3
|
-
"version": "2.14.
|
|
3
|
+
"version": "2.14.28-dev-optimised-prelude-6fa233c65.0",
|
|
4
4
|
"license": "(MIT OR Apache-2.0)",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"node": ">= 16.0.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@atlaspack/plugin": "2.14.
|
|
20
|
-
"@atlaspack/ts-utils": "2.14.
|
|
19
|
+
"@atlaspack/plugin": "2.14.28-dev-optimised-prelude-6fa233c65.0",
|
|
20
|
+
"@atlaspack/ts-utils": "2.14.7-dev-optimised-prelude-6fa233c65.0",
|
|
21
21
|
"@parcel/source-map": "^2.1.1"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"check-ts": "tsc --emitDeclarationOnly --rootDir src",
|
|
32
32
|
"build:lib": "gulp build --gulpfile ../../../gulpfile.js --cwd ."
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "6fa233c656e8abea0878044e1fc0dc2023077a53"
|
|
35
35
|
}
|
package/src/TSCTransformer.ts
CHANGED
|
@@ -44,7 +44,7 @@ export default new Transformer({
|
|
|
44
44
|
let map = new SourceMap(options.projectRoot);
|
|
45
45
|
map.addVLQMap(JSON.parse(sourceMapText));
|
|
46
46
|
if (originalMap) {
|
|
47
|
-
// @ts-expect-error TS2345
|
|
47
|
+
// @ts-expect-error TS2345 - the types are wrong, `extends` accepts a `SourceMap` or a `Buffer`
|
|
48
48
|
map.extends(originalMap);
|
|
49
49
|
}
|
|
50
50
|
asset.setMap(map);
|