@trufflesuite/bigint-buffer
Advanced tools
Comparing version 1.1.8 to 1.1.9
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const path = require("path"); | ||
let converter; | ||
@@ -5,0 +6,0 @@ /** |
'use strict'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const path = require("path"); | ||
let converter; | ||
@@ -8,3 +9,3 @@ { | ||
// TODO: add arch-specific binaries as necessary | ||
converter = require('node-gyp-build')(`../binaries/${process.platform}-x64/bigint_buffer`); | ||
converter = require('node-gyp-build')(path.join(__dirname, `../`)); | ||
} | ||
@@ -11,0 +12,0 @@ catch (e) { |
{ | ||
"name": "@trufflesuite/bigint-buffer", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "bigint to buffer conversion with native support", | ||
@@ -5,0 +5,0 @@ "main": "dist/node.js", |
@@ -1,2 +0,2 @@ | ||
import * as path from 'path'; | ||
interface ConverterInterface { | ||
@@ -14,4 +14,3 @@ toBigInt(buf: Buffer, bigEndian?: boolean): bigint; | ||
// TODO: add arch-specific binaries as necessary | ||
converter = require('node-gyp-build')( | ||
`../binaries/${process.platform}-x64/bigint_buffer`); | ||
converter = require('node-gyp-build')(path.join(__dirname, `../`)); | ||
} catch (e) { | ||
@@ -18,0 +17,0 @@ console.warn( |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
757
253074