From 1e1d3c9fbef0a85b0979808ce04b0cb9ce749632 Mon Sep 17 00:00:00 2001 From: Maggie Nolan Date: Tue, 30 Mar 2021 12:09:55 -0700 Subject: [PATCH] chore(deps): switch from node-pre-gyp to @mapbox/node-pre-gyp (#158) --- package.json | 2 +- ts/src/heap-profiler-bindings.ts | 2 +- ts/src/time-profiler-bindings.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 956428b7..9e3e4619 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "delay": "^5.0.0", "findit2": "^2.2.3", "nan": "^2.14.0", - "node-pre-gyp": "^0.17.0", + "@mapbox/node-pre-gyp": "^1.0.0", "p-limit": "^3.0.0", "pify": "^5.0.0", "protobufjs": "~6.10.0", diff --git a/ts/src/heap-profiler-bindings.ts b/ts/src/heap-profiler-bindings.ts index 72b39048..065edf17 100644 --- a/ts/src/heap-profiler-bindings.ts +++ b/ts/src/heap-profiler-bindings.ts @@ -18,7 +18,7 @@ import * as path from 'path'; import {AllocationProfileNode} from './v8-types'; -const binary = require('node-pre-gyp'); +const binary = require('@mapbox/node-pre-gyp'); const bindingPath = binary.find( path.resolve(path.join(__dirname, '../../package.json')) ); diff --git a/ts/src/time-profiler-bindings.ts b/ts/src/time-profiler-bindings.ts index 7c3ce87a..8a1ccc7b 100644 --- a/ts/src/time-profiler-bindings.ts +++ b/ts/src/time-profiler-bindings.ts @@ -16,7 +16,7 @@ import * as path from 'path'; import {TimeProfile} from './v8-types'; -const binary = require('node-pre-gyp'); +const binary = require('@mapbox/node-pre-gyp'); const bindingPath = binary.find( path.resolve(path.join(__dirname, '../../package.json')) );