Skip to content

Commit 2a21534

Browse files
chore(deps): update dependency iconv-lite to ^0.7.0 (#593)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [iconv-lite](https://redirect.github.com/pillarjs/iconv-lite) | [`^0.6.3` → `^0.7.0`](https://renovatebot.com/diffs/npm/iconv-lite/0.6.3/0.7.2) | ![age](https://developer.mend.io/api/mc/badges/age/npm/iconv-lite/0.7.2?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/iconv-lite/0.6.3/0.7.2?slim=true) | --- ### Release Notes <details> <summary>pillarjs/iconv-lite (iconv-lite)</summary> ### [`v0.7.2`](https://redirect.github.com/pillarjs/iconv-lite/blob/HEAD/Changelog.md#072) [Compare Source](https://redirect.github.com/pillarjs/iconv-lite/compare/v0.7.1...v0.7.2) ##### 🐞 Bug fixes - Correction of CommonJS exports in TypeScript definitions - by [@&#8203;plbstl](https://redirect.github.com/plbstl) in [#&#8203;366](https://redirect.github.com/pillarjs/iconv-lite/pull/366) Fixed the TypeScript definitions to correctly represent the CommonJS exports of the library. This resolves issues where consumers using TypeScript would encounter errors due to incorrect type definitions that did not align with the actual module exports. ### [`v0.7.1`](https://redirect.github.com/pillarjs/iconv-lite/blob/HEAD/Changelog.md#071) [Compare Source](https://redirect.github.com/pillarjs/iconv-lite/compare/v0.7.0...v0.7.1) ##### 🚀 Improvements - types: improve type definitions and add missing APIs - by [@&#8203;plbstl](https://redirect.github.com/plbstl) and [@&#8203;bjohansebas](https://redirect.github.com/bjohansebas) in [#&#8203;330](https://redirect.github.com/pillarjs/iconv-lite/pull/330) ### [`v0.7.0`](https://redirect.github.com/pillarjs/iconv-lite/blob/HEAD/Changelog.md#070) [Compare Source](https://redirect.github.com/pillarjs/iconv-lite/compare/v0.6.3...v0.7.0) ##### 🐞 Bug fixes - Handle split surrogate pairs when encoding utf8 - by [@&#8203;yosion-p](https://redirect.github.com/yosion-p) and [@&#8203;ashtuchkin](https://redirect.github.com/ashtuchkin) in [#&#8203;282](https://redirect.github.com/ashtuchkin/iconv-lite/pull/282): Handle a case where streaming utf8 encoder (converting js strings -> buffers) encounters surrogate pairs split between chunks (last character of one chunk is high surrogate and first character of the next chunk is a low surrogate). - Avoid false positives in encodingExists by using objects without a prototype - by [@&#8203;bjohansebas](https://redirect.github.com/bjohansebas) in [#&#8203;328](https://redirect.github.com/ashtuchkin/iconv-lite/pull/328) The encodingExists method could return incorrect results if the lookup matched properties inherited from the prototype of the object that stores the encodings, such as constructor and others. This change replaces that object with one that has no prototype, ensuring that only explicitly defined valid encodings in the library are considered. In addition, the fix is applied to the internal cache system to avoid the same kind of false positives ##### 🚀 Improvements - Make explicit that decode() method supports Uint8Array input - by [@&#8203;jardicc](https://redirect.github.com/jardicc) in [#&#8203;271](https://redirect.github.com/ashtuchkin/iconv-lite/pull/271) - Remove compatibility check for StringDecoder.end method - by [@&#8203;bjohansebas](https://redirect.github.com/bjohansebas) in [#&#8203;331](https://redirect.github.com/ashtuchkin/iconv-lite/pull/331) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/node-modules/urllib). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44MS4yIiwidXBkYXRlZEluVmVyIjoiNDMuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 32fa7e2 commit 2a21534

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"@vitest/coverage-v8": "^4.1.0",
9393
"busboy": "^1.6.0",
9494
"cross-env": "^10.1.0",
95-
"iconv-lite": "^0.6.3",
95+
"iconv-lite": "^0.7.0",
9696
"proxy": "^1.0.2",
9797
"selfsigned": "^3.0.1",
9898
"tar-stream": "^2.2.0",

pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)