8000 [3.7] Upgrade non-breaking JS dependencies by pluma · Pull Request #14502 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

[3.7] Upgrade non-breaking JS dependencies #14502

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 30, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
27 changes: 27 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,6 +1,33 @@
v3.7.14 (XXXX-XX-XX)
--------------------

* Updated JavaScript dependencies, including breaking changes to non-public
modules. We recommend always bundling your own copy of third-party modules,
even ones listed as public.

- accepts: 1.3.5 -> 1.3.7
- ansi_up: 4.0.3 -> 5.0.1
- chalk: 1.1.3 -> 4.1.1
- content-type: (added) -> 1.0.4
- error-stack-parser: 2.0.2 -> 2.0.6
- highlight.js: 9.15.6 -> 10.7.3
- http-errors: 1.7.2 -> 1.8.0
- iconv-lite: 0.4.24 -> 0.6.3
- js-yaml: 3.13.1 -> 3.14.1
- lodash: 4.17.13 -> 4.17.21
- marked: 0.6.2 -> removed
- mime-types: 2.1.22 -> 2.1.31
- mocha: 6.1.3 -> 6.2.3
- netmask: 1.0.6 -> 2.0.2
- qs: 6.7.0 -> 6.10.1
- range-parser: 1.2.0 -> 1.2.1
- semver: 6.0.0 -> 7.3.5
- sinon: 1.17.6 -> 1.17.7
- timezone: 1.0.22 -> 1.0.23
- type-is: 1.6.16 -> 1.6.18
- underscore: 1.9.1 -> 1.13.1
- xmldom: 0.1.27 -> 0.6.0

* Fixed a bug, where Coordinators handled plan changes for databases in
heartbeat thread in wrong order. Databases could be listed, but not used.

Expand Down
10 changes: 5 additions & 5 deletions Documentation/Scripts/exampleHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ function normalize(lang) {
return MAP[lower] || lower;
}

function highlight(lang, code) {
if(!lang) {
function highlight(language, code) {
if(!language) {
return code;
}
// Normalize lang
lang = normalize(lang);
// Normalize language
language = normalize(language);

try {
return hljs.highlight(lang, code).value;
return hljs.highlight(code, {language}).value;
} catch(e) { }

return code;
Expand Down
Loading
0