Skip to content

Commit d4ff078

Browse files
committed
build(deps-dev): bump @types/unist from 2.0.6 to 3.0.0
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent 51d5da0 commit d4ff078

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

.eslintrc.base.cjs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -180,13 +180,7 @@ const config = {
180180
}
181181
],
182182
'@typescript-eslint/no-empty-interface': 0,
183-
'@typescript-eslint/no-explicit-any': [
184-
2,
185-
{
186-
fixToUnknown: true,
187-
ignoreRestArgs: true
188-
}
189-
],
183+
'@typescript-eslint/no-explicit-any': 0,
190184
'@typescript-eslint/no-extra-non-null-assertion': 2,
191185
'@typescript-eslint/no-extra-parens': 0,
192186
'@typescript-eslint/no-extra-semi': 0,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"@types/node-notifier": "8.0.2",
9393
"@types/prettier": "2.7.3",
9494
"@types/semver": "7.5.0",
95-
"@types/unist": "2.0.6",
95+
"@types/unist": "3.0.0",
9696
"@typescript-eslint/eslint-plugin": "6.2.0",
9797
"@typescript-eslint/parser": "6.2.0",
9898
"@vates/toggle-scripts": "1.0.0",

src/nodes/node.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
import type { Type } from '#src/enums'
77
import type { Position } from '#src/interfaces'
8+
import type { Objectify } from '@flex-development/tutils'
89
import type unist from 'unist'
910

1011
/**
@@ -14,9 +15,9 @@ import type unist from 'unist'
1415
*
1516
* @template Data - Information from the ecosystem
1617
*
17-
* @extends {unist.Node<Data>}
18+
* @extends {unist.Node}
1819
*/
19-
interface Node<Data extends unist.Data = unist.Data> extends unist.Node<Data> {
20+
interface Node<Data extends Objectify<any> = unist.Data> extends unist.Node {
2021
/**
2122
* Information from the ecosystem.
2223
*

yarn.lock

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ __metadata:
11051105
"@types/node-notifier": "npm:8.0.2"
11061106
"@types/prettier": "npm:2.7.3"
11071107
"@types/semver": "npm:7.5.0"
1108-
"@types/unist": "npm:2.0.6"
1108+
"@types/unist": "npm:3.0.0"
11091109
"@typescript-eslint/eslint-plugin": "npm:6.2.0"
11101110
"@typescript-eslint/parser": "npm:6.2.0"
11111111
"@vates/toggle-scripts": "npm:1.0.0"
@@ -2405,7 +2405,14 @@ __metadata:
24052405
languageName: node
24062406
linkType: hard
24072407

2408-
"@types/unist@npm:*, @types/unist@npm:2.0.6, @types/unist@npm:^2.0.2":
2408+
"@types/unist@npm:*, @types/unist@npm:3.0.0":
2409+
version: 3.0.0
2410+
resolution: "@types/unist@npm:3.0.0"
2411+
checksum: 8c6b2b50aafee9d8abeb6fd7f16b354e7d2f84771fd2c44f8e2a73924571083a5c318b490038dfac8c0cec7c23bf0a5c832e83921f47ab052cd3c9da9a09713d
2412+
languageName: node
2413+
linkType: hard
2414+
2415+
"@types/unist@npm:^2.0.2":
24092416
version: 2.0.6
24102417
resolution: "@types/unist@npm:2.0.6"
24112418
checksum: 4731b678e9d9ab41386b48bf67a5da9000705c6ae84cd4fc866f774004f5e8190a33117dbff95efc54b44404deaa08a421b646823b01c57db3eeb0652cdc71a9

0 commit comments

Comments
 (0)