@atlaspack/babel-preset-env 2.14.2-unified-e330ff3d9.0 → 2.14.2-unified-f165f7d09.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.
- package/lib/index.js +1 -1
- 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-unified-
|
|
3
|
+
"version": "2.14.2-unified-f165f7d09.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": "
|
|
27
|
+
"gitHead": "f165f7d09a7970afa669133971ceb2702726c23d"
|
|
28
28
|
}
|