Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/remove-uvu.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"eslint-mdx": patch
---

fix: remove unneeded dependency upon uvu
1 change: 0 additions & 1 deletion packages/eslint-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@
"unified": "^11.0.5",
"unified-engine": "^11.2.2",
"unist-util-visit": "^5.0.0",
"uvu": "^0.5.6",
"vfile": "^6.0.3"
}
}
3 changes: 2 additions & 1 deletion packages/eslint-mdx/src/tokens.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
/// <reference types="remark-mdx" />

import { ok as assert } from 'node:assert/strict'

import type { Token, TokenType, tokTypes } from 'acorn'
import type { Root } from 'mdast'
import type { visit as visitor } from 'unist-util-visit'
import { ok as assert } from 'uvu/assert'

import {
getPositionAtFactory,
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-mdx/src/worker.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* eslint-disable unicorn/no-await-expression-member */

import { ok as assert } from 'node:assert/strict'
import path from 'node:path'
import { pathToFileURL } from 'node:url'
import { promisify } from 'node:util'
Expand Down Expand Up @@ -40,7 +41,6 @@ import type { ConfigResult } from 'unified-engine'
import { Configuration } from 'unified-engine'
import type { Node } from 'unist'
import { visit } from 'unist-util-visit'
import { ok as assert } from 'uvu/assert'
import { VFile, type VFileOptions } from 'vfile'
import type { VFileMessage } from 'vfile-message'

Expand Down
35 changes: 2 additions & 33 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6764,7 +6764,7 @@ __metadata:
languageName: node
linkType: hard

"diff@npm:^5.0.0, diff@npm:^5.1.0":
"diff@npm:^5.1.0":
version: 5.2.0
resolution: "diff@npm:5.2.0"
checksum: 10c0/aed0941f206fe261ecb258dc8d0ceea8abbde3ace5827518ff8d302f0fc9cc81ce116c4d8f379151171336caf0516b79e01abdc1ed1201b6440d895a66689eb4
Expand Down Expand Up @@ -7331,7 +7331,6 @@ __metadata:
unified: "npm:^11.0.5"
unified-engine: "npm:^11.2.2"
unist-util-visit: "npm:^5.0.0"
uvu: "npm:^0.5.6"
vfile: "npm:^6.0.3"
peerDependencies:
eslint: ">=8.0.0"
Expand Down Expand Up @@ -10117,13 +10116,6 @@ __metadata:
languageName: node
linkType: hard

"kleur@npm:^4.0.3":
version: 4.1.5
resolution: "kleur@npm:4.1.5"
checksum: 10c0/e9de6cb49657b6fa70ba2d1448fd3d691a5c4370d8f7bbf1c2f64c24d461270f2117e1b0afe8cb3114f13bbd8e51de158c2a224953960331904e636a5e4c0f2a
languageName: node
linkType: hard

"known-css-properties@npm:^0.34.0":
version: 0.34.0
resolution: "known-css-properties@npm:0.34.0"
Expand Down Expand Up @@ -11521,7 +11513,7 @@ __metadata:
languageName: node
linkType: hard

"mri@npm:^1.1.0, mri@npm:^1.2.0":
"mri@npm:^1.2.0":
version: 1.2.0
resolution: "mri@npm:1.2.0"
checksum: 10c0/a3d32379c2554cf7351db6237ddc18dc9e54e4214953f3da105b97dc3babe0deb3ffe99cf409b38ea47cc29f9430561ba6b53b24ab8f9ce97a4b50409e4a50e7
Expand Down Expand Up @@ -13923,15 +13915,6 @@ __metadata:
languageName: node
linkType: hard

"sade@npm:^1.7.3":
version: 1.8.1
resolution: "sade@npm:1.8.1"
dependencies:
mri: "npm:^1.1.0"
checksum: 10c0/da8a3a5d667ad5ce3bf6d4f054bbb9f711103e5df21003c5a5c1a8a77ce12b640ed4017dd423b13c2307ea7e645adee7c2ae3afe8051b9db16a6f6d3da3f90b1
languageName: node
linkType: hard

"safe-array-concat@npm:^1.1.3":
version: 1.1.3
resolution: "safe-array-concat@npm:1.1.3"
Expand Down Expand Up @@ -15406,20 +15389,6 @@ __metadata:
languageName: node
linkType: hard

"uvu@npm:^0.5.6":
version: 0.5.6
resolution: "uvu@npm:0.5.6"
dependencies:
dequal: "npm:^2.0.0"
diff: "npm:^5.0.0"
kleur: "npm:^4.0.3"
sade: "npm:^1.7.3"
bin:
uvu: bin.js
checksum: 10c0/ad32eb5f7d94bdeb71f80d073003f0138e24f61ed68cecc8e15d2f30838f44c9670577bb1775c8fac894bf93d1bc1583d470a9195e49bfa6efa14cc6f4942bff
languageName: node
linkType: hard

"v8-compile-cache-lib@npm:^3.0.1":
version: 3.0.1
resolution: "v8-compile-cache-lib@npm:3.0.1"
Expand Down
Loading