@atlaspack/transformer-js
Advanced tools
Comparing version
{ | ||
"name": "@atlaspack/transformer-js", | ||
"version": "2.12.1-canary.3449+741f0a6ef", | ||
"version": "2.12.1-canary.3450+d9092cb8e", | ||
"license": "(MIT OR Apache-2.0)", | ||
@@ -18,3 +18,3 @@ "publishConfig": { | ||
"engines": { | ||
"parcel": "2.12.1-canary.3449+741f0a6ef", | ||
"parcel": "2.12.1-canary.3450+d9092cb8e", | ||
"node": ">= 16.0.0" | ||
@@ -27,8 +27,8 @@ }, | ||
"dependencies": { | ||
"@atlaspack/diagnostic": "2.12.1-canary.3449+741f0a6ef", | ||
"@atlaspack/feature-flags": "2.12.1-canary.3449+741f0a6ef", | ||
"@atlaspack/plugin": "2.12.1-canary.3449+741f0a6ef", | ||
"@atlaspack/rust": "2.12.1-canary.3449+741f0a6ef", | ||
"@atlaspack/utils": "2.12.1-canary.3449+741f0a6ef", | ||
"@atlaspack/workers": "2.12.1-canary.3449+741f0a6ef", | ||
"@atlaspack/diagnostic": "2.12.1-canary.3450+d9092cb8e", | ||
"@atlaspack/feature-flags": "2.12.1-canary.3450+d9092cb8e", | ||
"@atlaspack/plugin": "2.12.1-canary.3450+d9092cb8e", | ||
"@atlaspack/rust": "2.12.1-canary.3450+d9092cb8e", | ||
"@atlaspack/utils": "2.12.1-canary.3450+d9092cb8e", | ||
"@atlaspack/workers": "2.12.1-canary.3450+d9092cb8e", | ||
"@parcel/source-map": "^2.1.1", | ||
@@ -42,5 +42,5 @@ "@swc/helpers": "^0.5.0", | ||
"peerDependencies": { | ||
"@atlaspack/core": "2.12.1-canary.3449+741f0a6ef" | ||
"@atlaspack/core": "2.12.1-canary.3450+d9092cb8e" | ||
}, | ||
"gitHead": "741f0a6efd61aa7af5d5ca419b360c2b7127b387" | ||
"gitHead": "d9092cb8efbaed752761ddba4d11603533e2e063" | ||
} |
@@ -190,3 +190,3 @@ // @flow | ||
reactLib = Object.keys(JSX_PRAGMA).find( | ||
libName => | ||
(libName) => | ||
pkg?.dependencies?.[libName] || | ||
@@ -619,3 +619,3 @@ pkg?.devDependencies?.[libName] || | ||
let errors = diagnostics.filter( | ||
d => | ||
(d) => | ||
d.severity === 'Error' || | ||
@@ -625,7 +625,7 @@ (d.severity === 'SourceError' && asset.isSource), | ||
let warnings = diagnostics.filter( | ||
d => | ||
(d) => | ||
d.severity === 'Warning' || | ||
(d.severity === 'SourceError' && !asset.isSource), | ||
); | ||
let convertDiagnostic = diagnostic => { | ||
let convertDiagnostic = (diagnostic) => { | ||
let message = diagnostic.message; | ||
@@ -642,3 +642,3 @@ if (message === 'SCRIPT_ERROR') { | ||
filePath: asset.filePath, | ||
codeHighlights: diagnostic.code_highlights?.map(highlight => | ||
codeHighlights: diagnostic.code_highlights?.map((highlight) => | ||
convertSourceLocationToHighlight( | ||
@@ -904,3 +904,3 @@ convertLoc(highlight.loc), | ||
.getDependencies() | ||
.map(dep => [dep.meta.placeholder ?? dep.specifier, dep]), | ||
.map((dep) => [dep.meta.placeholder ?? dep.specifier, dep]), | ||
); | ||
@@ -1002,3 +1002,3 @@ for (let dep of deps.values()) { | ||
.getDependencies() | ||
.map(dep => [dep.meta.placeholder ?? dep.specifier, dep]), | ||
.map((dep) => [dep.meta.placeholder ?? dep.specifier, dep]), | ||
); | ||
@@ -1005,0 +1005,0 @@ asset.symbols.ensure(); |
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
85758
0.02%