Bump prettier (#9373)
This commit is contained in:
parent
f2af6c1170
commit
f77c450cda
@ -55,7 +55,7 @@
|
|||||||
"lodash": "^4.17.10",
|
"lodash": "^4.17.10",
|
||||||
"merge-stream": "^1.0.1",
|
"merge-stream": "^1.0.1",
|
||||||
"output-file-sync": "^2.0.0",
|
"output-file-sync": "^2.0.0",
|
||||||
"prettier": "^1.15.2",
|
"prettier": "^1.16.0",
|
||||||
"pump": "^3.0.0",
|
"pump": "^3.0.0",
|
||||||
"rimraf": "^2.4.3",
|
"rimraf": "^2.4.3",
|
||||||
"rollup-plugin-babel": "^4.0.0-beta.0",
|
"rollup-plugin-babel": "^4.0.0-beta.0",
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"presets": [
|
"presets": ["flow"],
|
||||||
"flow"
|
"plugins": ["proposal-class-properties"]
|
||||||
],
|
|
||||||
"plugins": [
|
|
||||||
"proposal-class-properties"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
{
|
{
|
||||||
"presets": [
|
"presets": ["flow"],
|
||||||
"flow"
|
"plugins": ["proposal-class-properties"]
|
||||||
],
|
|
||||||
"plugins": [
|
|
||||||
"proposal-class-properties"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"throws": "Unexpected digit after hash token (2:2)",
|
"throws": "Unexpected digit after hash token (2:2)",
|
||||||
"plugins": [ "classPrivateProperties" ]
|
"plugins": ["classPrivateProperties"]
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,4 @@
|
|||||||
{
|
{
|
||||||
"plugins": [
|
"plugins": [["pipelineOperator", { "proposal": "invalid" }]],
|
||||||
["pipelineOperator", { "proposal": "invalid" }]
|
|
||||||
],
|
|
||||||
"throws": "'pipelineOperator' requires 'proposal' option whose value should be one of: 'minimal', 'smart'"
|
"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)"
|
"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,5 +1,3 @@
|
|||||||
{
|
{
|
||||||
"plugins": [
|
"plugins": ["transform-modules-commonjs"]
|
||||||
"transform-modules-commonjs"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -54,15 +54,15 @@ const byTestSuite = suite => browser => {
|
|||||||
: true;
|
: true;
|
||||||
};
|
};
|
||||||
|
|
||||||
const compatSources = ["es5", "es6", "es2016plus", "esnext"].reduce(
|
const compatSources = ["es5", "es6", "es2016plus", "esnext"].reduce((
|
||||||
(result, source) => {
|
result,
|
||||||
|
source
|
||||||
|
) => {
|
||||||
const data = require(`compat-table/data-${source}`);
|
const data = require(`compat-table/data-${source}`);
|
||||||
data.browsers = pickBy(envs, byTestSuite(source));
|
data.browsers = pickBy(envs, byTestSuite(source));
|
||||||
result.push(data);
|
result.push(data);
|
||||||
return result;
|
return result;
|
||||||
},
|
}, []);
|
||||||
[]
|
|
||||||
);
|
|
||||||
|
|
||||||
const interpolateAllResults = (rawBrowsers, tests) => {
|
const interpolateAllResults = (rawBrowsers, tests) => {
|
||||||
const interpolateResults = res => {
|
const interpolateResults = res => {
|
||||||
|
|||||||
@ -8839,10 +8839,10 @@ prettier-linter-helpers@^1.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
fast-diff "^1.1.2"
|
fast-diff "^1.1.2"
|
||||||
|
|
||||||
prettier@^1.15.2:
|
prettier@^1.16.0:
|
||||||
version "1.15.2"
|
version "1.16.0"
|
||||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.15.2.tgz#d31abe22afa4351efa14c7f8b94b58bb7452205e"
|
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.16.0.tgz#104dd25f5ee3d0c9d0a6ce4bb40ced8481d51219"
|
||||||
integrity sha512-YgPLFFA0CdKL4Eg2IHtUSjzj/BWgszDHiNQAe0VAIBse34148whfdzLagRL+QiKS+YfK5ftB6X4v/MBw8yCoug==
|
integrity sha512-MCBCYeAuZfejUPdEpkleLWvpRBwLii/Sp5jQs0eb8Ul/drGIDjkL6tAU24tk6yCGf0KPV5rhPPPlczfBmN2pWQ==
|
||||||
|
|
||||||
pretty-format@^23.6.0:
|
pretty-format@^23.6.0:
|
||||||
version "23.6.0"
|
version "23.6.0"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user