deepl-node
Advanced tools
Comparing version 1.13.0 to 1.13.1
@@ -8,2 +8,15 @@ # Changelog | ||
## [1.13.1] - 2024-08-14 | ||
### Added | ||
* Added supported glossary languages: Danish (`'da'`), Norwegian (bokmål) | ||
(`'nb'`), and Swedish (`'sv'`). The corresponding glossary language code | ||
TypeScript types are extended. | ||
Note: older library versions also support the new glossary language pairs, | ||
this update only adds new types. | ||
### Security | ||
* Increase `axios` locked-version due to security | ||
[vulnerability in axios <1.7.3](https://github.com/advisories/GHSA-8hc4-vh64-cxmj) | ||
## [1.13.0] - 2024-04-12 | ||
@@ -241,2 +254,3 @@ ### Added | ||
[1.13.1]: https://github.com/DeepLcom/deepl-node/compare/v1.13.0...v1.13.1 | ||
[1.13.0]: https://github.com/DeepLcom/deepl-node/compare/v1.12.0...v1.13.0 | ||
@@ -243,0 +257,0 @@ [1.12.0]: https://github.com/DeepLcom/deepl-node/compare/v1.11.1...v1.12.0 |
@@ -657,3 +657,3 @@ "use strict"; | ||
constructUserAgentString(sendPlatformInfo, appInfo) { | ||
let libraryInfoString = 'deepl-node/1.13.0'; | ||
let libraryInfoString = 'deepl-node/1.13.1'; | ||
if (sendPlatformInfo) { | ||
@@ -660,0 +660,0 @@ const systemType = os.type(); |
@@ -113,4 +113,4 @@ /** | ||
/** Specifies additional context to influence translations, that is not | ||
* translated itself. Note this is an **alpha feature**: it may be deprecated at | ||
* any time, or incur charges if it becomes generally available. | ||
* translated itself. Characters in the `context` parameter are not counted | ||
* toward billing. | ||
* See the API documentation for more information and example usage. */ | ||
@@ -174,3 +174,3 @@ context?: string; | ||
*/ | ||
export type SourceGlossaryLanguageCode = 'de' | 'en' | 'es' | 'fr' | 'it' | 'ja' | 'nl' | 'pl' | 'pt' | 'ru' | 'zh'; | ||
export type SourceGlossaryLanguageCode = 'da' | 'de' | 'en' | 'es' | 'fr' | 'it' | 'ja' | 'nb' | 'nl' | 'pl' | 'pt' | 'ru' | 'sv' | 'zh'; | ||
/** | ||
@@ -177,0 +177,0 @@ * Language codes that may be used as a target language for glossaries. |
{ | ||
"name": "deepl-node", | ||
"description": "deepl-node is the official DeepL Node.js client library", | ||
"version": "1.13.0", | ||
"version": "1.13.1", | ||
"author": "DeepL SE <open-source@deepl.com> (https://www.deepl.com)", | ||
@@ -23,3 +23,3 @@ "license": "MIT", | ||
"@types/node": ">=12.0", | ||
"axios": "^1.6.4", | ||
"axios": "^1.7.4", | ||
"form-data": "^3.0.0", | ||
@@ -26,0 +26,0 @@ "loglevel": ">=1.6.2" |
@@ -176,4 +176,3 @@ # deepl-node | ||
- `context`: specifies additional context to influence translations, that is not | ||
translated itself. Note this is an **alpha feature**: it may be deprecated at | ||
any time, or incur charges if it becomes generally available. | ||
translated itself. Characters in the `context` parameter are not counted toward billing. | ||
See the [API documentation][api-docs-context-param] for more information and | ||
@@ -180,0 +179,0 @@ example usage. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
127200
512
Updatedaxios@^1.7.4