Bump prettier (#9373)
This commit is contained in:
parent
f2af6c1170
commit
f77c450cda
@ -55,7 +55,7 @@
|
||||
"lodash": "^4.17.10",
|
||||
"merge-stream": "^1.0.1",
|
||||
"output-file-sync": "^2.0.0",
|
||||
"prettier": "^1.15.2",
|
||||
"prettier": "^1.16.0",
|
||||
"pump": "^3.0.0",
|
||||
"rimraf": "^2.4.3",
|
||||
"rollup-plugin-babel": "^4.0.0-beta.0",
|
||||
|
||||
@ -1,8 +1,4 @@
|
||||
{
|
||||
"presets": [
|
||||
"flow"
|
||||
],
|
||||
"plugins": [
|
||||
"proposal-class-properties"
|
||||
]
|
||||
"presets": ["flow"],
|
||||
"plugins": ["proposal-class-properties"]
|
||||
}
|
||||
|
||||
@ -1,8 +1,4 @@
|
||||
{
|
||||
"presets": [
|
||||
"flow"
|
||||
],
|
||||
"plugins": [
|
||||
"proposal-class-properties"
|
||||
]
|
||||
"presets": ["flow"],
|
||||
"plugins": ["proposal-class-properties"]
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"sourceType": "module",
|
||||
"throws": "Legacy octal literals are not allowed in strict mode (1:0)"
|
||||
"sourceType": "module",
|
||||
"throws": "Legacy octal literals are not allowed in strict mode (1:0)"
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Unexpected token, expected \";\" (1:2)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "'with' in strict mode (2:2)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Unexpected token, expected \";\" (1:14)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"sourceType": "script"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Invalid left-hand side in object destructuring pattern (1:4)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Object pattern can't contain getter or setter (1:6)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Invalid left-hand side in object destructuring pattern (1:24)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Unexpected token, expected \",\" (1:3)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Invalid Unicode escape (1:12)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Expecting Unicode escape sequence \\uXXXX (1:2)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Expecting Unicode escape sequence \\uXXXX (1:2)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Expecting Unicode escape sequence \\uXXXX (1:2)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Invalid regular expression flag (1:16)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Invalid regular expression flag (1:18)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Invalid regular expression flag (1:16)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Invalid regular expression flag (1:17)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "setter must have exactly one formal parameter (1:3)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Invalid Unicode escape (1:0)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Invalid Unicode escape (1:0)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Invalid Unicode escape (1:0)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Unterminated string constant (1:0)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "enum is a reserved word (1:11)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Expecting Unicode escape sequence \\uXXXX (1:2)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "Expecting Unicode escape sequence \\uXXXX (1:1)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"throws": "Unexpected digit after hash token (2:2)",
|
||||
"plugins": [ "classPrivateProperties" ]
|
||||
"plugins": ["classPrivateProperties"]
|
||||
}
|
||||
|
||||
@ -1,6 +1,4 @@
|
||||
{
|
||||
"plugins": [
|
||||
["pipelineOperator", { "proposal": "invalid" }]
|
||||
],
|
||||
"plugins": [["pipelineOperator", { "proposal": "invalid" }]],
|
||||
"throws": "'pipelineOperator' requires 'proposal' option whose value should be one of: 'minimal', 'smart'"
|
||||
}
|
||||
|
||||
@ -1,4 +1,8 @@
|
||||
{
|
||||
"plugins": [["pipelineOperator", { "proposal": "smart" }], "doExpressions", "asyncGenerators"],
|
||||
"plugins": [
|
||||
["pipelineOperator", { "proposal": "smart" }],
|
||||
"doExpressions",
|
||||
"asyncGenerators"
|
||||
],
|
||||
"throws": "Topic reference was used in a lexical context without topic binding (2:48)"
|
||||
}
|
||||
|
||||
@ -1,3 +1,7 @@
|
||||
{
|
||||
"plugins": [["pipelineOperator", { "proposal": "smart" }], "doExpressions", "asyncGenerators"]
|
||||
"plugins": [
|
||||
["pipelineOperator", { "proposal": "smart" }],
|
||||
"doExpressions",
|
||||
"asyncGenerators"
|
||||
]
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "The type cast expression is expected to be wrapped with parenthesis (1:2)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "The type cast expression is expected to be wrapped with parenthesis (1:3)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "The type cast expression is expected to be wrapped with parenthesis (1:7)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "The type cast expression is expected to be wrapped with parenthesis (1:9)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"throws": "The type cast expression is expected to be wrapped with parenthesis (1:13)"
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
{
|
||||
"plugins": [
|
||||
"transform-modules-commonjs"
|
||||
]
|
||||
"plugins": ["transform-modules-commonjs"]
|
||||
}
|
||||
|
||||
@ -54,15 +54,15 @@ const byTestSuite = suite => browser => {
|
||||
: true;
|
||||
};
|
||||
|
||||
const compatSources = ["es5", "es6", "es2016plus", "esnext"].reduce(
|
||||
(result, source) => {
|
||||
const data = require(`compat-table/data-${source}`);
|
||||
data.browsers = pickBy(envs, byTestSuite(source));
|
||||
result.push(data);
|
||||
return result;
|
||||
},
|
||||
[]
|
||||
);
|
||||
const compatSources = ["es5", "es6", "es2016plus", "esnext"].reduce((
|
||||
result,
|
||||
source
|
||||
) => {
|
||||
const data = require(`compat-table/data-${source}`);
|
||||
data.browsers = pickBy(envs, byTestSuite(source));
|
||||
result.push(data);
|
||||
return result;
|
||||
}, []);
|
||||
|
||||
const interpolateAllResults = (rawBrowsers, tests) => {
|
||||
const interpolateResults = res => {
|
||||
|
||||
@ -8839,10 +8839,10 @@ prettier-linter-helpers@^1.0.0:
|
||||
dependencies:
|
||||
fast-diff "^1.1.2"
|
||||
|
||||
prettier@^1.15.2:
|
||||
version "1.15.2"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.15.2.tgz#d31abe22afa4351efa14c7f8b94b58bb7452205e"
|
||||
integrity sha512-YgPLFFA0CdKL4Eg2IHtUSjzj/BWgszDHiNQAe0VAIBse34148whfdzLagRL+QiKS+YfK5ftB6X4v/MBw8yCoug==
|
||||
prettier@^1.16.0:
|
||||
version "1.16.0"
|
||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.0.tgz#104dd25f5ee3d0c9d0a6ce4bb40ced8481d51219"
|
||||
integrity sha512-MCBCYeAuZfejUPdEpkleLWvpRBwLii/Sp5jQs0eb8Ul/drGIDjkL6tAU24tk6yCGf0KPV5rhPPPlczfBmN2pWQ==
|
||||
|
||||
pretty-format@^23.6.0:
|
||||
version "23.6.0"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user