@platformatic/sql-mapper 3.4.1 → 3.5.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/package.json CHANGED
@@ -1,50 +1,53 @@
1
1
  {
2
2
  "name": "@platformatic/sql-mapper",
3
- "version": "3.4.1",
3
+ "version": "3.5.0",
4
4
  "description": "A data mapper utility for SQL databases",
5
- "main": "mapper.js",
6
- "types": "mapper.d.ts",
5
+ "main": "index.js",
6
+ "type": "module",
7
+ "types": "index.d.ts",
7
8
  "repository": {
8
9
  "type": "git",
9
10
  "url": "git+https://github.com/platformatic/platformatic.git"
10
11
  },
11
- "author": "Matteo Collina <hello@matteocollina.com>",
12
+ "author": "Platformatic Inc. <oss@platformatic.dev> (https://platformatic.dev)",
12
13
  "license": "Apache-2.0",
13
14
  "bugs": {
14
15
  "url": "https://github.com/platformatic/platformatic/issues"
15
16
  },
16
17
  "homepage": "https://github.com/platformatic/platformatic#readme",
17
18
  "devDependencies": {
18
- "@matteo.collina/tspl": "^0.1.1",
19
- "@opentelemetry/api": "^1.8.0",
20
- "borp": "^0.17.0",
19
+ "@opentelemetry/api": "^1.9.0",
20
+ "cleaner-spec-reporter": "^0.5.0",
21
21
  "eslint": "9",
22
22
  "fastify": "^5.0.0",
23
- "neostandard": "^0.11.1",
24
- "tsd": "^0.31.0",
23
+ "neostandard": "^0.12.0",
24
+ "tsd": "^0.33.0",
25
25
  "typescript": "^5.5.4"
26
26
  },
27
27
  "dependencies": {
28
- "@databases/mysql": "^6.0.0",
28
+ "@databases/mysql": "^7.0.0",
29
29
  "@databases/pg": "^5.5.0",
30
30
  "@databases/sql": "^3.3.0",
31
31
  "@fastify/error": "^4.0.0",
32
32
  "@hapi/topo": "^6.0.2",
33
- "@matteo.collina/sqlite-pool": "^0.4.0",
33
+ "@matteo.collina/sqlite-pool": "^0.6.0",
34
34
  "async-cache-dedupe": "^2.1.0",
35
35
  "camelcase": "^6.3.0",
36
36
  "fastify-plugin": "^5.0.0",
37
37
  "inflected": "^2.1.0",
38
- "@platformatic/utils": "3.4.1",
39
- "@platformatic/telemetry": "3.4.1"
38
+ "@platformatic/foundation": "3.5.0",
39
+ "@platformatic/telemetry": "3.5.0"
40
40
  },
41
41
  "tsd": {
42
42
  "directory": "test/types"
43
43
  },
44
+ "engines": {
45
+ "node": ">=22.19.0"
46
+ },
44
47
  "scripts": {
45
48
  "lint": "eslint",
46
- "test": "npm run lint && npm run test:typescript && npm run test:postgresql && npm run test:mariadb && npm run test:mysql && npm run test:mysql8 && npm run test:sqlite",
47
- "test:runner": "borp --pattern 'test/**/*.test.{js, mjs}' --concurrency=1 --timeout=180000",
49
+ "test": "npm run test:typescript && npm run test:postgresql && npm run test:mariadb && npm run test:mysql && npm run test:mysql8 && npm run test:sqlite",
50
+ "test:runner": "node --test --test-reporter=cleaner-spec-reporter --test-concurrency=1 --test-timeout=2000000 test/*.test.js test/**/*.test.js",
48
51
  "test:postgresql": "DB=postgresql npm run test:runner",
49
52
  "test:mariadb": "DB=mariadb npm run test:runner",
50
53
  "test:mysql": "DB=mysql npm run test:runner",