prettier 1.15.3 → 1.16.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 +2 -2
- package/README.md +1 -5
- package/bin-prettier.js +1597 -1141
- package/index.js +1682 -1260
- package/package.json +1 -1
- package/parser-babylon.js +1 -1
- package/parser-flow.js +1 -1
- package/parser-html.js +1 -1
- package/parser-markdown.js +1 -1
- package/parser-postcss.js +1 -1
- package/parser-typescript.js +1 -1
- package/parser-yaml.js +1 -1
- package/standalone.js +1973 -1596
- package/third-party.js +353 -133
package/parser-postcss.js
CHANGED
|
@@ -18382,7 +18382,7 @@ module.exports = {
|
|
|
18382
18382
|
|
|
18383
18383
|
|
|
18384
18384
|
function createError(message, loc) {
|
|
18385
|
-
// Construct an error similar to the ones thrown by
|
|
18385
|
+
// Construct an error similar to the ones thrown by Babel.
|
|
18386
18386
|
var error = new SyntaxError(message + " (" + loc.start.line + ":" + loc.start.column + ")");
|
|
18387
18387
|
error.loc = loc;
|
|
18388
18388
|
return error;
|