prettier 3.3.2 → 3.4.0
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/LICENSE +119 -117
- package/bin/prettier.cjs +4 -0
- package/doc.d.ts +11 -0
- package/doc.js +103 -186
- package/doc.mjs +103 -186
- package/index.cjs +36 -10
- package/index.d.ts +6 -2
- package/index.mjs +3245 -4047
- package/internal/cli.mjs +346 -335
- package/package.json +3 -2
- package/plugins/acorn.js +14 -12
- package/plugins/acorn.mjs +14 -12
- package/plugins/angular.js +2 -1
- package/plugins/angular.mjs +2 -1
- package/plugins/babel.js +11 -12
- package/plugins/babel.mjs +11 -12
- package/plugins/estree.js +28 -28
- package/plugins/estree.mjs +28 -28
- package/plugins/flow.js +15 -16
- package/plugins/flow.mjs +15 -16
- package/plugins/glimmer.js +23 -23
- package/plugins/glimmer.mjs +23 -23
- package/plugins/graphql.js +8 -8
- package/plugins/graphql.mjs +8 -8
- package/plugins/html.js +17 -17
- package/plugins/html.mjs +17 -17
- package/plugins/markdown.js +45 -44
- package/plugins/markdown.mjs +45 -44
- package/plugins/meriyah.js +4 -5
- package/plugins/meriyah.mjs +4 -5
- package/plugins/postcss.js +31 -29
- package/plugins/postcss.mjs +31 -29
- package/plugins/typescript.js +15 -20
- package/plugins/typescript.mjs +15 -20
- package/plugins/yaml.js +20 -20
- package/plugins/yaml.mjs +20 -20
- package/standalone.js +35 -30
- package/standalone.mjs +35 -30
package/LICENSE
CHANGED
|
@@ -17,7 +17,7 @@ MIT, ISC, BSD-2-Clause, BSD-3-Clause, Apache-2.0
|
|
|
17
17
|
|
|
18
18
|
## Bundled dependencies
|
|
19
19
|
|
|
20
|
-
### @angular/compiler@
|
|
20
|
+
### @angular/compiler@v19.0.0
|
|
21
21
|
|
|
22
22
|
> Angular - the compiler library
|
|
23
23
|
|
|
@@ -25,47 +25,36 @@ License: MIT
|
|
|
25
25
|
Repository: <https://github.com/angular/angular.git>
|
|
26
26
|
Author: angular
|
|
27
27
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
### @babel/code-frame@v7.24.7
|
|
31
|
-
|
|
32
|
-
> Generate errors that contain a code frame that point to source locations.
|
|
33
|
-
|
|
34
|
-
License: MIT
|
|
35
|
-
Homepage: <https://babel.dev/docs/en/next/babel-code-frame>
|
|
36
|
-
Repository: <https://github.com/babel/babel.git>
|
|
37
|
-
Author: The Babel Team (https://babel.dev/team)
|
|
38
|
-
|
|
39
|
-
> MIT License
|
|
28
|
+
> The MIT License
|
|
40
29
|
>
|
|
41
|
-
> Copyright (c)
|
|
30
|
+
> Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
|
|
42
31
|
>
|
|
43
|
-
> Permission is hereby granted, free of charge, to any person obtaining
|
|
44
|
-
>
|
|
45
|
-
>
|
|
46
|
-
>
|
|
47
|
-
>
|
|
48
|
-
>
|
|
49
|
-
> the following conditions:
|
|
32
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
33
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
34
|
+
> in the Software without restriction, including without limitation the rights
|
|
35
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
36
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
37
|
+
> furnished to do so, subject to the following conditions:
|
|
50
38
|
>
|
|
51
|
-
> The above copyright notice and this permission notice shall be
|
|
52
|
-
>
|
|
39
|
+
> The above copyright notice and this permission notice shall be included in
|
|
40
|
+
> all copies or substantial portions of the Software.
|
|
53
41
|
>
|
|
54
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
55
|
-
>
|
|
56
|
-
>
|
|
57
|
-
>
|
|
58
|
-
>
|
|
59
|
-
> OF
|
|
60
|
-
>
|
|
42
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
43
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
44
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
45
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
46
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
47
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
48
|
+
> THE SOFTWARE.
|
|
61
49
|
|
|
62
50
|
----------------------------------------
|
|
63
51
|
|
|
64
|
-
### @babel/
|
|
52
|
+
### @babel/code-frame@v7.26.2
|
|
65
53
|
|
|
66
|
-
>
|
|
54
|
+
> Generate errors that contain a code frame that point to source locations.
|
|
67
55
|
|
|
68
56
|
License: MIT
|
|
57
|
+
Homepage: <https://babel.dev/docs/en/next/babel-code-frame>
|
|
69
58
|
Repository: <https://github.com/babel/babel.git>
|
|
70
59
|
Author: The Babel Team (https://babel.dev/team)
|
|
71
60
|
|
|
@@ -94,12 +83,11 @@ Author: The Babel Team (https://babel.dev/team)
|
|
|
94
83
|
|
|
95
84
|
----------------------------------------
|
|
96
85
|
|
|
97
|
-
### @babel/
|
|
86
|
+
### @babel/helper-validator-identifier@v7.25.9
|
|
98
87
|
|
|
99
|
-
>
|
|
88
|
+
> Validate identifier/keywords name
|
|
100
89
|
|
|
101
90
|
License: MIT
|
|
102
|
-
Homepage: <https://babel.dev/docs/en/next/babel-highlight>
|
|
103
91
|
Repository: <https://github.com/babel/babel.git>
|
|
104
92
|
Author: The Babel Team (https://babel.dev/team)
|
|
105
93
|
|
|
@@ -128,7 +116,7 @@ Author: The Babel Team (https://babel.dev/team)
|
|
|
128
116
|
|
|
129
117
|
----------------------------------------
|
|
130
118
|
|
|
131
|
-
### @babel/parser@v7.
|
|
119
|
+
### @babel/parser@v7.26.2
|
|
132
120
|
|
|
133
121
|
> A JavaScript parser
|
|
134
122
|
|
|
@@ -187,7 +175,7 @@ License: MIT
|
|
|
187
175
|
|
|
188
176
|
----------------------------------------
|
|
189
177
|
|
|
190
|
-
### @glimmer/syntax@v0.
|
|
178
|
+
### @glimmer/syntax@v0.93.0
|
|
191
179
|
|
|
192
180
|
License: MIT
|
|
193
181
|
|
|
@@ -213,7 +201,7 @@ License: MIT
|
|
|
213
201
|
|
|
214
202
|
----------------------------------------
|
|
215
203
|
|
|
216
|
-
### @glimmer/util@v0.
|
|
204
|
+
### @glimmer/util@v0.93.0
|
|
217
205
|
|
|
218
206
|
> Common utilities used in Glimmer
|
|
219
207
|
|
|
@@ -241,7 +229,7 @@ License: MIT
|
|
|
241
229
|
|
|
242
230
|
----------------------------------------
|
|
243
231
|
|
|
244
|
-
### @glimmer/wire-format@v0.
|
|
232
|
+
### @glimmer/wire-format@v0.93.0
|
|
245
233
|
|
|
246
234
|
License: MIT
|
|
247
235
|
|
|
@@ -277,31 +265,6 @@ Repository: <git+https://github.com/handlebars-lang/handlebars-parser.git>
|
|
|
277
265
|
|
|
278
266
|
----------------------------------------
|
|
279
267
|
|
|
280
|
-
### @iarna/toml@v2.2.5
|
|
281
|
-
|
|
282
|
-
> Better TOML parsing and stringifying all in that familiar JSON interface.
|
|
283
|
-
|
|
284
|
-
License: ISC
|
|
285
|
-
Homepage: <https://github.com/iarna/iarna-toml#readme>
|
|
286
|
-
Repository: <git+https://github.com/iarna/iarna-toml.git>
|
|
287
|
-
Author: Rebecca Turner <me@re-becca.org> (http://re-becca.org/)
|
|
288
|
-
|
|
289
|
-
> Copyright (c) 2016, Rebecca Turner <me@re-becca.org>
|
|
290
|
-
>
|
|
291
|
-
> Permission to use, copy, modify, and/or distribute this software for any
|
|
292
|
-
> purpose with or without fee is hereby granted, provided that the above
|
|
293
|
-
> copyright notice and this permission notice appear in all copies.
|
|
294
|
-
>
|
|
295
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
296
|
-
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
297
|
-
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
298
|
-
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
299
|
-
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
300
|
-
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
301
|
-
> OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
302
|
-
|
|
303
|
-
----------------------------------------
|
|
304
|
-
|
|
305
268
|
### @nodelib/fs.scandir@v2.1.5
|
|
306
269
|
|
|
307
270
|
> List files and directories inside the specified directory
|
|
@@ -456,7 +419,7 @@ Author: Alex Bell <alex@bellandwhistle.net>
|
|
|
456
419
|
|
|
457
420
|
----------------------------------------
|
|
458
421
|
|
|
459
|
-
### @typescript-eslint/types@
|
|
422
|
+
### @typescript-eslint/types@v8.16.0
|
|
460
423
|
|
|
461
424
|
> Types for the TypeScript-ESTree AST spec
|
|
462
425
|
|
|
@@ -488,7 +451,7 @@ Repository: <https://github.com/typescript-eslint/typescript-eslint.git>
|
|
|
488
451
|
|
|
489
452
|
----------------------------------------
|
|
490
453
|
|
|
491
|
-
### @typescript-eslint/typescript-estree@
|
|
454
|
+
### @typescript-eslint/typescript-estree@v8.16.0
|
|
492
455
|
|
|
493
456
|
> A parser that converts TypeScript source code into an ESTree compatible form
|
|
494
457
|
|
|
@@ -496,6 +459,8 @@ License: BSD-2-Clause
|
|
|
496
459
|
Homepage: <https://typescript-eslint.io/packages/typescript-estree>
|
|
497
460
|
Repository: <https://github.com/typescript-eslint/typescript-eslint.git>
|
|
498
461
|
|
|
462
|
+
> BSD 2-Clause License
|
|
463
|
+
>
|
|
499
464
|
> TypeScript ESTree
|
|
500
465
|
>
|
|
501
466
|
> Originally extracted from:
|
|
@@ -525,13 +490,13 @@ Repository: <https://github.com/typescript-eslint/typescript-eslint.git>
|
|
|
525
490
|
|
|
526
491
|
----------------------------------------
|
|
527
492
|
|
|
528
|
-
### acorn@v8.
|
|
493
|
+
### acorn@v8.14.0
|
|
529
494
|
|
|
530
495
|
> ECMAScript parser
|
|
531
496
|
|
|
532
497
|
License: MIT
|
|
533
498
|
Homepage: <https://github.com/acornjs/acorn>
|
|
534
|
-
Repository: <https://github.com/acornjs/acorn.git>
|
|
499
|
+
Repository: <git+https://github.com/acornjs/acorn.git>
|
|
535
500
|
|
|
536
501
|
> MIT License
|
|
537
502
|
>
|
|
@@ -587,7 +552,7 @@ Repository: <https://github.com/acornjs/acorn-jsx>
|
|
|
587
552
|
|
|
588
553
|
----------------------------------------
|
|
589
554
|
|
|
590
|
-
### angular-estree-parser@v10.0
|
|
555
|
+
### angular-estree-parser@v10.2.0
|
|
591
556
|
|
|
592
557
|
> A parser that converts Angular source code into an ESTree-compatible form
|
|
593
558
|
|
|
@@ -619,7 +584,7 @@ Author: Ika <ikatyang@gmail.com> (https://github.com/ikatyang)
|
|
|
619
584
|
|
|
620
585
|
----------------------------------------
|
|
621
586
|
|
|
622
|
-
### angular-html-parser@
|
|
587
|
+
### angular-html-parser@v8.0.1
|
|
623
588
|
|
|
624
589
|
> A HTML parser extracted from Angular with some modifications
|
|
625
590
|
|
|
@@ -627,31 +592,31 @@ License: MIT
|
|
|
627
592
|
Homepage: <https://github.com/prettier/angular-html-parser/blob/master/packages/angular-html-parser#readme>
|
|
628
593
|
Author: Ika <ikatyang@gmail.com> (https://github.com/ikatyang)
|
|
629
594
|
|
|
630
|
-
> MIT License
|
|
631
|
-
>
|
|
632
|
-
> Copyright (c) Ika <ikatyang@gmail.com> (https://github.com/ikatyang)
|
|
633
|
-
>
|
|
634
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
635
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
636
|
-
> in the Software without restriction, including without limitation the rights
|
|
637
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
638
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
639
|
-
> furnished to do so, subject to the following conditions:
|
|
640
|
-
>
|
|
641
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
642
|
-
> copies or substantial portions of the Software.
|
|
643
|
-
>
|
|
644
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
645
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
646
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
647
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
648
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
649
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
595
|
+
> MIT License
|
|
596
|
+
>
|
|
597
|
+
> Copyright (c) Ika <ikatyang@gmail.com> (https://github.com/ikatyang)
|
|
598
|
+
>
|
|
599
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
600
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
601
|
+
> in the Software without restriction, including without limitation the rights
|
|
602
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
603
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
604
|
+
> furnished to do so, subject to the following conditions:
|
|
605
|
+
>
|
|
606
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
607
|
+
> copies or substantial portions of the Software.
|
|
608
|
+
>
|
|
609
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
610
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
611
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
612
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
613
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
614
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
650
615
|
> SOFTWARE.
|
|
651
616
|
|
|
652
617
|
----------------------------------------
|
|
653
618
|
|
|
654
|
-
### ansi-regex@v6.0
|
|
619
|
+
### ansi-regex@v6.1.0
|
|
655
620
|
|
|
656
621
|
> Regular expression for matching ANSI escape codes
|
|
657
622
|
|
|
@@ -915,13 +880,15 @@ Contributors:
|
|
|
915
880
|
|
|
916
881
|
----------------------------------------
|
|
917
882
|
|
|
918
|
-
### ci-info@v4.
|
|
883
|
+
### ci-info@v4.1.0
|
|
919
884
|
|
|
920
885
|
> Get details about the current Continuous Integration environment
|
|
921
886
|
|
|
922
887
|
License: MIT
|
|
923
888
|
Homepage: <https://github.com/watson/ci-info>
|
|
924
889
|
Author: Thomas Watson Steen <w@tson.dk> (https://twitter.com/wa7son)
|
|
890
|
+
Contributors:
|
|
891
|
+
- Sibiraj (https://github.com/sibiraj-s)
|
|
925
892
|
|
|
926
893
|
> The MIT License (MIT)
|
|
927
894
|
>
|
|
@@ -1043,7 +1010,7 @@ Contributors:
|
|
|
1043
1010
|
|
|
1044
1011
|
----------------------------------------
|
|
1045
1012
|
|
|
1046
|
-
### diff@
|
|
1013
|
+
### diff@v7.0.0
|
|
1047
1014
|
|
|
1048
1015
|
> A JavaScript text diff implementation.
|
|
1049
1016
|
|
|
@@ -1116,7 +1083,7 @@ Contributors:
|
|
|
1116
1083
|
|
|
1117
1084
|
----------------------------------------
|
|
1118
1085
|
|
|
1119
|
-
### emoji-regex@v10.
|
|
1086
|
+
### emoji-regex@v10.4.0
|
|
1120
1087
|
|
|
1121
1088
|
> A regular expression to match all Emoji-only symbols as per the Unicode Standard.
|
|
1122
1089
|
|
|
@@ -1167,12 +1134,12 @@ Author: Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
|
1167
1134
|
|
|
1168
1135
|
----------------------------------------
|
|
1169
1136
|
|
|
1170
|
-
### espree@v10.0
|
|
1137
|
+
### espree@v10.3.0
|
|
1171
1138
|
|
|
1172
1139
|
> An Esprima-compatible JavaScript parser built on Acorn
|
|
1173
1140
|
|
|
1174
1141
|
License: BSD-2-Clause
|
|
1175
|
-
Homepage: <https://github.com/eslint/espree>
|
|
1142
|
+
Homepage: <https://github.com/eslint/js/blob/main/packages/espree/README.md>
|
|
1176
1143
|
Author: Nicholas C. Zakas <nicholas+npm@nczconsulting.com>
|
|
1177
1144
|
|
|
1178
1145
|
> BSD 2-Clause License
|
|
@@ -1302,7 +1269,7 @@ Author: James Halliday <mail@substack.net> (http://substack.net)
|
|
|
1302
1269
|
|
|
1303
1270
|
----------------------------------------
|
|
1304
1271
|
|
|
1305
|
-
### fastq@v1.
|
|
1272
|
+
### fastq@v1.17.1
|
|
1306
1273
|
|
|
1307
1274
|
> Fast, in memory work queue
|
|
1308
1275
|
|
|
@@ -1327,7 +1294,7 @@ Author: Matteo Collina <hello@matteocollina.com>
|
|
|
1327
1294
|
|
|
1328
1295
|
----------------------------------------
|
|
1329
1296
|
|
|
1330
|
-
### file-entry-cache@v9.
|
|
1297
|
+
### file-entry-cache@v9.1.0
|
|
1331
1298
|
|
|
1332
1299
|
> Super simple cache for file metadata, useful for process that work o a given series of files and that only need to repeat the job on the changed ones since the previous run of the process
|
|
1333
1300
|
|
|
@@ -1466,7 +1433,7 @@ Author: Jared Wray (https://jaredwray.com)
|
|
|
1466
1433
|
|
|
1467
1434
|
----------------------------------------
|
|
1468
1435
|
|
|
1469
|
-
### flatted@v3.3.
|
|
1436
|
+
### flatted@v3.3.2
|
|
1470
1437
|
|
|
1471
1438
|
> A super light and fast circular JSON parser.
|
|
1472
1439
|
|
|
@@ -1528,7 +1495,7 @@ Contributors:
|
|
|
1528
1495
|
|
|
1529
1496
|
----------------------------------------
|
|
1530
1497
|
|
|
1531
|
-
### flow-parser@v0.
|
|
1498
|
+
### flow-parser@v0.255.0
|
|
1532
1499
|
|
|
1533
1500
|
> JavaScript parser written in OCaml. Produces ESTree AST
|
|
1534
1501
|
|
|
@@ -1539,7 +1506,7 @@ Author: Flow Team <flow@fb.com>
|
|
|
1539
1506
|
|
|
1540
1507
|
----------------------------------------
|
|
1541
1508
|
|
|
1542
|
-
### get-east-asian-width@v1.
|
|
1509
|
+
### get-east-asian-width@v1.3.0
|
|
1543
1510
|
|
|
1544
1511
|
> Determine the East Asian Width of a Unicode character
|
|
1545
1512
|
|
|
@@ -1605,7 +1572,7 @@ Contributors:
|
|
|
1605
1572
|
|
|
1606
1573
|
----------------------------------------
|
|
1607
1574
|
|
|
1608
|
-
### graphql@v16.
|
|
1575
|
+
### graphql@v16.9.0
|
|
1609
1576
|
|
|
1610
1577
|
> A Query Language and Runtime which can target any service.
|
|
1611
1578
|
|
|
@@ -1637,7 +1604,7 @@ Repository: <https://github.com/graphql/graphql-js.git>
|
|
|
1637
1604
|
|
|
1638
1605
|
----------------------------------------
|
|
1639
1606
|
|
|
1640
|
-
### ignore@
|
|
1607
|
+
### ignore@v6.0.2
|
|
1641
1608
|
|
|
1642
1609
|
> Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.
|
|
1643
1610
|
|
|
@@ -2223,7 +2190,7 @@ Author: fisker Cheung <lionkay@gmail.com> (https://www.fiskercheung.com/)
|
|
|
2223
2190
|
|
|
2224
2191
|
----------------------------------------
|
|
2225
2192
|
|
|
2226
|
-
### jest-docblock@
|
|
2193
|
+
### jest-docblock@v30.0.0-alpha.6
|
|
2227
2194
|
|
|
2228
2195
|
License: MIT
|
|
2229
2196
|
Repository: <https://github.com/jestjs/jest.git>
|
|
@@ -2231,6 +2198,7 @@ Repository: <https://github.com/jestjs/jest.git>
|
|
|
2231
2198
|
> MIT License
|
|
2232
2199
|
>
|
|
2233
2200
|
> Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2201
|
+
> Copyright Contributors to the Jest project.
|
|
2234
2202
|
>
|
|
2235
2203
|
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
2236
2204
|
> of this software and associated documentation files (the "Software"), to deal
|
|
@@ -2564,13 +2532,13 @@ Repository: <git@github.com:teambition/merge2.git>
|
|
|
2564
2532
|
|
|
2565
2533
|
----------------------------------------
|
|
2566
2534
|
|
|
2567
|
-
### meriyah@
|
|
2535
|
+
### meriyah@v6.0.3
|
|
2568
2536
|
|
|
2569
2537
|
> A 100% compliant, self-hosted javascript parser with high focus on both performance and stability
|
|
2570
2538
|
|
|
2571
2539
|
License: ISC
|
|
2572
2540
|
Homepage: <https://github.com/meriyah/meriyah>
|
|
2573
|
-
Repository: <https://github.com/meriyah/meriyah>
|
|
2541
|
+
Repository: <git+https://github.com/meriyah/meriyah.git>
|
|
2574
2542
|
Author: Kenny F. (https://github.com/KFlash)
|
|
2575
2543
|
Contributors:
|
|
2576
2544
|
- Chunpeng Huo (https://github.com/3cp)
|
|
@@ -2585,7 +2553,7 @@ Contributors:
|
|
|
2585
2553
|
|
|
2586
2554
|
----------------------------------------
|
|
2587
2555
|
|
|
2588
|
-
### micromatch@v4.0.
|
|
2556
|
+
### micromatch@v4.0.8
|
|
2589
2557
|
|
|
2590
2558
|
> Glob matching for javascript/node.js. A replacement and faster alternative to minimatch and multimatch.
|
|
2591
2559
|
|
|
@@ -2834,7 +2802,7 @@ Author: Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
|
2834
2802
|
|
|
2835
2803
|
----------------------------------------
|
|
2836
2804
|
|
|
2837
|
-
### picocolors@v1.
|
|
2805
|
+
### picocolors@v1.1.1
|
|
2838
2806
|
|
|
2839
2807
|
> The tiniest and the fastest library for terminal output formatting with ANSI colors
|
|
2840
2808
|
|
|
@@ -2843,7 +2811,7 @@ Author: Alexey Raspopov
|
|
|
2843
2811
|
|
|
2844
2812
|
> ISC License
|
|
2845
2813
|
>
|
|
2846
|
-
> Copyright (c) 2021
|
|
2814
|
+
> Copyright (c) 2021-2024 Oleksii Raspopov, Kostiantyn Denysov, Anton Verinov
|
|
2847
2815
|
>
|
|
2848
2816
|
> Permission to use, copy, modify, and/or distribute this software for any
|
|
2849
2817
|
> purpose with or without fee is hereby granted, provided that the above
|
|
@@ -2943,7 +2911,7 @@ Author: typicode
|
|
|
2943
2911
|
|
|
2944
2912
|
----------------------------------------
|
|
2945
2913
|
|
|
2946
|
-
### postcss@v8.4.
|
|
2914
|
+
### postcss@v8.4.49
|
|
2947
2915
|
|
|
2948
2916
|
> Tool for transforming styles with JS plugins
|
|
2949
2917
|
|
|
@@ -3356,7 +3324,7 @@ Author: Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
|
|
|
3356
3324
|
|
|
3357
3325
|
----------------------------------------
|
|
3358
3326
|
|
|
3359
|
-
### semver@v7.6.
|
|
3327
|
+
### semver@v7.6.3
|
|
3360
3328
|
|
|
3361
3329
|
> The semantic version parser used by npm.
|
|
3362
3330
|
|
|
@@ -3467,6 +3435,40 @@ Repository: <https://github.com/tildeio/simple-html-tokenizer.git>
|
|
|
3467
3435
|
|
|
3468
3436
|
----------------------------------------
|
|
3469
3437
|
|
|
3438
|
+
### smol-toml@v1.3.1
|
|
3439
|
+
|
|
3440
|
+
> A small, fast, and correct TOML parser/serializer
|
|
3441
|
+
|
|
3442
|
+
License: BSD-3-Clause
|
|
3443
|
+
Author: Cynthia <cyyynthia@borkenware.com>
|
|
3444
|
+
|
|
3445
|
+
> Copyright (c) Squirrel Chat et al., All rights reserved.
|
|
3446
|
+
>
|
|
3447
|
+
> Redistribution and use in source and binary forms, with or without
|
|
3448
|
+
> modification, are permitted provided that the following conditions are met:
|
|
3449
|
+
>
|
|
3450
|
+
> 1. Redistributions of source code must retain the above copyright notice, this
|
|
3451
|
+
> list of conditions and the following disclaimer.
|
|
3452
|
+
> 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
3453
|
+
> this list of conditions and the following disclaimer in the
|
|
3454
|
+
> documentation and/or other materials provided with the distribution.
|
|
3455
|
+
> 3. Neither the name of the copyright holder nor the names of its contributors
|
|
3456
|
+
> may be used to endorse or promote products derived from this software without
|
|
3457
|
+
> specific prior written permission.
|
|
3458
|
+
>
|
|
3459
|
+
> THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
3460
|
+
> ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
3461
|
+
> WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
3462
|
+
> DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
3463
|
+
> FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
3464
|
+
> DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
3465
|
+
> SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
3466
|
+
> CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
3467
|
+
> OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
3468
|
+
> OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
3469
|
+
|
|
3470
|
+
----------------------------------------
|
|
3471
|
+
|
|
3470
3472
|
### state-toggle@v1.0.3
|
|
3471
3473
|
|
|
3472
3474
|
> Enter/exit a state
|
|
@@ -3654,7 +3656,7 @@ Contributors:
|
|
|
3654
3656
|
|
|
3655
3657
|
----------------------------------------
|
|
3656
3658
|
|
|
3657
|
-
### ts-api-utils@v1.
|
|
3659
|
+
### ts-api-utils@v1.4.1
|
|
3658
3660
|
|
|
3659
3661
|
> Utility functions for working with TypeScript's API. Successor to the wonderful tsutils. 🛠️️
|
|
3660
3662
|
|
|
@@ -3685,13 +3687,13 @@ Author: JoshuaKGoldberg <npm@joshuakgoldberg.com>
|
|
|
3685
3687
|
|
|
3686
3688
|
----------------------------------------
|
|
3687
3689
|
|
|
3688
|
-
### typescript@v5.
|
|
3690
|
+
### typescript@v5.7.2
|
|
3689
3691
|
|
|
3690
3692
|
> TypeScript is a language for application scale JavaScript development
|
|
3691
3693
|
|
|
3692
3694
|
License: Apache-2.0
|
|
3693
3695
|
Homepage: <https://www.typescriptlang.org/>
|
|
3694
|
-
Repository: <https://github.com/
|
|
3696
|
+
Repository: <https://github.com/microsoft/TypeScript.git>
|
|
3695
3697
|
Author: Microsoft Corp.
|
|
3696
3698
|
|
|
3697
3699
|
> Apache License
|
|
@@ -4030,7 +4032,7 @@ Contributors:
|
|
|
4030
4032
|
|
|
4031
4033
|
----------------------------------------
|
|
4032
4034
|
|
|
4033
|
-
### url-or-path@v2.3.
|
|
4035
|
+
### url-or-path@v2.3.2
|
|
4034
4036
|
|
|
4035
4037
|
> Convert between file URL and path.
|
|
4036
4038
|
|
|
@@ -4201,7 +4203,7 @@ Author: Ika <ikatyang@gmail.com> (https://github.com/ikatyang)
|
|
|
4201
4203
|
|
|
4202
4204
|
----------------------------------------
|
|
4203
4205
|
|
|
4204
|
-
### wcwidth.js@
|
|
4206
|
+
### wcwidth.js@v2.0.0
|
|
4205
4207
|
|
|
4206
4208
|
> a javascript porting of C's wcwidth()
|
|
4207
4209
|
|
|
@@ -4360,7 +4362,7 @@ Author: Ika <ikatyang@gmail.com> (https://github.com/ikatyang)
|
|
|
4360
4362
|
|
|
4361
4363
|
----------------------------------------
|
|
4362
4364
|
|
|
4363
|
-
### yocto-queue@v1.
|
|
4365
|
+
### yocto-queue@v1.1.1
|
|
4364
4366
|
|
|
4365
4367
|
> Tiny queue data structure
|
|
4366
4368
|
|
package/bin/prettier.cjs
CHANGED
|
@@ -53,6 +53,10 @@ var require_please_upgrade_node = __commonJS({
|
|
|
53
53
|
});
|
|
54
54
|
|
|
55
55
|
// bin/prettier.cjs
|
|
56
|
+
var nodeModule = require("module");
|
|
57
|
+
if (typeof nodeModule.enableCompileCache === "function") {
|
|
58
|
+
nodeModule.enableCompileCache();
|
|
59
|
+
}
|
|
56
60
|
var pleaseUpgradeNode = require_please_upgrade_node();
|
|
57
61
|
var packageJson = require("../package.json");
|
|
58
62
|
pleaseUpgradeNode(packageJson);
|
package/doc.d.ts
CHANGED
|
@@ -192,7 +192,18 @@ export namespace printer {
|
|
|
192
192
|
options: Options,
|
|
193
193
|
): {
|
|
194
194
|
formatted: string;
|
|
195
|
+
/**
|
|
196
|
+
* This property is a misnomer, and has been since the changes in
|
|
197
|
+
* https://github.com/prettier/prettier/pull/15709.
|
|
198
|
+
* The region of the document indicated by `cursorNodeStart` and `cursorNodeText` will
|
|
199
|
+
* sometimes actually be what lies BETWEEN a pair of leaf nodes in the AST, rather than a node.
|
|
200
|
+
*/
|
|
195
201
|
cursorNodeStart?: number | undefined;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* Note that, like cursorNodeStart, this is a misnomer and may actually be the text between two
|
|
205
|
+
* leaf nodes in the AST instead of the text of a node.
|
|
206
|
+
*/
|
|
196
207
|
cursorNodeText?: string | undefined;
|
|
197
208
|
};
|
|
198
209
|
interface Options {
|