mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
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:
committed by
GitHub
parent
117b57ccc5
commit
372d5c7d01
@@ -161,7 +161,7 @@ export class Expression {
|
||||
release: process.release,
|
||||
version: process.pid,
|
||||
versions: process.versions,
|
||||
}
|
||||
}
|
||||
: {};
|
||||
|
||||
/**
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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[
|
||||
|
||||
Reference in New Issue
Block a user