@parcel/transformer-css 2.0.0-nightly.1442 → 2.0.0-nightly.1445

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.
@@ -194,9 +194,9 @@ var _default = new (_plugin().Transformer)({
194
194
  });
195
195
  }
196
196
  }
197
- asset.setBuffer(res.code);
197
+ asset.setBuffer(Buffer.from(res.code));
198
198
  if (res.map != null) {
199
- let vlqMap = JSON.parse(res.map.toString());
199
+ let vlqMap = JSON.parse(Buffer.from(res.map).toString());
200
200
  let map = new (_sourceMap().default)(options.projectRoot);
201
201
  map.addVLQMap(vlqMap);
202
202
  if (originalMap) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parcel/transformer-css",
3
- "version": "2.0.0-nightly.1442+d741b10c6",
3
+ "version": "2.0.0-nightly.1445+d1d24bf2b",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -17,22 +17,22 @@
17
17
  "source": "src/CSSTransformer.js",
18
18
  "engines": {
19
19
  "node": ">= 12.0.0",
20
- "parcel": "2.0.0-nightly.1440+d741b10c6"
20
+ "parcel": "2.0.0-nightly.1443+d1d24bf2b"
21
21
  },
22
22
  "dependencies": {
23
- "@parcel/diagnostic": "2.0.0-nightly.1442+d741b10c6",
24
- "@parcel/plugin": "2.0.0-nightly.1442+d741b10c6",
23
+ "@parcel/diagnostic": "2.0.0-nightly.1445+d1d24bf2b",
24
+ "@parcel/plugin": "2.0.0-nightly.1445+d1d24bf2b",
25
25
  "@parcel/source-map": "^2.1.1",
26
- "@parcel/utils": "2.0.0-nightly.1442+d741b10c6",
26
+ "@parcel/utils": "2.0.0-nightly.1445+d1d24bf2b",
27
27
  "browserslist": "^4.6.6",
28
- "lightningcss": "^1.16.1",
28
+ "lightningcss": "^1.22.1",
29
29
  "nullthrows": "^1.1.1"
30
30
  },
31
31
  "devDependencies": {
32
- "lightningcss-wasm": "^1.16.1"
32
+ "lightningcss-wasm": "^1.22.1"
33
33
  },
34
34
  "browser": {
35
35
  "lightningcss": "./wasm-wrapper.js"
36
36
  },
37
- "gitHead": "d741b10c6172ac52bb17b491689f312d04d4191b"
37
+ "gitHead": "d1d24bf2bda29b23f7351548fa0e3cbf93983acb"
38
38
  }
@@ -175,10 +175,10 @@ export default (new Transformer({
175
175
  }
176
176
  }
177
177
 
178
- asset.setBuffer(res.code);
178
+ asset.setBuffer(Buffer.from(res.code));
179
179
 
180
180
  if (res.map != null) {
181
- let vlqMap = JSON.parse(res.map.toString());
181
+ let vlqMap = JSON.parse(Buffer.from(res.map).toString());
182
182
  let map = new SourceMap(options.projectRoot);
183
183
  map.addVLQMap(vlqMap);
184
184