diff --git a/package.json b/package.json index 9ab011c6..04eca6a3 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ }, "prettier": "prettier-config-atomic", "dependencies": { - "node-addon-api": "~4.2.0", + "node-addon-api": "~5.0.0", "node-gyp-build": "^4.3.0" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 551c24c2..8cb9625a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,7 +10,7 @@ importers: fast-equals: ^2.0.3 fuzzaldrin-plus: ^0.6.0 jasmine: ^3.10.0 - node-addon-api: ~4.2.0 + node-addon-api: ~5.0.0 node-gyp-build: ^4.3.0 parcel: 2.0.0 prebuildify: ^4.2.1 @@ -19,7 +19,7 @@ importers: terser-config-atomic: ^0.1.1 typescript: ^4.4.4 dependencies: - node-addon-api: 4.2.0 + node-addon-api: 5.0.0 node-gyp-build: 4.3.0 devDependencies: coffeescript: 2.6.1 @@ -244,6 +244,8 @@ packages: resolution: {integrity: sha512-X67Z5y+VBJuHB/RjwECp8kSl5uYi0BvRbNeWqkaJCVh+LiTPl19WBUfG627psSgp9rSf6ojuXghQM3ha6qHHdA==} engines: {node: '>=6.0.0'} hasBin: true + dependencies: + '@babel/types': 7.14.5 dev: true /@babel/plugin-syntax-flow/7.14.5_@babel+core@7.14.6: @@ -655,6 +657,8 @@ packages: svgo: 2.7.0 transitivePeerDependencies: - '@parcel/core' + - bufferutil + - utf-8-validate dev: true /@parcel/optimizer-image/2.0.0_@parcel+core@2.0.0: @@ -820,6 +824,7 @@ packages: - '@parcel/core' - bufferutil - debug + - supports-color - utf-8-validate dev: true @@ -941,18 +946,22 @@ packages: /@parcel/transformer-image/2.0.0_@parcel+core@2.0.0: resolution: {integrity: sha512-1QXllyEDpITACi+1WY67SEAgmNKp4zohffvJoEkF3scjSX6fRIlOEXe8cSEiGVklWzik/iQN7UqHOTAqSZ3Yng==} engines: {node: '>= 12.0.0', parcel: ^2.0.0} + peerDependencies: + '@parcel/core': '*' dependencies: + '@parcel/core': 2.0.0 '@parcel/plugin': 2.0.0_@parcel+core@2.0.0 '@parcel/workers': 2.0.0_@parcel+core@2.0.0 nullthrows: 1.1.1 - transitivePeerDependencies: - - '@parcel/core' dev: true /@parcel/transformer-js/2.0.0_@parcel+core@2.0.0: resolution: {integrity: sha512-+eGznTiOLlPj/l99d8FRZaVdKg5CMHV30KQ/PRWNv1cai30qDFujrw3jt4clE9Q4EJY1u88fo6sA627MHE6+Wg==} engines: {node: '>= 12.0.0', parcel: ^2.0.0} + peerDependencies: + '@parcel/core': '*' dependencies: + '@parcel/core': 2.0.0 '@parcel/diagnostic': 2.0.0 '@parcel/plugin': 2.0.0_@parcel+core@2.0.0 '@parcel/source-map': 2.0.0 @@ -964,8 +973,6 @@ packages: nullthrows: 1.1.1 regenerator-runtime: 0.13.7 semver: 5.7.1 - transitivePeerDependencies: - - '@parcel/core' dev: true /@parcel/transformer-json/2.0.0_@parcel+core@2.0.0: @@ -1312,6 +1319,12 @@ packages: hasBin: true dev: true + /acorn/8.7.1: + resolution: {integrity: sha512-Xx54uLJQZ19lKygFXOWsscKUbsBZW0CPykPhVQdhIeIwrbPmJzqeASDInc8nKBnp/JT6igTs82qPXz069H8I/A==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true + /ajv/6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} dependencies: @@ -1537,6 +1550,8 @@ packages: babel-traverse: 6.26.0 babel-types: 6.26.0 babylon: 6.18.0 + transitivePeerDependencies: + - supports-color dev: true /babel-messages/6.23.0: @@ -1564,6 +1579,8 @@ packages: globals: 9.18.0 invariant: 2.2.4 lodash: 4.17.21 + transitivePeerDependencies: + - supports-color dev: true /babel-types/6.26.0: @@ -1953,6 +1970,8 @@ packages: finalhandler: 1.1.2 parseurl: 1.3.3 utils-merge: 1.0.1 + transitivePeerDependencies: + - supports-color dev: true /console-browserify/1.1.0: @@ -2330,12 +2349,22 @@ packages: /debug/2.6.9: resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true dependencies: ms: 2.0.0 dev: true /debug/3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true dependencies: ms: 2.1.3 dev: true @@ -2682,7 +2711,7 @@ packages: dependencies: confusing-browser-globals: 1.0.10 eslint: 7.29.0 - eslint-plugin-import: 2.25.2_eslint@7.29.0 + eslint-plugin-import: 2.25.2_5de0ab1c4e857224a36ce1b95238bd4c object.assign: 4.1.2 object.entries: 1.1.4 dev: true @@ -2699,7 +2728,7 @@ packages: dependencies: eslint: 7.29.0 eslint-config-airbnb-base: 14.2.1_3c96fd781c15e14ec0596a45d99eceab - eslint-plugin-import: 2.25.2_eslint@7.29.0 + eslint-plugin-import: 2.25.2_5de0ab1c4e857224a36ce1b95238bd4c eslint-plugin-jsx-a11y: 6.4.1_eslint@7.29.0 eslint-plugin-react: 7.23.2_eslint@7.29.0 object.assign: 4.1.2 @@ -2718,9 +2747,9 @@ packages: coffeescript: 1.12.7 eslint: 7.29.0 eslint-config-prettier: 8.3.0_eslint@7.29.0 - eslint-plugin-coffee: 0.1.15_eslint@7.29.0 + eslint-plugin-coffee: 0.1.15_5de0ab1c4e857224a36ce1b95238bd4c eslint-plugin-html: 6.2.0 - eslint-plugin-import: 2.25.2_eslint@7.29.0 + eslint-plugin-import: 2.25.2_5de0ab1c4e857224a36ce1b95238bd4c eslint-plugin-json: 3.1.0 eslint-plugin-node: 11.1.0_eslint@7.29.0 eslint-plugin-only-warn: /@aminya/eslint-plugin-only-warn/1.2.2 @@ -2731,6 +2760,8 @@ packages: read-pkg-up: 7.0.1 typescript: 4.4.4 transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack - eslint-plugin-react-hooks - supports-color dev: true @@ -2749,18 +2780,38 @@ packages: dependencies: debug: 3.2.7 resolve: 1.20.0 + transitivePeerDependencies: + - supports-color dev: true - /eslint-module-utils/2.7.1: + /eslint-module-utils/2.7.1_7fded66f9af42c712494e6f59dd71734: resolution: {integrity: sha512-fjoetBXQZq2tSTWZ9yWVl2KuFrTZZH3V+9iD1V1RfpDgxzJR+mPd/KZmMiA8gbPqdBzpNiEHOuT7IYEWxrH0zQ==} engines: {node: '>=4'} + peerDependencies: + '@typescript-eslint/parser': '*' + eslint-import-resolver-node: '*' + eslint-import-resolver-typescript: '*' + eslint-import-resolver-webpack: '*' + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true + eslint-import-resolver-node: + optional: true + eslint-import-resolver-typescript: + optional: true + eslint-import-resolver-webpack: + optional: true dependencies: + '@typescript-eslint/parser': 5.1.0_eslint@7.29.0+typescript@4.4.4 debug: 3.2.7 + eslint-import-resolver-node: 0.3.6 find-up: 2.1.0 pkg-dir: 2.0.0 + transitivePeerDependencies: + - supports-color dev: true - /eslint-plugin-coffee/0.1.15_eslint@7.29.0: + /eslint-plugin-coffee/0.1.15_5de0ab1c4e857224a36ce1b95238bd4c: resolution: {integrity: sha512-+qtkIPSc9etYqOODIlENqiRjID/oEoGMAAQJN988Aczy461NIwzaamFY6Fi0QDVVDb2v+OL/StVrk/QmyItfeg==} peerDependencies: eslint: '>=6.0.0' @@ -2773,7 +2824,7 @@ packages: eslint: 7.29.0 eslint-config-airbnb: 18.2.1_f30df04ea897609d5b0446179fec4d85 eslint-config-airbnb-base: 14.2.1_3c96fd781c15e14ec0596a45d99eceab - eslint-plugin-import: 2.25.2_eslint@7.29.0 + eslint-plugin-import: 2.25.2_5de0ab1c4e857224a36ce1b95238bd4c eslint-plugin-jsx-a11y: 6.4.1_eslint@7.29.0 eslint-plugin-react: 7.23.2_eslint@7.29.0 eslint-plugin-react-native: 3.10.0_eslint@7.29.0 @@ -2783,6 +2834,9 @@ packages: jsx-ast-utils: 2.4.1 lodash: 4.17.21 transitivePeerDependencies: + - '@typescript-eslint/parser' + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack - eslint-plugin-react-hooks - supports-color dev: true @@ -2804,19 +2858,24 @@ packages: htmlparser2: 7.1.2 dev: true - /eslint-plugin-import/2.25.2_eslint@7.29.0: + /eslint-plugin-import/2.25.2_5de0ab1c4e857224a36ce1b95238bd4c: resolution: {integrity: sha512-qCwQr9TYfoBHOFcVGKY9C9unq05uOxxdklmBXLVvcwo68y5Hta6/GzCZEMx2zQiu0woKNEER0LE7ZgaOfBU14g==} engines: {node: '>=4'} peerDependencies: + '@typescript-eslint/parser': '*' eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + peerDependenciesMeta: + '@typescript-eslint/parser': + optional: true dependencies: + '@typescript-eslint/parser': 5.1.0_eslint@7.29.0+typescript@4.4.4 array-includes: 3.1.4 array.prototype.flat: 1.2.5 debug: 2.6.9 doctrine: 2.1.0 eslint: 7.29.0 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.7.1 + eslint-module-utils: 2.7.1_7fded66f9af42c712494e6f59dd71734 has: 1.0.3 is-core-module: 2.8.0 is-glob: 4.0.3 @@ -2824,6 +2883,10 @@ packages: object.values: 1.1.5 resolve: 1.20.0 tsconfig-paths: 3.11.0 + transitivePeerDependencies: + - eslint-import-resolver-typescript + - eslint-import-resolver-webpack + - supports-color dev: true /eslint-plugin-json/3.1.0: @@ -3227,6 +3290,8 @@ packages: parseurl: 1.3.3 statuses: 1.5.0 unpipe: 1.0.0 + transitivePeerDependencies: + - supports-color dev: true /find-up/2.1.0: @@ -3554,6 +3619,9 @@ packages: terser: 5.9.0 timsort: 0.3.0 uncss: 0.17.3 + transitivePeerDependencies: + - bufferutil + - utf-8-validate dev: true /htmlparser2/3.8.3: @@ -4031,6 +4099,9 @@ packages: whatwg-url: 7.1.0 ws: 6.2.2 xml-name-validator: 3.0.0 + transitivePeerDependencies: + - bufferutil + - utf-8-validate dev: true /jsesc/2.5.2: @@ -4460,8 +4531,8 @@ packages: resolution: {integrity: sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==} dev: true - /node-addon-api/4.2.0: - resolution: {integrity: sha512-eazsqzwG2lskuzBqCGPi7Ac2UgOoMz8JVOXVhTvvPDYhthvNpefx8jWD8Np7Gv+2Sz0FlPWZk0nJV0z598Wn8Q==} + /node-addon-api/5.0.0: + resolution: {integrity: sha512-CvkDw2OEnme7ybCykJpVcKH+uAOLV2qLqiyla128dN9TkEWfrYmxG6C2boDe5KcNQqZF3orkqzGgOMvZ/JNekA==} dev: false /node-forge/0.10.0: @@ -4704,6 +4775,9 @@ packages: resolution: {integrity: sha512-vALKLDWz9DF3YD4oGcG1UpMR32TXHr3wj0OZTCo0nLuP8LqNNhG7Twf+ZIpVf2r1b5Glex5eUl0vcx/x2xY6pw==} engines: {node: '>= 12.0.0'} hasBin: true + peerDependenciesMeta: + '@parcel/core': + optional: true dependencies: '@parcel/config-default': 2.0.0_@parcel+core@2.0.0 '@parcel/core': 2.0.0 @@ -6501,6 +6575,7 @@ packages: engines: {node: '>=10'} hasBin: true dependencies: + acorn: 8.7.1 commander: 2.20.3 source-map: 0.7.3 source-map-support: 0.5.19 @@ -6511,6 +6586,7 @@ packages: engines: {node: '>=10'} hasBin: true dependencies: + acorn: 8.7.1 commander: 2.20.3 source-map: 0.7.3 source-map-support: 0.5.20 @@ -6662,6 +6738,9 @@ packages: postcss: 7.0.36 postcss-selector-parser: 6.0.2 request: 2.88.2 + transitivePeerDependencies: + - bufferutil + - utf-8-validate dev: true /uniq/1.0.1: @@ -6890,6 +6969,14 @@ packages: /ws/6.2.2: resolution: {integrity: sha512-zmhltoSR8u1cnDsD43TX59mzoMZsLKqUweyYBAIvTngR3shc0W6aOZylZmq/7hqyVxPdi+5Ud2QInblgyE72fw==} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ^5.0.2 + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true dependencies: async-limiter: 1.0.1 dev: true