@atlaspack/transformer-js 3.2.3-canary.203 → 3.2.3-canary.205

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.
@@ -562,7 +562,7 @@ var _default = exports.default = new (_plugin().Transformer)({
562
562
 
563
563
  // If there is an original source map, use it to remap to the original source location.
564
564
  if (originalMap) {
565
- location = (0, _utils().remapSourceLocation)(location, originalMap);
565
+ location = (0, _utils().remapSourceLocation)(location, originalMap, options.projectRoot);
566
566
  }
567
567
  return location;
568
568
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/transformer-js",
3
- "version": "3.2.3-canary.203+0e967b0cf",
3
+ "version": "3.2.3-canary.205+118010351",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -24,12 +24,12 @@
24
24
  "src"
25
25
  ],
26
26
  "dependencies": {
27
- "@atlaspack/diagnostic": "2.14.1-canary.271+0e967b0cf",
28
- "@atlaspack/feature-flags": "2.14.1-canary.271+0e967b0cf",
29
- "@atlaspack/plugin": "2.14.5-canary.203+0e967b0cf",
30
- "@atlaspack/rust": "3.2.1-canary.203+0e967b0cf",
31
- "@atlaspack/utils": "2.14.5-canary.203+0e967b0cf",
32
- "@atlaspack/workers": "2.14.5-canary.203+0e967b0cf",
27
+ "@atlaspack/diagnostic": "2.14.1-canary.273+118010351",
28
+ "@atlaspack/feature-flags": "2.14.1-canary.273+118010351",
29
+ "@atlaspack/plugin": "2.14.5-canary.205+118010351",
30
+ "@atlaspack/rust": "3.2.1-canary.205+118010351",
31
+ "@atlaspack/utils": "2.14.5-canary.205+118010351",
32
+ "@atlaspack/workers": "2.14.5-canary.205+118010351",
33
33
  "@parcel/source-map": "^2.1.1",
34
34
  "@swc/helpers": "^0.5.15",
35
35
  "browserslist": "^4.6.6",
@@ -41,5 +41,5 @@
41
41
  "@atlaspack/core": "2.24.1"
42
42
  },
43
43
  "type": "commonjs",
44
- "gitHead": "0e967b0cf0fbd885588b81476ec1f25a507ffa94"
44
+ "gitHead": "118010351ed444f8178988afb3f77807154dd933"
45
45
  }
@@ -672,7 +672,11 @@ export default new Transformer({
672
672
 
673
673
  // If there is an original source map, use it to remap to the original source location.
674
674
  if (originalMap) {
675
- location = remapSourceLocation(location, originalMap);
675
+ location = remapSourceLocation(
676
+ location,
677
+ originalMap,
678
+ options.projectRoot,
679
+ );
676
680
  }
677
681
 
678
682
  return location;