Skip to content

chore(deps): bump highlight.js from 10.0.3 to 10.4.0 in /client/packages/sourcegraph-extension-api

Created by: dependabot[bot]

Bumps highlight.js from 10.0.3 to 10.4.0.

Release notes

Sourced from highlight.js's releases.

10.4.0 - November 2020

A largish release with many improvements and fixes from quite a few different contributors. Enjoy!

Deprecations:

  • (chore) requireLanguage is deprecated.
    • Prefer getLanguage (with custom error handling) or built-time dependencies.
    • See Library API for more information.

Parser:

  • enh(parser) use negative look-ahead for beginKeywords support (#2813) [Josh Goebel][]
  • enh(grammars) allow classNameAliases for more complex grammars [Josh Goebel][]
  • fix(vue): Language name now appears in CSS class (#2807) [Michael Rush][]
  • (chore) Clean up all regexs to be UTF-8 compliant/ready (#2759) [Josh Goebel][]

New Languages:

  • Added 3rd party Chapel grammar to SUPPORTED_LANGUAGES (#2806) [Brad Chamberlain][]
  • Added BBCode grammar to SUPPORTED_LANGUAGES (#2867) [Paul Reid][]
  • enh(javascript) Added node-repl for Node.js REPL sessions (#2792) [Marat Nagayev][]

Language Improvements:

  • enh(shell) Recognize prompts which contain tilde ~ (#2859) [Guillaume Grossetie][]
  • enh(shell) Add support for multiline commands with line continuation \ (#2861) [Guillaume Grossetie][]
  • enh(autodetect) Over 30+ improvements to auto-detect (#2745) [Josh Goebel][]
    • 4-5% improvement in auto-detect against large sample set
    • properties, angelscript, lsl, javascript, n1ql, ocaml, ruby
    • protobuf, hy, scheme, crystal, yaml, r, vbscript, groovy
    • python, java, php, lisp, matlab, clojure, csharp, css
  • fix(r) fixed keywords not properly spaced (#2852) [Josh Goebel][]
  • fix(javascript) fix potential catastrophic backtracking (#2852) [Josh Goebel][]
  • fix(livescript) fix potential catastrophic backtracking (#2852) [Josh Goebel][]
  • bug(xml) XML grammar was far too imprecise/fuzzy [Josh Goebel][]
  • enh(xml) Improve precision to prevent false auto-detect positives [Josh Goebel][]
  • fix(js/ts) Prevent for/while/if/switch from falsly matching as functions (#2803) [Josh Goebel][]
  • enh(julia) Update keyword lists for Julia 1.x (#2781) [Fredrik Ekre][]
  • enh(python) Match numeric literals per the language reference [Richard Gibson][]
  • enh(ruby) Match numeric literals per language documentation [Richard Gibson][]
  • enh(javascript) Match numeric literals per ECMA-262 spec [Richard Gibson][]
  • enh(java) Match numeric literals per Java Language Specification [Richard Gibson][]
  • enh(swift) Match numeric literals per language reference [Richard Gibson][]
  • enh(php) highlight variables (#2785) [Taufik Nurrohman][]
  • fix(python) Handle comments on decorators (#2804) [Jonathan Sharpe][]
  • enh(diff) improve highlighting of diff for git patches [Florian Bezdeka][]
  • fix(llvm) lots of small improvements and fixes (#2830) [Josh Goebel][]
  • enh(mathematica) Rework entire implementation [Patrick Scheibe][]
    • Correct matching of the many variations of Mathematica's numbers
    • Matching of named-characters aka special symbols like \[Gamma]

... (truncated)

Changelog

Sourced from highlight.js's changelog.

Version 10.4.0

A largish release with many improvements and fixes from quite a few different contributors. Enjoy!

Deprecations:

  • (chore) requireLanguage is deprecated.
    • Prefer getLanguage (with custom error handling) or built-time dependencies.
    • See Library API for more information.

Parser:

  • enh(parser) use negative look-ahead for beginKeywords support (#2813) [Josh Goebel][]
  • enh(grammars) allow classNameAliases for more complex grammars [Josh Goebel][]
  • fix(vue): Language name now appears in CSS class (#2807) [Michael Rush][]
  • (chore) Clean up all regexs to be UTF-8 compliant/ready (#2759) [Josh Goebel][]

New Languages:

  • Added 3rd party Chapel grammar to SUPPORTED_LANGUAGES (#2806) [Brad Chamberlain][]
  • Added BBCode grammar to SUPPORTED_LANGUAGES (#2867) [Paul Reid][]
  • enh(javascript) Added node-repl for Node.js REPL sessions (#2792) [Marat Nagayev][]

Language Improvements:

  • enh(shell) Recognize prompts which contain tilde ~ (#2859) [Guillaume Grossetie][]
  • enh(shell) Add support for multiline commands with line continuation \ (#2861) [Guillaume Grossetie][]
  • enh(autodetect) Over 30+ improvements to auto-detect (#2745) [Josh Goebel][]
    • 4-5% improvement in auto-detect against large sample set
    • properties, angelscript, lsl, javascript, n1ql, ocaml, ruby
    • protobuf, hy, scheme, crystal, yaml, r, vbscript, groovy
    • python, java, php, lisp, matlab, clojure, csharp, css
  • fix(r) fixed keywords not properly spaced (#2852) [Josh Goebel][]
  • fix(javascript) fix potential catastrophic backtracking (#2852) [Josh Goebel][]
  • fix(livescript) fix potential catastrophic backtracking (#2852) [Josh Goebel][]
  • bug(xml) XML grammar was far too imprecise/fuzzy [Josh Goebel][]
  • enh(xml) Improve precision to prevent false auto-detect positives [Josh Goebel][]
  • fix(js/ts) Prevent for/while/if/switch from falsly matching as functions (#2803) [Josh Goebel][]
  • enh(julia) Update keyword lists for Julia 1.x (#2781) [Fredrik Ekre][]
  • enh(python) Match numeric literals per the language reference [Richard Gibson][]
  • enh(ruby) Match numeric literals per language documentation [Richard Gibson][]
  • enh(javascript) Match numeric literals per ECMA-262 spec [Richard Gibson][]
  • enh(java) Match numeric literals per Java Language Specification [Richard Gibson][]
  • enh(swift) Match numeric literals per language reference [Richard Gibson][]
  • enh(php) highlight variables (#2785) [Taufik Nurrohman][]
  • fix(python) Handle comments on decorators (#2804) [Jonathan Sharpe][]
  • enh(diff) improve highlighting of diff for git patches [Florian Bezdeka][]
  • fix(llvm) lots of small improvements and fixes (#2830) [Josh Goebel][]
  • enh(mathematica) Rework entire implementation [Patrick Scheibe][]
    • Correct matching of the many variations of Mathematica's numbers

... (truncated)

Commits
  • 4055826 10.4.0 release
  • ee28327 chore(docs) update maintainer guide
  • c91fadd chore(deps) bump deep-freeze to get build bug fix
  • f0c4a36 (chore) eslint --fix against most grammars (#2853)
  • b4b5bf0 chore(docs) add Slack invite link
  • 6698b8a chore(tests) auto-generated markup tests for all languages (#2862)
  • 4fed71d enh(shell) recognize prompts that contain tilde(s) (#2859)
  • c36d5ae enh(shell) Support multiline commands (#2861)
  • 3375ec6 chore(docs) add beta badge
  • 7fc446c chore(build) tighter terser opts, saves ~50 bytes gzipped
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by isagalaev, a new releaser for highlight.js since your current version.


Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will 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 labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will 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.

Merge request reports

Loading