mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 19:32:15 +00:00
chore: Upgrade to TypeScript 5.6 (#10822)
This commit is contained in:
@@ -73,7 +73,7 @@
|
|||||||
"semver": "^7.5.4",
|
"semver": "^7.5.4",
|
||||||
"tslib": "^2.6.2",
|
"tslib": "^2.6.2",
|
||||||
"tsconfig-paths": "^4.2.0",
|
"tsconfig-paths": "^4.2.0",
|
||||||
"typescript": "^5.5.2",
|
"typescript": "^5.6.2",
|
||||||
"ws": ">=8.17.1"
|
"ws": ">=8.17.1"
|
||||||
},
|
},
|
||||||
"patchedDependencies": {
|
"patchedDependencies": {
|
||||||
|
|||||||
@@ -115,6 +115,7 @@ export class E2EController {
|
|||||||
) {
|
) {
|
||||||
license.isFeatureEnabled = (feature: BooleanLicenseFeature) =>
|
license.isFeatureEnabled = (feature: BooleanLicenseFeature) =>
|
||||||
this.enabledFeatures[feature] ?? false;
|
this.enabledFeatures[feature] ?? false;
|
||||||
|
// @ts-expect-error Overriding method
|
||||||
// eslint-disable-next-line @typescript-eslint/unbound-method
|
// eslint-disable-next-line @typescript-eslint/unbound-method
|
||||||
license.getFeatureValue<NumericLicenseFeature> = (feature: NumericLicenseFeature) =>
|
license.getFeatureValue<NumericLicenseFeature> = (feature: NumericLicenseFeature) =>
|
||||||
this.numericFeatures[feature] ?? UNLIMITED_LICENSE_QUOTA;
|
this.numericFeatures[feature] ?? UNLIMITED_LICENSE_QUOTA;
|
||||||
|
|||||||
@@ -2926,6 +2926,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
// @ts-expect-error Deprecated file
|
||||||
// eslint-disable-next-line no-constant-binary-expression
|
// eslint-disable-next-line no-constant-binary-expression
|
||||||
!(this.workflowPermissions.update ?? this.projectPermissions.workflow.update) ??
|
!(this.workflowPermissions.update ?? this.projectPermissions.workflow.update) ??
|
||||||
this.isReadOnlyRoute ??
|
this.isReadOnlyRoute ??
|
||||||
@@ -2965,6 +2966,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
|
// @ts-expect-error Deprecated file
|
||||||
// eslint-disable-next-line no-constant-binary-expression
|
// eslint-disable-next-line no-constant-binary-expression
|
||||||
!(this.workflowPermissions.update ?? this.projectPermissions.workflow.update) ??
|
!(this.workflowPermissions.update ?? this.projectPermissions.workflow.update) ??
|
||||||
this.isReadOnlyRoute ??
|
this.isReadOnlyRoute ??
|
||||||
|
|||||||
852
pnpm-lock.yaml
generated
852
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user