Skip to content

Commit

Permalink
chore: upgrade all typescript to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
franklevasseur committed May 19, 2023
1 parent b3cf38a commit 5c7067f
Show file tree
Hide file tree
Showing 18 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion packages/bitfan/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"@types/seedrandom": "^2.4.28",
"babel-jest": "^24.0.0",
"jest": "^24.0.0",
"typescript": "^4.5.2"
"typescript": "^5.0.4"
}
}
2 changes: 1 addition & 1 deletion packages/distributed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"devDependencies": {
"@types/lodash": "^4.14.116",
"@types/node": "^16.11.10",
"typescript": "^4.5.2"
"typescript": "^5.0.4"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/lang-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@types/node": "^16.11.10",
"@types/jest": "^24.9.0",
"jest": "^24.9.0",
"typescript": "^4.5.2"
"typescript": "^5.0.4"
},
"types": "./src/typings.d.ts",
"main": "./dist/index.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/lang-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"eslint-plugin-jsdoc": "^32.3.2",
"jest": "^24.9.0",
"prettier": "^2.2.1",
"typescript": "^4.5.2"
"typescript": "^5.0.4"
},
"scripts": {
"build": "tsc --build",
Expand Down
2 changes: 1 addition & 1 deletion packages/nlu-bench/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@types/lodash": "^4.14.116",
"@types/fs-extra": "^5.0.4",
"@types/node": "^16.11.10",
"typescript": "^4.5.2"
"typescript": "^5.0.4"
},
"scripts": {
"start": "node ./dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/nlu-bin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"pkg": "^4.3.7",
"prettier": "^2.2.1",
"ts-node-dev": "^1.1.6",
"typescript": "^4.5.2",
"typescript": "^5.0.4",
"yn": "^4.0.0"
},
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/nlu-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@types/node": "^16.11.10",
"@types/jest": "^24.9.0",
"jest": "^24.9.0",
"typescript": "^4.5.2"
"typescript": "^5.0.4"
},
"types": "./dist/index.d.ts",
"main": "./dist/index.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/nlu-e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@types/lodash": "^4.14.116",
"@types/fs-extra": "^5.0.4",
"@types/node": "^16.11.10",
"typescript": "^4.5.2",
"typescript": "^5.0.4",
"chai": "4.3.4",
"@types/chai": "4.3.0",
"semver": "7.3.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/nlu-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"eslint-plugin-jsdoc": "^32.3.2",
"jest": "^24.9.0",
"prettier": "^2.2.1",
"typescript": "^4.5.2"
"typescript": "^5.0.4"
},
"types": "./src/typings.d.ts",
"main": "./dist/index.js"
Expand Down
6 changes: 3 additions & 3 deletions packages/nlu-engine/src/engine/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,16 +143,16 @@ export default class Engine implements IEngine {

const list_entities = entities.filter(isListEntity).map(
(e) =>
<ListEntity & { cache: EntityCacheDump }>{
({
name: e.name,
fuzzyTolerance: e.fuzzy,
sensitive: e.sensitive,
sensitive: !!e.sensitive,
synonyms: _.chain(e.values)
.keyBy((e) => e.name)
.mapValues((e) => e.synonyms)
.value(),
cache: [] // TODO: bring back list entitiy caching
}
} satisfies ListEntity & { cache: EntityCacheDump })
)

const pattern_entities: PatternEntity[] = entities
Expand Down
2 changes: 1 addition & 1 deletion packages/nlu-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"jest": "^24.9.0",
"prettier": "^2.2.1",
"supertest": "^6.1.3",
"typescript": "^4.5.2"
"typescript": "^5.0.4"
},
"scripts": {
"build": "tsc --build",
Expand Down
2 changes: 1 addition & 1 deletion packages/node-crfsuite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
"node-addon-api": "^3.0.0",
"node-gyp": "^5.0.0",
"@types/node": "^16.11.10",
"typescript": "^4.5.2"
"typescript": "^5.0.4"
}
}
2 changes: 1 addition & 1 deletion packages/node-fasttext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@types/node": "^16.11.10",
"node-addon-api": "^3.0.0",
"node-gyp": "^7.0.0",
"typescript": "^4.5.2"
"typescript": "^5.0.4"
},
"files": [
"cppsrc",
Expand Down
2 changes: 1 addition & 1 deletion packages/node-sentencepiece/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"node-addon-api": "^1.6.3",
"run-script-os": "^1.0.5",
"@types/node": "^16.11.10",
"typescript": "^4.5.2"
"typescript": "^5.0.4"
}
}
2 changes: 1 addition & 1 deletion packages/node-svm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"jest": "^24.9.0",
"node-addon-api": "^2.0.0",
"node-gyp": "^6.1.0",
"typescript": "^4.5.2"
"typescript": "^5.0.4"
}
}
2 changes: 1 addition & 1 deletion packages/telemetry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"express": "^4.16.4"
},
"devDependencies": {
"typescript": "^4.5.2"
"typescript": "^5.0.4"
},
"scripts": {
"build": "tsc --build",
Expand Down
2 changes: 1 addition & 1 deletion packages/worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"devDependencies": {
"@types/lodash": "^4.14.116",
"@types/node": "^16.11.10",
"typescript": "^4.5.2"
"typescript": "^5.0.4"
},
"types": "./src/typings.d.ts",
"main": "./dist/index.js"
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10401,10 +10401,10 @@ typedarray@^0.0.6:
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=

typescript@^4.5.2:
version "4.5.2"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.5.2.tgz#8ac1fba9f52256fdb06fb89e4122fa6a346c2998"
integrity sha512-5BlMof9H1yGt0P8/WF+wPNw6GfctgGjXp5hkblpyT+8rkASSmkUKMXrxR0Xg8ThVCi/JnHQiKXeBaEwCeQwMFw==
typescript@^5.0.4:
version "5.0.4"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.0.4.tgz#b217fd20119bd61a94d4011274e0ab369058da3b"
integrity sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==

uglify-js@^3.1.4:
version "3.13.8"
Expand Down

0 comments on commit 5c7067f

Please sign in to comment.