Socket
Socket
Sign inDemoInstall

ffi-napi

Package Overview
Dependencies
8
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.4.7 to 2.5.0

prebuilds/darwin-x64/electron.napi.node

3

lib/bindings.js
'use strict';
module.exports = require('bindings')('ffi_bindings.node');
var path = require('path');
module.exports = require('node-gyp-build')(path.join(__dirname, '..'));
{
"name": "ffi-napi",
"version": "2.4.7",
"version": "2.5.0",
"license": "MIT",

@@ -29,7 +29,7 @@ "author": "Anna Henningsen <anna@addaleax.net>",

"dependencies": {
"bindings": "^1.3.0",
"debug": "^3.1.0",
"get-uv-event-loop-napi-h": "^1.0.5",
"node-addon-api": "1.6.1",
"ref-napi": "^1.4.0",
"node-gyp-build": "^4.2.1",
"ref-napi": "^1.5.2",
"ref-struct-di": "^1.1.0"

@@ -40,6 +40,11 @@ },

"mocha": "^5.0.0",
"nyc": "^12.0.1",
"nyc": "^15.0.0",
"prebuildify": "^3.0.4",
"prebuildify-ci": "^1.0.5",
"ref-array-di": "^1.2.1"
},
"scripts": {
"install": "node-gyp-build",
"prebuild": "prebuildify --napi",
"prepack": "prebuildify-ci download && ([ $(ls prebuilds | wc -l) = '4' ] || (echo 'Some prebuilds are missing'; exit 1))",
"test": "node-gyp rebuild --directory test && nyc mocha -gc --reporter spec"

@@ -46,0 +51,0 @@ },

@@ -6,3 +6,3 @@ 'use strict';

const int = ref.types.int;
const bindings = require('bindings')({ module_root: __dirname, bindings: 'ffi_tests' });
const bindings = require('node-gyp-build')(__dirname);

@@ -9,0 +9,0 @@ describe('Callback', function () {

@@ -7,3 +7,3 @@ 'use strict';

const ffi = require('../');
const bindings = require('bindings')({ module_root: __dirname, bindings: 'ffi_tests' });
const bindings = require('node-gyp-build')(__dirname);

@@ -10,0 +10,0 @@ describe('ForeignFunction', function () {

@@ -5,3 +5,3 @@ 'use strict';

const ffi = require('../');
const bindings = require('bindings')({ module_root: __dirname, bindings: 'ffi_tests' });
const bindings = require('node-gyp-build')(__dirname);

@@ -8,0 +8,0 @@ describe('Function "type"', function () {

@@ -5,3 +5,3 @@ 'use strict';

const ffi = require('../');
const bindings = require('bindings')({ module_root: __dirname, bindings: 'ffi_tests' });
const bindings = require('node-gyp-build')(__dirname);
const sprintfPtr = bindings.sprintf;

@@ -8,0 +8,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc