Skip to content

Commit

Permalink
Use power-assert in development build
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 2, 2021
1 parent 61c914a commit 57d853e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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').Code} Code
*/

import assert from 'node:assert'
import assert from 'power-assert'
import {factorySpace} from 'micromark-factory-space'
import {
markdownSpace,
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@
"micromark-factory-space": "^1.0.0",
"micromark-util-character": "^1.0.0",
"micromark-util-symbol": "^1.0.0",
"micromark-util-types": "^1.0.0"
"micromark-util-types": "^1.0.0",
"power-assert": "^1.0.0"
},
"devDependencies": {
"@types/power-assert": "^1.0.0",
"@types/tape": "^4.0.0",
"c8": "^7.0.0",
"control-pictures": "^2.0.0",
Expand Down

0 comments on commit 57d853e

Please sign in to comment.