Skip to content

Commit cbc7036

Browse files
committed
Use uvu/assert in development build
1 parent d95d131 commit cbc7036

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dev/lib/math-flow.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* @typedef {import('micromark-util-types').State} State
55
*/
66

7-
import assert from 'power-assert'
7+
import {ok as assert} from 'uvu/assert'
88
import {factorySpace} from 'micromark-factory-space'
99
import {markdownLineEnding} from 'micromark-util-character'
1010
import {codes} from 'micromark-util-symbol/codes.js'

dev/lib/math-text.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* with “normal” dollars in text.
1515
*/
1616

17-
import assert from 'power-assert'
17+
import {ok as assert} from 'uvu/assert'
1818
import {markdownLineEnding} from 'micromark-util-character'
1919
import {codes} from 'micromark-util-symbol/codes.js'
2020
import {types} from 'micromark-util-symbol/types.js'

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,9 @@
4444
"micromark-util-character": "^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)