@atlaspack/transformer-posthtml 2.14.16-dev-eae8c193d.0 → 2.14.16-typescript-de860656a.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.
@@ -8,7 +8,8 @@ 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 mapPlugins = await Promise.all(Object.keys(plugins).map(p => loadPlugin(p, relative, plugins[p], options.packageManager, options.shouldAutoInstall)));
11
+ let _plugins = plugins;
12
+ let mapPlugins = await Promise.all(Object.keys(plugins).map(p => loadPlugin(p, relative, _plugins[p], options.packageManager, options.shouldAutoInstall)));
12
13
  return mapPlugins.filter(Boolean);
13
14
  } else {
14
15
  return [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/transformer-posthtml",
3
- "version": "2.14.16-dev-eae8c193d.0",
3
+ "version": "2.14.16-typescript-de860656a.0",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -15,8 +15,8 @@
15
15
  "node": ">= 16.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@atlaspack/plugin": "2.14.16-dev-eae8c193d.0",
19
- "@atlaspack/utils": "2.15.4-dev-eae8c193d.0",
18
+ "@atlaspack/plugin": "2.14.16-typescript-de860656a.0",
19
+ "@atlaspack/utils": "2.15.4-typescript-de860656a.0",
20
20
  "nullthrows": "^1.1.1",
21
21
  "posthtml": "^0.16.5",
22
22
  "posthtml-parser": "^0.10.1",
@@ -24,5 +24,5 @@
24
24
  "semver": "^7.5.2"
25
25
  },
26
26
  "type": "commonjs",
27
- "gitHead": "eae8c193d1b12309f6377859a2da6a352b329f3d"
27
+ "gitHead": "de860656a3c821c6f8043b05fa7699289992edbb"
28
28
  }