@lokalise/tm-sdk 3.0.0 → 4.0.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.
Files changed (1) hide show
  1. package/package.json +17 -18
package/package.json CHANGED
@@ -1,15 +1,13 @@
1
1
  {
2
2
  "name": "@lokalise/tm-sdk",
3
- "version": "3.0.0",
3
+ "version": "4.0.0",
4
4
  "type": "module",
5
5
  "author": {
6
6
  "name": "Lokalise",
7
7
  "url": "https://lokalise.com/"
8
8
  },
9
9
  "description": "REST API client for the Lokalise Translation Memory service",
10
- "files": [
11
- "dist/**"
12
- ],
10
+ "files": ["dist/**"],
13
11
  "license": "Apache-2.0",
14
12
  "repository": {
15
13
  "type": "git",
@@ -26,32 +24,33 @@
26
24
  "lint": "biome check && tsc --noEmit",
27
25
  "lint:fix": "biome check --write",
28
26
  "test": "vitest",
29
- "test:coverage": "npm test -- --coverage",
30
- "test:ci": "npm run test:coverage",
27
+ "test:coverage": "node --run test -- --coverage",
28
+ "test:ci": "node --run test:coverage",
31
29
  "package-version": "echo $npm_package_version",
32
- "prepublishOnly": "npm run build:publish"
30
+ "prepublishOnly": "node --run build:publish",
31
+ "postversion": "biome check --write package.json"
33
32
  },
34
33
  "dependencies": {
35
34
  "@lokalise/api-common": "^3.2.5",
36
- "@lokalise/backend-http-client": "^2.4.0",
35
+ "@lokalise/backend-http-client": "^3.0.0",
37
36
  "@lokalise/id-utils": "^2.2.0",
38
- "@lokalise/node-core": "^13.0.2",
39
- "undici": "^6.19.8",
40
- "undici-retry": "^5.0.3"
37
+ "@lokalise/node-core": "^13.3.0",
38
+ "undici": "^7.2.0",
39
+ "undici-retry": "^6.0.0"
41
40
  },
42
41
  "peerDependencies": {
43
- "zod": "^3.23.8"
42
+ "zod": "^3.24.1"
44
43
  },
45
44
  "devDependencies": {
46
45
  "@biomejs/biome": "^1.9.4",
47
46
  "@lokalise/biome-config": "^1.5.0",
48
- "@lokalise/fastify-extras": "^18.0.0",
49
- "@types/node": "22.7.7",
50
- "@vitest/coverage-v8": "^2.1.3",
51
- "mockttp": "^3.15.3",
47
+ "@lokalise/fastify-extras": "^25.5.0",
48
+ "@types/node": "22.10.5",
49
+ "@vitest/coverage-v8": "^2.1.8",
50
+ "mockttp": "^3.15.5",
52
51
  "shx": "^0.3.4",
53
- "typescript": "5.6.3",
52
+ "typescript": "5.7.2",
54
53
  "vitest": "^2.1.3",
55
- "zod": "^3.23.8"
54
+ "zod": "^3.24.1"
56
55
  }
57
56
  }