@atlaspack/transformer-sass 2.12.1-dev.3443 → 2.12.1-dev.3460

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/transformer-sass",
3
- "version": "2.12.1-dev.3443+d1170cfc7",
3
+ "version": "2.12.1-dev.3460+340817991",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -13,12 +13,12 @@
13
13
  "source": "src/SassTransformer.js",
14
14
  "engines": {
15
15
  "node": ">= 16.0.0",
16
- "parcel": "^2.12.1-dev.3443+d1170cfc7"
16
+ "parcel": "^2.12.1-dev.3460+340817991"
17
17
  },
18
18
  "dependencies": {
19
- "@atlaspack/plugin": "2.12.1-dev.3443+d1170cfc7",
19
+ "@atlaspack/plugin": "2.12.1-dev.3460+340817991",
20
20
  "@parcel/source-map": "^2.1.1",
21
21
  "sass": "^1.38.0"
22
22
  },
23
- "gitHead": "d1170cfc79beb290b2a066f472f68f71f7d7cb23"
23
+ "gitHead": "3408179911d6c67e2bdad99e545dd7a0a9a6782c"
24
24
  }
@@ -29,7 +29,7 @@ export default (new Transformer({
29
29
 
30
30
  // Resolve relative paths from config file
31
31
  if (configFile && configResult.includePaths) {
32
- configResult.includePaths = configResult.includePaths.map(p =>
32
+ configResult.includePaths = configResult.includePaths.map((p) =>
33
33
  path.resolve(path.dirname(configFile.filePath), p),
34
34
  );
35
35
  }
@@ -133,7 +133,7 @@ function resolvePathImporter({asset, resolve, includePaths, options}) {
133
133
  paths.push(
134
134
  ...options.env.SASS_PATH.split(
135
135
  process.platform === 'win32' ? ';' : ':',
136
- ).map(p => path.resolve(options.projectRoot, p)),
136
+ ).map((p) => path.resolve(options.projectRoot, p)),
137
137
  );
138
138
  }
139
139
 
@@ -182,7 +182,7 @@ function resolvePathImporter({asset, resolve, includePaths, options}) {
182
182
  return function (rawUrl, prev, done) {
183
183
  const url = rawUrl.replace(/^file:\/\//, '');
184
184
  resolvePath(url, prev)
185
- .then(resolved => {
185
+ .then((resolved) => {
186
186
  if (resolved) {
187
187
  done({
188
188
  file: resolved.filePath,