Skip to content

Commit e7ba2a5

Browse files
chore(deps): update dependency iconv-lite to ^0.7.0 (#122)
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.5.0` → `^0.7.0`](https://renovatebot.com/diffs/npm/iconv-lite/0.5.2/0.7.3) | ![age](https://developer.mend.io/api/mc/badges/age/npm/iconv-lite/0.7.3?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/iconv-lite/0.5.2/0.7.3?slim=true) | --- ### Release Notes <details> <summary>pillarjs/iconv-lite (iconv-lite)</summary> ### [`v0.7.3`](https://redirect.github.com/pillarjs/iconv-lite/releases/tag/v0.7.3): 0.7.3 [Compare Source](https://redirect.github.com/pillarjs/iconv-lite/compare/v0.7.2...v0.7.3) ##### 🚀 Improvements - Add `iso-8859-8-i` and `iso-8859-8-e` charset aliases - by [@&#8203;baptistejamin](https://redirect.github.com/baptistejamin) in [#&#8203;394](https://redirect.github.com/pillarjs/iconv-lite/pull/394) ##### 🐞 Bug fixes - Fix UTF-32 streaming across chunk boundaries - by [@&#8203;spokodev](https://redirect.github.com/spokodev) and [@&#8203;bjohansebas](https://redirect.github.com/bjohansebas) in [#&#8203;393](https://redirect.github.com/pillarjs/iconv-lite/pull/393) When decoding a UTF-32 stream, a 4-byte code unit split across a chunk boundary was decoded incorrectly, and a truncated trailing unit is now replaced with U+FFFD instead of being dropped. When encoding, a surrogate held over between chunks no longer throws. Whole-buffer `decode`/`encode` were unaffected. #### New Contributors - [@&#8203;baptistejamin](https://redirect.github.com/baptistejamin) made their first contribution in [#&#8203;394](https://redirect.github.com/pillarjs/iconv-lite/pull/394) - [@&#8203;spokodev](https://redirect.github.com/spokodev) made their first contribution in [#&#8203;393](https://redirect.github.com/pillarjs/iconv-lite/pull/393) **Full Changelog**: <pillarjs/iconv-lite@v0.7.2...v0.7.3> ### [`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) ### [`v0.6.3`](https://redirect.github.com/pillarjs/iconv-lite/blob/HEAD/Changelog.md#063--2021-05-23) [Compare Source](https://redirect.github.com/pillarjs/iconv-lite/compare/v0.6.2...v0.6.3) - Fix HKSCS encoding to prefer Big5 codes if both Big5 and HKSCS codes are possible ([#&#8203;264](https://redirect.github.com/pillarjs/iconv-lite/issues/264)) ### [`v0.6.2`](https://redirect.github.com/pillarjs/iconv-lite/blob/HEAD/Changelog.md#062--2020-07-08) [Compare Source](https://redirect.github.com/pillarjs/iconv-lite/compare/v0.6.1...v0.6.2) - Support Uint8Array-s decoding without conversion to Buffers, plus fix an edge case. ### [`v0.6.1`](https://redirect.github.com/pillarjs/iconv-lite/blob/HEAD/Changelog.md#061--2020-06-28) [Compare Source](https://redirect.github.com/pillarjs/iconv-lite/compare/v0.6.0...v0.6.1) - Support Uint8Array-s directly when decoding ([#&#8203;246](https://redirect.github.com/pillarjs/iconv-lite/issues/246), by [@&#8203;gyzerok](https://redirect.github.com/gyzerok)) - Unify package.json version ranges to be strictly semver-compatible ([#&#8203;241](https://redirect.github.com/pillarjs/iconv-lite/issues/241)) - Fix minor issue in UTF-32 decoder's endianness detection code. ### [`v0.6.0`](https://redirect.github.com/pillarjs/iconv-lite/blob/HEAD/Changelog.md#060--2020-06-08) [Compare Source](https://redirect.github.com/pillarjs/iconv-lite/compare/v0.5.2...v0.6.0) - Updated 'gb18030' encoding to :2005 edition (see [whatwg/encoding#22](https://redirect.github.com/whatwg/encoding/issues/22)). - Removed `iconv.extendNodeEncodings()` mechanism. It was deprecated 5 years ago and didn't work in recent Node versions. - Reworked Streaming API behavior in browser environments to fix [#&#8203;204](https://redirect.github.com/pillarjs/iconv-lite/issues/204). Streaming API will be excluded by default in browser packs, saving \~100Kb bundle size, unless enabled explicitly using `iconv.enableStreamingAPI(require('stream'))`. - Updates to development environment & tests: - Added ./test/webpack private package to test complex new use cases that need custom environment. It's tested as a separate job in Travis CI. - Updated generation code for the new EUC-KR index file format from Encoding Standard. - Removed Buffer() constructor in tests ([#&#8203;197](https://redirect.github.com/pillarjs/iconv-lite/issues/197) by [@&#8203;gabrielschulhof](https://redirect.github.com/gabrielschulhof)). </details> --- ### Configuration 📅 **Schedule**: (UTC) - 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/compressing). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi40Mi4yIiwidXBkYXRlZEluVmVyIjoiNDMuMjQyLjIiLCJ0YXJnZXRCcmFuY2giOiJtYXN0ZXIiLCJsYWJlbHMiOltdfQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent cf41125 commit e7ba2a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"@eggjs/yauzl": "^2.11.0",
4343
"flushwritable": "^1.0.0",
4444
"get-ready": "^1.0.0",
45-
"iconv-lite": "^0.5.0",
45+
"iconv-lite": "^0.7.0",
4646
"streamifier": "^0.1.1",
4747
"tar-stream": "^1.5.2",
4848
"yazl": "^2.4.2"

0 commit comments

Comments
 (0)