From 7cfc0b1545f242b457a0605c945d4cce82425222 Mon Sep 17 00:00:00 2001 From: "CHAN, Chak Shing" Date: Sat, 7 Aug 2021 23:41:04 +0000 Subject: [PATCH] chore(deps): upgrade to @mapbox/node-pre-gyp (#70) --- .travis.yml | 12 +++++------- Readme.md | 4 ++-- appveyor.yml | 13 ++++++------- index.js | 2 +- package.json | 2 +- 5 files changed, 15 insertions(+), 18 deletions(-) diff --git a/.travis.yml b/.travis.yml index 57ad1f4..28423e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,16 +6,14 @@ os: env: matrix: - - NODE_VERSION="4" - - NODE_VERSION="5" - - NODE_VERSION="6" - - NODE_VERSION="7" - - NODE_VERSION="8" - - NODE_VERSION="9" - NODE_VERSION="10" - NODE_VERSION="11" - NODE_VERSION="12" - + - NODE_VERSION="13" + - NODE_VERSION="14" + - NODE_VERSION="15" + - NODE_VERSION="16" + global: - secure: "TDkceX5iu2QEjNyqNfAIo/HbsXD9xBowLpnetQgyTUyKXQiMsegSAJdZKUr+iQvj7lXXjp4Yn4mU+ifjr6bXG5GHss01zIl1LywFmLn8Ei0p4hlPg/3OgBxlAoUAwHmlywAdvo1rwNJo/Ct8zIGo8jYR4nXst1yLaRUbhnkD81lcz0Z/Z+UCCJNSPubzs93IolZc2TaHlgEM2yZekxFAKN1nTZrCg1Mm4+ak8NPmysco+ALLm1+uT4V9/pzOJQgVU7GRKhuVCdqYv0HxELQikuq86GBQb0RVHUgpQRr3UU0tSob6ZOUTSc7AmMC0y1meZRD5wari8ulD5wMv0C460RkRoh+md+h8tZKy2edeSr3qxyQznXTw57IV47bQgnAg29DVV3Ry3av/3d5hJ7Pc195R8nBdyGCx1XLtS73qX5RaXsgcrbL3lhtFOh1Oi9hoLsRKuNqpGUsP2C1Kx9itOPGRDUuPtAC8idTVbjUPiZ6IL7c0ZMrm8rCd6KhPJGEgcF0llJBQwyZQbNLgqoWyOGFXSeWYzqdasAhRXSgqvSnolT9aQM2lGY7iQQgWmRQ6bGy7T1Pn/WMDaqoILzsp15GYnpkUeLWBapk18SoDgFSmsTXJmGvqqO6s4wv8GRkHz/6Og3Ht0SXZdWil3zumc2Z+NLfGr8Ts86X/sKXCkEU=" - secure: "C80PJQj2br04PrS8dl0obuGyqgCC63ezz/ayYL9WlpETNmlVpcsADsjXh2+TOtp2h3XED6babwD2bpeZhvDCRE75rCpLIU+fiGOY60N9FxArBwhpgD54EGBjUHbngS2aDuI7RSpF8oBw6oWjpAbzNVMHpn9SOAFi9wt2JrDcO6NbmN/KTYOQBnDiXgWENIwkh3VFAM5zx0B20D9b+QvjGCW5MK1l8BkG/9g8PxMJXdeqtdrdxw12UYQeDaHgMMgloQeE6+49r1HXRy+47lMe6Cm3lBHEY2G3xL7B82bHjljesrSC8Lnf9wHC+5UUIrv8PxdYnjoOSSdKIMd5Vqjd8I0Bk+oqMZkJRImxzduRKqEOYHxzXS/foT7JENMtnRVFcBm1AIvaFp53+3C6wYwUFJrv0XsaPeeJlnYu7ItSu2GTOKjzHLLqqoZU3OPIDXVqfWE0S41VZ8bK1fCN+73ty0aQM9QBjANCUAvk+40IGWlY8jWsYTCWxqHjxouGoetlKboCvpnUVLRQWsRn5goMXVO1yIA/8yPv9b6VozRrQPY9+6wnDcVyhdFI46Hvumih7wuW5ThbigM4VMWyET5jeE9yTEd7wN9RgtwbDESBIhYqxA3vMDw0JEVvrYImvCQZgYkNbGb8+iEJ/MQ8WfmvINQB+zCszXalSA8yJjNsQpw=" diff --git a/Readme.md b/Readme.md index 3597de6..7f7aef6 100644 --- a/Readme.md +++ b/Readme.md @@ -19,8 +19,8 @@ Installation should just be: npm install tulind ``` -It should work on Windows, Os X, and Linux. Node versions 4, 5, 6, 7, 8, and 9 -are tested and supported on each platform. +It should work on Windows, Os X, and Linux. Node version 10, 11, 12, 13, 14 (LTS), +15 and 16 are tested and supported on each platform. Note that pre-compiled binaries are available for Windows. For other platforms you will need a C++ build environment installed. On Linux based distributions diff --git a/appveyor.yml b/appveyor.yml index b58363d..507ad4d 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -9,15 +9,13 @@ environment: secure: QBSKf6NBLUrjkk7ft4H8LyxATdcJ8PmQObKqDgl1qQmT0ju7r3l/D6t8MN2joQqk matrix: - - nodejs_version: 4 - - nodejs_version: 5 - - nodejs_version: 6 - - nodejs_version: 7 - - nodejs_version: 8 - - nodejs_version: 9 - nodejs_version: 10 - nodejs_version: 11 - nodejs_version: 12 + - nodejs_version: 13 + - nodejs_version: 14 + - nodejs_version: 15 + - nodejs_version: 16 platform: - x64 @@ -27,7 +25,8 @@ shallow_clone: true install: - ps: Install-Product node $env:nodejs_version $env:Platform - - npm install -g npm@3 + # npm 6.x is the latest version bundled with Node LTS 14.x + - npm install -g npm@6 - ps: $env:path = $env:appdata + "\npm;" + $env:path # work around an issue with node-gyp v3.3.1 and node 4x diff --git a/index.js b/index.js index c54de1e..a63e2fd 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -var binary = require('node-pre-gyp'); +var binary = require('@mapbox/node-pre-gyp'); var path = require('path'); var binding_path = binary.find(path.resolve(path.join(__dirname,'./package.json'))); var tulind = require(binding_path); diff --git a/package.json b/package.json index cb821cd..62b7b3f 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "dependencies": { "bindings": "^1.5.0", "nan": "^2.14.0", - "node-pre-gyp": "^0.13.0", + "@mapbox/node-pre-gyp": "^1.0.5", "minctest": "0.0.x" }, "devDependencies": {