@parcel/rust
Advanced tools
Comparing version 2.12.1-canary.3251 to 2.12.1-canary.3252
35
index.js
@@ -227,13 +227,28 @@ /* tslint:disable */ | ||
case 'arm': | ||
localFileExisted = existsSync( | ||
join(__dirname, 'parcel-node-bindings.linux-arm-gnueabihf.node') | ||
) | ||
try { | ||
if (localFileExisted) { | ||
nativeBinding = require('./parcel-node-bindings.linux-arm-gnueabihf.node') | ||
} else { | ||
nativeBinding = require('@parcel/rust-linux-arm-gnueabihf') | ||
if (isMusl()) { | ||
localFileExisted = existsSync( | ||
join(__dirname, 'parcel-node-bindings.linux-arm-musleabihf.node') | ||
) | ||
try { | ||
if (localFileExisted) { | ||
nativeBinding = require('./parcel-node-bindings.linux-arm-musleabihf.node') | ||
} else { | ||
nativeBinding = require('@parcel/rust-linux-arm-musleabihf') | ||
} | ||
} catch (e) { | ||
loadError = e | ||
} | ||
} catch (e) { | ||
loadError = e | ||
} else { | ||
localFileExisted = existsSync( | ||
join(__dirname, 'parcel-node-bindings.linux-arm-gnueabihf.node') | ||
) | ||
try { | ||
if (localFileExisted) { | ||
nativeBinding = require('./parcel-node-bindings.linux-arm-gnueabihf.node') | ||
} else { | ||
nativeBinding = require('@parcel/rust-linux-arm-gnueabihf') | ||
} | ||
} catch (e) { | ||
loadError = e | ||
} | ||
} | ||
@@ -240,0 +255,0 @@ break |
{ | ||
"name": "@parcel/rust", | ||
"version": "2.12.1-canary.3251+218217c2f", | ||
"version": "2.12.1-canary.3252+734a0fab0", | ||
"license": "MIT", | ||
@@ -43,3 +43,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "218217c2fc11ec1a4e52fd78e78af285b549da46" | ||
"gitHead": "734a0fab0e031acbde47ec89487b09aaff882585" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
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
451
260079574