Bump TS & API (#1290)
* Bump TS & API * Attempt to fix build w/ moduleResolution * Node16 module/moduleResolution (attempt 2) * Updates & fix attempt 3
This commit is contained in:
parent
2db64ec0b1
commit
97734fd7af
22
package.json
22
package.json
@ -40,20 +40,20 @@
|
|||||||
"watch": "cd packages/extension && yarn polkadot-exec-webpack --config webpack.watch.cjs --mode development --watch"
|
"watch": "cd packages/extension && yarn polkadot-exec-webpack --config webpack.watch.cjs --mode development --watch"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/dev": "^0.76.18",
|
"@polkadot/dev": "^0.76.29",
|
||||||
"@types/node": "^20.5.3",
|
"@types/node": "^20.8.6",
|
||||||
"i18next-scanner": "^4.3.0",
|
"i18next-scanner": "^4.4.0",
|
||||||
"sinon-chrome": "^3.0.1"
|
"sinon-chrome": "^3.0.1"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"@polkadot/api": "^10.9.1",
|
"@polkadot/api": "^10.10.1",
|
||||||
"@polkadot/keyring": "^12.4.2",
|
"@polkadot/keyring": "^12.5.1",
|
||||||
"@polkadot/networks": "^12.4.2",
|
"@polkadot/networks": "^12.5.1",
|
||||||
"@polkadot/types": "^10.9.1",
|
"@polkadot/types": "^10.10.1",
|
||||||
"@polkadot/util": "^12.4.2",
|
"@polkadot/util": "^12.5.1",
|
||||||
"@polkadot/util-crypto": "^12.4.2",
|
"@polkadot/util-crypto": "^12.5.1",
|
||||||
"@polkadot/x-fetch": "^12.4.2",
|
"@polkadot/x-fetch": "^12.5.1",
|
||||||
"safe-buffer": "^5.2.1",
|
"safe-buffer": "^5.2.1",
|
||||||
"typescript": "^5.1.6"
|
"typescript": "^5.2.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -21,19 +21,19 @@
|
|||||||
"version": "0.46.6-6-x",
|
"version": "0.46.6-6-x",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "^10.9.1",
|
"@polkadot/api": "^10.10.1",
|
||||||
"@polkadot/extension-chains": "0.46.6-6-x",
|
"@polkadot/extension-chains": "0.46.6-6-x",
|
||||||
"@polkadot/extension-dapp": "0.46.6-6-x",
|
"@polkadot/extension-dapp": "0.46.6-6-x",
|
||||||
"@polkadot/extension-inject": "0.46.6-6-x",
|
"@polkadot/extension-inject": "0.46.6-6-x",
|
||||||
"@polkadot/keyring": "^12.4.2",
|
"@polkadot/keyring": "^12.5.1",
|
||||||
"@polkadot/networks": "^12.4.2",
|
"@polkadot/networks": "^12.5.1",
|
||||||
"@polkadot/phishing": "^0.21.5",
|
"@polkadot/phishing": "^0.21.6",
|
||||||
"@polkadot/rpc-provider": "^10.9.1",
|
"@polkadot/rpc-provider": "^10.10.1",
|
||||||
"@polkadot/types": "^10.9.1",
|
"@polkadot/types": "^10.10.1",
|
||||||
"@polkadot/ui-keyring": "^3.6.2",
|
"@polkadot/ui-keyring": "^3.6.3",
|
||||||
"@polkadot/ui-settings": "^3.6.2",
|
"@polkadot/ui-settings": "^3.6.3",
|
||||||
"@polkadot/util": "^12.4.2",
|
"@polkadot/util": "^12.5.1",
|
||||||
"@polkadot/util-crypto": "^12.4.2",
|
"@polkadot/util-crypto": "^12.5.1",
|
||||||
"eventemitter3": "^5.0.1",
|
"eventemitter3": "^5.0.1",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
|
|||||||
@ -22,9 +22,9 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/extension-inject": "0.46.6-6-x",
|
"@polkadot/extension-inject": "0.46.6-6-x",
|
||||||
"@polkadot/networks": "^12.4.2",
|
"@polkadot/networks": "^12.5.1",
|
||||||
"@polkadot/util": "^12.4.2",
|
"@polkadot/util": "^12.5.1",
|
||||||
"@polkadot/util-crypto": "^12.4.2",
|
"@polkadot/util-crypto": "^12.5.1",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|||||||
@ -23,10 +23,10 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@metamask/detect-provider": "^2.0.0",
|
"@metamask/detect-provider": "^2.0.0",
|
||||||
"@polkadot/extension-inject": "0.46.6-6-x",
|
"@polkadot/extension-inject": "0.46.6-6-x",
|
||||||
"@polkadot/types": "^10.9.1",
|
"@polkadot/types": "^10.10.1",
|
||||||
"@polkadot/util": "^12.4.2",
|
"@polkadot/util": "^12.5.1",
|
||||||
"tslib": "^2.6.2",
|
"tslib": "^2.6.2",
|
||||||
"web3": "^1.10.1"
|
"web3": "^1.10.2"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@polkadot/api": "*",
|
"@polkadot/api": "*",
|
||||||
|
|||||||
@ -22,8 +22,8 @@
|
|||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/extension-inject": "0.46.6-6-x",
|
"@polkadot/extension-inject": "0.46.6-6-x",
|
||||||
"@polkadot/util": "^12.4.2",
|
"@polkadot/util": "^12.5.1",
|
||||||
"@polkadot/util-crypto": "^12.4.2",
|
"@polkadot/util-crypto": "^12.5.1",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
|
|||||||
@ -18,17 +18,17 @@
|
|||||||
"version": "0.46.6-6-x",
|
"version": "0.46.6-6-x",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "^10.9.1",
|
"@polkadot/api": "^10.10.1",
|
||||||
"@polkadot/rpc-provider": "^10.9.1",
|
"@polkadot/rpc-provider": "^10.10.1",
|
||||||
"@polkadot/types": "^10.9.1",
|
"@polkadot/types": "^10.10.1",
|
||||||
"@polkadot/util": "^12.4.2",
|
"@polkadot/util": "^12.5.1",
|
||||||
"@polkadot/util-crypto": "^12.4.2",
|
"@polkadot/util-crypto": "^12.5.1",
|
||||||
"@polkadot/x-global": "^12.4.2",
|
"@polkadot/x-global": "^12.5.1",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/chrome": "^0.0.243",
|
"@types/chrome": "^0.0.246",
|
||||||
"@types/firefox-webext-browser": "^111.0.1"
|
"@types/firefox-webext-browser": "^111.0.2"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@polkadot/api": "*",
|
"@polkadot/api": "*",
|
||||||
|
|||||||
@ -22,44 +22,44 @@
|
|||||||
"@fortawesome/free-regular-svg-icons": "^6.4.2",
|
"@fortawesome/free-regular-svg-icons": "^6.4.2",
|
||||||
"@fortawesome/free-solid-svg-icons": "^6.4.2",
|
"@fortawesome/free-solid-svg-icons": "^6.4.2",
|
||||||
"@fortawesome/react-fontawesome": "^0.2.0",
|
"@fortawesome/react-fontawesome": "^0.2.0",
|
||||||
"@polkadot/api": "^10.9.1",
|
"@polkadot/api": "^10.10.1",
|
||||||
"@polkadot/extension-base": "0.46.6-6-x",
|
"@polkadot/extension-base": "0.46.6-6-x",
|
||||||
"@polkadot/extension-chains": "0.46.6-6-x",
|
"@polkadot/extension-chains": "0.46.6-6-x",
|
||||||
"@polkadot/extension-dapp": "0.46.6-6-x",
|
"@polkadot/extension-dapp": "0.46.6-6-x",
|
||||||
"@polkadot/extension-inject": "0.46.6-6-x",
|
"@polkadot/extension-inject": "0.46.6-6-x",
|
||||||
"@polkadot/hw-ledger": "^12.4.2",
|
"@polkadot/hw-ledger": "^12.5.1",
|
||||||
"@polkadot/keyring": "^12.4.2",
|
"@polkadot/keyring": "^12.5.1",
|
||||||
"@polkadot/networks": "^12.4.2",
|
"@polkadot/networks": "^12.5.1",
|
||||||
"@polkadot/react-identicon": "^3.6.2",
|
"@polkadot/react-identicon": "^3.6.3",
|
||||||
"@polkadot/react-qr": "^3.6.2",
|
"@polkadot/react-qr": "^3.6.3",
|
||||||
"@polkadot/types": "^10.9.1",
|
"@polkadot/types": "^10.10.1",
|
||||||
"@polkadot/types-augment": "^10.9.1",
|
"@polkadot/types-augment": "^10.10.1",
|
||||||
"@polkadot/ui-keyring": "^3.6.2",
|
"@polkadot/ui-keyring": "^3.6.3",
|
||||||
"@polkadot/ui-settings": "^3.6.2",
|
"@polkadot/ui-settings": "^3.6.3",
|
||||||
"@polkadot/util": "^12.4.2",
|
"@polkadot/util": "^12.5.1",
|
||||||
"@polkadot/util-crypto": "^12.4.2",
|
"@polkadot/util-crypto": "^12.5.1",
|
||||||
"file-saver": "^2.0.5",
|
"file-saver": "^2.0.5",
|
||||||
"i18next": "^23.4.5",
|
"i18next": "^23.5.1",
|
||||||
"react": "^18.2.0",
|
"react": "^18.2.0",
|
||||||
"react-dom": "^18.2.0",
|
"react-dom": "^18.2.0",
|
||||||
"react-dropzone": "^11.7.1",
|
"react-dropzone": "^11.7.1",
|
||||||
"react-i18next": "^13.2.0",
|
"react-i18next": "^13.3.0",
|
||||||
"react-is": "^18.2.0",
|
"react-is": "^18.2.0",
|
||||||
"react-router": "^5.3.4",
|
"react-router": "^5.3.4",
|
||||||
"react-router-dom": "^5.3.4",
|
"react-router-dom": "^5.3.4",
|
||||||
"styled-components": "^6.0.7",
|
"styled-components": "^6.1.0",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/extension-mocks": "0.46.6-6-x",
|
"@polkadot/extension-mocks": "0.46.6-6-x",
|
||||||
"@types/enzyme": "^3.10.13",
|
"@types/enzyme": "^3.10.14",
|
||||||
"@types/enzyme-adapter-react-16": "^1.0.6",
|
"@types/enzyme-adapter-react-16": "^1.0.7",
|
||||||
"@types/file-saver": "^2.0.5",
|
"@types/file-saver": "^2.0.5",
|
||||||
"@types/react-copy-to-clipboard": "^5.0.4",
|
"@types/react-copy-to-clipboard": "^5.0.5",
|
||||||
"@types/react-dom": "^18.2.7",
|
"@types/react-dom": "^18.2.13",
|
||||||
"@types/react-router": "^5.1.20",
|
"@types/react-router": "^5.1.20",
|
||||||
"@types/react-router-dom": "^5.3.3",
|
"@types/react-router-dom": "^5.3.3",
|
||||||
"@types/sinon-chrome": "^2.2.11",
|
"@types/sinon-chrome": "^2.2.12",
|
||||||
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
|
||||||
"enzyme": "^3.11.0",
|
"enzyme": "^3.11.0",
|
||||||
"enzyme-adapter-react-16": "^1.15.7",
|
"enzyme-adapter-react-16": "^1.15.7",
|
||||||
|
|||||||
@ -17,14 +17,14 @@
|
|||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "0.46.6-6-x",
|
"version": "0.46.6-6-x",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "^10.9.1",
|
"@polkadot/api": "^10.10.1",
|
||||||
"@polkadot/extension-base": "0.46.6-6-x",
|
"@polkadot/extension-base": "0.46.6-6-x",
|
||||||
"@polkadot/extension-inject": "0.46.6-6-x",
|
"@polkadot/extension-inject": "0.46.6-6-x",
|
||||||
"@polkadot/extension-ui": "0.46.6-6-x",
|
"@polkadot/extension-ui": "0.46.6-6-x",
|
||||||
"tslib": "^2.6.2"
|
"tslib": "^2.6.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/dev": "^0.76.18",
|
"@polkadot/dev": "^0.76.29",
|
||||||
"browser-resolve": "^2.0.0",
|
"browser-resolve": "^2.0.0",
|
||||||
"buffer": "^6.0.3",
|
"buffer": "^6.0.3",
|
||||||
"copy-webpack-plugin": "^11.0.0",
|
"copy-webpack-plugin": "^11.0.0",
|
||||||
@ -35,7 +35,7 @@
|
|||||||
"path-browserify": "^1.0.1",
|
"path-browserify": "^1.0.1",
|
||||||
"process": "^0.11.10",
|
"process": "^0.11.10",
|
||||||
"stream-browserify": "^3.0.0",
|
"stream-browserify": "^3.0.0",
|
||||||
"ts-loader": "^9.4.4",
|
"ts-loader": "^9.5.0",
|
||||||
"url-loader": "^4.1.1",
|
"url-loader": "^4.1.1",
|
||||||
"webpack-extension-manifest-plugin": "^0.8.0"
|
"webpack-extension-manifest-plugin": "^0.8.0"
|
||||||
},
|
},
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"composite": true,
|
"composite": true,
|
||||||
/* FIXME Dropzone is problematic with nodenext resolution */
|
/* FIXME Dropzone is problematic with nodenext resolution */
|
||||||
|
"module": "ESNext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"paths": {
|
"paths": {
|
||||||
"@polkadot/extension": ["extension/src/index.ts"],
|
"@polkadot/extension": ["extension/src/index.ts"],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user