Update dependency html-entities to v2 #8
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.3.1->^2.0.0Release Notes
mdevils/html-entities
v2.3.3Compare Source
package.json: specifysideEffects: falsev2.3.2Compare Source
v2.3.1Compare Source
encode(),decode()anddecodeEntity()by using function inlining.v2.3.0Compare Source
v2.2.0Compare Source
decodeEntity()method to decode a single HTML entity.v2.1.1Compare Source
encode()anddecode()methods.v2.1.0Compare Source
extensivemode toencode()method. This mode encodes all non-printable characters, non-ASCII characters and all characters with named references.v2.0.6Compare Source
v2.0.5Compare Source
v2.0.4Compare Source
v2.0.3Compare Source
v2.0.2Compare Source
nullandundefinedtext values.v2.0.1Compare Source
v2.0.0Compare Source
Performance was greatly improved.
New API: simpler and more flexible.
htmlEntitiesInstance.encode(text)->encode(text)Before:
After:
instance.encodeNonASCII(text)->encode(text, {mode: 'nonAscii'})Before:
After:
instance.encodeNonASCII(text)->encode(text, {mode: 'nonAsciiPrintable'})Before:
After:
instance.decode(text)->decode(text)Before:
After:
Different XML/HTML versions are now implemented via options instead of different classes.
Before:
After:
Configuration
📅 Schedule: 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.