Commit e7ba2a5
authored
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) |

|

|
---
### 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
[@​baptistejamin](https://redirect.github.com/baptistejamin) in
[#​394](https://redirect.github.com/pillarjs/iconv-lite/pull/394)
##### 🐞 Bug fixes
- Fix UTF-32 streaming across chunk boundaries - by
[@​spokodev](https://redirect.github.com/spokodev) and
[@​bjohansebas](https://redirect.github.com/bjohansebas) in
[#​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
- [@​baptistejamin](https://redirect.github.com/baptistejamin)
made their first contribution in
[#​394](https://redirect.github.com/pillarjs/iconv-lite/pull/394)
- [@​spokodev](https://redirect.github.com/spokodev) made their
first contribution in
[#​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
[@​plbstl](https://redirect.github.com/plbstl) in
[#​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
[@​plbstl](https://redirect.github.com/plbstl) and
[@​bjohansebas](https://redirect.github.com/bjohansebas) in
[#​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
[@​yosion-p](https://redirect.github.com/yosion-p) and
[@​ashtuchkin](https://redirect.github.com/ashtuchkin) in
[#​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
[@​bjohansebas](https://redirect.github.com/bjohansebas) in
[#​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
[@​jardicc](https://redirect.github.com/jardicc) in
[#​271](https://redirect.github.com/ashtuchkin/iconv-lite/pull/271)
- Remove compatibility check for StringDecoder.end method - by
[@​bjohansebas](https://redirect.github.com/bjohansebas) in
[#​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
([#​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
([#​246](https://redirect.github.com/pillarjs/iconv-lite/issues/246),
by [@​gyzerok](https://redirect.github.com/gyzerok))
- Unify package.json version ranges to be strictly semver-compatible
([#​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
[#​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
([#​197](https://redirect.github.com/pillarjs/iconv-lite/issues/197)
by
[@​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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments