@atlaspack/transformer-sass 2.14.19 → 2.14.20

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 CHANGED
@@ -1,5 +1,14 @@
1
1
  # @atlaspack/transformer-sass
2
2
 
3
+ ## 2.14.20
4
+
5
+ ### Patch Changes
6
+
7
+ - [#702](https://github.com/atlassian-labs/atlaspack/pull/702) [`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa) Thanks [@alshdavid](https://github.com/alshdavid)! - Fixes to Flow types
8
+
9
+ - Updated dependencies [[`daaa768`](https://github.com/atlassian-labs/atlaspack/commit/daaa7688786772d7e3713b71c5bba6b89ec704aa)]:
10
+ - @atlaspack/plugin@2.14.20
11
+
3
12
  ## 2.14.19
4
13
 
5
14
  ### Patch Changes
@@ -98,10 +98,14 @@ var _default = exports.default = new (_plugin().Transformer)({
98
98
  let result = await sassRender({
99
99
  ...rawConfig,
100
100
  file: asset.filePath,
101
+ // $FlowFixMe
101
102
  data: rawConfig.data ? rawConfig.data + _os().EOL + code : code,
102
- importer: [...rawConfig.importer, resolvePathImporter({
103
+ importer: [
104
+ // $FlowFixMe
105
+ ...rawConfig.importer, resolvePathImporter({
103
106
  asset,
104
107
  resolve,
108
+ // $FlowFixMe
105
109
  includePaths: rawConfig.includePaths,
106
110
  options
107
111
  })],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/transformer-sass",
3
- "version": "2.14.19",
3
+ "version": "2.14.20",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,7 +15,7 @@
15
15
  "node": ">= 16.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@atlaspack/plugin": "2.14.19",
18
+ "@atlaspack/plugin": "2.14.20",
19
19
  "@parcel/source-map": "^2.1.1",
20
20
  "sass": "^1.38.0"
21
21
  },
@@ -59,12 +59,15 @@ export default (new Transformer({
59
59
  let result = await sassRender({
60
60
  ...rawConfig,
61
61
  file: asset.filePath,
62
+ // $FlowFixMe
62
63
  data: rawConfig.data ? rawConfig.data + EOL + code : code,
63
64
  importer: [
65
+ // $FlowFixMe
64
66
  ...rawConfig.importer,
65
67
  resolvePathImporter({
66
68
  asset,
67
69
  resolve,
70
+ // $FlowFixMe
68
71
  includePaths: rawConfig.includePaths,
69
72
  options,
70
73
  }),
@@ -102,7 +105,7 @@ export default (new Transformer({
102
105
  asset.setCode(css);
103
106
  return [asset];
104
107
  },
105
- }): Transformer);
108
+ }): Transformer<mixed>);
106
109
 
107
110
  function resolvePathImporter({asset, resolve, includePaths, options}) {
108
111
  // This is a reimplementation of the Sass resolution algorithm that uses Atlaspack's