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
9,620 changes: 2,637 additions & 6,983 deletions package-lock.json

Large diffs are not rendered by default.

28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,44 +35,44 @@
"prettier": "^3.1.0 || ^4.0.0-alpha"
},
"dependencies": {
"atomically": "^2.0.3",
"atomically": "^2.1.0",
"fast-ignore": "^1.1.3",
"find-up-json": "^2.0.5",
"function-once": "^3.0.1",
"import-meta-resolve": "^4.1.0",
"is-binary-path": "^2.0.0",
"js-yaml": "^4.1.0",
"json-sorted-stringify": "^1.0.1",
"import-meta-resolve": "^4.2.0",
"is-binary-path": "^3.0.0",
"js-yaml": "^4.1.1",
"json-sorted-stringify": "^1.0.2",
"json5": "^2.2.3",
"kasi": "^1.1.1",
"lomemo": "^1.0.1",
"pioppo": "^1.2.1",
"promise-resolve-timeout": "^2.0.1",
"smol-toml": "^1.3.4",
"smol-toml": "^1.5.2",
"specialist": "^1.4.5",
"tiny-editorconfig": "^1.0.0",
"tiny-editorconfig": "^1.0.1",
"tiny-readdir": "^2.7.4",
"tiny-readdir-glob": "^1.23.2",
"tiny-spinner": "^2.0.5",
"worktank": "^3.0.2",
"zeptomatch": "^2.0.2",
"zeptomatch": "^2.1.0",
"zeptomatch-escape": "^1.0.1",
"zeptomatch-is-static": "^1.0.1"
},
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/jest": "^30.0.0",
"@types/js-yaml": "^4.0.9",
"@types/node": "^22.15.10",
"cross-env": "^7.0.3",
"jest": "^30.0.0",
"@types/node": "^24.10.1",
"cross-env": "^10.1.0",
"jest": "^30.2.0",
"jest-snapshot-serializer-ansi": "^2.2.1",
"jest-snapshot-serializer-raw": "^2.0.0",
"json-archive": "^2.1.0",
"nanoexec": "^1.1.0",
"prettier": "3.5.3",
"prettier": "3.6.2",
"radix64-encoding": "^2.0.2",
"tiny-dirname": "^1.0.2",
"typescript": "^5.8.3",
"typescript": "^5.9.3",
"zeptoid": "^1.0.2"
}
}
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/arg-parsing.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`allow overriding flags (stderr) 1`] = `""`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/check.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`--checks should print the number of files that need formatting (stderr) 1`] = `
"[warn] unformatted.js
Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/cursor-offset.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`cursorOffset should not be affected by full-width character (stdout) 1`] = `
"const x = [
Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/early-exit.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`show usage with --help shows help text 1`] = `
"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`error on unmatched pattern (stderr) 1`] = `"[error] No files matching the given patterns were found."`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/ignore-absolute-path.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`support absolute filename (stderr) 1`] = `""`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/ignore-emoji.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`ignores file name contains emoji (stderr) 1`] = `""`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/ignore-folder.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`ignores files in ignored folders (stderr) 1`] = `""`;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`formats files when executing in a subdirectory (stderr) 1`] = `""`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/ignore-relative-path.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`support relative paths (stderr) 1`] = `""`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/ignore-unknown.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`Ignored file (stderr) 1`] = `""`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/ignore-vcs-files.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`does not ignore files in version control systems, if manually provided (stderr) 1`] = `""`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/infer-parser.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`--check with unknown path and no parser multiple files (stdout) 1`] = `"Checking formatting..."`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/infer-plugins-ext-dir.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`infer file ext that supported by only plugins basic (stderr) 1`] = `""`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/invalid-ignore.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`ignores .prettierignore folder (stderr) 1`] = `""`;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`Line breaking after filepath with errors (stderr) 1`] = `
"[error] invalid-1.js: SyntaxError: Unexpected token (1:8)
Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/list-different.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`--list-different works in CI just as in a non-TTY mode (stderr) 1`] = `""`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/patterns-glob.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`fixtures-1: Should match all files (stderr) 1`] = `""`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/patterns.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`exits with an informative message when there are no patterns provided (stderr) 1`] = `
"
Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/plugin-options-string.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`show external options with \`--help\` 1`] = `
" --parser <flow,babel,babel-flow,babel-ts,typescript,acorn,espree,meriyah,css,less,scss,json,json5,jsonc,json-stringify,graphql,markdown,mdx,vue,yaml,glimmer,html,angular,lwc,foo-parser>
Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/plugin-options.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`show external options with \`--help\` 1`] = `
" --parser <flow,babel,babel-flow,babel-ts,typescript,acorn,espree,meriyah,css,less,scss,json,json5,jsonc,json-stringify,graphql,markdown,mdx,vue,yaml,glimmer,html,angular,lwc,foo-parser>
Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/print-code.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`Line breaking after filepath with errors (stdout) 1`] = `"foo();"`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/skip-folders.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`skip folders passed specifically (stdout) 1`] = `
"a/file.js
Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/syntax-error.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`exits with non-zero code when input has a syntax error (stderr) 1`] = `
"[error] SyntaxError: Missing semicolon. (1:2)
Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/with-node-modules.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`does not ignore node_modules for manual file list (stderr) 1`] = `""`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/with-parser-inference.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`infers parser from filename (.prettierrc) (stdout) 1`] = `"{}"`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/with-shebang.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`preserves shebang (stderr) 1`] = `""`;

Expand Down
2 changes: 1 addition & 1 deletion test/__tests__/__snapshots__/write.js.snap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing

exports[`do not write file with --write + formatted file (stderr) 1`] = `""`;

Expand Down