Socket
Socket
Sign inDemoInstall

node-abi

Package Overview
Dependencies
Maintainers
2
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-abi - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

2

index.js

@@ -58,3 +58,3 @@ function getAbi (target, runtime) {

})
if (match) return match[0]
if (match.length) return match[0]

@@ -61,0 +61,0 @@ throw new Error('Could not detect target for abi ' + abi + ' and runtime ' + runtime)

{
"name": "node-abi",
"version": "1.3.0",
"version": "1.3.1",
"description": "Get the Node ABI for a given target and runtime, and vice versa.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -18,2 +18,3 @@ var test = require('tape')

test('getTarget calculates correct Electron target', function (t) {
t.throws(getTarget.bind(null, '14', 'electron'))
t.equal(getTarget('47', 'electron'), '1.0.2')

@@ -20,0 +21,0 @@ t.equal(getTarget('48', 'electron'), '1.2.8')

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