This repository was archived by the owner on Mar 29, 2022. It is now read-only.
[Snyk] Upgrade highlight.js from 10.4.1 to 10.5.0 #131
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.
Snyk has created this PR to upgrade highlight.js from 10.4.1 to 10.5.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: highlight.js
-
10.5.0 - 2020-12-23
- Add Subresource Integrity digest lists to
- R and VB.net grammars now ship in our default build (
- add
- allow
- add
- some internal pieces are now simple compiler extensions
- Added 3rd party Red & Rebol grammar to SUPPORTED_LANGUAGES (#2872) Oldes Huhuman
- enh(cpp): Support C++ pack expansion in function arguments Martin Dørum
- enh(makefile): Add
- enh(swift) Improved grammar for strings (#2819) Steven Van Impe
- enh(swift) Grammar improvements (#2908) Steven Van Impe
- New grammar for keywords and built-ins
- Added support for operator highlighting
- New grammar for attributes
- Added support for quoted identifiers, implicit parameters, and property wrapper projections
- Support for more complex expressions in string interpolation
- enh(swift) Improved highlighting for types and generic arguments (#2920) Steven Van Impe
- fix(http) avoid recursive sublanguage and tighten rules (#2893) Josh Goebel
- fix(asciidoc): Handle section titles level 5 (#2868) Vaibhav Chanana
- fix(asciidoc): Support unconstrained emphasis syntax (#2869) Guillaume Grossetie
- enh(scheme) Allow
- enh(vb) Large rework of VB.net grammar (#2808) Jan Pilzer
- Adds support for Date data types, see (#2775)
- Adds support for
- Custom number mode to support VB.net specific number flags
- Hex (&H), Oct (&O), and binary (&B) prefixes
- Separating digits with underscores: 90_946
- Type suffixes: 123UI (unsigned integer)
- Improves directives detection and adds support for
- Adds more markup tests
- fix(javascript) Empty block-comments break highlighting (#2896) Jan Pilzer
- enh(dart) Fix empty block-comments from breaking highlighting (#2898) Jan Pilzer
- enh(dart) Fix empty doc-comment eating next line Jan Pilzer
- enh(asciidoc) Adds support for unconstrained bold syntax (#2869) Guillaume Grossetie
- enh(c-like) Incorrect highlighting for interger suffix (#2919) Vaibhav Chanana
- enh(properties) Correctly handle trailing backslash (#2922) Vaibhav Chanana
- HTML "merging" is deprecated. (#2873) Josh Goebel
- HTML inside
- Consider using a plugin if you truly need this functionality
- Deprecated as of 10.5.0 - will be removed in v11.
- Consider: Use the CSS
- otherwise, use a plugin
- Deprecated as of 10.5.0 - will be removed in v11.
- Recommended: You really should just use the HTML
- or perhaps try CSS
- otherwise, use a plugin
- Deprecated as of 10.3.0 - will be removed in v11.
- Consider: Use
- See Library API for more information.
- Deprecated as of 10.4.0 - will be removed in v11.
-
10.4.1 - 2020-12-03
- (fix) Exponential backtracking fixes for: Josh Goebel
- cpp
- handlebars
- gams
- perl
- jboss-cli
- r
- erlang-repl
- powershell
- routeros
- (fix) Polynomial backtracking fixes for: Josh Goebel
- asciidoc
- reasonml
- latex
- kotlin
- gcode
- d
- aspectj
- moonscript
- coffeescript/livescript
- csharp
- scilab
- crystal
- elixir
- basic
- ebnf
- ruby
- fortran/irpf90
- livecodeserver
- yaml
- x86asm
- dsconfig
- markdown
- ruleslanguage
- xquery
- sqf
from highlight.js GitHub release notesWhat's New
Build:
cdn-assetsJosh Goebel:common) Josh GoebelParser:
matchas sugar for simplebeginonly matches (#2834) Josh Goebelillegalto also be an array of regex (#2834) Josh GoebelcompilerExtensionsallows grammers to influence mode compilation (#2834) Josh GoebelNew Languages:
Language grammar improvements:
makeas an alias (#2883) tripleee[]for argument lists (#2913) Josh GoebelREMcomments and fixes'''doctags (#2875) (#2851)Enable,Disable, andThenkeywordsRecent Deprecations:
<pre>blocks will no longer be magically merged back into thehighlighted code's HTML result - it will instead be silently removed.
tabReplaceoption deprecated. (#2873) Josh Goebeltab-sizeproperty, or simply pre-process thetext yourself before rendering the initial HTML
useBRoption deprecated. (#2559) Josh Goebel<pre>tagwhite-space: pre;requireLanguageAPI is deprecated, will be removed in v11.0.getLanguage(with custom error handling) or built-time dependencies.Security fixes:
Very grateful to Michael Schmidt for all the help.
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:

🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs