chore(repo): use LTS node typings (#8366)

This commit is contained in:
Colum Ferry 2022-01-11 17:31:58 +00:00 committed by GitHub
parent da39485076
commit 15c6ca70a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 13 additions and 13 deletions

View File

@ -106,7 +106,7 @@
"@types/jasminewd2": "~2.0.3",
"@types/jest": "27.0.2",
"@types/marked": "^2.0.0",
"@types/node": "14.14.37",
"@types/node": "16.11.7",
"@types/prettier": "2.3.0",
"@types/react": "17.0.3",
"@types/react-dom": "17.0.3",

View File

@ -3,7 +3,7 @@ import { spawnProcess } from './spawn-process';
describe('spawnProcess()', () => {
let spy: jest.SpyInstance<
childProcess.SpawnSyncReturns<Buffer>,
childProcess.SpawnSyncReturns<string | Buffer>,
[
command: string,
args?: readonly string[],

View File

@ -69,7 +69,7 @@ const server = createServer(async (socket) => {
const entry = list.getEntries()[0];
serverLogger.log(`Time taken for '${entry.name}'`, `${entry.duration}ms`);
});
performanceObserver.observe({ entryTypes: ['measure'], buffered: false });
performanceObserver.observe({ entryTypes: ['measure'] });
}
socket.on('data', async (data) => {

View File

@ -9,7 +9,7 @@ Object {
"@nrwl/cli": "*",
"@nrwl/tao": "*",
"@nrwl/workspace": "*",
"@types/node": "14.14.33",
"@types/node": "16.11.7",
"prettier": "^2.3.1",
"typescript": "~4.4.3",
},
@ -32,7 +32,7 @@ Object {
"@nrwl/cli": "*",
"@nrwl/tao": "*",
"@nrwl/workspace": "*",
"@types/node": "14.14.33",
"@types/node": "16.11.7",
"prettier": "^2.3.1",
"typescript": "~4.4.3",
},
@ -56,7 +56,7 @@ Object {
"@nrwl/react": "*",
"@nrwl/tao": "*",
"@nrwl/workspace": "*",
"@types/node": "14.14.33",
"@types/node": "16.11.7",
"prettier": "^2.3.1",
"typescript": "~4.4.3",
},

View File

@ -12,7 +12,7 @@
"@nrwl/tao": "<%= nxVersion %>",
"@nrwl/cli": "<%= nxVersion %>",
"@nrwl/workspace": "<%= nxVersion %>",
"@types/node": "14.14.33",
"@types/node": "16.11.7",
"typescript": "<%= typescriptVersion %>",
"prettier": "<%= prettierVersion %>"
}

View File

@ -5,5 +5,5 @@ if (process.env.NX_PERF_LOGGING) {
const entry = list.getEntries()[0];
console.log(`Time for '${entry.name}'`, entry.duration);
});
obs.observe({ entryTypes: ['measure'], buffered: false });
obs.observe({ entryTypes: ['measure'] });
}

View File

@ -5,5 +5,5 @@ if (process.env.NX_PERF_LOGGING) {
const entry = list.getEntries()[0];
console.log(`Time for '${entry.name}'`, entry.duration);
});
obs.observe({ entryTypes: ['measure'], buffered: false });
obs.observe({ entryTypes: ['measure'] });
}

View File

@ -5281,10 +5281,10 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.9.tgz#879be3ad7af29f4c1a5c433421bf99fab7047185"
integrity sha512-MKmdASMf3LtPzwLyRrFjtFFZ48cMf8jmX5VRYrDQiJa8Ybu5VAmkqBWqKU8fdCwD8ysw4mQ9nrEHvzg6gunR7A==
"@types/node@14.14.37":
version "14.14.37"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.37.tgz#a3dd8da4eb84a996c36e331df98d82abd76b516e"
integrity sha512-XYmBiy+ohOR4Lh5jE379fV2IU+6Jn4g5qASinhitfyO71b/sCo6MKsMLF5tc7Zf2CE8hViVQyYSobJNke8OvUw==
"@types/node@16.11.7":
version "16.11.7"
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.7.tgz#36820945061326978c42a01e56b61cd223dfdc42"
integrity sha512-QB5D2sqfSjCmTuWcBWyJ+/44bcjO7VbjSbOE0ucoVbAsSNQc4Lt6QkgkVXkTDwkL4z/beecZNDvVX15D4P8Jbw==
"@types/node@^14.0.10", "@types/node@^14.14.31":
version "14.17.34"