Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-abi

Package Overview
Dependencies
Maintainers
4
Versions
114
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 2.7.1 to 2.8.0

5

index.js

@@ -59,2 +59,3 @@ var semver = require('semver')

{runtime: 'node', target: '11.0.0', abi: '67', lts: false},
{runtime: 'node', target: '12.0.0', abi: '72', lts: false},
{runtime: 'electron', target: '0.36.0', abi: '47', lts: false},

@@ -71,3 +72,4 @@ {runtime: 'electron', target: '1.1.0', abi: '48', lts: false},

{runtime: 'electron', target: '4.0.0', abi: '64', lts: false},
{runtime: 'electron', target: '4.0.4', abi: '69', lts: false}
{runtime: 'electron', target: '4.0.4', abi: '69', lts: false},
{runtime: 'electron', target: '5.0.0', abi: '70', lts: false}
]

@@ -102,3 +104,2 @@

var futureTargets = [
{runtime: 'electron', target: '5.0.0-beta.0', abi: '68', lts: false}
]

@@ -105,0 +106,0 @@

2

package.json
{
"name": "node-abi",
"version": "2.7.1",
"version": "2.8.0",
"description": "Get the Node ABI for a given target and runtime, and vice versa.",

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

@@ -91,2 +91,8 @@ var test = require('tape')

t.throws(function () { getAbi(getNextTarget('electron'), 'electron') })
t.equal(getAbi('5.0.0', 'electron'), '70')
t.equal(getAbi('4.1.4', 'electron'), '69')
t.equal(getAbi('4.0.4', 'electron'), '69')
t.equal(getAbi('4.0.3', 'electron'), '64')
t.equal(getAbi('3.1.8', 'electron'), '64')
t.equal(getAbi('2.0.18', 'electron'), '57')
t.equal(getAbi('1.4.0', 'electron'), '50')

@@ -93,0 +99,0 @@ t.equal(getAbi('1.3.0', 'electron'), '49')

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