@n8n/backend-module-insights 0.3.2 → 0.4.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.
@@ -31,9 +31,9 @@ function getDateRangesSelectQuery({ dbType, prevStartDateTime, startDateTime, en
31
31
  const endStr = endDateTime.toSQL({ includeZone: false, includeOffset: false });
32
32
  if (dbType === 'postgresdb') {
33
33
  return (0, db_1.sql) `SELECT
34
- CAST('${prevStartStr}' AS TIMESTAMP) AS prev_start_date,
35
- CAST('${startStr}' AS TIMESTAMP) AS start_date,
36
- CAST('${endStr}' AS TIMESTAMP) AS end_date
34
+ CAST('${prevStartStr}' AS TIMESTAMP) AT TIME ZONE 'UTC' AS prev_start_date,
35
+ CAST('${startStr}' AS TIMESTAMP) AT TIME ZONE 'UTC' AS start_date,
36
+ CAST('${endStr}' AS TIMESTAMP) AT TIME ZONE 'UTC' AS end_date
37
37
  `;
38
38
  }
39
39
  return (0, db_1.sql) `SELECT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@n8n/backend-module-insights",
3
- "version": "0.3.2",
3
+ "version": "0.4.0",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -45,26 +45,26 @@
45
45
  "LICENSE_EE.md"
46
46
  ],
47
47
  "dependencies": {
48
- "@n8n/api-types": "1.45.2",
49
- "@n8n/backend-common": "1.45.2",
50
- "@n8n/backend-services": "1.5.2",
51
- "@n8n/config": "2.43.1",
52
- "@n8n/constants": "0.43.0",
53
- "@n8n/db": "1.45.2",
54
- "@n8n/decorators": "1.45.2",
48
+ "@n8n/api-types": "1.46.0",
49
+ "@n8n/backend-common": "1.46.0",
50
+ "@n8n/backend-services": "1.6.0",
51
+ "@n8n/config": "2.44.0",
52
+ "@n8n/constants": "0.44.0",
53
+ "@n8n/db": "1.46.0",
54
+ "@n8n/decorators": "1.46.0",
55
55
  "@n8n/di": "0.17.0",
56
- "@n8n/errors": "0.15.0",
57
- "@n8n/typeorm": "0.12.0",
58
- "@n8n/utils": "1.52.0",
56
+ "@n8n/errors": "0.16.0",
57
+ "@n8n/typeorm": "0.13.0",
58
+ "@n8n/utils": "1.53.0",
59
59
  "luxon": "3.7.2",
60
- "n8n-core": "2.45.2",
61
- "n8n-workflow": "2.45.1"
60
+ "n8n-core": "2.46.0",
61
+ "n8n-workflow": "2.46.0"
62
62
  },
63
63
  "peerDependencies": {
64
64
  "zod": "3.25.76"
65
65
  },
66
66
  "devDependencies": {
67
- "@n8n/backend-test-utils": "1.45.2",
67
+ "@n8n/backend-test-utils": "1.46.0",
68
68
  "@n8n/oxlint-config": "0.0.1",
69
69
  "@n8n/typescript-config": "1.12.0",
70
70
  "@n8n/vitest-config": "1.24.0",
@@ -74,7 +74,7 @@
74
74
  "oxlint": "1.78.0",
75
75
  "oxlint-tsgolint": "^0.21.1",
76
76
  "typescript": "7.0.2",
77
- "vite": "^8.0.2",
77
+ "vite": "^8.1.6",
78
78
  "vitest": "5.0.1",
79
79
  "vitest-mock-extended": "^3.1.0",
80
80
  "zod": "3.25.76"