Skip to content

Commit 4b72dd6

Browse files
committed
Update dev-dependencies
1 parent 2f87530 commit 4b72dd6

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

lib/core.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ const restore = capture()
5757

5858
/* c8 ignore next 5 */
5959
ctx.Prism = ctx.Prism || {}
60-
// @ts-expect-error Types are incorrect.
6160
ctx.Prism.manual = true
62-
// @ts-expect-error Types are incorrect.
6361
ctx.Prism.disableWorkerMessageHandler = true
6462

6563
/* eslint-disable import/first */

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"typescript": "^4.0.0",
7676
"unist-builder": "^3.0.0",
7777
"unist-util-remove-position": "^4.0.0",
78-
"xo": "^0.47.0"
78+
"xo": "^0.48.0"
7979
},
8080
"scripts": {
8181
"generate": "node script/languages.js && node script/list.js && node script/fixtures.js",

script/list.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ function generate(list) {
2929
" * @typedef {import('./core.js').Grammar} Grammar",
3030
" * @typedef {import('./core.js').Syntax} Syntax",
3131
' */',
32-
"import {refractor} from './core.js'",
3332
...list.map(
3433
(lang) => 'import ' + toId(lang) + " from '../lang/" + lang + ".js'"
3534
),
35+
"import {refractor} from './core.js'",
36+
'',
3637
...list.map((lang) => 'refractor.register(' + toId(lang) + ')'),
3738
'',
3839
"export {refractor} from './core.js'",

0 commit comments

Comments
 (0)