n8n-core 2.27.2 → 2.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/binary-data/azure-blob/azure-blob.config.d.ts +8 -0
- package/dist/binary-data/azure-blob/azure-blob.config.js +52 -0
- package/dist/binary-data/azure-blob/azure-blob.config.js.map +1 -0
- package/dist/binary-data/azure-blob/azure-blob.service.ee.d.ts +16 -0
- package/dist/binary-data/azure-blob/azure-blob.service.ee.js +101 -0
- package/dist/binary-data/azure-blob/azure-blob.service.ee.js.map +1 -0
- package/dist/build.tsbuildinfo +1 -1
- package/dist/credentials.d.ts +2 -2
- package/dist/credentials.js +1 -1
- package/dist/errors/disallowed-filepath.error.d.ts +2 -2
- package/dist/errors/disallowed-filepath.error.js +3 -3
- package/dist/errors/disallowed-filepath.error.js.map +1 -1
- package/dist/errors/error-reporter.d.ts +2 -1
- package/dist/errors/error-reporter.js +7 -2
- package/dist/errors/error-reporter.js.map +1 -1
- package/dist/errors/file-not-found.error.d.ts +2 -2
- package/dist/errors/file-not-found.error.js +3 -3
- package/dist/errors/file-not-found.error.js.map +1 -1
- package/dist/errors/invalid-execution-metadata.error.d.ts +2 -2
- package/dist/errors/invalid-execution-metadata.error.js +2 -2
- package/dist/errors/invalid-execution-metadata.error.js.map +1 -1
- package/dist/errors/invalid-manager.error.d.ts +2 -2
- package/dist/errors/invalid-manager.error.js +2 -2
- package/dist/errors/invalid-manager.error.js.map +1 -1
- package/dist/execution-engine/active-workflow-triggers.d.ts +3 -0
- package/dist/execution-engine/active-workflow-triggers.js +31 -5
- package/dist/execution-engine/active-workflow-triggers.js.map +1 -1
- package/dist/execution-engine/node-execution-context/base-execute-context.js +3 -1
- package/dist/execution-engine/node-execution-context/base-execute-context.js.map +1 -1
- package/dist/execution-engine/node-execution-context/credentials-test-context.d.ts +2 -2
- package/dist/execution-engine/node-execution-context/credentials-test-context.js +2 -2
- package/dist/execution-engine/node-execution-context/credentials-test-context.js.map +1 -1
- package/dist/execution-engine/node-execution-context/index.d.ts +0 -1
- package/dist/execution-engine/node-execution-context/index.js +1 -3
- package/dist/execution-engine/node-execution-context/index.js.map +1 -1
- package/dist/execution-engine/node-execution-context/utils/create-node-as-tool.d.ts +3 -1
- package/dist/execution-engine/node-execution-context/utils/create-node-as-tool.js +5 -2
- package/dist/execution-engine/node-execution-context/utils/create-node-as-tool.js.map +1 -1
- package/dist/execution-engine/node-execution-context/utils/get-input-connection-data.js +2 -0
- package/dist/execution-engine/node-execution-context/utils/get-input-connection-data.js.map +1 -1
- package/dist/execution-engine/node-execution-context/utils/request-helpers/factory.js +1 -0
- package/dist/execution-engine/node-execution-context/utils/request-helpers/factory.js.map +1 -1
- package/dist/execution-engine/node-execution-context/utils/request-helpers/legacy-request-adapter.d.ts +0 -3
- package/dist/execution-engine/node-execution-context/utils/request-helpers/legacy-request-adapter.js +9 -289
- package/dist/execution-engine/node-execution-context/utils/request-helpers/legacy-request-adapter.js.map +1 -1
- package/dist/execution-engine/node-execution-context/webhook-context.d.ts +3 -1
- package/dist/execution-engine/node-execution-context/webhook-context.js +26 -1
- package/dist/execution-engine/node-execution-context/webhook-context.js.map +1 -1
- package/dist/observability/index.d.ts +1 -0
- package/dist/observability/index.js +5 -1
- package/dist/observability/index.js.map +1 -1
- package/dist/observability/tracing/span-sampling.d.ts +4 -0
- package/dist/observability/tracing/span-sampling.js +61 -0
- package/dist/observability/tracing/span-sampling.js.map +1 -0
- package/dist/storage.config.d.ts +3 -3
- package/dist/storage.config.js +2 -2
- package/dist/storage.config.js.map +1 -1
- package/package.json +20 -14
- package/dist/errors/abstract/binary-data.error.d.ts +0 -3
- package/dist/errors/abstract/binary-data.error.js +0 -8
- package/dist/errors/abstract/binary-data.error.js.map +0 -1
- package/dist/errors/abstract/filesystem.error.d.ts +0 -4
- package/dist/errors/abstract/filesystem.error.js +0 -11
- package/dist/errors/abstract/filesystem.error.js.map +0 -1
package/dist/storage.config.js
CHANGED
|
@@ -20,9 +20,9 @@ const node_path_1 = __importDefault(require("node:path"));
|
|
|
20
20
|
const zod_1 = require("zod");
|
|
21
21
|
const instance_settings_1 = require("./instance-settings");
|
|
22
22
|
const storage_path_conflict_error_1 = require("./storage-path-conflict.error");
|
|
23
|
-
exports.EXECUTION_DATA_STORAGE_MODES = ['database', 'filesystem', 's3'];
|
|
23
|
+
exports.EXECUTION_DATA_STORAGE_MODES = ['database', 'filesystem', 's3', 'azure'];
|
|
24
24
|
const modeSchema = zod_1.z.enum(exports.EXECUTION_DATA_STORAGE_MODES);
|
|
25
|
-
const MODE_TAGS = { database: 'db', filesystem: 'fs', s3: 's3' };
|
|
25
|
+
const MODE_TAGS = { database: 'db', filesystem: 'fs', s3: 's3', azure: 'az' };
|
|
26
26
|
let StorageConfig = class StorageConfig {
|
|
27
27
|
get modeTag() {
|
|
28
28
|
return MODE_TAGS[this.mode];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storage.config.js","sourceRoot":"","sources":["../src/storage.config.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,wDAA6C;AAC7C,wCAA0C;AAC1C,qCAAiD;AACjD,0DAA6B;AAC7B,6BAAwB;AAExB,2DAAuD;AACvD,+EAAiE;AAEpD,QAAA,4BAA4B,GAAG,CAAC,UAAU,EAAE,YAAY,EAAE,IAAI,CAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"storage.config.js","sourceRoot":"","sources":["../src/storage.config.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,wDAA6C;AAC7C,wCAA0C;AAC1C,qCAAiD;AACjD,0DAA6B;AAC7B,6BAAwB;AAExB,2DAAuD;AACvD,+EAAiE;AAEpD,QAAA,4BAA4B,GAAG,CAAC,UAAU,EAAE,YAAY,EAAE,IAAI,EAAE,OAAO,CAAU,CAAC;AAE/F,MAAM,UAAU,GAAG,OAAC,CAAC,IAAI,CAAC,oCAA4B,CAAC,CAAC;AAExD,MAAM,SAAS,GAAG,EAAE,QA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package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.28.0",
|
|
4
4
|
"description": "Core functionality of n8n",
|
|
5
5
|
"main": "dist/index",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
"LICENSE_EE.md"
|
|
18
18
|
],
|
|
19
19
|
"devDependencies": {
|
|
20
|
+
"@n8n/typeorm": "0.3.20-17",
|
|
20
21
|
"@types/express": "^5.0.1",
|
|
21
22
|
"@types/jsonwebtoken": "9.0.10",
|
|
22
23
|
"@types/lodash": "4.17.17",
|
|
@@ -25,30 +26,32 @@
|
|
|
25
26
|
"@types/xml2js": "^0.4.14",
|
|
26
27
|
"@vitest/coverage-v8": "4.1.1",
|
|
27
28
|
"jest-mock-extended": "^3.0.4",
|
|
29
|
+
"nock": "14.0.14",
|
|
30
|
+
"reflect-metadata": "0.2.2",
|
|
28
31
|
"vitest": "^4.1.1",
|
|
29
32
|
"vitest-mock-extended": "^3.1.0",
|
|
30
|
-
"zod": "3.25.67",
|
|
31
|
-
"@n8n/playwright-janitor": "0.1.0",
|
|
32
33
|
"@n8n/typescript-config": "1.6.0",
|
|
33
34
|
"@n8n/vitest-config": "1.15.0",
|
|
34
|
-
"@n8n/
|
|
35
|
+
"@n8n/playwright-janitor": "0.1.0"
|
|
35
36
|
},
|
|
36
37
|
"peerDependencies": {
|
|
37
38
|
"zod": "3.25.67"
|
|
38
39
|
},
|
|
39
40
|
"dependencies": {
|
|
40
41
|
"@aws-sdk/client-s3": "3.808.0",
|
|
42
|
+
"@azure/identity": "4.13.0",
|
|
43
|
+
"@azure/storage-blob": "^12.32.0",
|
|
41
44
|
"@langchain/core": "1.1.41",
|
|
42
45
|
"@sentry/node": "^10.55.0",
|
|
43
46
|
"@sentry/node-native": "^10.55.0",
|
|
44
47
|
"@sentry/profiling-node": "^10.55.0",
|
|
45
|
-
"axios": "1.
|
|
48
|
+
"axios": "1.18.0",
|
|
46
49
|
"callsites": "3.1.0",
|
|
47
50
|
"chardet": "2.0.0",
|
|
48
51
|
"cron": "4.4.0",
|
|
49
52
|
"fast-glob": "3.2.12",
|
|
50
53
|
"file-type": "16.5.4",
|
|
51
|
-
"form-data": "4.0.
|
|
54
|
+
"form-data": "4.0.6",
|
|
52
55
|
"htmlparser2": "^10.0.0",
|
|
53
56
|
"jsonwebtoken": "9.0.3",
|
|
54
57
|
"lodash": "4.18.1",
|
|
@@ -63,15 +66,18 @@
|
|
|
63
66
|
"uuid": "11.1.1",
|
|
64
67
|
"winston": "3.14.2",
|
|
65
68
|
"xml2js": "0.6.2",
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"@n8n/backend-
|
|
69
|
-
"@n8n/
|
|
70
|
-
"@n8n/
|
|
69
|
+
"zod": "3.25.67",
|
|
70
|
+
"qs": "6.15.2",
|
|
71
|
+
"@n8n/backend-common": "1.28.0",
|
|
72
|
+
"@n8n/backend-network": "1.2.0",
|
|
73
|
+
"@n8n/client-oauth2": "1.10.0",
|
|
74
|
+
"@n8n/config": "2.26.0",
|
|
75
|
+
"@n8n/decorators": "1.28.0",
|
|
71
76
|
"@n8n/di": "0.14.0",
|
|
72
|
-
"@n8n/
|
|
73
|
-
"n8n
|
|
74
|
-
"@n8n/workflow-sdk": "0.
|
|
77
|
+
"@n8n/constants": "0.28.0",
|
|
78
|
+
"@n8n/errors": "0.10.0",
|
|
79
|
+
"@n8n/workflow-sdk": "0.21.0",
|
|
80
|
+
"n8n-workflow": "2.28.0"
|
|
75
81
|
},
|
|
76
82
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
77
83
|
"homepage": "https://n8n.io",
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BinaryDataError = void 0;
|
|
4
|
-
const errors_1 = require("@n8n/errors");
|
|
5
|
-
class BinaryDataError extends errors_1.ApplicationError {
|
|
6
|
-
}
|
|
7
|
-
exports.BinaryDataError = BinaryDataError;
|
|
8
|
-
//# sourceMappingURL=binary-data.error.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"binary-data.error.js","sourceRoot":"","sources":["../../../src/errors/abstract/binary-data.error.ts"],"names":[],"mappings":";;;AAAA,wCAA+C;AAE/C,MAAsB,eAAgB,SAAQ,yBAAgB;CAAG;AAAjE,0CAAiE"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FileSystemError = void 0;
|
|
4
|
-
const errors_1 = require("@n8n/errors");
|
|
5
|
-
class FileSystemError extends errors_1.ApplicationError {
|
|
6
|
-
constructor(message, filePath) {
|
|
7
|
-
super(message, { extra: { filePath } });
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
exports.FileSystemError = FileSystemError;
|
|
11
|
-
//# sourceMappingURL=filesystem.error.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"filesystem.error.js","sourceRoot":"","sources":["../../../src/errors/abstract/filesystem.error.ts"],"names":[],"mappings":";;;AAAA,wCAA+C;AAE/C,MAAsB,eAAgB,SAAQ,yBAAgB;IAC7D,YAAY,OAAe,EAAE,QAAgB;QAC5C,KAAK,CAAC,OAAO,EAAE,EAAE,KAAK,EAAE,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;IACzC,CAAC;CACD;AAJD,0CAIC"}
|