prettier 4.0.2 → 4.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -1
- data/README.md +12 -1
- data/node_modules/prettier/LICENSE +216 -326
- 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 +12 -24
- data/node_modules/prettier/doc.mjs +12 -24
- data/node_modules/prettier/index.cjs +22 -29
- data/node_modules/prettier/index.d.ts +71 -61
- data/node_modules/prettier/index.mjs +16061 -13848
- data/node_modules/prettier/internal/cli.mjs +380 -70
- data/node_modules/prettier/internal/internal.mjs +195 -6014
- data/node_modules/prettier/package.json +7 -2
- 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 +2 -2
- data/node_modules/prettier/plugins/angular.mjs +2 -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 +25 -25
- data/node_modules/prettier/plugins/estree.mjs +25 -25
- 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 +1 -1
- data/node_modules/prettier/standalone.js +29 -26
- data/node_modules/prettier/standalone.mjs +29 -26
- data/package.json +4 -4
- data/src/plugin.js +10 -5
- data/src/server.rb +8 -3
- metadata +2 -2
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "prettier",
|
3
|
-
"version": "3.
|
3
|
+
"version": "3.1.0",
|
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
|
"./*": "./*",
|
@@ -190,5 +194,6 @@
|
|
190
194
|
"standalone.d.ts",
|
191
195
|
"standalone.js",
|
192
196
|
"standalone.mjs"
|
193
|
-
]
|
197
|
+
],
|
198
|
+
"preferUnplugged": true
|
194
199
|
}
|