Skip to content

Commit 232cdcf

Browse files
committed
chore: bump all non-major (dev) deps
1 parent f5622de commit 232cdcf

File tree

13 files changed

+2574
-2825
lines changed

13 files changed

+2574
-2825
lines changed

.codesandbox/ci.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"node": "18",
3-
"installCommand": "codesandbox:install",
2+
"node": "20",
43
"packages": [
54
"packages/*"
65
],

.github/workflows/ci.yml

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
- push
55
- pull_request
66

7+
concurrency:
8+
group: ${{ github.workflow }}-${{ github.ref }}
9+
cancel-in-progress: true
10+
711
jobs:
812
ci:
913
name: Lint and Test with Node.js ${{ matrix.node }} on ${{ matrix.os }}
@@ -16,6 +20,7 @@ jobs:
1620
node:
1721
- 18
1822
- 20
23+
fail-fast: false
1924
runs-on: ${{ matrix.os }}
2025
steps:
2126
- name: Checkout Repo

.github/workflows/pkg-size.yml

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches:
66
- master
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
pkg-size-report:
1014
name: Package Size Report

package.json

+21-21
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,12 @@
99
"workspaces": [
1010
"packages/*"
1111
],
12-
"packageManager": "yarn@4.0.2",
12+
"packageManager": "yarn@4.7.0",
1313
"scripts": {
1414
"build": "concurrently -r 'yarn:build:*'",
1515
"build:r": "r -f es2015",
1616
"build:ts": "tsc -b",
1717
"clean": "rimraf --glob 'packages/*/{lib,*.tsbuildinfo}'",
18-
"codesandbox:install": "yarn --ignore-engines",
1918
"lint": "yarn build && concurrently -r 'yarn:lint:*'",
2019
"lint:es": "eslint . --cache -f friendly",
2120
"lint:tsc": "tsc --noEmit",
@@ -24,34 +23,35 @@
2423
"release:only": "changeset publish",
2524
"test": "cross-env NODE_OPTIONS=--experimental-vm-modules jest",
2625
"typecov": "type-coverage",
27-
"version": "changeset version && yarn --no-immutable"
26+
"version": "changeset version && yarn --no-immutable",
27+
"prettier": "prettier --log-level silent"
2828
},
2929
"devDependencies": {
3030
"@1stg/common-config": "^10.0.0",
31-
"@changesets/changelog-github": "^0.5.0",
32-
"@changesets/cli": "^2.27.1",
31+
"@changesets/changelog-github": "^0.5.1",
32+
"@changesets/cli": "^2.28.1",
3333
"@commitlint/cli": "^18.6.1",
3434
"@pkgr/rollup": "^5.0.0",
35-
"@types/acorn": "^6.0.0",
36-
"@types/eslint": "^8.56.1",
37-
"@types/jest": "^29.5.11",
38-
"@types/node": "^20.10.6",
39-
"@types/react": "^18.2.61",
40-
"@types/unist": "^3.0.2",
35+
"@types/acorn": "^6.0.4",
36+
"@types/eslint": "^8.56.12",
37+
"@types/jest": "^29.5.14",
38+
"@types/node": "^20.17.24",
39+
"@types/react": "^18.3.18",
40+
"@types/unist": "^3.0.3",
41+
"@unts/patch-package": "^8.1.1",
4142
"concurrently": "^8.2.2",
4243
"cross-env": "^7.0.3",
43-
"eslint": "^8.56.0",
44-
"jest": "^30.0.0-alpha.2",
45-
"lint-staged": "^15.2.1",
46-
"patch-package": "^8.0.0",
44+
"eslint": "^8.57.1",
45+
"jest": "^30.0.0-alpha.7",
46+
"lint-staged": "^15.4.3",
4747
"prettier": "^3.5.3",
48-
"react": "^18.2.0",
49-
"rimraf": "^5.0.5",
50-
"simple-git-hooks": "^2.9.0",
51-
"ts-jest": "^29.1.2",
48+
"react": "^18.3.1",
49+
"rimraf": "^5.0.10",
50+
"simple-git-hooks": "^2.11.1",
51+
"ts-jest": "^29.2.6",
5252
"ts-node": "^10.9.2",
53-
"type-coverage": "^2.27.1",
54-
"typescript": "^5.3.3"
53+
"type-coverage": "^2.29.7",
54+
"typescript": "~5.3.3"
5555
},
5656
"resolutions": {
5757
"@types/acorn": "^6.0.0",

packages/eslint-mdx/package.json

+7-7
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@
3030
"eslint": ">=8.0.0"
3131
},
3232
"dependencies": {
33-
"acorn": "^8.11.3",
33+
"acorn": "^8.14.1",
3434
"acorn-jsx": "^5.3.2",
3535
"espree": "^9.6.1",
3636
"estree-util-visit": "^2.0.0",
37-
"remark-mdx": "^3.0.0",
37+
"remark-mdx": "^3.1.0",
3838
"remark-parse": "^11.0.0",
3939
"remark-stringify": "^11.0.0",
40-
"synckit": "^0.9.0",
41-
"tslib": "^2.6.2",
42-
"unified": "^11.0.4",
43-
"unified-engine": "^11.2.0",
40+
"synckit": "^0.9.2",
41+
"tslib": "^2.8.1",
42+
"unified": "^11.0.5",
43+
"unified-engine": "^11.2.2",
4444
"unist-util-visit": "^5.0.0",
4545
"uvu": "^0.5.6",
46-
"vfile": "^6.0.1"
46+
"vfile": "^6.0.3"
4747
}
4848
}

packages/eslint-mdx/src/helpers.ts

+1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ export const getPhysicalFilename = (
3535
const { code } = err as { code: string }
3636
// https://github.com/eslint/eslint/issues/11989
3737
// Additionally, it seems there is no `ENOTDIR` code on Windows...
38+
// istanbul ignore if
3839
if (code === 'ENOTDIR' || code === 'ENOENT') {
3940
return getPhysicalFilename(path.dirname(filename), filename)
4041
}

packages/eslint-plugin-mdx/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@
3333
"dependencies": {
3434
"eslint-mdx": "^3.1.5",
3535
"mdast-util-from-markdown": "^2.0.2",
36-
"remark-mdx": "^3.0.0",
36+
"remark-mdx": "^3.1.0",
3737
"remark-parse": "^11.0.0",
3838
"remark-stringify": "^11.0.0",
39-
"synckit": "^0.9.0",
40-
"tslib": "^2.6.2",
41-
"unified": "^11.0.4",
42-
"vfile": "^6.0.1"
39+
"synckit": "^0.9.2",
40+
"tslib": "^2.8.1",
41+
"unified": "^11.0.5",
42+
"vfile": "^6.0.3"
4343
}
4444
}

packages/eslint-plugin-mdx/src/processors/markdown.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ const codeBlockFileNameRegex = /filename=(["']).*?\1/u
238238
* @returns {string | null | undefined} The filename, if parsed from block meta.
239239
*/
240240
function fileNameFromMeta(block: Block): string | null | undefined {
241+
// istanbul ignore next
241242
return block.meta
242243
?.match(codeBlockFileNameRegex)
243244
?.groups.filename.replaceAll(/\s+/gu, '_')
@@ -261,6 +262,7 @@ function preprocess(
261262
sourceText: string,
262263
filename: string,
263264
): Array<{ filename: string; text: string }> {
265+
// istanbul ignore next
264266
const text = sourceText.startsWith(BOM) ? sourceText.slice(1) : sourceText
265267
const ast = fromMarkdown(text)
266268
const blocks: Block[] = []
@@ -327,12 +329,12 @@ function preprocess(
327329
},
328330
})
329331

332+
// istanbul ignore next
330333
return blocks.map((block, index) => {
331334
const [language] = block.lang.trim().split(' ')
332335
const fileExtension = Object.hasOwn(languageToFileExtension, language)
333336
? languageToFileExtension[language]
334337
: language
335-
336338
return {
337339
filename: fileNameFromMeta(block) ?? `${index}.${fileExtension}`,
338340
text: [...block.comments, block.value, ''].join('\n'),
@@ -388,6 +390,7 @@ function adjustBlock(
388390
return function adjustMessage(
389391
message: Linter.LintMessage,
390392
): Linter.LintMessage {
393+
// istanbul ignore if
391394
if (!Number.isInteger(message.line)) {
392395
return {
393396
...message,
@@ -407,10 +410,12 @@ function adjustBlock(
407410
column: message.column + block.rangeMap[lineInCode].indent,
408411
}
409412

413+
// istanbul ignore if
410414
if (Number.isInteger(message.endLine)) {
411415
out.endLine = message.endLine - leadingCommentLines + blockStart
412416
}
413417

418+
// istanbul ignore if
414419
if (Array.isArray(message.suggestions)) {
415420
out.suggestions = message.suggestions.map(suggestion => ({
416421
...suggestion,
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
import type { fromMarkdown as fromMarkdown_ } from 'mdast-util-from-markdown'
1+
import { loadEsmModule } from 'eslint-mdx'
2+
import type * as _ from 'mdast-util-from-markdown'
23
import { runAsWorker } from 'synckit'
34

4-
let fromMarkdown: typeof fromMarkdown_
5+
let fromMarkdown: typeof _.fromMarkdown
56

67
runAsWorker(async (...args: Parameters<typeof fromMarkdown>) => {
78
if (!fromMarkdown) {
8-
;({ fromMarkdown } = await import('mdast-util-from-markdown'))
9+
;({ fromMarkdown } = await loadEsmModule<typeof _>(
10+
'mdast-util-from-markdown',
11+
))
912
}
1013
return fromMarkdown(...args)
1114
})
File renamed without changes.

patches/smartwrap+2.0.2.patch

-11
This file was deleted.

patches/tty-table+4.2.3.patch

-23
This file was deleted.

0 commit comments

Comments
 (0)