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 ff64458 commit 08d5826
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dev/lib/factory-tag.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @typedef {import('micromark-factory-mdx-expression').AcornOptions} AcornOptions
*/

import assert from 'node:assert'
import assert from 'power-assert'
import {start as idStart, cont as idCont} from 'estree-util-is-identifier-name'
import {factoryMdxExpression} from 'micromark-factory-mdx-expression'
import {
Expand Down
2 changes: 1 addition & 1 deletion dev/lib/jsx-flow.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @typedef {import('micromark-factory-mdx-expression').AcornOptions} AcornOptions
*/

import assert from 'node:assert'
import assert from 'power-assert'
import {factorySpace} from 'micromark-factory-space'
import {markdownLineEnding} from 'micromark-util-character'
import {codes} from 'micromark-util-symbol/codes.js'
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@
"micromark-util-character": "^1.0.0",
"micromark-util-symbol": "^1.0.0",
"micromark-util-types": "^1.0.0",
"power-assert": "^1.0.0",
"vfile-message": "^3.0.0"
},
"devDependencies": {
"@types/mdast": "^3.0.0",
"@types/power-assert": "^1.0.0",
"@types/tape": "^4.0.0",
"acorn": "^8.0.0",
"acorn-jsx": "^5.0.0",
Expand Down

0 comments on commit 08d5826

Please sign in to comment.