Repository navigation
fix(deps): update dependency deepl-node to v1.28.1 - #972
Merged
Merged
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
renovate
Bot
dismissed stale reviews from renovate-approve[bot] and renovate-approve-2[bot]
via
October 17, 2026 00:26
97d12db
renovate
Bot
force-pushed
the
renovate/deepl-node-1.x
branch
from
October 17, 2026 00:26
7695662 to
97d12db
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.22.0→1.28.1Release Notes
DeepLcom/deepl-node (deepl-node)
v1.28.1Compare Source
Security
axiosto^1.20.0andadm-zipto^0.6.1to resolvehigh-severity npm audit advisories in production dependencies.
v1.28.0Compare Source
Added
via the
glossaryIdsoption (up to 5 glossary IDs) inTranslateTextOptionsand
DocumentTranslateOptions.styleRuleoption in
DocumentTranslateOptions.translationMemoryandtranslationMemoryThresholdoptions inDocumentTranslateOptions.getTranslationMemory(),listTranslationMemorySegments(),deleteTranslationMemory(),createTranslationMemoryImport(),uploadTranslationMemoryFile(),createTranslationMemoryExport(),getTranslationMemoryJob(),isTranslationMemoryJobComplete(), anddownloadTranslationMemoryExport(), along with theimportTranslationMemoryFromFilepath()andexportTranslationMemoryToFilepath()convenience functions that create thejob, transfer the TMX file, and wait for the job to finish. Because the API
detects the file upload asynchronously, an import job keeps reporting
awaiting_inputfor a while after the upload; the wait loop polls throughthat status and accepts an optional
timeoutMsto bound the wait.TranslationMemorySegments,TranslationMemorySegment,TranslationMemoryTargetSegment,TranslationMemorySegmentsOptions,TranslationMemoryImport,TranslationMemoryExport,TranslationMemoryJob,TranslationMemoryJobResult, andTranslationMemoryJobStatustypes.creationTimeandupdatedTimefields toTranslationMemoryInfo.Changed
go through a separate HTTP client that is constructed without the DeepL
Authorizationheader, instead of stripping it per request. Headers supplied via
TranslatorOptions.headersare no longer sent to those URLs either — only the
User-Agentand the per-requestContent-Type. Proxy settings are unaffected.Fixed
toStringorSymbol.toPrimitive.Security
axiosto^1.19.0,form-datato^3.0.5, andadm-zipto^0.6.0to resolve high-severity npm audit advisories in productiondependencies.
v1.27.0Compare Source
Changed
uuiddependency with Node's built-incrypto.randomUUID().Resolves GHSA-w5hq-g745-h8pq (
uuid <14.0.0) and removes a runtimedependency.
>=12.0to>=14.17. Node 12 reachedend of life in April 2022, and
crypto.randomUUID()is available fromNode 14.17 onward.
Fixed
ECONNRESET,EPIPE, orEAI_AGAINare nowretried. Previously these were classified as non-retryable, surfacing
transient transport failures (e.g. stale keep-alive sockets) as hard errors
on the first attempt. Behavior now aligns with deepl-python.
Security
v1.26.0Compare Source
Added
translationMemoryandtranslationMemoryThresholdoptions intranslateText().listTranslationMemories()method to theDeepLClientclass forlisting available translation memories.
Changed
axiosdependency due to CVE-2025-62718Fixed
v1.25.0Compare Source
Added
jsonBodyoption toSendRequestOptions, enabling JSON-encoded API calls.DeepLClientclass:createStyleRule(),getStyleRule(),updateStyleRuleName(),updateStyleRuleConfiguredRules(), anddeleteStyleRule().DeepLClientclass:createStyleRuleCustomInstruction(),getStyleRuleCustomInstruction(),updateStyleRuleCustomInstruction(),and
deleteStyleRuleCustomInstruction().Please refer to the README for usage instructions.
Changed
since default formality is now automatic.
model_type_usedto be populated when themodel_typeis specified in the request</p>tagNotFoundExceptionerror message by removing the misleading "check server_url" suggestion.axiosdependency due to CVE-2026-25639v1.24.0Compare Source
Added
tagHandlingVersionparameter totranslateText()to specify which version of the tag handling algorithm to use. Options arev1andv2.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.