Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

deepl-node

Package Overview
Dependencies
Maintainers
0
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deepl-node - npm Package Compare versions

Comparing version 1.13.0 to 1.13.1

14

CHANGELOG.md

@@ -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

2

dist/index.js

@@ -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.

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc