@parcel/packager-js 2.3.2 → 2.4.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/lib/index.js CHANGED
@@ -117,7 +117,8 @@ var _default = new (_plugin().Packager)({
117
117
  bundle,
118
118
  bundleGraph,
119
119
  contents,
120
- map
120
+ map,
121
+ getReplacement: s => JSON.stringify(s).slice(1, -1)
121
122
  }));
122
123
  }
123
124
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/packager-js",
3
- "version": "2.3.2",
3
+ "version": "2.4.0",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -17,16 +17,16 @@
17
17
  "source": "src/index.js",
18
18
  "engines": {
19
19
  "node": ">= 12.0.0",
20
- "parcel": "^2.3.2"
20
+ "parcel": "^2.4.0"
21
21
  },
22
22
  "dependencies": {
23
- "@parcel/diagnostic": "2.3.2",
24
- "@parcel/hash": "2.3.2",
25
- "@parcel/plugin": "2.3.2",
23
+ "@parcel/diagnostic": "2.4.0",
24
+ "@parcel/hash": "2.4.0",
25
+ "@parcel/plugin": "2.4.0",
26
26
  "@parcel/source-map": "^2.0.0",
27
- "@parcel/utils": "2.3.2",
27
+ "@parcel/utils": "2.4.0",
28
28
  "globals": "^13.2.0",
29
29
  "nullthrows": "^1.1.1"
30
30
  },
31
- "gitHead": "47379bf8fabeb2cfe03ade8802d942388b153e5b"
31
+ "gitHead": "b1bbfdab2e902d33c0b6ff75bfba2d22283a8de6"
32
32
  }
package/src/index.js CHANGED
@@ -72,6 +72,7 @@ export default (new Packager({
72
72
  bundleGraph,
73
73
  contents,
74
74
  map,
75
+ getReplacement: s => JSON.stringify(s).slice(1, -1),
75
76
  }));
76
77
  }
77
78