Skip to content

Commit 5aa8a5c

Browse files
committed
Use uvu/assert in development build
1 parent 0dc845c commit 5aa8a5c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

dev/lib/syntax.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* @typedef {import('micromark-util-types').Code} Code
99
*/
1010

11-
import assert from 'power-assert'
11+
import {ok as assert} from 'uvu/assert'
1212
import {
1313
asciiAlpha,
1414
asciiAlphanumeric,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@
4444
"micromark-util-sanitize-uri": "^1.0.0",
4545
"micromark-util-symbol": "^1.0.0",
4646
"micromark-util-types": "^1.0.0",
47-
"power-assert": "^1.0.0"
47+
"uvu": "^0.5.0"
4848
},
4949
"devDependencies": {
50-
"@types/power-assert": "^1.0.0",
5150
"@types/tape": "^4.0.0",
5251
"c8": "^7.0.0",
5352
"micromark": "^3.0.0",
@@ -79,6 +78,7 @@
7978
"xo": {
8079
"prettier": true,
8180
"rules": {
81+
"node/file-extension-in-import": "off",
8282
"unicorn/no-this-assignment": "off",
8383
"unicorn/prefer-node-protocol": "off"
8484
}

0 commit comments

Comments
 (0)