Skip to content

Commit

Permalink
Use uvu/assert in development build
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 9, 2021
1 parent ca18c61 commit 668f893
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dev/lib/syntax.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @typedef {import('micromark-util-types').Event} Event
*/

import assert from 'power-assert'
import {ok as assert} from 'uvu/assert'
import {blankLine} from 'micromark-core-commonmark'
import {factorySpace} from 'micromark-factory-space'
import {
Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@
"micromark-util-normalize-identifier": "^1.0.0",
"micromark-util-sanitize-uri": "^1.0.0",
"micromark-util-symbol": "^1.0.0",
"power-assert": "^1.0.0"
"uvu": "^0.5.0"
},
"devDependencies": {
"@types/power-assert": "^1.0.0",
"@types/tape": "^4.0.0",
"c8": "^7.0.0",
"micromark": "^3.0.0",
Expand Down Expand Up @@ -78,8 +77,8 @@
},
"xo": {
"prettier": true,
"esnext": false,
"rules": {
"node/file-extension-in-import": "off",
"unicorn/no-this-assignment": "off",
"unicorn/prefer-node-protocol": "off"
}
Expand Down

0 comments on commit 668f893

Please sign in to comment.