[Snyk] Upgrade highlight.js from 11.7.0 to 11.9.0 #12
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 was automatically created by Snyk using the credentials of a real user.

Snyk has created this PR to upgrade highlight.js from 11.7.0 to 11.9.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.
The recommended version is 2 versions ahead of your current version.
The recommended version was released on 9 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-BRACES-6838727
SNYK-JS-FOLLOWREDIRECTS-6141137
SNYK-JS-MICROMATCH-6838728
SNYK-JS-FOLLOWREDIRECTS-6444610
SNYK-JS-STYLEDCOMPONENTS-3149924
SNYK-JS-UNDICI-6252336
SNYK-JS-UNDICI-6564963
SNYK-JS-UNDICI-6564964
Release notes
Package name: highlight.js
-
11.9.0 - 2023-10-09
- Drops support for Node 14.x, which is no longer supported by Node.js.
- In the
- (enh) prevent re-highlighting of an element [joshgoebel][]
- (chore) Remove discontinued badges from README Bradley Mackey
- (chore) Fix build size report Bradley Mackey
- added 3rd party Iptables grammar to SUPPORTED_LANGUAGES Checconio
- added 3rd party x86asmatt grammar to SUPPORTED_LANGUAGES gondow
- added 3rd party riscv64 grammar to SUPPORTED_LANGUAGES aana-h2
- added 3rd party Ballerina grammar to SUPPORTED_LANGUAGES Yasith Deelaka
- fix(rust) added negative-lookahead for callable keywords
- enh(armasm) added
- enh(haxe) added
- enh(haxe) support numeric separators and suffixes Robert Borghese
- fix(haxe) fixed metadata arguments and support non-colon syntax Robert Borghese
- fix(haxe) differentiate
- fix(bash) do not delimit a string by an escaped apostrophe [hancar][]
- enh(swift) support
- enh(swift) support parameter pack keywords Bradley Mackey
- enh(swift) regex literal support Bradley Mackey
- enh(swift)
- enh(scala) add using directives support
- fix(scala) fixed comments in constructor arguments not being properly highlighted Isaac Nonato
- enh(swift) ownership modifiers support Bradley Mackey
- enh(nsis) Add
- fix(haskell) do not treat double dashes inside infix operators as comments [Zlondrej][]
- enh(rust) added
- enh(leaf) update syntax to 4.0 Samuel Bishop
- fix(reasonml) simplify syntax and align it with ocaml jchavarri
- fix(swift)
- enh(swift) macro attributes are highlighted as keywords Bradley Mackey
- enh(stan) updated for version 2.33 (#3859) Brian Ward
- fix(css) added '_' css variable detection Md Saad Akhtar
- enh(groovy) add
- (chore) Update dev tool to use the new
- (enh) Auto-update the highlighted output when the language dropdown changes. Shah Shabbir Ahmmed
-
11.8.0 - 2023-04-29
- added a function to default export to generate a fresh highlighter instance to be used by extensions WisamMechano
- added BETA
- (enh) add
- (fix) typo in language name of
- added 3rd party Lang grammar to SUPPORTED_LANGUAGES AdamRaichu
- added 3rd party C3 grammar to SUPPORTED_LANGUAGES aliaegik
- enh(sql) support
- enh(mathematica) update keywords list to 13.2.1 arnoudbuzing
- enh(protobuf) add
- enh(sqf) latest changes in Arma 3 v2.11 Leopard20
- enh(js/ts) Added support for GraphQL tagged template strings Ali Ukani
- enh(javascript) add sessionStorage to list of built-in variables Jeroen van Vianen
- enh(http) Add supporxt for HTTP/3 Rijenkii
- added 3rd party Motoko grammar to SUPPORTED_LANGUAGES rvanasa
- added 3rd party Candid grammar to SUPPORTED_LANGUAGES rvanasa
- fix(haskell) Added support for characters CrystalSplitter
- enh(dart) Add
- enh(php) detect newer more flexible NOWdoc syntax (#3679) Timur Kamaev
- enh(python) improve autodetection of code with type hinting any function's return type (making the
- enh(bash) add
-
11.7.0 - 2022-11-23
- added 3rd party LookML grammar to SUPPORTED_LANGUAGES Josh Temple
- added 3rd party FunC grammar to SUPPORTED_LANGUAGES [Nikita Sobolev][]
- Added 3rd party Flix grammar to SUPPORTED_LANGUAGES The Flix Organisation
- Added 3rd party RVT grammar to SUPPORTED_LANGUAGES Sopitive
- enh(scheme) add
- fix(typescript) patterns like
- fix(bash) recognize the
- enh(Ruby) misc improvements (kws, class names, etc) Josh Goebel
- fix(js) do not flag
- fix(bash) recognize the
- fix(nix) support escaped dollar signs in strings h7x4
- enh(cmake) support bracket comments Hirse
- enh(java) add yield keyword to java MBoegers
- enh(java) add permits keyword to java MBoegers
- fix(javascript/typescript) correct identifier matching when using numbers Lachlan Heywood
- Documentation typo fix by Eddymens
from highlight.js GitHub release notesVersion 11.9.0
CAVEATS / POTENTIALLY BREAKING CHANGES
nodebuildstyles/*.cssfiles now ship un-minifiedwith minified counterparts as:
styles/*.min.cssmvorisek(this makes things consistent with our
cdnbuilds)Parser:
New Grammars:
Core Grammars:
ifwhilefor[Omar Hussein][]x0-x30andw0-w30ARMv8 registers Nicholas Thompsonfinal,is,macrokeywords and$identifiers Robert Borgheseabstractdeclaration from keyword Robert Borghesemacrokeyword Bradley Mackey@ uncheckedand@ Sendablesupport Bradley Mackey//> using foo bar[Jamie Thompson][]!assertcompiler flag [idleberg][]eprintln!macro qoheniacwarn_unqualified_accessis an attribute Bradley Mackeyrecordandvaras keywords Guillaume LaforgeDeveloper Tool:
highlightAPI. Shah Shabbir AhmmedChangelog
Parser engine:
__emitTokenskey to grammars to allow then to direct their own parsing, only using Highlight.js for the HTML rendering Josh GoebelremovePluginapi faga295JavaScriptCyrus KaoNew Grammars:
Core Grammars:
_in variable names [joshgoebel][]protoalias for Protobuf [dimitropoulos][]base,interface,sealed, andwhenkeywords Sam Rawlins->operator legal) Keyacomselectanduntilas keywordsVersion 11.7.0
New Grammars:
Grammars:
scmalias for Scheme matyklug18<T =are not JSX Josh Goebel((keyword Nick Chambersimport()as a function, rather a keyword nathnolt((keyword Nick ChambersImprovements:
Important
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: