Commit 875b205b authored by JJ Kasper's avatar JJ Kasper Committed by Joe Haddad

Upgrade to latest typescript (#7477)

parent f8e9cbba
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
"standard": "12.0.1", "standard": "12.0.1",
"taskr": "1.1.0", "taskr": "1.1.0",
"tree-kill": "1.2.1", "tree-kill": "1.2.1",
"typescript": "3.4.5", "typescript": "3.5.1",
"typescript-eslint-parser": "22.0.0", "typescript-eslint-parser": "22.0.0",
"wait-port": "0.2.2", "wait-port": "0.2.2",
"wd": "1.11.2", "wd": "1.11.2",
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
"@types/react-is": "16.7.1", "@types/react-is": "16.7.1",
"@types/send": "0.14.4", "@types/send": "0.14.4",
"taskr": "1.1.0", "taskr": "1.1.0",
"typescript": "3.4.5" "typescript": "3.5.1"
}, },
"engines": { "engines": {
"node": ">= 8.0.0" "node": ">= 8.0.0"
......
...@@ -471,7 +471,7 @@ export class FlyingShuttle { ...@@ -471,7 +471,7 @@ export class FlyingShuttle {
new Date().toISOString() new Date().toISOString()
) )
const usedChunks = new Set() const usedChunks = new Set<string>()
const pages = Object.keys(storeManifest.pageChunks) const pages = Object.keys(storeManifest.pageChunks)
pages.forEach(page => { pages.forEach(page => {
const info = pageInfos.get(page) || ({} as PageInfo) const info = pageInfos.get(page) || ({} as PageInfo)
......
...@@ -33,8 +33,8 @@ export function getPageChunks( ...@@ -33,8 +33,8 @@ export function getPageChunks(
return return
} }
const external = new Set() // from node_modules const external = new Set<string>() // from node_modules
const internal = new Set() // from project const internal = new Set<string>() // from project
;[...(manifest.pages[page] || []), ...(pageModules[page] || [])].map(mod => { ;[...(manifest.pages[page] || []), ...(pageModules[page] || [])].map(mod => {
if (mod.match(/(next-server|next)\//)) { if (mod.match(/(next-server|next)\//)) {
return null return null
......
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
"resolve": "1.11.0", "resolve": "1.11.0",
"taskr": "1.1.0", "taskr": "1.1.0",
"text-table": "0.2.0", "text-table": "0.2.0",
"typescript": "3.4.5", "typescript": "3.5.1",
"unistore": "3.4.1" "unistore": "3.4.1"
}, },
"engines": { "engines": {
......
...@@ -12611,10 +12611,10 @@ typescript-estree@18.0.0: ...@@ -12611,10 +12611,10 @@ typescript-estree@18.0.0:
lodash.unescape "4.0.1" lodash.unescape "4.0.1"
semver "5.5.0" semver "5.5.0"
typescript@3.4.5: typescript@3.5.1:
version "3.4.5" version "3.5.1"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.4.5.tgz#2d2618d10bb566572b8d7aad5180d84257d70a99" resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.5.1.tgz#ba72a6a600b2158139c5dd8850f700e231464202"
integrity sha512-YycBxUb49UUhdNMU5aJ7z5Ej2XGmaIBL0x34vZ82fn3hGvD+bgrMrVDpatgz2f7YxUMJxMkbWxJZeAvDxVe7Vw== integrity sha512-64HkdiRv1yYZsSe4xC1WVgamNigVYjlssIoaH2HcZF0+ijsk5YK2g0G34w9wJkze8+5ow4STd22AynfO6ZYYLw==
uglify-js@^3.1.4: uglify-js@^3.1.4:
version "3.5.15" version "3.5.15"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment