prettier 3.5.1 → 3.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -30,7 +30,7 @@
30
30
  </em>
31
31
  <br />
32
32
  <em>
33
- <a href="https://prettier.io/docs/en/plugins.html">
33
+ <a href="https://prettier.io/docs/plugins">
34
34
  Your favorite language?
35
35
  </a>
36
36
  </em>
@@ -102,7 +102,7 @@ Author: The Babel Team (https://babel.dev/team)
102
102
 
103
103
  ----------------------------------------
104
104
 
105
- ## @babel/parser@v7.26.8
105
+ ## @babel/parser@v7.26.9
106
106
 
107
107
  > A JavaScript parser
108
108
 
@@ -133,7 +133,7 @@ Author: The Babel Team (https://babel.dev/team)
133
133
 
134
134
  ----------------------------------------
135
135
 
136
- ## @glimmer/syntax@v0.94.3
136
+ ## @glimmer/syntax@v0.94.7
137
137
 
138
138
  License: MIT
139
139
  Repository: <git+https://github.com/glimmerjs/glimmer-vm.git>
@@ -160,7 +160,7 @@ Repository: <git+https://github.com/glimmerjs/glimmer-vm.git>
160
160
 
161
161
  ----------------------------------------
162
162
 
163
- ## @glimmer/util@v0.94.3
163
+ ## @glimmer/util@v0.94.6
164
164
 
165
165
  > Common utilities used in Glimmer
166
166
 
@@ -189,7 +189,7 @@ Repository: <git+https://github.com/glimmerjs/glimmer-vm.git>
189
189
 
190
190
  ----------------------------------------
191
191
 
192
- ## @glimmer/wire-format@v0.94.3
192
+ ## @glimmer/wire-format@v0.94.6
193
193
 
194
194
  License: MIT
195
195
  Repository: <git+https://github.com/glimmerjs/glimmer-vm.git>
@@ -414,7 +414,7 @@ Author: Alex Bell <alex@bellandwhistle.net>
414
414
 
415
415
  ----------------------------------------
416
416
 
417
- ## @typescript-eslint/types@v8.20.0
417
+ ## @typescript-eslint/types@v8.24.1
418
418
 
419
419
  > Types for the TypeScript-ESTree AST spec
420
420
 
@@ -446,7 +446,7 @@ Repository: <https://github.com/typescript-eslint/typescript-eslint.git>
446
446
 
447
447
  ----------------------------------------
448
448
 
449
- ## @typescript-eslint/typescript-estree@v8.20.0
449
+ ## @typescript-eslint/typescript-estree@v8.24.1
450
450
 
451
451
  > A parser that converts TypeScript source code into an ESTree compatible form
452
452
 
@@ -2947,7 +2947,7 @@ Author: typicode
2947
2947
 
2948
2948
  ----------------------------------------
2949
2949
 
2950
- ## postcss@v8.5.1
2950
+ ## postcss@v8.5.3
2951
2951
 
2952
2952
  > Tool for transforming styles with JS plugins
2953
2953
 
@@ -3692,7 +3692,7 @@ Contributors:
3692
3692
 
3693
3693
  ----------------------------------------
3694
3694
 
3695
- ## ts-api-utils@v2.0.0
3695
+ ## ts-api-utils@v2.0.1
3696
3696
 
3697
3697
  > Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️
3698
3698
 
package/index.cjs CHANGED
@@ -611,7 +611,7 @@ var init_public = __esm({
611
611
  // src/main/version.evaluate.cjs
612
612
  var require_version_evaluate = __commonJS({
613
613
  "src/main/version.evaluate.cjs"(exports2, module2) {
614
- module2.exports = "3.5.1";
614
+ module2.exports = "3.5.3";
615
615
  }
616
616
  });
617
617
 
package/index.d.ts CHANGED
@@ -578,7 +578,7 @@ export interface CursorResult {
578
578
  }
579
579
 
580
580
  /**
581
- * `format` is used to format text using Prettier. [Options](https://prettier.io/docs/en/options.html) may be provided to override the defaults.
581
+ * `format` is used to format text using Prettier. [Options](https://prettier.io/docs/options) may be provided to override the defaults.
582
582
  */
583
583
  export function format(source: string, options?: Options): Promise<string>;
584
584
 
@@ -627,7 +627,7 @@ export interface ResolveConfigOptions {
627
627
  *
628
628
  * A promise is returned which will resolve to:
629
629
  *
630
- * - An options object, providing a [config file](https://prettier.io/docs/en/configuration.html) was found.
630
+ * - An options object, providing a [config file](https://prettier.io/docs/configuration) was found.
631
631
  * - `null`, if no file was found.
632
632
  *
633
633
  * The promise will be rejected if there was an error parsing the configuration file.
package/index.mjs CHANGED
@@ -6419,9 +6419,9 @@ var require_yallist = __commonJS({
6419
6419
  }
6420
6420
  });
6421
6421
 
6422
- // node_modules/lru-cache/index.js
6422
+ // node_modules/editorconfig/node_modules/lru-cache/index.js
6423
6423
  var require_lru_cache = __commonJS({
6424
- "node_modules/lru-cache/index.js"(exports, module) {
6424
+ "node_modules/editorconfig/node_modules/lru-cache/index.js"(exports, module) {
6425
6425
  "use strict";
6426
6426
  module.exports = LRUCache;
6427
6427
  var Map2 = require_map();
@@ -20019,7 +20019,7 @@ async function printEmbeddedLanguages(path13, genericPrint, options8, printAstTo
20019
20019
  }
20020
20020
  if (embed.length > 2) {
20021
20021
  throw new Error(
20022
- "printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed"
20022
+ "printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/plugins#optional-embed"
20023
20023
  );
20024
20024
  }
20025
20025
  const getVisitorKeys = create_get_visitor_keys_function_default(
@@ -21924,7 +21924,7 @@ var object_omit_default = omit;
21924
21924
  import * as doc from "./doc.mjs";
21925
21925
 
21926
21926
  // src/main/version.evaluate.cjs
21927
- var version_evaluate_default = "3.5.1";
21927
+ var version_evaluate_default = "3.5.3";
21928
21928
 
21929
21929
  // src/utils/public.js
21930
21930
  var public_exports = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prettier",
3
- "version": "3.5.1",
3
+ "version": "3.5.3",
4
4
  "description": "Prettier is an opinionated code formatter",
5
5
  "bin": "./bin/prettier.cjs",
6
6
  "repository": "prettier/prettier",
@@ -14,7 +14,6 @@
14
14
  "exports": {
15
15
  ".": {
16
16
  "types": "./index.d.ts",
17
- "module-sync": "./index.mjs",
18
17
  "require": "./index.cjs",
19
18
  "browser": {
20
19
  "import": "./standalone.mjs",
@@ -25,91 +24,76 @@
25
24
  "./*": "./*",
26
25
  "./doc": {
27
26
  "types": "./doc.d.ts",
28
- "module-sync": "./doc.mjs",
29
27
  "require": "./doc.js",
30
28
  "default": "./doc.mjs"
31
29
  },
32
30
  "./standalone": {
33
31
  "types": "./standalone.d.ts",
34
- "module-sync": "./standalone.mjs",
35
32
  "require": "./standalone.js",
36
33
  "default": "./standalone.mjs"
37
34
  },
38
35
  "./plugins/estree": {
39
36
  "types": "./plugins/estree.d.ts",
40
- "module-sync": "./plugins/estree.mjs",
41
37
  "require": "./plugins/estree.js",
42
38
  "default": "./plugins/estree.mjs"
43
39
  },
44
40
  "./plugins/babel": {
45
41
  "types": "./plugins/babel.d.ts",
46
- "module-sync": "./plugins/babel.mjs",
47
42
  "require": "./plugins/babel.js",
48
43
  "default": "./plugins/babel.mjs"
49
44
  },
50
45
  "./plugins/flow": {
51
46
  "types": "./plugins/flow.d.ts",
52
- "module-sync": "./plugins/flow.mjs",
53
47
  "require": "./plugins/flow.js",
54
48
  "default": "./plugins/flow.mjs"
55
49
  },
56
50
  "./plugins/typescript": {
57
51
  "types": "./plugins/typescript.d.ts",
58
- "module-sync": "./plugins/typescript.mjs",
59
52
  "require": "./plugins/typescript.js",
60
53
  "default": "./plugins/typescript.mjs"
61
54
  },
62
55
  "./plugins/acorn": {
63
56
  "types": "./plugins/acorn.d.ts",
64
- "module-sync": "./plugins/acorn.mjs",
65
57
  "require": "./plugins/acorn.js",
66
58
  "default": "./plugins/acorn.mjs"
67
59
  },
68
60
  "./plugins/meriyah": {
69
61
  "types": "./plugins/meriyah.d.ts",
70
- "module-sync": "./plugins/meriyah.mjs",
71
62
  "require": "./plugins/meriyah.js",
72
63
  "default": "./plugins/meriyah.mjs"
73
64
  },
74
65
  "./plugins/angular": {
75
66
  "types": "./plugins/angular.d.ts",
76
- "module-sync": "./plugins/angular.mjs",
77
67
  "require": "./plugins/angular.js",
78
68
  "default": "./plugins/angular.mjs"
79
69
  },
80
70
  "./plugins/postcss": {
81
71
  "types": "./plugins/postcss.d.ts",
82
- "module-sync": "./plugins/postcss.mjs",
83
72
  "require": "./plugins/postcss.js",
84
73
  "default": "./plugins/postcss.mjs"
85
74
  },
86
75
  "./plugins/graphql": {
87
76
  "types": "./plugins/graphql.d.ts",
88
- "module-sync": "./plugins/graphql.mjs",
89
77
  "require": "./plugins/graphql.js",
90
78
  "default": "./plugins/graphql.mjs"
91
79
  },
92
80
  "./plugins/markdown": {
93
81
  "types": "./plugins/markdown.d.ts",
94
- "module-sync": "./plugins/markdown.mjs",
95
82
  "require": "./plugins/markdown.js",
96
83
  "default": "./plugins/markdown.mjs"
97
84
  },
98
85
  "./plugins/glimmer": {
99
86
  "types": "./plugins/glimmer.d.ts",
100
- "module-sync": "./plugins/glimmer.mjs",
101
87
  "require": "./plugins/glimmer.js",
102
88
  "default": "./plugins/glimmer.mjs"
103
89
  },
104
90
  "./plugins/html": {
105
91
  "types": "./plugins/html.d.ts",
106
- "module-sync": "./plugins/html.mjs",
107
92
  "require": "./plugins/html.js",
108
93
  "default": "./plugins/html.mjs"
109
94
  },
110
95
  "./plugins/yaml": {
111
96
  "types": "./plugins/yaml.d.ts",
112
- "module-sync": "./plugins/yaml.mjs",
113
97
  "require": "./plugins/yaml.js",
114
98
  "default": "./plugins/yaml.mjs"
115
99
  },