@atlaspack/babel-plugin-transform-runtime 2.12.1-dev.3443 → 2.12.1-dev.3478

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/index.js +3 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/babel-plugin-transform-runtime",
3
- "version": "2.12.1-dev.3443+d1170cfc7",
3
+ "version": "2.12.1-dev.3478+5fd2da535",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -18,8 +18,8 @@
18
18
  "semver": "^7.5.2"
19
19
  },
20
20
  "devDependencies": {
21
- "@atlaspack/babel-preset-env": "2.12.1-dev.3443+d1170cfc7",
21
+ "@atlaspack/babel-preset-env": "2.12.1-dev.3478+5fd2da535",
22
22
  "@babel/core": "^7.22.11"
23
23
  },
24
- "gitHead": "d1170cfc79beb290b2a066f472f68f71f7d7cb23"
24
+ "gitHead": "5fd2da535ecbe096d57e03aec15e80bb1d7601f7"
25
25
  }
package/src/index.js CHANGED
@@ -5,15 +5,15 @@ const pluginTransformRuntime =
5
5
  const COMPATIBLE_ATLASPACK_BABEL_TRANSFORMER_SEMVER = '^2.0.0-alpha.1.1';
6
6
 
7
7
  module.exports = function parcelPluginTransformRuntime(api, opts, dirname) {
8
- let name = api.caller(caller => caller && caller.name);
9
- let version = api.caller(caller => caller && caller.version);
8
+ let name = api.caller((caller) => caller && caller.name);
9
+ let version = api.caller((caller) => caller && caller.version);
10
10
 
11
11
  if (
12
12
  name === 'parcel' &&
13
13
  typeof version === 'string' &&
14
14
  semver.satisfies(version, COMPATIBLE_ATLASPACK_BABEL_TRANSFORMER_SEMVER)
15
15
  ) {
16
- let outputFormat = api.caller(caller => {
16
+ let outputFormat = api.caller((caller) => {
17
17
  return caller && caller.outputFormat;
18
18
  });
19
19
  if (typeof outputFormat !== 'string' && outputFormat !== undefined) {