ffi-napi
Advanced tools
Comparing version 2.4.7 to 2.5.0
'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
6016802
389
1768
6
+ Addednode-gyp-build@^4.2.1
- Removedbindings@^1.3.0
- Removedbindings@1.5.0(transitive)
- Removedfile-uri-to-path@1.0.0(transitive)
Updatedref-napi@^1.5.2