Skip to content

Commit

Permalink
build(deps-dev): bump @types/unist from 2.0.6 to 3.0.0
Browse files Browse the repository at this point in the history
Signed-off-by: Lexus Drumgold <[email protected]>
  • Loading branch information
unicornware committed Jul 27, 2023
1 parent 51d5da0 commit d4ff078
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
8 changes: 1 addition & 7 deletions .eslintrc.base.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -180,13 +180,7 @@ const config = {
}
],
'@typescript-eslint/no-empty-interface': 0,
'@typescript-eslint/no-explicit-any': [
2,
{
fixToUnknown: true,
ignoreRestArgs: true
}
],
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-extra-non-null-assertion': 2,
'@typescript-eslint/no-extra-parens': 0,
'@typescript-eslint/no-extra-semi': 0,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"@types/node-notifier": "8.0.2",
"@types/prettier": "2.7.3",
"@types/semver": "7.5.0",
"@types/unist": "2.0.6",
"@types/unist": "3.0.0",
"@typescript-eslint/eslint-plugin": "6.2.0",
"@typescript-eslint/parser": "6.2.0",
"@vates/toggle-scripts": "1.0.0",
Expand Down
5 changes: 3 additions & 2 deletions src/nodes/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

import type { Type } from '#src/enums'
import type { Position } from '#src/interfaces'
import type { Objectify } from '@flex-development/tutils'
import type unist from 'unist'

/**
Expand All @@ -14,9 +15,9 @@ import type unist from 'unist'
*
* @template Data - Information from the ecosystem
*
* @extends {unist.Node<Data>}
* @extends {unist.Node}
*/
interface Node<Data extends unist.Data = unist.Data> extends unist.Node<Data> {
interface Node<Data extends Objectify<any> = unist.Data> extends unist.Node {
/**
* Information from the ecosystem.
*
Expand Down
11 changes: 9 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ __metadata:
"@types/node-notifier": "npm:8.0.2"
"@types/prettier": "npm:2.7.3"
"@types/semver": "npm:7.5.0"
"@types/unist": "npm:2.0.6"
"@types/unist": "npm:3.0.0"
"@typescript-eslint/eslint-plugin": "npm:6.2.0"
"@typescript-eslint/parser": "npm:6.2.0"
"@vates/toggle-scripts": "npm:1.0.0"
Expand Down Expand Up @@ -2405,7 +2405,14 @@ __metadata:
languageName: node
linkType: hard

"@types/unist@npm:*, @types/unist@npm:2.0.6, @types/unist@npm:^2.0.2":
"@types/unist@npm:*, @types/unist@npm:3.0.0":
version: 3.0.0
resolution: "@types/unist@npm:3.0.0"
checksum: 8c6b2b50aafee9d8abeb6fd7f16b354e7d2f84771fd2c44f8e2a73924571083a5c318b490038dfac8c0cec7c23bf0a5c832e83921f47ab052cd3c9da9a09713d
languageName: node
linkType: hard

"@types/unist@npm:^2.0.2":
version: 2.0.6
resolution: "@types/unist@npm:2.0.6"
checksum: 4731b678e9d9ab41386b48bf67a5da9000705c6ae84cd4fc866f774004f5e8190a33117dbff95efc54b44404deaa08a421b646823b01c57db3eeb0652cdc71a9
Expand Down

0 comments on commit d4ff078

Please sign in to comment.