Skip to content

Commit 2a50304

Browse files
committed
Update dev-dependencies
1 parent b5457a3 commit 2a50304

File tree

3 files changed

+17
-17
lines changed

3 files changed

+17
-17
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,15 @@
4040
"zwitch": "^2.0.0"
4141
},
4242
"devDependencies": {
43-
"@types/node": "^18.0.0",
44-
"c8": "^7.0.0",
43+
"@types/node": "^20.0.0",
44+
"c8": "^8.0.0",
4545
"prettier": "^2.0.0",
4646
"remark-cli": "^11.0.0",
4747
"remark-preset-wooorm": "^9.0.0",
48-
"tsd": "^0.25.0",
48+
"tsd": "^0.28.0",
4949
"type-coverage": "^2.0.0",
50-
"typescript": "^4.0.0",
51-
"xo": "^0.53.0"
50+
"typescript": "^5.0.0",
51+
"xo": "^0.54.0"
5252
},
5353
"scripts": {
5454
"prepack": "npm run build && npm run format",

test/core.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import nodeAssert from 'node:assert/strict'
2+
import test from 'node:test'
3+
import * as mod from '../index.js'
4+
5+
test('assert', () => {
6+
nodeAssert.deepEqual(
7+
Object.keys(mod).sort(),
8+
['_void', 'assert', 'literal', 'parent', 'wrap'],
9+
'should expose the public api'
10+
)
11+
})

test/index.js

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
import nodeAssert from 'node:assert/strict'
2-
import test from 'node:test'
3-
import * as mod from '../index.js'
4-
51
/* eslint-disable import/no-unassigned-import */
2+
import './core.js'
63
import './node.js'
74
import './children.js'
85
import './root.js'
@@ -19,11 +16,3 @@ import './image-reference.js'
1916
import './footnote-reference.js'
2017
import './table.js'
2118
/* eslint-enable import/no-unassigned-import */
22-
23-
test('assert', () => {
24-
nodeAssert.deepEqual(
25-
Object.keys(mod).sort(),
26-
['_void', 'assert', 'literal', 'parent', 'wrap'],
27-
'should expose the public api'
28-
)
29-
})

0 commit comments

Comments
 (0)