Skip to content

Commit 4b9da93

Browse files
authored
refactor: updated dependency prismjs (#1392)
1 parent 89c0dfb commit 4b9da93

File tree

3 files changed

+6
-13
lines changed

3 files changed

+6
-13
lines changed

packages/uikit-workshop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"preact-render-to-string": "^4.1.0",
8181
"preload-webpack-plugin": "^3.0.0-beta.3",
8282
"pretty": "^2.0.0",
83-
"prismjs": "1.23.0",
83+
"prismjs": "^1.25.0",
8484
"pwa-helpers": "^0.9.1",
8585
"react-autosuggest": "^9.4.2",
8686
"react-dom": "^16.8.6",

packages/uikit-workshop/src/scripts/components/panels-viewer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
/* eslint-disable no-param-reassign, no-unused-vars */
55

66
import Hogan from 'hogan.js';
7-
import Normalizer from 'prismjs/plugins/normalize-whitespace/prism-normalize-whitespace.js';
87
import pretty from 'pretty';
98
import { html, render } from 'lit-html';
109
import { unsafeHTML } from 'lit-html/directives/unsafe-html.js';
@@ -13,6 +12,7 @@ import { panelsUtil } from './panels-util';
1312
import { urlHandler, Dispatcher } from '../utils';
1413
import './pl-copy-to-clipboard/pl-copy-to-clipboard';
1514
import { PrismLanguages as Prism } from './prism-languages';
15+
import Normalizer from 'prismjs/plugins/normalize-whitespace/prism-normalize-whitespace.js';
1616

1717
const normalizeWhitespace = new Normalizer({
1818
'remove-trailing': true,

yarn.lock

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2108,9 +2108,9 @@
21082108
integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==
21092109

21102110
"@types/node@*":
2111-
version "16.11.11"
2112-
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.11.tgz#6ea7342dfb379ea1210835bada87b3c512120234"
2113-
integrity sha512-KB0sixD67CeecHC33MYn+eYARkqTheIRNuu97y2XMjR7Wu3XibO1vaY6VBV6O/a89SPI81cEUIYT87UqUWlZNw==
2111+
version "16.11.12"
2112+
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.11.12.tgz#ac7fb693ac587ee182c3780c26eb65546a1a3c10"
2113+
integrity sha512-+2Iggwg7PxoO5Kyhvsq9VarmPbIelXP070HMImEpbtGCoyWNINQj4wzjbQCXzdHTRXnqufutJb5KAURZANNBAw==
21142114

21152115
"@types/node@^12.0.8":
21162116
version "12.20.37"
@@ -4305,7 +4305,7 @@ cli@~1.0.0:
43054305
exit "0.1.2"
43064306
glob "^7.1.1"
43074307

4308-
clipboard@^2.0.0, clipboard@^2.0.8:
4308+
clipboard@^2.0.8:
43094309
version "2.0.8"
43104310
resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-2.0.8.tgz#ffc6c103dd2967a83005f3f61976aa4655a4cdba"
43114311
integrity sha512-Y6WO0unAIQp5bLmk1zdThRhgJt/x3ks6f30s3oE3H1mgIEU33XyQjEf8gsf6DxC7NPX8Y1SsNWjUjL/ywLnnbQ==
@@ -12774,13 +12774,6 @@ pretty@^2.0.0:
1277412774
extend-shallow "^2.0.1"
1277512775
js-beautify "^1.6.12"
1277612776

12777-
prismjs@1.23.0:
12778-
version "1.23.0"
12779-
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.23.0.tgz#d3b3967f7d72440690497652a9d40ff046067f33"
12780-
integrity sha512-c29LVsqOaLbBHuIbsTxaKENh1N2EQBOHaWv7gkHN4dgRbxSREqDnDbtFJYdpPauS4YCplMSNCABQ6Eeor69bAA==
12781-
optionalDependencies:
12782-
clipboard "^2.0.0"
12783-
1278412777
prismjs@^1.25.0:
1278512778
version "1.25.0"
1278612779
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.25.0.tgz#6f822df1bdad965734b310b315a23315cf999756"

0 commit comments

Comments
 (0)