Upgrade to TS 4.9

This commit is contained in:
the1812 2023-02-05 14:57:32 +08:00
parent 1a62402589
commit abbc4eb8b3
3 changed files with 941 additions and 871 deletions

View File

@ -13,14 +13,14 @@
"type": "tsc -p tsconfig.type-check.json --noEmit"
},
"devDependencies": {
"@babel/core": "7.17.9",
"@babel/parser": "^7.18.5",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.9.6",
"@babel/preset-typescript": "^7.9.0",
"@babel/types": "^7.18.4",
"@babel/core": "7.20.12",
"@babel/parser": "^7.20.15",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@babel/types": "^7.20.7",
"@types/async-exit-hook": "^2.0.0",
"@types/babel__core": "^7.1.19",
"@types/babel__core": "^7.20.0",
"@types/color": "^3.0.1",
"@types/glob": "^7.2.0",
"@types/lodash": "^4.14.172",
@ -31,8 +31,8 @@
"@types/streamsaver": "^2.0.1",
"@types/webpack-env": "^1.15.1",
"@types/ws": "^8.2.3",
"@typescript-eslint/eslint-plugin": "^5.9.1",
"@typescript-eslint/parser": "^5.9.1",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"async-exit-hook": "^2.0.1",
"autoprefixer": "^10.0.1",
"babel-loader": "^8.1.0",
@ -40,7 +40,7 @@
"css-loader": "^5.0.0",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "7.1.0",
@ -48,7 +48,7 @@
"postcss": "^8.1.0",
"postcss-loader": "^4.0.4",
"postcss-preset-env": "^7.5.0",
"prettier": "^2.7.1",
"prettier": "^2.8.3",
"sass": "^1.25.0",
"serve": "^13.0.2",
"serve-handler": "^6.1.3",
@ -57,7 +57,7 @@
"terser-webpack-plugin": "^5.0.1",
"to-string-loader": "^1.2.0",
"ts-node": "^10.7.0",
"typescript": "^4.4.4",
"typescript": "^4.9.5",
"vue-loader": "^15.8.3",
"vue-template-compiler": "^2.6.11",
"webpack": "^5.31.2",

1786
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -28,7 +28,7 @@ export class RuntimeLibrary<LibraryType> implements PromiseLike<LibraryType> {
;(function runEval() {
return eval(code)
// eslint-disable-next-line no-extra-bind
}.bind(window)())
}).bind(window)()
return getModule(window)
})()
}