@node-rs/helper
Advanced tools
Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1
@@ -19,3 +19,3 @@ "use strict"; | ||
} | ||
const localFilePath = path_1.join(dirname, `${filename}-${triple.platformArchABI}.node`); | ||
const localFilePath = path_1.join(dirname, `${filename}.${triple.platformArchABI}.node`); | ||
if (fs_1.existsSync(localFilePath)) { | ||
@@ -26,3 +26,3 @@ return require(localFilePath); | ||
const errorMsg = `Can not find node binding files from ${packageName ? triples.map((triple) => `${packageName}-${triple.platformArchABI}`).join(', ') : ''} ${packageName ? 'and ' : ''}${triples | ||
.map((triple) => path_1.join(dirname, `${filename}-${triple.platformArchABI}.node`)) | ||
.map((triple) => path_1.join(dirname, `${filename}.${triple.platformArchABI}.node`)) | ||
.join(', ')}`; | ||
@@ -29,0 +29,0 @@ throw new TypeError(errorMsg); |
{ | ||
"name": "@node-rs/helper", | ||
"version": "1.0.0-alpha.0", | ||
"version": "1.0.0-alpha.1", | ||
"description": "Helper library for node-rs", | ||
@@ -5,0 +5,0 @@ "keywords": ["N-API", "napi", "Rust", "Performance"], |
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
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