@atlaspack/babel-preset-env 2.14.2-dev.0 → 2.14.2-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.
Files changed (2) hide show
  1. package/lib/index.js +1 -1
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  const semver = require('semver');
4
4
  const COMPATIBLE_ATLASPACK_BABEL_TRANSFORMER_SEMVER = '^2.0.0-beta.1';
5
- module.exports = function (api, opts) {
5
+ module.exports = function parcelBabelPresetEnv(api, opts) {
6
6
  let name = api.caller(caller => caller && caller.name);
7
7
  let version = api.caller(caller => caller && caller.version);
8
8
  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-preset-env",
3
- "version": "2.14.2-dev.0",
3
+ "version": "2.14.2-typescript-de860656a.0",
4
4
  "license": "(MIT OR Apache-2.0)",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -24,5 +24,5 @@
24
24
  "@babel/core": "^7.22.11"
25
25
  },
26
26
  "type": "commonjs",
27
- "gitHead": "6ce3565fe038caf52c09fad4e48175829b174571"
27
+ "gitHead": "de860656a3c821c6f8043b05fa7699289992edbb"
28
28
  }