@atlaspack/transformer-postcss 2.14.15-alshintegrationtestslib.0 → 2.14.15-dev.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.
@@ -306,7 +306,7 @@ async function createLoader(asset, resolve, options) {
306
306
  let {
307
307
  default: FileSystemLoader
308
308
  } = await options.packageManager.require('postcss-modules/build/css-loader-core/loader', asset.filePath);
309
- return class AtlaspackFileSystemLoader extends FileSystemLoader {
309
+ return class extends FileSystemLoader {
310
310
  async fetch(composesPath, relativeTo) {
311
311
  let importPath = composesPath.replace(/^["']|["']$/g, '');
312
312
  let resolved = await resolve(relativeTo, importPath);
@@ -8,8 +8,7 @@ async function loadExternalPlugins(plugins, relative, options) {
8
8
  if (Array.isArray(plugins)) {
9
9
  return Promise.all(plugins.map(p => loadPlugin(p, relative, null, options.packageManager, options.shouldAutoInstall)).filter(Boolean));
10
10
  } else if (typeof plugins === 'object') {
11
- let _plugins = plugins;
12
- let mapPlugins = await Promise.all(Object.keys(plugins).map(p => loadPlugin(p, relative, _plugins[p], options.packageManager, options.shouldAutoInstall)));
11
+ let mapPlugins = await Promise.all(Object.keys(plugins).map(p => loadPlugin(p, relative, plugins[p], options.packageManager, options.shouldAutoInstall)));
13
12
  return mapPlugins.filter(Boolean);
14
13
  } else {
15
14
  return [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/transformer-postcss",
3
- "version": "2.14.15-alshintegrationtestslib.0",
3
+ "version": "2.14.15-dev.0",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,10 +15,10 @@
15
15
  "node": ">= 16.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@atlaspack/diagnostic": "2.14.2-alshintegrationtestslib.0",
19
- "@atlaspack/plugin": "2.14.15-alshintegrationtestslib.0",
20
- "@atlaspack/rust": "3.3.6-alshintegrationtestslib.0",
21
- "@atlaspack/utils": "2.15.3-alshintegrationtestslib.0",
18
+ "@atlaspack/diagnostic": "2.14.2-dev.0",
19
+ "@atlaspack/plugin": "2.14.15-dev.0",
20
+ "@atlaspack/rust": "3.3.6-dev.0",
21
+ "@atlaspack/utils": "2.15.3-dev.0",
22
22
  "clone": "^2.1.1",
23
23
  "nullthrows": "^1.1.1",
24
24
  "postcss-value-parser": "^4.2.0",
@@ -29,5 +29,5 @@
29
29
  "postcss-modules": "^4.3.1"
30
30
  },
31
31
  "type": "commonjs",
32
- "gitHead": "f6a68fdf5e9837f1040a7ea71443212a6f62ee5b"
32
+ "gitHead": "6ce3565fe038caf52c09fad4e48175829b174571"
33
33
  }