Skip to content

Commit

Permalink
refactor: updated dependency prismjs (#1392)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Dec 7, 2021
1 parent 89c0dfb commit 4b9da93
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/uikit-workshop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"preact-render-to-string": "^4.1.0",
"preload-webpack-plugin": "^3.0.0-beta.3",
"pretty": "^2.0.0",
"prismjs": "1.23.0",
"prismjs": "^1.25.0",
"pwa-helpers": "^0.9.1",
"react-autosuggest": "^9.4.2",
"react-dom": "^16.8.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
/* eslint-disable no-param-reassign, no-unused-vars */

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

const normalizeWhitespace = new Normalizer({
'remove-trailing': true,
Expand Down
15 changes: 4 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2108,9 +2108,9 @@
integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==

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

"@types/node@^12.0.8":
version "12.20.37"
Expand Down Expand Up @@ -4305,7 +4305,7 @@ cli@~1.0.0:
exit "0.1.2"
glob "^7.1.1"

clipboard@^2.0.0, clipboard@^2.0.8:
clipboard@^2.0.8:
version "2.0.8"
resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-2.0.8.tgz#ffc6c103dd2967a83005f3f61976aa4655a4cdba"
integrity sha512-Y6WO0unAIQp5bLmk1zdThRhgJt/x3ks6f30s3oE3H1mgIEU33XyQjEf8gsf6DxC7NPX8Y1SsNWjUjL/ywLnnbQ==
Expand Down Expand Up @@ -12774,13 +12774,6 @@ pretty@^2.0.0:
extend-shallow "^2.0.1"
js-beautify "^1.6.12"

prismjs@1.23.0:
version "1.23.0"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.23.0.tgz#d3b3967f7d72440690497652a9d40ff046067f33"
integrity sha512-c29LVsqOaLbBHuIbsTxaKENh1N2EQBOHaWv7gkHN4dgRbxSREqDnDbtFJYdpPauS4YCplMSNCABQ6Eeor69bAA==
optionalDependencies:
clipboard "^2.0.0"

prismjs@^1.25.0:
version "1.25.0"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.25.0.tgz#6f822df1bdad965734b310b315a23315cf999756"
Expand Down

0 comments on commit 4b9da93

Please # to comment.