@atlaspack/packager-js
Advanced tools
Comparing version
@@ -56,9 +56,2 @@ "use strict"; | ||
} | ||
function _featureFlags() { | ||
const data = require("@atlaspack/feature-flags"); | ||
_featureFlags = function () { | ||
return data; | ||
}; | ||
return data; | ||
} | ||
var _ESMOutputFormat = require("./ESMOutputFormat"); | ||
@@ -1062,9 +1055,3 @@ var _CJSOutputFormat = require("./CJSOutputFormat"); | ||
if (asset.symbols.hasExportSymbol('*') && !asset.symbols.hasExportSymbol('default')) { | ||
if ((0, _featureFlags().getFeatureFlag)('fastNeedsDefaultInterop')) { | ||
return true; | ||
} | ||
let deps = this.bundleGraph.getIncomingDependencies(asset); | ||
return deps.some(dep => this.bundle.hasDependency(dep) && | ||
// dep.meta.isES6Module && | ||
dep.symbols.hasExportSymbol('default')); | ||
return true; | ||
} | ||
@@ -1071,0 +1058,0 @@ return false; |
{ | ||
"name": "@atlaspack/packager-js", | ||
"version": "2.12.1-canary.3428+a36723bdd", | ||
"version": "2.12.1-canary.3429+8cd6d09ce", | ||
"license": "(MIT OR Apache-2.0)", | ||
@@ -16,11 +16,11 @@ "publishConfig": { | ||
"node": ">= 16.0.0", | ||
"parcel": "2.12.1-canary.3428+a36723bdd" | ||
"parcel": "2.12.1-canary.3429+8cd6d09ce" | ||
}, | ||
"dependencies": { | ||
"@atlaspack/diagnostic": "2.12.1-canary.3428+a36723bdd", | ||
"@atlaspack/feature-flags": "2.12.1-canary.3428+a36723bdd", | ||
"@atlaspack/plugin": "2.12.1-canary.3428+a36723bdd", | ||
"@atlaspack/rust": "2.12.1-canary.3428+a36723bdd", | ||
"@atlaspack/types": "2.12.1-canary.3428+a36723bdd", | ||
"@atlaspack/utils": "2.12.1-canary.3428+a36723bdd", | ||
"@atlaspack/diagnostic": "2.12.1-canary.3429+8cd6d09ce", | ||
"@atlaspack/feature-flags": "2.12.1-canary.3429+8cd6d09ce", | ||
"@atlaspack/plugin": "2.12.1-canary.3429+8cd6d09ce", | ||
"@atlaspack/rust": "2.12.1-canary.3429+8cd6d09ce", | ||
"@atlaspack/types": "2.12.1-canary.3429+8cd6d09ce", | ||
"@atlaspack/utils": "2.12.1-canary.3429+8cd6d09ce", | ||
"@parcel/source-map": "^2.1.1", | ||
@@ -30,3 +30,3 @@ "globals": "^13.2.0", | ||
}, | ||
"gitHead": "a36723bdd944adb8243fa61102923c6811a63001" | ||
"gitHead": "8cd6d09ce1b68f1848c298ea900334b8d47c9fd9" | ||
} |
@@ -27,3 +27,2 @@ // @flow | ||
import path from 'path'; | ||
import {getFeatureFlag} from '@atlaspack/feature-flags'; | ||
@@ -1463,13 +1462,3 @@ import {ESMOutputFormat} from './ESMOutputFormat'; | ||
) { | ||
if (getFeatureFlag('fastNeedsDefaultInterop')) { | ||
return true; | ||
} | ||
let deps = this.bundleGraph.getIncomingDependencies(asset); | ||
return deps.some( | ||
dep => | ||
this.bundle.hasDependency(dep) && | ||
// dep.meta.isES6Module && | ||
dep.symbols.hasExportSymbol('default'), | ||
); | ||
return true; | ||
} | ||
@@ -1476,0 +1465,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
169804
-0.48%4069
-0.56%