-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Erwin Dondorp
committed
Aug 11, 2024
1 parent
a98e1da
commit 84fa546
Showing
166 changed files
with
319 additions
and
41,914 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sonar.exclusions=saltgui/static/highlight/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#!/bin/sh | ||
|
||
# part of SaltGUI | ||
# to be run by maintainers to update the "highlight" package | ||
|
||
set -x | ||
|
||
[ -f /tmp/highlight.zip ] || | ||
wget -O /tmp/highlight.zip --header='Content-Type: application/json' --post-data='{"api":2,"languages":["json","yaml"]}' https://highlightjs.org/api/download | ||
|
||
# remove previous edition | ||
git rm -r -f highlight | ||
# just in case is was deleted or not yet there | ||
mkdir --parent highlight | ||
# unzip the downloaded file | ||
(cd highlight && unzip -q /tmp/highlight.zip) | ||
# add it to git | ||
git add highlight | ||
|
||
# cleanup | ||
rm /tmp/highlight.zip | ||
|
||
# show the result (summary) | ||
git status | ||
git diff --cached highlight/es/core.js | ||
|
||
# End |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/*! | ||
Highlight.js v11.9.0 (git: b7ec4bfafc) | ||
(c) 2006-2024 undefined and other contributors | ||
Highlight.js v11.10.0 (git: 366a8bd012) | ||
(c) 2006-2024 Josh Goebel <[email protected]> and other contributors | ||
License: BSD-3-Clause | ||
*/ | ||
/* eslint-disable no-multi-assign */ | ||
|
@@ -1555,7 +1555,7 @@ function expandOrCloneMode(mode) { | |
return mode; | ||
} | ||
|
||
var version = "11.9.0"; | ||
var version = "11.10.0"; | ||
|
||
class HTMLInjectionError extends Error { | ||
constructor(reason, html) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/*! | ||
Highlight.js v11.9.0 (git: b7ec4bfafc) | ||
(c) 2006-2024 undefined and other contributors | ||
Highlight.js v11.10.0 (git: 366a8bd012) | ||
(c) 2006-2024 Josh Goebel <[email protected]> and other contributors | ||
License: BSD-3-Clause | ||
*/ | ||
function e(t){return t instanceof Map?t.clear=t.delete=t.set=()=>{ | ||
|
@@ -301,7 +301,7 @@ e["before:highlightBlock"](Object.assign({block:t.el},t)) | |
}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{ | ||
e["after:highlightBlock"](Object.assign({block:t.el},t))})})(e),r.push(e)}, | ||
removePlugin:e=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}),n.debugMode=()=>{ | ||
o=!1},n.safeMode=()=>{o=!0},n.versionString="11.9.0",n.regex={concat:h, | ||
o=!1},n.safeMode=()=>{o=!0},n.versionString="11.10.0",n.regex={concat:h, | ||
lookahead:g,either:f,optional:d,anyNumberOfTimes:u} | ||
;for(const t in A)"object"==typeof A[t]&&e(A[t]);return Object.assign(n,A),n | ||
},ne=te({});ne.newInstance=()=>te({});export{ne as default}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/*! | ||
Highlight.js v11.9.0 (git: b7ec4bfafc) | ||
(c) 2006-2024 undefined and other contributors | ||
Highlight.js v11.10.0 (git: 366a8bd012) | ||
(c) 2006-2024 Josh Goebel <[email protected]> and other contributors | ||
License: BSD-3-Clause | ||
*/ | ||
/* eslint-disable no-multi-assign */ | ||
|
@@ -1555,7 +1555,7 @@ function expandOrCloneMode(mode) { | |
return mode; | ||
} | ||
|
||
var version = "11.9.0"; | ||
var version = "11.10.0"; | ||
|
||
class HTMLInjectionError extends Error { | ||
constructor(reason, html) { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
/*! | ||
Highlight.js v11.9.0 (git: b7ec4bfafc) | ||
(c) 2006-2024 undefined and other contributors | ||
Highlight.js v11.10.0 (git: 366a8bd012) | ||
(c) 2006-2024 Josh Goebel <[email protected]> and other contributors | ||
License: BSD-3-Clause | ||
*/ | ||
function e(t){return t instanceof Map?t.clear=t.delete=t.set=()=>{ | ||
|
@@ -301,7 +301,7 @@ e["before:highlightBlock"](Object.assign({block:t.el},t)) | |
}),e["after:highlightBlock"]&&!e["after:highlightElement"]&&(e["after:highlightElement"]=t=>{ | ||
e["after:highlightBlock"](Object.assign({block:t.el},t))})})(e),r.push(e)}, | ||
removePlugin:e=>{const t=r.indexOf(e);-1!==t&&r.splice(t,1)}}),n.debugMode=()=>{ | ||
o=!1},n.safeMode=()=>{o=!0},n.versionString="11.9.0",n.regex={concat:h, | ||
o=!1},n.safeMode=()=>{o=!0},n.versionString="11.10.0",n.regex={concat:h, | ||
lookahead:g,either:f,optional:d,anyNumberOfTimes:u} | ||
;for(const t in A)"object"==typeof A[t]&&e(A[t]);return Object.assign(n,A),n | ||
},ne=te({});ne.newInstance=()=>te({});export{ne as default}; |
Oops, something went wrong.