prettier 2.0.4 → 2.0.5

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/standalone.js CHANGED
@@ -5,7 +5,7 @@
5
5
  }(this, (function () { 'use strict';
6
6
 
7
7
  var name = "prettier";
8
- var version = "2.0.4";
8
+ var version = "2.0.5";
9
9
  var description = "Prettier is an opinionated code formatter";
10
10
  var bin = "./bin/prettier.js";
11
11
  var repository = "prettier/prettier";
@@ -67,6 +67,7 @@
67
67
  "regexp-util": "1.2.2",
68
68
  "remark-math": "1.0.6",
69
69
  "remark-parse": "5.0.0",
70
+ resolve: "1.16.1",
70
71
  semver: "7.1.3",
71
72
  srcset: "2.0.1",
72
73
  "string-width": "4.2.0",
@@ -102,7 +103,7 @@
102
103
  "jest-snapshot-serializer-ansi": "1.0.0",
103
104
  "jest-snapshot-serializer-raw": "1.1.0",
104
105
  "jest-watch-typeahead": "0.5.0",
105
- prettier: "2.0.3",
106
+ prettier: "2.0.4",
106
107
  rimraf: "3.0.2",
107
108
  rollup: "2.3.2",
108
109
  "rollup-plugin-babel": "4.4.0",
@@ -120,7 +121,8 @@
120
121
  prepublishOnly: "echo \"Error: must publish from dist/\" && exit 1",
121
122
  "prepare-release": "yarn && yarn build && yarn test:dist",
122
123
  test: "jest",
123
- "test:dist": "node ./scripts/test-dist.js",
124
+ "test:dist": "cross-env NODE_ENV=production jest",
125
+ "test:dist-standalone": "cross-env NODE_ENV=production TEST_STANDALONE=1 jest tests/",
124
126
  "test:integration": "jest tests_integration",
125
127
  "perf:repeat": "yarn && yarn build && cross-env NODE_ENV=production node ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",
126
128
  "perf:repeat-inspect": "yarn && yarn build && cross-env NODE_ENV=production node --inspect-brk ./dist/bin-prettier.js --debug-repeat ${PERF_REPEAT:-1000} --loglevel debug ${PERF_FILE:-./index.js} > /dev/null",