@atlaspack/babel-plugin-transform-runtime
Advanced tools
Comparing version 2.12.1-dev.3367 to 2.12.1-dev.3398
@@ -9,3 +9,3 @@ "use strict"; | ||
let version = api.caller(caller => caller && caller.version); | ||
if (name === 'atlaspack' && typeof version === 'string' && semver.satisfies(version, COMPATIBLE_ATLASPACK_BABEL_TRANSFORMER_SEMVER)) { | ||
if (name === 'parcel' && typeof version === 'string' && semver.satisfies(version, COMPATIBLE_ATLASPACK_BABEL_TRANSFORMER_SEMVER)) { | ||
let outputFormat = api.caller(caller => { | ||
@@ -12,0 +12,0 @@ return caller && caller.outputFormat; |
{ | ||
"name": "@atlaspack/babel-plugin-transform-runtime", | ||
"version": "2.12.1-dev.3367+07fefed65", | ||
"version": "2.12.1-dev.3398+81c73b3cd", | ||
"license": "MIT", | ||
@@ -21,6 +21,6 @@ "publishConfig": { | ||
"devDependencies": { | ||
"@atlaspack/babel-preset-env": "2.12.1-dev.3367+07fefed65", | ||
"@atlaspack/babel-preset-env": "2.12.1-dev.3398+81c73b3cd", | ||
"@babel/core": "^7.22.11" | ||
}, | ||
"gitHead": "07fefed65a9a4d7bd0bdc9c45b39704ee4ca70dd" | ||
"gitHead": "81c73b3cdf93adf8b0013be9fed5422579bd5910" | ||
} |
@@ -7,3 +7,3 @@ const semver = require('semver'); | ||
module.exports = function atlaspackPluginTransformRuntime(api, opts, dirname) { | ||
module.exports = function parcelPluginTransformRuntime(api, opts, dirname) { | ||
let name = api.caller(caller => caller && caller.name); | ||
@@ -13,3 +13,3 @@ let version = api.caller(caller => caller && caller.version); | ||
if ( | ||
name === 'atlaspack' && | ||
name === 'parcel' && | ||
typeof version === 'string' && | ||
@@ -16,0 +16,0 @@ semver.satisfies(version, COMPATIBLE_ATLASPACK_BABEL_TRANSFORMER_SEMVER) |
@@ -23,3 +23,3 @@ // @flow | ||
caller: { | ||
name: 'atlaspack', | ||
name: 'parcel', | ||
version: '2.0.0', | ||
@@ -41,3 +41,3 @@ targets: JSON.stringify({browsers: ['last 1 Chrome version']}), | ||
caller: { | ||
name: 'atlaspack', | ||
name: 'parcel', | ||
version: '2.0.0', | ||
@@ -44,0 +44,0 @@ targets: JSON.stringify({browsers: ['last 1 Chrome version']}), |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
15164