@parcel/scope-hoisting
Advanced tools
Comparing version 2.0.0-nightly.568 to 2.0.0-nightly.572
@@ -111,3 +111,3 @@ "use strict"; | ||
function getName(asset, type, ...rest) { | ||
return t().toIdentifier('$' + asset.id + '$' + type + (rest.length ? '$' + rest.map(name => name === 'default' ? name : t().toIdentifier(name)).join('$') : '')); | ||
return t().toIdentifier('$' + asset.id + '$' + type + (rest.length ? '$' + rest.join('$') : '')); | ||
} | ||
@@ -114,0 +114,0 @@ |
{ | ||
"name": "@parcel/scope-hoisting", | ||
"version": "2.0.0-nightly.568+dba96de0", | ||
"version": "2.0.0-nightly.572+017e8d79", | ||
"description": "Blazing fast, zero configuration web application bundler", | ||
@@ -26,12 +26,12 @@ "license": "MIT", | ||
"@babel/traverse": "^7.2.3", | ||
"@babel/types": "^7.12.11", | ||
"@parcel/babel-ast-utils": "2.0.0-nightly.2190+dba96de0", | ||
"@parcel/babylon-walk": "2.0.0-nightly.2190+dba96de0", | ||
"@parcel/diagnostic": "2.0.0-nightly.568+dba96de0", | ||
"@babel/types": "^7.12.13", | ||
"@parcel/babel-ast-utils": "2.0.0-nightly.2194+017e8d79", | ||
"@parcel/babylon-walk": "2.0.0-nightly.2194+017e8d79", | ||
"@parcel/diagnostic": "2.0.0-nightly.572+017e8d79", | ||
"@parcel/source-map": "2.0.0-alpha.4.19", | ||
"@parcel/utils": "2.0.0-nightly.568+dba96de0", | ||
"@parcel/utils": "2.0.0-nightly.572+017e8d79", | ||
"globals": "^13.2.0", | ||
"nullthrows": "^1.1.1" | ||
}, | ||
"gitHead": "dba96de07f7aef36fc11a15619e87c5acec00bac" | ||
"gitHead": "017e8d795b3237c61c1cdf82c5e68052dda5bf28" | ||
} |
@@ -43,12 +43,3 @@ // @flow | ||
return t.toIdentifier( | ||
'$' + | ||
asset.id + | ||
'$' + | ||
type + | ||
(rest.length | ||
? '$' + | ||
rest | ||
.map(name => (name === 'default' ? name : t.toIdentifier(name))) | ||
.join('$') | ||
: ''), | ||
'$' + asset.id + '$' + type + (rest.length ? '$' + rest.join('$') : ''), | ||
); | ||
@@ -55,0 +46,0 @@ } |
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
253245
6932