mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-12 02:19:43 +00:00
refactor(core): Internalize cipher primitives (no-changelog) (#39148)
This commit is contained in:
@@ -120,20 +120,6 @@
|
||||
"after": "error",
|
||||
"reason": "package moved from base to the backend layer, which carries the network boundary"
|
||||
},
|
||||
{
|
||||
"rule": "n8n-local-rules/no-legacy-cipher-methods",
|
||||
"pkg": "packages/",
|
||||
"before": "off",
|
||||
"after": "error",
|
||||
"reason": "package moved from base to the backend layer, which carries the encryption boundary"
|
||||
},
|
||||
{
|
||||
"rule": "n8n-local-rules/no-misplaced-cipher-primitives",
|
||||
"pkg": "packages/",
|
||||
"before": "off",
|
||||
"after": "error",
|
||||
"reason": "package moved from base to the backend layer, which carries the encryption boundary"
|
||||
},
|
||||
{
|
||||
"rule": "n8n-local-rules/no-deployment-key-delete",
|
||||
"pkg": "packages/",
|
||||
@@ -163,20 +149,6 @@
|
||||
"after": "off",
|
||||
"reason": "runtime-agnostic library moved to base: no Node runtime, no HTTP imports"
|
||||
},
|
||||
{
|
||||
"rule": "n8n-local-rules/no-legacy-cipher-methods",
|
||||
"pkg": "packages/@n8n/utils",
|
||||
"before": "error",
|
||||
"after": "off",
|
||||
"reason": "runtime-agnostic library moved to base"
|
||||
},
|
||||
{
|
||||
"rule": "n8n-local-rules/no-misplaced-cipher-primitives",
|
||||
"pkg": "packages/@n8n/utils",
|
||||
"before": "error",
|
||||
"after": "off",
|
||||
"reason": "runtime-agnostic library moved to base"
|
||||
},
|
||||
{
|
||||
"rule": "n8n-local-rules/no-deployment-key-delete",
|
||||
"pkg": "packages/@n8n/utils",
|
||||
@@ -198,20 +170,6 @@
|
||||
"after": "off",
|
||||
"reason": "pure library moved to base: no Node APIs"
|
||||
},
|
||||
{
|
||||
"rule": "n8n-local-rules/no-legacy-cipher-methods",
|
||||
"pkg": "packages/@n8n/json-schema-to-zod",
|
||||
"before": "error",
|
||||
"after": "off",
|
||||
"reason": "pure library moved to base"
|
||||
},
|
||||
{
|
||||
"rule": "n8n-local-rules/no-misplaced-cipher-primitives",
|
||||
"pkg": "packages/@n8n/json-schema-to-zod",
|
||||
"before": "error",
|
||||
"after": "off",
|
||||
"reason": "pure library moved to base"
|
||||
},
|
||||
{
|
||||
"rule": "n8n-local-rules/no-deployment-key-delete",
|
||||
"pkg": "packages/@n8n/json-schema-to-zod",
|
||||
@@ -233,20 +191,6 @@
|
||||
"after": "off",
|
||||
"reason": "yjs-only library moved to base: no Node APIs"
|
||||
},
|
||||
{
|
||||
"rule": "n8n-local-rules/no-legacy-cipher-methods",
|
||||
"pkg": "packages/@n8n/crdt",
|
||||
"before": "error",
|
||||
"after": "off",
|
||||
"reason": "yjs-only library moved to base"
|
||||
},
|
||||
{
|
||||
"rule": "n8n-local-rules/no-misplaced-cipher-primitives",
|
||||
"pkg": "packages/@n8n/crdt",
|
||||
"before": "error",
|
||||
"after": "off",
|
||||
"reason": "yjs-only library moved to base"
|
||||
},
|
||||
{
|
||||
"rule": "n8n-local-rules/no-deployment-key-delete",
|
||||
"pkg": "packages/@n8n/crdt",
|
||||
|
||||
@@ -57,20 +57,6 @@
|
||||
"impact": "The WorkflowEntity node-write seal is unenforced in migrated packages. None of the three spike packages depends on @n8n/db, but this blocks any package that does.",
|
||||
"replacement": "Move this type-aware functional guardrail to @n8n/code-health in the follow-up PR."
|
||||
},
|
||||
"n8n-local-rules/no-legacy-cipher-methods": {
|
||||
"layer": "backend",
|
||||
"native": null,
|
||||
"reason": "Needs type information. Oxlint gives jsPlugin rules an empty parserServices object, so the rule cannot resolve a Cipher receiver.",
|
||||
"impact": "The deprecated Cipher.encrypt and Cipher.decrypt APIs are not guarded by an Oxlint-only package.",
|
||||
"replacement": "Move this type-aware functional guardrail to @n8n/code-health in the follow-up PR."
|
||||
},
|
||||
"n8n-local-rules/no-misplaced-cipher-primitives": {
|
||||
"layer": "backend",
|
||||
"native": null,
|
||||
"reason": "Needs type information. Oxlint gives jsPlugin rules an empty parserServices object, so the rule cannot resolve the imported cipher primitive.",
|
||||
"impact": "Raw cipher primitive placement is not guarded by an Oxlint-only package.",
|
||||
"replacement": "Move this type-aware functional guardrail to @n8n/code-health in the follow-up PR."
|
||||
},
|
||||
"n8n-local-rules/no-deployment-key-delete": {
|
||||
"layer": "backend",
|
||||
"native": null,
|
||||
|
||||
Reference in New Issue
Block a user