Skip to content

Commit d3ba42f

Browse files
authored
refactor: updated dependency prismjs (pattern-lab#1392)
1 parent b414aa5 commit d3ba42f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
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,

0 commit comments

Comments
 (0)