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

addon-tools-raub

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

addon-tools-raub - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

12

index.js

@@ -21,4 +21,12 @@ 'use strict';

case 'win32' : return process.arch === 'x64' ? 'win64' : 'win32';
case 'linux' : return process.arch === 'x64' ? 'linux64' : 'linux32';
case 'darwin' : return 'mac64';
case 'linux' :
if (process.arch === 'x32') {
throw new Error('Linux x32 not supported since 4.0.0.');
}
return 'linux64';
case 'darwin' :
if (process.arch === 'x32') {
throw new Error('Mac x32 not supported.');
}
return 'mac64';
default : throw new Error(`Platform "${platform}" is not supported.`);

@@ -25,0 +33,0 @@ }

6

package.json
{
"author": "Luis Blanco <luisblanco1337@gmail.com>",
"name": "addon-tools-raub",
"version": "3.0.0",
"version": "4.0.0",
"description": "Helpers for Node.js addons and dependency packages",

@@ -22,3 +22,3 @@ "license": "MIT",

"engines": {
"node": ">=8.11.2",
"node": ">=8.11.4",
"npm": ">=5.6.0"

@@ -38,4 +38,4 @@ },

"dependencies": {
"nan": "~2.10.0"
"nan": "2.11.0"
}
}

@@ -9,3 +9,5 @@ # Addon Tools

> npm i -s addon-tools-raub
## Synopsis

@@ -19,3 +21,3 @@

* Crossplatform commands for GYP: `cp`, `rm`, `mkdir`.
* Regarded platforms: win x32/x64, linux x32/x64, mac x64.
* Regarded platforms: win x32/x64, linux x64, mac x64.

@@ -141,3 +143,2 @@ Useful links: [V8 Ref](https://v8.paulfryzel.com/docs/master/),

* bin-win64
* bin-linux32
* bin-linux64

@@ -521,3 +522,3 @@ * bin-mac64

NOTE: The conversion from `Nan::Utf8String` to `std::string` (via `char *`)
> Note: The conversion from `Nan::Utf8String` to `std::string` (via `char *`)
is possible with unary `*` operator.

@@ -524,0 +525,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