prettier 3.0.0-alpha.2 → 3.0.0-alpha.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/LICENSE +33 -80
- package/doc.js +1 -6
- package/doc.mjs +1 -6
- package/index.cjs +1 -1
- package/index.mjs +2900 -4250
- package/internal/cli.mjs +279 -261
- package/package.json +2 -2
- package/plugins/html.js +13 -14
- package/plugins/html.mjs +13 -14
- package/plugins/markdown.js +28 -28
- package/plugins/markdown.mjs +28 -28
- package/plugins/postcss.js +1 -1
- package/plugins/postcss.mjs +1 -1
- package/plugins/typescript.js +26 -32
- package/plugins/typescript.mjs +26 -32
- package/plugins/yaml.js +119 -119
- package/plugins/yaml.mjs +119 -119
- package/standalone.js +65 -67
- package/standalone.mjs +65 -67
package/LICENSE
CHANGED
|
@@ -17,7 +17,7 @@ MIT, ISC, BSD-2-Clause, BSD-3-Clause, Apache-2.0, 0BSD
|
|
|
17
17
|
|
|
18
18
|
## Bundled dependencies
|
|
19
19
|
|
|
20
|
-
### @angular/compiler@v14.2.
|
|
20
|
+
### @angular/compiler@v14.2.6
|
|
21
21
|
|
|
22
22
|
License: MIT
|
|
23
23
|
By: angular
|
|
@@ -337,7 +337,7 @@ License: MIT
|
|
|
337
337
|
|
|
338
338
|
----------------------------------------
|
|
339
339
|
|
|
340
|
-
### @prettier/parse-srcset@v2.0.
|
|
340
|
+
### @prettier/parse-srcset@v2.0.2
|
|
341
341
|
|
|
342
342
|
License: MIT
|
|
343
343
|
By: Alex Bell
|
|
@@ -366,7 +366,7 @@ By: Alex Bell
|
|
|
366
366
|
|
|
367
367
|
----------------------------------------
|
|
368
368
|
|
|
369
|
-
### @typescript-eslint/types@v5.
|
|
369
|
+
### @typescript-eslint/types@v5.40.0
|
|
370
370
|
|
|
371
371
|
License: MIT
|
|
372
372
|
Repository: <https://github.com/typescript-eslint/typescript-eslint.git>
|
|
@@ -395,7 +395,7 @@ Repository: <https://github.com/typescript-eslint/typescript-eslint.git>
|
|
|
395
395
|
|
|
396
396
|
----------------------------------------
|
|
397
397
|
|
|
398
|
-
### @typescript-eslint/typescript-estree@v5.
|
|
398
|
+
### @typescript-eslint/typescript-estree@v5.40.0
|
|
399
399
|
|
|
400
400
|
License: BSD-2-Clause
|
|
401
401
|
Repository: <https://github.com/typescript-eslint/typescript-eslint.git>
|
|
@@ -429,7 +429,7 @@ Repository: <https://github.com/typescript-eslint/typescript-eslint.git>
|
|
|
429
429
|
|
|
430
430
|
----------------------------------------
|
|
431
431
|
|
|
432
|
-
### @typescript-eslint/visitor-keys@v5.
|
|
432
|
+
### @typescript-eslint/visitor-keys@v5.40.0
|
|
433
433
|
|
|
434
434
|
License: MIT
|
|
435
435
|
Repository: <https://github.com/typescript-eslint/typescript-eslint.git>
|
|
@@ -543,31 +543,31 @@ By: Ika
|
|
|
543
543
|
|
|
544
544
|
----------------------------------------
|
|
545
545
|
|
|
546
|
-
### angular-html-parser@v2.
|
|
546
|
+
### angular-html-parser@v2.1.0
|
|
547
547
|
|
|
548
548
|
License: MIT
|
|
549
549
|
By: Ika
|
|
550
550
|
|
|
551
|
-
> MIT License
|
|
552
|
-
>
|
|
553
|
-
> Copyright (c) Ika <ikatyang@gmail.com> (https://github.com/ikatyang)
|
|
554
|
-
>
|
|
555
|
-
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
556
|
-
> of this software and associated documentation files (the "Software"), to deal
|
|
557
|
-
> in the Software without restriction, including without limitation the rights
|
|
558
|
-
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
559
|
-
> copies of the Software, and to permit persons to whom the Software is
|
|
560
|
-
> furnished to do so, subject to the following conditions:
|
|
561
|
-
>
|
|
562
|
-
> The above copyright notice and this permission notice shall be included in all
|
|
563
|
-
> copies or substantial portions of the Software.
|
|
564
|
-
>
|
|
565
|
-
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
566
|
-
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
567
|
-
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
568
|
-
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
569
|
-
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
570
|
-
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
551
|
+
> MIT License
|
|
552
|
+
>
|
|
553
|
+
> Copyright (c) Ika <ikatyang@gmail.com> (https://github.com/ikatyang)
|
|
554
|
+
>
|
|
555
|
+
> Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
556
|
+
> of this software and associated documentation files (the "Software"), to deal
|
|
557
|
+
> in the Software without restriction, including without limitation the rights
|
|
558
|
+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
559
|
+
> copies of the Software, and to permit persons to whom the Software is
|
|
560
|
+
> furnished to do so, subject to the following conditions:
|
|
561
|
+
>
|
|
562
|
+
> The above copyright notice and this permission notice shall be included in all
|
|
563
|
+
> copies or substantial portions of the Software.
|
|
564
|
+
>
|
|
565
|
+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
566
|
+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
567
|
+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
568
|
+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
569
|
+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
570
|
+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
571
571
|
> SOFTWARE.
|
|
572
572
|
|
|
573
573
|
----------------------------------------
|
|
@@ -788,7 +788,7 @@ License: MIT
|
|
|
788
788
|
|
|
789
789
|
----------------------------------------
|
|
790
790
|
|
|
791
|
-
### chalk@v5.
|
|
791
|
+
### chalk@v5.1.2
|
|
792
792
|
|
|
793
793
|
License: MIT
|
|
794
794
|
|
|
@@ -1939,7 +1939,7 @@ Repository: <git+https://github.com/mk-pmb/flatten-js.git>
|
|
|
1939
1939
|
|
|
1940
1940
|
----------------------------------------
|
|
1941
1941
|
|
|
1942
|
-
### flow-parser@v0.
|
|
1942
|
+
### flow-parser@v0.190.0
|
|
1943
1943
|
|
|
1944
1944
|
License: MIT
|
|
1945
1945
|
By: Flow Team
|
|
@@ -2772,7 +2772,7 @@ By: Titus Wormer
|
|
|
2772
2772
|
|
|
2773
2773
|
----------------------------------------
|
|
2774
2774
|
|
|
2775
|
-
### jest-docblock@v29.
|
|
2775
|
+
### jest-docblock@v29.2.0
|
|
2776
2776
|
|
|
2777
2777
|
License: MIT
|
|
2778
2778
|
Repository: <https://github.com/facebook/jest.git>
|
|
@@ -3041,29 +3041,6 @@ By: Isaac Z. Schlueter
|
|
|
3041
3041
|
|
|
3042
3042
|
----------------------------------------
|
|
3043
3043
|
|
|
3044
|
-
### lru-cache@v6.0.0
|
|
3045
|
-
|
|
3046
|
-
License: ISC
|
|
3047
|
-
By: Isaac Z. Schlueter
|
|
3048
|
-
|
|
3049
|
-
> The ISC License
|
|
3050
|
-
>
|
|
3051
|
-
> Copyright (c) Isaac Z. Schlueter and Contributors
|
|
3052
|
-
>
|
|
3053
|
-
> Permission to use, copy, modify, and/or distribute this software for any
|
|
3054
|
-
> purpose with or without fee is hereby granted, provided that the above
|
|
3055
|
-
> copyright notice and this permission notice appear in all copies.
|
|
3056
|
-
>
|
|
3057
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
3058
|
-
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
3059
|
-
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
3060
|
-
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
3061
|
-
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
3062
|
-
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
3063
|
-
> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
3064
|
-
|
|
3065
|
-
----------------------------------------
|
|
3066
|
-
|
|
3067
3044
|
### make-dir@v3.1.0
|
|
3068
3045
|
|
|
3069
3046
|
License: MIT
|
|
@@ -3260,11 +3237,11 @@ Repository: <git://github.com/isaacs/minimatch.git>
|
|
|
3260
3237
|
|
|
3261
3238
|
----------------------------------------
|
|
3262
3239
|
|
|
3263
|
-
### minimist@v1.2.
|
|
3240
|
+
### minimist@v1.2.7
|
|
3264
3241
|
|
|
3265
3242
|
License: MIT
|
|
3266
3243
|
By: James Halliday
|
|
3267
|
-
Repository: <git://github.com/
|
|
3244
|
+
Repository: <git://github.com/minimistjs/minimist.git>
|
|
3268
3245
|
|
|
3269
3246
|
> This software is released under the MIT license:
|
|
3270
3247
|
>
|
|
@@ -3687,7 +3664,7 @@ Repository: <git+https://github.com/typicode/please-upgrade-node.git>
|
|
|
3687
3664
|
|
|
3688
3665
|
----------------------------------------
|
|
3689
3666
|
|
|
3690
|
-
### postcss@v8.4.
|
|
3667
|
+
### postcss@v8.4.18
|
|
3691
3668
|
|
|
3692
3669
|
License: MIT
|
|
3693
3670
|
By: Andrey Sitnik
|
|
@@ -5008,30 +4985,6 @@ Repository: <git+https://github.com/isaacs/yallist.git>
|
|
|
5008
4985
|
|
|
5009
4986
|
----------------------------------------
|
|
5010
4987
|
|
|
5011
|
-
### yallist@v4.0.0
|
|
5012
|
-
|
|
5013
|
-
License: ISC
|
|
5014
|
-
By: Isaac Z. Schlueter
|
|
5015
|
-
Repository: <git+https://github.com/isaacs/yallist.git>
|
|
5016
|
-
|
|
5017
|
-
> The ISC License
|
|
5018
|
-
>
|
|
5019
|
-
> Copyright (c) Isaac Z. Schlueter and Contributors
|
|
5020
|
-
>
|
|
5021
|
-
> Permission to use, copy, modify, and/or distribute this software for any
|
|
5022
|
-
> purpose with or without fee is hereby granted, provided that the above
|
|
5023
|
-
> copyright notice and this permission notice appear in all copies.
|
|
5024
|
-
>
|
|
5025
|
-
> THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
5026
|
-
> WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
5027
|
-
> MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
5028
|
-
> ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
5029
|
-
> WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
5030
|
-
> ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
5031
|
-
> IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
5032
|
-
|
|
5033
|
-
----------------------------------------
|
|
5034
|
-
|
|
5035
4988
|
### yaml@v1.10.2
|
|
5036
4989
|
|
|
5037
4990
|
License: ISC
|
|
@@ -5053,7 +5006,7 @@ By: Eemeli Aro
|
|
|
5053
5006
|
|
|
5054
5007
|
----------------------------------------
|
|
5055
5008
|
|
|
5056
|
-
### yaml-unist-parser@
|
|
5009
|
+
### yaml-unist-parser@v2.0.1
|
|
5057
5010
|
|
|
5058
5011
|
License: MIT
|
|
5059
5012
|
By: Ika
|
package/doc.js
CHANGED
|
@@ -652,12 +652,7 @@ Expected it to be ${EXPECTED_TYPE_VALUES}.`;
|
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
traverse_doc_default(
|
|
656
|
-
doc,
|
|
657
|
-
propagateBreaksOnEnterFn,
|
|
658
|
-
propagateBreaksOnExitFn,
|
|
659
|
-
true
|
|
660
|
-
);
|
|
655
|
+
traverse_doc_default(doc, propagateBreaksOnEnterFn, propagateBreaksOnExitFn, true);
|
|
661
656
|
}
|
|
662
657
|
function removeLinesFn(doc) {
|
|
663
658
|
if (doc.type === DOC_TYPE_LINE && !doc.hard) {
|
package/doc.mjs
CHANGED
|
@@ -619,12 +619,7 @@ function propagateBreaks(doc) {
|
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
621
|
}
|
|
622
|
-
traverse_doc_default(
|
|
623
|
-
doc,
|
|
624
|
-
propagateBreaksOnEnterFn,
|
|
625
|
-
propagateBreaksOnExitFn,
|
|
626
|
-
true
|
|
627
|
-
);
|
|
622
|
+
traverse_doc_default(doc, propagateBreaksOnEnterFn, propagateBreaksOnExitFn, true);
|
|
628
623
|
}
|
|
629
624
|
function removeLinesFn(doc) {
|
|
630
625
|
if (doc.type === DOC_TYPE_LINE && !doc.hard) {
|
package/index.cjs
CHANGED
|
@@ -485,7 +485,7 @@ var init_util_shared = __esm({
|
|
|
485
485
|
// src/main/version.evaluate.cjs
|
|
486
486
|
var require_version_evaluate = __commonJS({
|
|
487
487
|
"src/main/version.evaluate.cjs"(exports2, module2) {
|
|
488
|
-
module2.exports = "3.0.0-alpha.
|
|
488
|
+
module2.exports = "3.0.0-alpha.3";
|
|
489
489
|
}
|
|
490
490
|
});
|
|
491
491
|
|