Skip to content

Commit

Permalink
[SECURITY] Update Prism to version 1.25.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brotkrueml committed Sep 16, 2021
1 parent 5e66bde commit c43d46e
Show file tree
Hide file tree
Showing 41 changed files with 98 additions and 30 deletions.
2 changes: 1 addition & 1 deletion Build/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "codehighlight",
"license": "GPL-2.0+",
"dependencies": {
"prismjs": "^1.24.1"
"prismjs": "^1.25.0"
},
"devDependencies": {
"del": "^6.0.0",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/node_modules/prismjs/plugins/autoloader/prism-autoloader.js b/node_modules/prismjs/plugins/autoloader/prism-autoloader.js
index e45977f..5466ea3 100644
index ae93dc1..8dc4590 100644
--- a/node_modules/prismjs/plugins/autoloader/prism-autoloader.js
+++ b/node_modules/prismjs/plugins/autoloader/prism-autoloader.js
@@ -259,28 +259,10 @@
@@ -266,28 +266,10 @@
var lang_data = {};

var ignored_language = 'none';
Expand Down
8 changes: 4 additions & 4 deletions Build/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1990,10 +1990,10 @@ pretty-hrtime@^1.0.0:
resolved "https://registry.yarnpkg.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1"
integrity sha1-t+PqQkNaTJsnWdmeDyAesZWALuE=

prismjs@^1.24.1:
version "1.24.1"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.24.1.tgz#c4d7895c4d6500289482fa8936d9cdd192684036"
integrity sha512-mNPsedLuk90RVJioIky8ANZEwYm5w9LcvCXrxHlwf4fNVSn8jEipMybMkWUyyF0JhnC+C4VcOVSBuHRKs1L5Ow==
prismjs@^1.25.0:
version "1.25.0"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.25.0.tgz#6f822df1bdad965734b310b315a23315cf999756"
integrity sha512-WCjJHl1KEWbnkQom1+SzftbtXMKQoezOCYs5rECqMN+jP+apI7ftoflyqigqzopSO3hMhTEb0mFClA8lkolgEg==

process-nextick-args@^2.0.0, process-nextick-args@~2.0.0:
version "2.0.1"
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Security
- Update Prism to version 1.25.0

## [2.6.1] - 2021-07-04

### Updated
Expand Down
41 changes: 40 additions & 1 deletion Resources/Private/Language/ProgrammingLanguages.xlf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<xliff version="1.2" xmlns="urn:oasis:names:tc:xliff:document:1.2">
<file source-language="en" datatype="plaintext" original="EXT:codehighlight/Resources/Private/Language/ProgrammingLanguages.xlf" date="2021-06-28T15:37:43Z" product-name="codehighlight">
<file source-language="en" datatype="plaintext" original="EXT:codehighlight/Resources/Private/Language/ProgrammingLanguages.xlf" date="2021-09-16T17:55:37Z" product-name="codehighlight">
<body>
<trans-unit id="abap" resname="abap" translate="no">
<source><![CDATA[ABAP]]></source>
Expand Down Expand Up @@ -59,6 +59,12 @@
<trans-unit id="autoit" resname="autoit" translate="no">
<source><![CDATA[AutoIt]]></source>
</trans-unit>
<trans-unit id="avisynth" resname="avisynth" translate="no">
<source><![CDATA[AviSynth]]></source>
</trans-unit>
<trans-unit id="avro-idl" resname="avro-idl" translate="no">
<source><![CDATA[Avro IDL]]></source>
</trans-unit>
<trans-unit id="bash" resname="bash" translate="no">
<source><![CDATA[Bash]]></source>
</trans-unit>
Expand All @@ -71,6 +77,9 @@
<trans-unit id="bbcode" resname="bbcode" translate="no">
<source><![CDATA[BBcode + Shortcode]]></source>
</trans-unit>
<trans-unit id="bicep" resname="bicep" translate="no">
<source><![CDATA[Bicep]]></source>
</trans-unit>
<trans-unit id="birb" resname="birb" translate="no">
<source><![CDATA[Birb]]></source>
</trans-unit>
Expand Down Expand Up @@ -134,6 +143,9 @@
<trans-unit id="csharp" resname="csharp" translate="no">
<source><![CDATA[C#]]></source>
</trans-unit>
<trans-unit id="cshtml" resname="cshtml" translate="no">
<source><![CDATA[Razor C#]]></source>
</trans-unit>
<trans-unit id="csp" resname="csp" translate="no">
<source><![CDATA[Content-Security-Policy]]></source>
</trans-unit>
Expand Down Expand Up @@ -230,6 +242,9 @@
<trans-unit id="ftl" resname="ftl">
<source><![CDATA[FreeMarker Template Language]]></source>
</trans-unit>
<trans-unit id="gap" resname="gap" translate="no">
<source><![CDATA[GAP (CAS)]]></source>
</trans-unit>
<trans-unit id="gcode" resname="gcode" translate="no">
<source><![CDATA[G-code]]></source>
</trans-unit>
Expand All @@ -251,6 +266,9 @@
<trans-unit id="gml" resname="gml" translate="no">
<source><![CDATA[GameMaker Language]]></source>
</trans-unit>
<trans-unit id="gn" resname="gn" translate="no">
<source><![CDATA[GN]]></source>
</trans-unit>
<trans-unit id="go" resname="go" translate="no">
<source><![CDATA[Go]]></source>
</trans-unit>
Expand Down Expand Up @@ -281,6 +299,9 @@
<trans-unit id="hpkp" resname="hpkp" translate="no">
<source><![CDATA[HTTP Public-Key-Pins]]></source>
</trans-unit>
<trans-unit id="hoon" resname="hoon" translate="no">
<source><![CDATA[Hoon]]></source>
</trans-unit>
<trans-unit id="hsts" resname="hsts" translate="no">
<source><![CDATA[HTTP Strict-Transport-Security]]></source>
</trans-unit>
Expand Down Expand Up @@ -380,6 +401,9 @@
<trans-unit id="kumir" resname="kumir" translate="no">
<source><![CDATA[KuMir (КуМир)]]></source>
</trans-unit>
<trans-unit id="kusto" resname="kusto" translate="no">
<source><![CDATA[Kusto]]></source>
</trans-unit>
<trans-unit id="latex" resname="latex" translate="no">
<source><![CDATA[LaTeX + TeX + ConTeXt]]></source>
</trans-unit>
Expand Down Expand Up @@ -413,6 +437,9 @@
<trans-unit id="lua" resname="lua" translate="no">
<source><![CDATA[Lua]]></source>
</trans-unit>
<trans-unit id="magma" resname="magma" translate="no">
<source><![CDATA[Magma (CAS)]]></source>
</trans-unit>
<trans-unit id="makefile" resname="makefile" translate="no">
<source><![CDATA[Makefile]]></source>
</trans-unit>
Expand All @@ -431,9 +458,15 @@
<trans-unit id="matlab" resname="matlab" translate="no">
<source><![CDATA[MATLAB]]></source>
</trans-unit>
<trans-unit id="maxscript" resname="maxscript" translate="no">
<source><![CDATA[MAXScript]]></source>
</trans-unit>
<trans-unit id="mel" resname="mel" translate="no">
<source><![CDATA[MEL]]></source>
</trans-unit>
<trans-unit id="mermaid" resname="mermaid" translate="no">
<source><![CDATA[Mermaid]]></source>
</trans-unit>
<trans-unit id="mizar" resname="mizar" translate="no">
<source><![CDATA[Mizar]]></source>
</trans-unit>
Expand Down Expand Up @@ -689,6 +722,9 @@
<trans-unit id="swift" resname="swift" translate="no">
<source><![CDATA[Swift]]></source>
</trans-unit>
<trans-unit id="systemd" resname="systemd">
<source><![CDATA[Systemd configuration file]]></source>
</trans-unit>
<trans-unit id="t4-cs" resname="t4-cs">
<source><![CDATA[T4 Text Templates (C#)]]></source>
</trans-unit>
Expand Down Expand Up @@ -770,6 +806,9 @@
<trans-unit id="wolfram" resname="wolfram" translate="no">
<source><![CDATA[Wolfram language + Mathematica + Mathematica Notebook]]></source>
</trans-unit>
<trans-unit id="wren" resname="wren" translate="no">
<source><![CDATA[Wren]]></source>
</trans-unit>
<trans-unit id="xeora" resname="xeora" translate="no">
<source><![CDATA[Xeora + XeoraCube]]></source>
</trans-unit>
Expand Down
13 changes: 13 additions & 0 deletions Resources/Private/PHP/AvailableProgrammingLanguages.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@
'aspnet',
'autohotkey',
'autoit',
'avisynth',
'avro-idl',
'bash',
'basic',
'batch',
'bbcode',
'bicep',
'birb',
'bison',
'bnf',
Expand All @@ -44,6 +47,7 @@
'cpp',
'crystal',
'csharp',
'cshtml',
'csp',
'css-extras',
'css',
Expand Down Expand Up @@ -76,13 +80,15 @@
'fortran',
'fsharp',
'ftl',
'gap',
'gcode',
'gdscript',
'gedcom',
'gherkin',
'git',
'glsl',
'gml',
'gn',
'go',
'graphql',
'groovy',
Expand All @@ -92,6 +98,7 @@
'haxe',
'hcl',
'hlsl',
'hoon',
'hpkp',
'hsts',
'http',
Expand Down Expand Up @@ -125,6 +132,7 @@
'keyman',
'kotlin',
'kumir',
'kusto',
'latex',
'latte',
'less',
Expand All @@ -136,12 +144,15 @@
'log',
'lolcode',
'lua',
'magma',
'makefile',
'markdown',
'markup-templating',
'markup',
'matlab',
'maxscript',
'mel',
'mermaid',
'mizar',
'mongodb',
'monkey',
Expand Down Expand Up @@ -224,6 +235,7 @@
'stan',
'stylus',
'swift',
'systemd',
't4-cs',
't4-templating',
't4-vb',
Expand Down Expand Up @@ -251,6 +263,7 @@
'wasm',
'wiki',
'wolfram',
'wren',
'xeora',
'xml-doc',
'xojo',
Expand Down
2 changes: 1 addition & 1 deletion Resources/Public/Prism/components/prism-asciidoc.min.js

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

Loading

0 comments on commit c43d46e

Please sign in to comment.