Support node 18

This commit is contained in:
Andrew Morris
2022-07-20 08:20:23 +10:00
parent 6b86b95f3c
commit 3c9cbe6c3e
3 changed files with 2341 additions and 2544 deletions

View File

@@ -11,7 +11,6 @@
"url": "https://blswallet.org"
},
"engines": {
"node": ">=16.0.0 <18.0.0",
"yarn": ">=1.0.0"
},
"scripts": {
@@ -36,13 +35,13 @@
"@types/bs58check": "^2.1.0",
"advanced-css-reset": "^1.2.2",
"async-mutex": "^0.3.2",
"axios": "^0.25.0",
"axios": "^0.27.2",
"bls-wallet-clients": "0.6.0",
"bs58check": "^2.1.2",
"crypto-browserify": "^3.12.0",
"emoji-log": "^1.0.2",
"eth-rpc-errors": "^4.0.3",
"ethers": "5.5.4",
"ethers": "5.6.9",
"fast-deep-equal": "^3.1.3",
"fp-ts": "^2.12.1",
"io-ts": "^2.2.16",
@@ -54,10 +53,10 @@
"react-router-dom": "^6.2.1",
"sass": "^1.44.0",
"stream-browserify": "^3.0.0",
"typed-emitter": "^1.4.0",
"typed-emitter": "^2.1.0",
"typescript": "^4.7.4",
"webext-base-css": "^1.3.2",
"webextension-polyfill": "^0.8.0",
"webextension-polyfill": "^0.9.0",
"zxcvbn": "^4.4.2"
},
"devDependencies": {
@@ -74,7 +73,7 @@
"@types/react-dom": "^17.0.11",
"@types/react-router-dom": "^5.3.3",
"@types/react-table": "^7.7.9",
"@types/webextension-polyfill": "^0.8.2",
"@types/webextension-polyfill": "^0.9.0",
"@types/webpack": "^5.28.0",
"@types/zxcvbn": "^4.4.1",
"@typescript-eslint/eslint-plugin": "^5.30.4",
@@ -85,20 +84,20 @@
"copy-webpack-plugin": "^11.0.0",
"cross-env": "^7.0.3",
"css-loader": "^6.7.1",
"dotenv-webpack": "^7.1.1",
"eslint": "^7.32.0",
"dotenv-webpack": "^8.0.0",
"eslint": "^8.20.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^6.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"filemanager-webpack-plugin": "^7.0.0",
"fork-ts-checker-webpack-plugin": "^7.2.11",
"html-webpack-plugin": "^5.5.0",
"mini-css-extract-plugin": "^1.6.0",
"mini-css-extract-plugin": "^2.6.1",
"optimize-css-assets-webpack-plugin": "^6.0.1",
"postcss": "^8.4.5",
"postcss-loader": "^7.0.0",
@@ -107,9 +106,9 @@
"sass-loader": "^13.0.1",
"tailwindcss": "^3.0.13",
"terser-webpack-plugin": "^5.3.3",
"webpack": "~5.46.0",
"webpack": "~5.73.0",
"webpack-cli": "^4.10.0",
"webpack-extension-reloader": "^1.1.4",
"webpack-ext-reloader": "^1.1.9",
"wext-manifest-loader": "^2.4.1",
"wext-manifest-webpack-plugin": "^1.2.1"
}

View File

@@ -8,7 +8,7 @@ const TerserPlugin = require('terser-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const { CleanWebpackPlugin } = require('clean-webpack-plugin');
const ExtensionReloader = require('webpack-extension-reloader');
const ExtensionReloader = require('webpack-ext-reloader');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const WextManifestWebpackPlugin = require('wext-manifest-webpack-plugin');
const ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');

File diff suppressed because it is too large Load Diff