Bot
Bot copied to clipboard
Bump highlight.js from 10.4.0 to 10.5.0
Bumps highlight.js from 10.4.0 to 10.5.0.
Release notes
Sourced from highlight.js's releases.
10.5.0 - Holiday Cheer Edition
What's New
Build:
- Add Subresource Integrity digest lists to
cdn-assets[Josh Goebel][]- R and VB.net grammars now ship in our default build (
:common) [Josh Goebel][]Parser:
- add
matchas sugar for simplebeginonly matches (#2834) [Josh Goebel][]- allow
illegalto also be an array of regex (#2834) [Josh Goebel][]- add
compilerExtensionsallows grammers to influence mode compilation (#2834) [Josh Goebel][]
- some internal pieces are now simple compiler extensions
New Languages:
- Added 3rd party Red & Rebol grammar to SUPPORTED_LANGUAGES (#2872) [Oldes Huhuman][]
Language grammar improvements:
- enh(cpp): Support C++ pack expansion in function arguments [Martin Dørum][]
- enh(makefile): Add
makeas an alias (#2883) [tripleee][]- 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
[]for argument lists (#2913) [Josh Goebel][]- enh(vb) Large rework of VB.net grammar (#2808) [Jan Pilzer][]
- Adds support for Date data types, see (#2775)
- Adds support for
REMcomments and fixes'''doctags (#2875) (#2851)
- 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
Enable,Disable, andThenkeywords- 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][]
... (truncated)
Changelog
Sourced from highlight.js's changelog.
Version 10.5.0
Build:
- Add Subresource Integrity digest lists to
cdn-assets[Josh Goebel][]- R and VB.net grammars now ship in our default build (
:common) [Josh Goebel][]Parser:
- add
matchas sugar for simplebeginonly matches (#2834) [Josh Goebel][]- allow
illegalto also be an array of regex (#2834) [Josh Goebel][]- add
compilerExtensionsallows grammers to influence mode compilation (#2834) [Josh Goebel][]
- some internal pieces are now simple compiler extensions
New Languages:
- Added 3rd party Red & Rebol grammar to SUPPORTED_LANGUAGES (#2872) [Oldes Huhuman][]
Language grammar improvements:
- enh: CSS grammars now share common foundation, keywords, etc. (#2937) [Josh Goebel][]
- enh(css): many consistency improvements
- enh(scss): many consistency improvements
- enh(stylus): many consistency improvements
- enh(less): many consistency improvements
- enh(cpp): Support C++ pack expansion in function arguments [Martin Dørum][]
- enh(makefile): Add
makeas an alias (#2883) [tripleee][]- 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][]
- enh(swift) Improved highlighting for functions, initializers, and subscripts (#2930) [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
[]for argument lists (#2913) [Josh Goebel][]- enh(vb) Large rework of VB.net grammar (#2808) [Jan Pilzer][]
- Adds support for Date data types, see (#2775)
- Adds support for
REMcomments and fixes'''doctags (#2875) (#2851)
- 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
Enable,Disable, andThenkeywords- Adds more markup tests
- fix(javascript) Empty block-comments break highlighting (#2896) [Jan Pilzer][]
... (truncated)
Commits
af20048(chore) release to production3522147(release) 10.5.0 holiday edition511aa11(chore) update maintainers guideff34d49(chore) remove ridiculous Crystal relevance3e0b520(chore) lint Crystalf863bce(chore) ship R and VB.net in :commond64fbcdprepare for 10.5 release6c2ff21(chore) camelCase linteaa1c42(chore) bump terser82f7a68(chore) clean up types a bit- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by highlightjs_bot, a new releaser for highlight.js since your current version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the Security Alerts page.