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

node-abi

Package Overview
Dependencies
Maintainers
3
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.0.0 to 2.0.1

15

index.js

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

if (runtime === 'electron') {
if (/^1\.7\./.test(target)) return '54'
if (/^1\.6\./.test(target)) return '53'

@@ -68,5 +69,5 @@ if (/^1\.5\./.test(target)) return '51'

{runtime: 'node', target: '0.12.17', abi: '14', lts: false},
{runtime: 'node', target: '4.6.1', abi: '46', lts: new Date() < new Date(2017, 04, 01)},
{runtime: 'node', target: '4.6.1', abi: '46', lts: new Date() < new Date(2017, 4, 1)},
{runtime: 'node', target: '5.12.0', abi: '47', lts: false},
{runtime: 'node', target: '6.9.4', abi: '48', lts: new Date() < new Date(2018, 04, 18)},
{runtime: 'node', target: '6.9.4', abi: '48', lts: new Date() < new Date(2018, 4, 18)},
{runtime: 'node', target: '7.4.0', abi: '51', lts: false},

@@ -91,3 +92,2 @@ {runtime: 'electron', target: '1.0.2', abi: '47', lts: false},

{runtime: 'node', target: '3.0.0', abi: '45', lts: false},
{runtime: 'node', target: '8.0.0', abi: '52', lts: false},
{runtime: 'electron', target: '0.30.0', abi: '44', lts: false},

@@ -98,8 +98,13 @@ {runtime: 'electron', target: '0.31.0', abi: '45', lts: false},

var allTargets = supportedTargets.concat(deprecatedTargets)
var futureTargets = [
{runtime: 'node', target: '8.0.0', abi: '52', lts: false}
]
var allTargets = deprecatedTargets.concat(supportedTargets).concat(futureTargets)
exports.getAbi = getAbi
exports.getTarget = getTarget
exports.deprecatedTargets = deprecatedTargets
exports.supportedTargets = supportedTargets
exports.deprecatedTargets = deprecatedTargets
exports.futureTargets = futureTargets
exports.allTargets = allTargets
{
"name": "node-abi",
"version": "2.0.0",
"version": "2.0.1",
"description": "Get the Node ABI for a given target and runtime, and vice versa.",
"main": "index.js",
"scripts": {
"test": "tape test"
"lint": "standard",
"test": "npm run lint && npm run unit",
"unit": "tape test/index.js"
},

@@ -27,4 +29,5 @@ "repository": {

"devDependencies": {
"standard": "^10.0.0",
"tape": "^4.6.3"
}
}

@@ -39,4 +39,5 @@ # Node.js ABI

// ]
nodeAbi.deprecatedTargets
nodeAbi.supportedTargets
nodeAbi.deprecatedTargets
nodeAbi.futureTargets
// ...

@@ -43,0 +44,0 @@ ```

Sorry, the diff of this file is not supported yet

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