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

node-abi

Package Overview
Dependencies
Maintainers
2
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 1.1.0 to 1.2.0

1

index.js
function getAbi (target, runtime) {
if (target === String(Number(target))) return target
if (target) target = target.replace(/^v/, '')

@@ -3,0 +4,0 @@

2

package.json
{
"name": "node-abi",
"version": "1.1.0",
"version": "1.2.0",
"description": "Get the Node ABI for a given target and runtime",

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

@@ -63,1 +63,6 @@ var test = require('tape')

})
test('getAbi returns abi if passed as target', function (t) {
t.equal(getAbi('57'), '57')
t.end()
})
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