@lokalise/polyglot-sdk 21.0.0 → 21.0.2
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/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/sdk/helpers/removeUnicodeNullCharacters.d.ts +1 -0
- package/dist/sdk/helpers/removeUnicodeNullCharacters.js +4 -0
- package/dist/sdk/helpers/removeUnicodeNullCharacters.js.map +1 -0
- package/dist/sdk/schemas/common/commonSchemas.d.ts +19 -4
- package/dist/sdk/schemas/common/commonSchemas.js +23 -5
- package/dist/sdk/schemas/common/commonSchemas.js.map +1 -1
- package/dist/sdk/schemas/common/translationContextSchemas.d.ts +19 -19
- package/dist/sdk/schemas/common/translationContextSchemas.js +16 -8
- package/dist/sdk/schemas/common/translationContextSchemas.js.map +1 -1
- package/dist/sdk/schemas/lqa/commonSchemas.d.ts +330 -0
- package/dist/sdk/schemas/lqa/commonSchemas.js +69 -0
- package/dist/sdk/schemas/lqa/commonSchemas.js.map +1 -1
- package/dist/sdk/schemas/lqa/lqaAsyncSchemas.d.ts +118 -213
- package/dist/sdk/schemas/lqa/lqaAsyncSchemas.js +3 -51
- package/dist/sdk/schemas/lqa/lqaAsyncSchemas.js.map +1 -1
- package/dist/sdk/schemas/lqa/lqaSyncSchemas.d.ts +118 -214
- package/dist/sdk/schemas/lqa/lqaSyncSchemas.js +3 -51
- package/dist/sdk/schemas/lqa/lqaSyncSchemas.js.map +1 -1
- package/dist/sdk/schemas/translation/generateVariants.d.ts +15 -15
- package/dist/sdk/schemas/translation/generateVariants.js +7 -1
- package/dist/sdk/schemas/translation/generateVariants.js.map +1 -1
- package/dist/sdk/schemas/translation/rewriteTextSchemas.d.ts +156 -28
- package/dist/sdk/schemas/translation/rewriteTextSchemas.js +10 -3
- package/dist/sdk/schemas/translation/rewriteTextSchemas.js.map +1 -1
- package/dist/sdk/schemas/translation/sharedSchemas.d.ts +17 -18
- package/dist/sdk/schemas/translation/sharedSchemas.js +23 -24
- package/dist/sdk/schemas/translation/sharedSchemas.js.map +1 -1
- package/dist/sdk/schemas/translation/translateAsyncSchemas.d.ts +13 -13
- package/dist/sdk/schemas/translation/translateAsyncSchemas.js +2 -2
- package/dist/sdk/schemas/translation/translateAsyncSchemas.js.map +1 -1
- package/dist/sdk/schemas/translation/translateSyncSchemas.d.ts +252 -14
- package/dist/sdk/schemas/translation/translateSyncSchemas.js +11 -3
- package/dist/sdk/schemas/translation/translateSyncSchemas.js.map +1 -1
- package/dist/sdk/schemas/translation/translateTextSegmentSchemas.d.ts +11 -11
- package/dist/sdk/schemas/translation/translateTextSegmentSchemas.js +8 -7
- package/dist/sdk/schemas/translation/translateTextSegmentSchemas.js.map +1 -1
- package/package.json +6 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokalise/polyglot-sdk",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.2",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Lokalise",
|
|
6
6
|
"url": "https://lokalise.com/"
|
|
@@ -33,20 +33,19 @@
|
|
|
33
33
|
"test:coverage": "npm test -- --coverage",
|
|
34
34
|
"test:ci": "npm run test:coverage",
|
|
35
35
|
"package-version": "echo $npm_package_version",
|
|
36
|
-
"
|
|
37
|
-
"postversion": "biome check --write package.json && git add package.json"
|
|
36
|
+
"postversion": "biome check --write package.json"
|
|
38
37
|
},
|
|
39
38
|
"dependencies": {
|
|
40
39
|
"@lokalise/backend-http-client": "^5.0.0",
|
|
41
40
|
"@lokalise/id-utils": "^3.0.1",
|
|
42
41
|
"@lokalise/node-core": "^14.1.0",
|
|
43
|
-
"@lokalise/non-translatable-markup": "^3.
|
|
42
|
+
"@lokalise/non-translatable-markup": "^3.1.0",
|
|
44
43
|
"@lokalise/supported-languages": "^3.1.0",
|
|
45
44
|
"@lokalise/zod-extras": "^2.1.0",
|
|
46
45
|
"html-escaper": "^3.0.3",
|
|
47
46
|
"undici": "^7.10.0",
|
|
48
47
|
"undici-retry": "^6.0.0",
|
|
49
|
-
"zod": "^3.25.
|
|
48
|
+
"zod": "^3.25.67"
|
|
50
49
|
},
|
|
51
50
|
"peerDependencies": {
|
|
52
51
|
"@lokalise/fastify-extras": ">=27.0.0"
|
|
@@ -58,8 +57,8 @@
|
|
|
58
57
|
"@lokalise/fastify-extras": "^27.3.0",
|
|
59
58
|
"@lokalise/tsconfig": "^1.1.0",
|
|
60
59
|
"@types/html-escaper": "^3.0.4",
|
|
61
|
-
"@types/node": "^
|
|
62
|
-
"@vitest/coverage-v8": "^3.2.
|
|
60
|
+
"@types/node": "^24.0.10",
|
|
61
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
63
62
|
"auto-changelog": "^2.5.0",
|
|
64
63
|
"mockttp": "^3.17.1",
|
|
65
64
|
"rimraf": "^6.0.1",
|