ci: Upgrade eslint, prettier, typescript, and some other dev tooling (no-changelog) (#8895)

Co-authored-by: Iván Ovejero <ivov.src@gmail.com>
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-03-26 14:22:57 +01:00
committed by GitHub
parent 117b57ccc5
commit 372d5c7d01
190 changed files with 1142 additions and 1198 deletions

View File

@@ -161,7 +161,7 @@ export class Expression {
release: process.release,
version: process.pid,
versions: process.versions,
}
}
: {};
/**

View File

@@ -313,7 +313,7 @@ function toSentenceCase(value: string) {
const charIndex = current.search(CHAR_TEST_REGEXP);
current =
current.slice(0, charIndex) +
current[charIndex]!.toLocaleUpperCase() +
current[charIndex].toLocaleUpperCase() +
current.slice(charIndex + 1).toLocaleLowerCase();
const puncIndex = current.search(PUNC_TEST_REGEXP);
if (puncIndex === -1) {

View File

@@ -844,7 +844,7 @@ export class RoutingNode {
if (nodeProperties.routing.send.propertyInDotNotation === false) {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(returnData.options.body as Record<string, any>)![propertyName] = value;
(returnData.options.body as Record<string, any>)[propertyName] = value;
} else {
set(returnData.options.body as object, propertyName, value);
}

View File

@@ -625,7 +625,7 @@ export class Workflow {
connectionsByIndex = this.connectionsByDestinationNode[nodeName][type][connectionIndex];
// eslint-disable-next-line @typescript-eslint/no-loop-func
connectionsByIndex.forEach((connection) => {
if (checkedNodes!.includes(connection.node)) {
if (checkedNodes.includes(connection.node)) {
// Node got checked already before
return;
}

View File

@@ -1295,7 +1295,7 @@ describe('Workflow', () => {
const itemIndex = 0;
const runIndex = 0;
const connectionInputData: INodeExecutionData[] =
runExecutionData.resultData.runData.Node1[0]!.data!.main[0]!;
runExecutionData.resultData.runData.Node1[0].data!.main[0]!;
for (const parameterName of Object.keys(testData.output)) {
const parameterValue = nodes.find((node) => node.name === activeNodeName)!.parameters[
@@ -1449,7 +1449,7 @@ describe('Workflow', () => {
const itemIndex = 0;
const runIndex = 0;
const connectionInputData: INodeExecutionData[] =
runExecutionData.resultData.runData.Node1[0]!.data!.main[0]!;
runExecutionData.resultData.runData.Node1[0].data!.main[0]!;
const parameterName = 'values';
const parameterValue = nodes.find((node) => node.name === activeNodeName)!.parameters[