Skip to content

Commit

Permalink
Bump highlight.js from 10.1.2 to 10.4.1 (#338)
Browse files Browse the repository at this point in the history
* Bump highlight.js from 10.1.2 to 10.4.1

Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.1.2 to 10.4.1.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/master/CHANGES.md)
- [Commits](highlightjs/highlight.js@10.1.2...10.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

* build with new highlight, update snapshot

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: David Simmer <dsimmer@netflix.com>
  • Loading branch information
dependabot[bot] and simmerer committed Dec 8, 2020
1 parent 7b9b5de commit 9888a45
Show file tree
Hide file tree
Showing 200 changed files with 19,128 additions and 4,699 deletions.
1 change: 1 addition & 0 deletions AVAILABLE_LANGUAGES_HLJS.MD
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@
* nginx
* nim
* nix
* nodeRepl (node-repl)
* nsis
* objectivec
* ocaml
Expand Down
3 changes: 3 additions & 0 deletions AVAILABLE_STYLES_HLJS.MD
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
* gml
* googlecode
* gradientDark
* gradientLight
* grayscale
* gruvboxDark
* gruvboxLight
Expand Down Expand Up @@ -82,6 +83,8 @@
* solarizedDark
* solarizedLight
* srcery
* stackoverflowDark
* stackoverflowLight
* sunburst
* tomorrowNightBlue
* tomorrowNightBright
Expand Down
80 changes: 76 additions & 4 deletions __tests__/__snapshots__/light-async.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1866,15 +1866,33 @@ exports[`When the code split is loaded - SyntaxHighlighter renders jsx highlight
</span>
<span
className="hljs-keyword"
className="hljs-function hljs-title"
style={Object {}}
>
constructor
</span>
<span
className="hljs-function"
style={Object {}}
>
(props) {
(
</span>
<span
className="hljs-function hljs-params"
style={Object {}}
>
props
</span>
<span
className="hljs-function"
style={Object {}}
>
)
</span>
<span
style={Object {}}
>
{
</span>
<span
Expand Down Expand Up @@ -1924,8 +1942,35 @@ exports[`When the code split is loaded - SyntaxHighlighter renders jsx highlight
</span>
}
componentDidMount() {
<span
style={Object {}}
>
</span>
<span
className="hljs-function hljs-title"
style={Object {}}
>
componentDidMount
</span>
<span
className="hljs-function"
style={Object {}}
>
(
</span>
<span
className="hljs-function"
style={Object {}}
>
)
</span>
<span
style={Object {}}
>
{
</span>
<span
style={Object {}}
>
Expand Down Expand Up @@ -2042,8 +2087,35 @@ exports[`When the code split is loaded - SyntaxHighlighter renders jsx highlight
</span>
}
render() {
<span
style={Object {}}
>
</span>
<span
className="hljs-function hljs-title"
style={Object {}}
>
render
</span>
<span
className="hljs-function"
style={Object {}}
>
(
</span>
<span
className="hljs-function"
style={Object {}}
>
)
</span>
<span
style={Object {}}
>
{
</span>
<span
style={Object {}}
>
Expand Down
619 changes: 515 additions & 104 deletions demo/build/demo-build.js

Large diffs are not rendered by default.

15 changes: 9 additions & 6 deletions demo/build/diff-build.js

Large diffs are not rendered by default.

116 changes: 58 additions & 58 deletions demo/build/react-syntax-highlighter_languages_highlight_abnf.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9888a45

Please sign in to comment.