Skip to content

Commit 5737899

Browse files
committed
Update dev-dependencies
1 parent 4c74f03 commit 5737899

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
@@ -41,15 +41,15 @@
4141
"@types/unist": "^2.0.0"
4242
},
4343
"devDependencies": {
44-
"@types/node": "^18.0.0",
45-
"c8": "^7.0.0",
44+
"@types/node": "^20.0.0",
45+
"c8": "^8.0.0",
4646
"prettier": "^2.0.0",
4747
"remark-cli": "^11.0.0",
4848
"remark-preset-wooorm": "^9.0.0",
49-
"tsd": "^0.25.0",
49+
"tsd": "^0.28.0",
5050
"type-coverage": "^2.0.0",
51-
"typescript": "^4.0.0",
52-
"xo": "^0.53.0"
51+
"typescript": "^5.0.0",
52+
"xo": "^0.54.0"
5353
},
5454
"scripts": {
5555
"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 assert from 'node:assert/strict'
2+
import test from 'node:test'
3+
import * as mod from '../index.js'
4+
5+
test('assert', () => {
6+
assert.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,4 +1,5 @@
11
/* eslint-disable import/no-unassigned-import */
2+
import './core.js'
23
import './node.js'
34
import './type.js'
45
import './value.js'
@@ -9,15 +10,3 @@ import './parent.js'
910
import './literal.js'
1011
import './void.js'
1112
/* eslint-enable import/no-unassigned-import */
12-
13-
import assert from 'node:assert/strict'
14-
import test from 'node:test'
15-
import * as mod from '../index.js'
16-
17-
test('assert', () => {
18-
assert.deepEqual(
19-
Object.keys(mod).sort(),
20-
['_void', 'assert', 'literal', 'parent', 'wrap'],
21-
'should expose the public api'
22-
)
23-
})

0 commit comments

Comments
 (0)