@atlaspack/babel-plugin-transform-runtime 2.14.2-alshintegrationtestslib.0 → 2.14.2-dev-eae8c193d.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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +3 -3
package/lib/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  const semver = require('semver');
4
4
  const pluginTransformRuntime = require('@babel/plugin-transform-runtime').default;
5
5
  const COMPATIBLE_ATLASPACK_BABEL_TRANSFORMER_SEMVER = '^2.0.0-alpha.1.1';
6
- module.exports = function parcelPluginTransformRuntime(api, opts, dirname) {
6
+ module.exports = function (api, opts, dirname) {
7
7
  let name = api.caller(caller => caller && caller.name);
8
8
  let version = api.caller(caller => caller && caller.version);
9
9
  if (name === 'parcel' && typeof version === 'string' && semver.satisfies(version, COMPATIBLE_ATLASPACK_BABEL_TRANSFORMER_SEMVER)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaspack/babel-plugin-transform-runtime",
3
- "version": "2.14.2-alshintegrationtestslib.0",
3
+ "version": "2.14.2-dev-eae8c193d.0",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -18,9 +18,9 @@
18
18
  "semver": "^7.5.2"
19
19
  },
20
20
  "devDependencies": {
21
- "@atlaspack/babel-preset-env": "2.14.2-alshintegrationtestslib.0",
21
+ "@atlaspack/babel-preset-env": "2.14.2-dev-eae8c193d.0",
22
22
  "@babel/core": "^7.22.11"
23
23
  },
24
24
  "type": "commonjs",
25
- "gitHead": "f6a68fdf5e9837f1040a7ea71443212a6f62ee5b"
25
+ "gitHead": "eae8c193d1b12309f6377859a2da6a352b329f3d"
26
26
  }