From bda4e3fe736280b565efcd341ffd78a5485eb1a7 Mon Sep 17 00:00:00 2001 From: Shannon Wells Date: Fri, 17 Nov 2023 22:09:51 +0000 Subject: [PATCH] upgrade to nodejs 18.18.2 (#101) Upgrade to nodejs 18+. Closes #83 --- .github/workflows/main.yml | 2 +- .github/workflows/publish-next.yml | 2 +- .github/workflows/release.yml | 2 +- .tool-versions | 2 +- README.md | 2 +- package-lock.json | 76 ++++++++++++++---------------- package.json | 5 +- 7 files changed, 43 insertions(+), 48 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bd925f9e..f1c81178 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v2 with: - node-version: '16.15.1' + node-version: '18.18.2' - uses: actions/cache@v2 with: diff --git a/.github/workflows/publish-next.yml b/.github/workflows/publish-next.yml index 213431a9..fe50c002 100644 --- a/.github/workflows/publish-next.yml +++ b/.github/workflows/publish-next.yml @@ -12,7 +12,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v2 with: - node-version: '16.15.1' + node-version: '18.18.2' registry-url: 'https://registry.npmjs.org' - uses: actions/cache@v2 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d680af44..56e5278d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,7 +12,7 @@ jobs: - name: Use Node.js uses: actions/setup-node@v2 with: - node-version: '16.15.1' + node-version: '18.18.2' registry-url: 'https://registry.npmjs.org' - uses: actions/cache@v2 diff --git a/.tool-versions b/.tool-versions index 243b5dfc..343dc534 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -nodejs 16.15.1 +nodejs 18.18.2 diff --git a/README.md b/README.md index 00b94d35..093c964d 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ This is a forked repository with code from various sources: - Secondary source [ZJONSSON](https://github.com/ZJONSSON/parquetjs) [npm: parquetjs-lite](https://www.npmjs.com/package/parquetjs-lite) ## Installation -_parquet.js requires node.js >= 14.16.0_ +_parquet.js requires node.js >= 18.18.2_ ``` $ npm install @dsnp/parquetjs diff --git a/package-lock.json b/package-lock.json index d9b8aaab..a4516608 100644 --- a/package-lock.json +++ b/package-lock.json @@ -24,11 +24,10 @@ "xxhash-wasm": "^1.0.2" }, "devDependencies": { - "@types/bson": "^4.2.0", "@types/chai": "^4.3.5", "@types/json-schema": "^7.0.11", "@types/mocha": "^10.0.1", - "@types/node": "^16.18.32", + "@types/node": "^18.18.2", "@types/sinon": "^10.0.15", "@types/varint": "^6.0.1", "assert": "^2.0.0", @@ -50,7 +49,7 @@ "typescript": "^5.0.4" }, "engines": { - "node": ">=16.15.1" + "node": ">=18.18.2" } }, "node_modules/@cspotcode/source-map-support": { @@ -577,16 +576,6 @@ "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", "dev": true }, - "node_modules/@types/bson": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@types/bson/-/bson-4.2.0.tgz", - "integrity": "sha512-ELCPqAdroMdcuxqwMgUpifQyRoTpyYCNr1V9xKyF40VsBobsj+BbWNRvwGchMgBPGqkw655ypkjj2MEF5ywVwg==", - "deprecated": "This is a stub types definition. bson provides its own type definitions, so you do not need this installed.", - "dev": true, - "dependencies": { - "bson": "*" - } - }, "node_modules/@types/chai": { "version": "4.3.5", "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.5.tgz", @@ -638,9 +627,12 @@ "dev": true }, "node_modules/@types/node": { - "version": "16.18.32", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.32.tgz", - "integrity": "sha512-zpnXe4dEz6PrWz9u7dqyRoq9VxwCvoXRPy/ewhmMa1CgEyVmtL1NJPQ2MX+4pf97vetquVKkpiMx0MwI8pjNOw==" + "version": "18.18.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.9.tgz", + "integrity": "sha512-0f5klcuImLnG4Qreu9hPj/rEfFq6YRc5n2mAjSsH+ec/mJL+3voBH0+8T7o8RpFjH7ovc+TRsL/c7OYIQsPTfQ==", + "dependencies": { + "undici-types": "~5.26.4" + } }, "node_modules/@types/node-int64": { "version": "0.4.29", @@ -1564,9 +1556,9 @@ } }, "node_modules/get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", "dev": true, "engines": { "node": "*" @@ -1654,9 +1646,9 @@ } }, "node_modules/graphql": { - "version": "16.6.0", - "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.6.0.tgz", - "integrity": "sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw==", + "version": "16.8.1", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.8.1.tgz", + "integrity": "sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw==", "dev": true, "engines": { "node": "^12.22.0 || ^14.16.0 || ^16.0.0 || >=17.0.0" @@ -3106,6 +3098,11 @@ "node": ">=12.20" } }, + "node_modules/undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "node_modules/util": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", @@ -3632,15 +3629,6 @@ "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", "dev": true }, - "@types/bson": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@types/bson/-/bson-4.2.0.tgz", - "integrity": "sha512-ELCPqAdroMdcuxqwMgUpifQyRoTpyYCNr1V9xKyF40VsBobsj+BbWNRvwGchMgBPGqkw655ypkjj2MEF5ywVwg==", - "dev": true, - "requires": { - "bson": "*" - } - }, "@types/chai": { "version": "4.3.5", "resolved": "https://registry.npmjs.org/@types/chai/-/chai-4.3.5.tgz", @@ -3692,9 +3680,12 @@ "dev": true }, "@types/node": { - "version": "16.18.32", - "resolved": "https://registry.npmjs.org/@types/node/-/node-16.18.32.tgz", - "integrity": "sha512-zpnXe4dEz6PrWz9u7dqyRoq9VxwCvoXRPy/ewhmMa1CgEyVmtL1NJPQ2MX+4pf97vetquVKkpiMx0MwI8pjNOw==" + "version": "18.18.9", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.18.9.tgz", + "integrity": "sha512-0f5klcuImLnG4Qreu9hPj/rEfFq6YRc5n2mAjSsH+ec/mJL+3voBH0+8T7o8RpFjH7ovc+TRsL/c7OYIQsPTfQ==", + "requires": { + "undici-types": "~5.26.4" + } }, "@types/node-int64": { "version": "0.4.29", @@ -4368,9 +4359,9 @@ "dev": true }, "get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha512-Hm0ixYtaSZ/V7C8FJrtZIuBBI+iSgL+1Aq82zSu8VQNB4S3Gk8e7Qs3VwBDJAhmRZcFqkl3tQu36g/Foh5I5ig==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.2.tgz", + "integrity": "sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==", "dev": true }, "get-intrinsic": { @@ -4439,9 +4430,9 @@ } }, "graphql": { - "version": "16.6.0", - "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.6.0.tgz", - "integrity": "sha512-KPIBPDlW7NxrbT/eh4qPXz5FiFdL5UbaA0XUNz2Rp3Z3hqBSkbj0GVjwFDztsWVauZUWsbKHgMg++sk8UX0bkw==", + "version": "16.8.1", + "resolved": "https://registry.npmjs.org/graphql/-/graphql-16.8.1.tgz", + "integrity": "sha512-59LZHPdGZVh695Ud9lRzPBVTtlX9ZCV150Er2W43ro37wVof0ctenSaskPPjN7lVTIN8mSZt8PHUNKZuNQUuxw==", "dev": true }, "has": { @@ -5514,6 +5505,11 @@ "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", "dev": true }, + "undici-types": { + "version": "5.26.5", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz", + "integrity": "sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==" + }, "util": { "version": "0.12.5", "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", diff --git a/package.json b/package.json index e08d1c52..c14dc3e2 100644 --- a/package.json +++ b/package.json @@ -30,11 +30,10 @@ "xxhash-wasm": "^1.0.2" }, "devDependencies": { - "@types/bson": "^4.2.0", "@types/chai": "^4.3.5", "@types/json-schema": "^7.0.11", "@types/mocha": "^10.0.1", - "@types/node": "^16.18.32", + "@types/node": "^18.18.2", "@types/sinon": "^10.0.15", "@types/varint": "^6.0.1", "assert": "^2.0.0", @@ -80,7 +79,7 @@ "zlib": "browserify-zlib" }, "engines": { - "node": ">=16.15.1" + "node": ">=18.18.2" }, "files": [ "dist/**/*",