prettier 4.0.2 → 4.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -1
- data/README.md +12 -1
- data/node_modules/prettier/LICENSE +227 -408
- data/node_modules/prettier/README.md +3 -3
- data/node_modules/prettier/bin/prettier.cjs +3 -2
- data/node_modules/prettier/doc.d.ts +10 -7
- data/node_modules/prettier/doc.js +17 -29
- data/node_modules/prettier/doc.mjs +12 -24
- data/node_modules/prettier/index.cjs +22 -29
- data/node_modules/prettier/index.d.ts +76 -68
- data/node_modules/prettier/index.mjs +16274 -13541
- data/node_modules/prettier/internal/cli.mjs +388 -79
- data/node_modules/prettier/package.json +7 -3
- data/node_modules/prettier/plugins/acorn.js +12 -12
- data/node_modules/prettier/plugins/acorn.mjs +12 -12
- data/node_modules/prettier/plugins/angular.js +1 -2
- data/node_modules/prettier/plugins/angular.mjs +1 -2
- data/node_modules/prettier/plugins/babel.js +11 -11
- data/node_modules/prettier/plugins/babel.mjs +11 -11
- data/node_modules/prettier/plugins/estree.d.ts +1 -0
- data/node_modules/prettier/plugins/estree.js +26 -26
- data/node_modules/prettier/plugins/estree.mjs +26 -26
- data/node_modules/prettier/plugins/flow.js +17 -17
- data/node_modules/prettier/plugins/flow.mjs +17 -17
- data/node_modules/prettier/plugins/glimmer.js +22 -22
- data/node_modules/prettier/plugins/glimmer.mjs +22 -22
- data/node_modules/prettier/plugins/graphql.js +9 -9
- data/node_modules/prettier/plugins/graphql.mjs +9 -9
- data/node_modules/prettier/plugins/html.js +17 -17
- data/node_modules/prettier/plugins/html.mjs +17 -17
- data/node_modules/prettier/plugins/markdown.js +46 -46
- data/node_modules/prettier/plugins/markdown.mjs +46 -46
- data/node_modules/prettier/plugins/meriyah.js +5 -5
- data/node_modules/prettier/plugins/meriyah.mjs +5 -5
- data/node_modules/prettier/plugins/postcss.js +28 -28
- data/node_modules/prettier/plugins/postcss.mjs +28 -28
- data/node_modules/prettier/plugins/typescript.js +20 -22
- data/node_modules/prettier/plugins/typescript.mjs +20 -22
- data/node_modules/prettier/plugins/yaml.js +38 -38
- data/node_modules/prettier/plugins/yaml.mjs +39 -39
- data/node_modules/prettier/standalone.d.ts +2 -2
- data/node_modules/prettier/standalone.js +31 -31
- data/node_modules/prettier/standalone.mjs +31 -31
- data/package.json +4 -4
- data/src/plugin.js +13 -5
- data/src/server.rb +8 -3
- metadata +2 -3
- data/node_modules/prettier/internal/internal.mjs +0 -6531
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "prettier",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.1.1",
|
4
4
|
"description": "Prettier is an opinionated code formatter",
|
5
5
|
"bin": "./bin/prettier.cjs",
|
6
6
|
"repository": "prettier/prettier",
|
@@ -15,6 +15,10 @@
|
|
15
15
|
".": {
|
16
16
|
"types": "./index.d.ts",
|
17
17
|
"require": "./index.cjs",
|
18
|
+
"browser": {
|
19
|
+
"import": "./standalone.mjs",
|
20
|
+
"default": "./standalone.js"
|
21
|
+
},
|
18
22
|
"default": "./index.mjs"
|
19
23
|
},
|
20
24
|
"./*": "./*",
|
@@ -146,7 +150,6 @@
|
|
146
150
|
"index.d.ts",
|
147
151
|
"index.mjs",
|
148
152
|
"internal/cli.mjs",
|
149
|
-
"internal/internal.mjs",
|
150
153
|
"package.json",
|
151
154
|
"plugins/acorn.d.ts",
|
152
155
|
"plugins/acorn.js",
|
@@ -190,5 +193,6 @@
|
|
190
193
|
"standalone.d.ts",
|
191
194
|
"standalone.js",
|
192
195
|
"standalone.mjs"
|
193
|
-
]
|
196
|
+
],
|
197
|
+
"preferUnplugged": true
|
194
198
|
}
|