Socket
Socket
Sign inDemoInstall

@node-rs/helper

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@node-rs/helper - npm Package Compare versions

Comparing version 1.0.0-alpha.0 to 1.0.0-alpha.1

4

lib/loader.js

@@ -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"],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc