mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
✅ Updated @types/node to v14, fixed TS breaking with changes
This commit is contained in:
parent
3ef6f031ec
commit
a69098a096
|
@ -181,7 +181,7 @@ export class Start extends Command {
|
|||
Start.openBrowser();
|
||||
}
|
||||
this.log(`\nPress "o" to open in Browser.`);
|
||||
process.stdin.on("data", (key) => {
|
||||
process.stdin.on("data", (key : string) => {
|
||||
if (key === 'o') {
|
||||
Start.openBrowser();
|
||||
inputText = '';
|
||||
|
|
|
@ -62,7 +62,7 @@
|
|||
"@types/jest": "^24.0.18",
|
||||
"@types/localtunnel": "^1.9.0",
|
||||
"@types/lodash.get": "^4.4.6",
|
||||
"@types/node": "^10.10.1",
|
||||
"@types/node": "^14.0.26",
|
||||
"@types/open": "^6.1.0",
|
||||
"@types/parseurl": "^1.3.1",
|
||||
"@types/request-promise-native": "^1.0.15",
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
"@types/jest": "^24.0.18",
|
||||
"@types/lodash.get": "^4.4.6",
|
||||
"@types/mime-types": "^2.1.0",
|
||||
"@types/node": "^10.10.1",
|
||||
"@types/node": "^14.0.26",
|
||||
"@types/request-promise-native": "^1.0.15",
|
||||
"jest": "^24.9.0",
|
||||
"source-map-support": "^0.5.9",
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
"@types/jest": "^25.2.1",
|
||||
"@types/lodash.get": "^4.4.6",
|
||||
"@types/lodash.set": "^4.3.6",
|
||||
"@types/node": "12.12.22",
|
||||
"@types/node": "^14.0.26",
|
||||
"@types/quill": "^2.0.1",
|
||||
"@typescript-eslint/eslint-plugin": "^2.13.0",
|
||||
"@typescript-eslint/parser": "^2.13.0",
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
"@oclif/command": "^1.5.18",
|
||||
"@oclif/errors": "^1.2.2",
|
||||
"@types/express": "^4.16.1",
|
||||
"@types/node": "^10.10.1",
|
||||
"@types/node": "^14.0.26",
|
||||
"change-case": "^4.1.1",
|
||||
"copyfiles": "^2.1.1",
|
||||
"inquirer": "^7.0.0",
|
||||
|
|
|
@ -83,7 +83,9 @@ export async function buildFiles (options?: IBuildOptions): Promise<string> {
|
|||
|
||||
// Forward the output of the child process to the main one
|
||||
// that the user can see what is happening
|
||||
//@ts-ignore
|
||||
buildProcess.stdout.pipe(process.stdout);
|
||||
//@ts-ignore
|
||||
buildProcess.stderr.pipe(process.stderr);
|
||||
|
||||
// Make sure that the child process gets also always terminated
|
||||
|
|
|
@ -404,7 +404,8 @@ export class JiraTrigger implements INodeType {
|
|||
}
|
||||
|
||||
if (additionalFields.includeFields) {
|
||||
const parameters: IDataObject = {};
|
||||
// tslint:disable-next-line: no-any
|
||||
const parameters: any = {};
|
||||
for (const field of additionalFields.includeFields as string[]) {
|
||||
parameters[field] = '${' + field + '}';
|
||||
}
|
||||
|
|
|
@ -336,7 +336,7 @@ export class MoveBinaryData implements INodeType {
|
|||
continue;
|
||||
}
|
||||
|
||||
const encoding = (options.encoding as string) || 'utf8';
|
||||
const encoding = (options.encoding as BufferEncoding) || 'utf8';
|
||||
let convertedValue = value.data;
|
||||
|
||||
if (setAllData === true) {
|
||||
|
|
|
@ -359,7 +359,7 @@
|
|||
"@types/moment-timezone": "^0.5.12",
|
||||
"@types/mongodb": "^3.5.4",
|
||||
"@types/mssql": "^6.0.2",
|
||||
"@types/node": "^10.10.1",
|
||||
"@types/node": "^14.0.26",
|
||||
"@types/nodemailer": "^6.4.0",
|
||||
"@types/redis": "^2.8.11",
|
||||
"@types/request-promise-native": "~1.0.15",
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
"@types/express": "^4.16.1",
|
||||
"@types/jest": "^24.0.18",
|
||||
"@types/lodash.get": "^4.4.6",
|
||||
"@types/node": "^10.10.1",
|
||||
"@types/node": "^14.0.26",
|
||||
"jest": "^24.9.0",
|
||||
"ts-jest": "^24.0.2",
|
||||
"tslint": "^6.1.2",
|
||||
|
|
Loading…
Reference in a new issue