Bump prettier (#289)
This commit is contained in:
parent
e1cb75989f
commit
37c8da674a
@ -17,6 +17,7 @@
|
|||||||
"curly": ["error", "multi-line"],
|
"curly": ["error", "multi-line"],
|
||||||
"func-call-spacing": "error",
|
"func-call-spacing": "error",
|
||||||
"key-spacing": "error",
|
"key-spacing": "error",
|
||||||
"no-multi-spaces": "error"
|
"no-multi-spaces": "error",
|
||||||
|
"flowtype/generic-spacing": "off"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -79,7 +79,7 @@
|
|||||||
"lodash": "^4.17.4",
|
"lodash": "^4.17.4",
|
||||||
"mocha": "^3.2.0",
|
"mocha": "^3.2.0",
|
||||||
"nyc": "^10.1.2",
|
"nyc": "^10.1.2",
|
||||||
"prettier": "^0.22.0",
|
"prettier": "1.3.1",
|
||||||
"rimraf": "^2.6.1"
|
"rimraf": "^2.6.1"
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
|
|||||||
@ -16,13 +16,10 @@ const electronToChromiumKeys = Object.keys(
|
|||||||
electronToChromiumVersions
|
electronToChromiumVersions
|
||||||
).reverse();
|
).reverse();
|
||||||
|
|
||||||
const chromiumToElectronMap = electronToChromiumKeys.reduce(
|
const chromiumToElectronMap = electronToChromiumKeys.reduce((all, electron) => {
|
||||||
(all, electron) => {
|
all[electronToChromiumVersions[electron]] = +electron;
|
||||||
all[electronToChromiumVersions[electron]] = +electron;
|
return all;
|
||||||
return all;
|
}, {});
|
||||||
},
|
|
||||||
{}
|
|
||||||
);
|
|
||||||
const chromiumToElectronVersions = Object.keys(chromiumToElectronMap);
|
const chromiumToElectronVersions = Object.keys(chromiumToElectronMap);
|
||||||
|
|
||||||
const findClosestElectronVersion = targetVersion => {
|
const findClosestElectronVersion = targetVersion => {
|
||||||
@ -51,12 +48,11 @@ const renameTests = (tests, getName) =>
|
|||||||
|
|
||||||
const envs = require("compat-table/environments");
|
const envs = require("compat-table/environments");
|
||||||
|
|
||||||
const byTestSuite = suite =>
|
const byTestSuite = suite => browser => {
|
||||||
browser => {
|
return Array.isArray(browser.test_suites)
|
||||||
return Array.isArray(browser.test_suites)
|
? browser.test_suites.indexOf(suite) > -1
|
||||||
? browser.test_suites.indexOf(suite) > -1
|
: true;
|
||||||
: true;
|
};
|
||||||
};
|
|
||||||
|
|
||||||
const es6 = require("compat-table/data-es6");
|
const es6 = require("compat-table/data-es6");
|
||||||
es6.browsers = pickBy(envs, byTestSuite("es6"));
|
es6.browsers = pickBy(envs, byTestSuite("es6"));
|
||||||
@ -163,20 +159,24 @@ const compatibilityTests = flattenDeep(
|
|||||||
return test.subtests
|
return test.subtests
|
||||||
? [test, renameTests(test.subtests, name => test.name + " / " + name)]
|
? [test, renameTests(test.subtests, name => test.name + " / " + name)]
|
||||||
: test;
|
: test;
|
||||||
}))
|
})
|
||||||
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
const getLowestImplementedVersion = ({ features }, env) => {
|
const getLowestImplementedVersion = ({ features }, env) => {
|
||||||
const tests = flatten(
|
const tests = flatten(
|
||||||
compatibilityTests
|
compatibilityTests
|
||||||
.filter(test => {
|
.filter(test => {
|
||||||
return features.indexOf(test.name) >= 0 ||
|
return (
|
||||||
|
features.indexOf(test.name) >= 0 ||
|
||||||
// for features === ["DataView"]
|
// for features === ["DataView"]
|
||||||
// it covers "DataView (Int8)" and "DataView (UInt8)"
|
// it covers "DataView (Int8)" and "DataView (UInt8)"
|
||||||
(features.length === 1 && test.name.indexOf(features[0]) === 0);
|
(features.length === 1 && test.name.indexOf(features[0]) === 0)
|
||||||
|
);
|
||||||
})
|
})
|
||||||
.map(test => {
|
.map(test => {
|
||||||
const isBuiltIn = test.category === "built-ins" ||
|
const isBuiltIn =
|
||||||
|
test.category === "built-ins" ||
|
||||||
test.category === "built-in extensions";
|
test.category === "built-in extensions";
|
||||||
|
|
||||||
return test.subtests
|
return test.subtests
|
||||||
|
|||||||
@ -14,15 +14,12 @@ export const logMessage = (message, context) => {
|
|||||||
|
|
||||||
export const logPlugin = (plugin, targets, list, context) => {
|
export const logPlugin = (plugin, targets, list, context) => {
|
||||||
const envList = list[plugin] || {};
|
const envList = list[plugin] || {};
|
||||||
const filteredList = Object.keys(targets).reduce(
|
const filteredList = Object.keys(targets).reduce((a, b) => {
|
||||||
(a, b) => {
|
if (!envList[b] || semver.lt(targets[b], semverify(envList[b]))) {
|
||||||
if (!envList[b] || semver.lt(targets[b], semverify(envList[b]))) {
|
a[b] = prettifyVersion(targets[b]);
|
||||||
a[b] = prettifyVersion(targets[b]);
|
}
|
||||||
}
|
return a;
|
||||||
return a;
|
}, {});
|
||||||
},
|
|
||||||
{},
|
|
||||||
);
|
|
||||||
|
|
||||||
const formattedTargets = JSON.stringify(filteredList)
|
const formattedTargets = JSON.stringify(filteredList)
|
||||||
.replace(/\,/g, ", ")
|
.replace(/\,/g, ", ")
|
||||||
|
|||||||
@ -23,29 +23,29 @@ export const isPluginRequired = (
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
const isRequiredForEnvironments: Array<string> = targetEnvironments.filter(
|
const isRequiredForEnvironments: Array<
|
||||||
environment => {
|
string,
|
||||||
// Feature is not implemented in that environment
|
> = targetEnvironments.filter(environment => {
|
||||||
if (!plugin[environment]) {
|
// Feature is not implemented in that environment
|
||||||
return true;
|
if (!plugin[environment]) {
|
||||||
}
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
const lowestImplementedVersion: string = plugin[environment];
|
const lowestImplementedVersion: string = plugin[environment];
|
||||||
const lowestTargetedVersion: string = supportedEnvironments[environment];
|
const lowestTargetedVersion: string = supportedEnvironments[environment];
|
||||||
|
|
||||||
if (!semver.valid(lowestTargetedVersion)) {
|
if (!semver.valid(lowestTargetedVersion)) {
|
||||||
throw new Error(
|
throw new Error(
|
||||||
// eslint-disable-next-line max-len
|
// eslint-disable-next-line max-len
|
||||||
`Invalid version passed for target "${environment}": "${lowestTargetedVersion}". Versions must be in semver format (major.minor.patch)`,
|
`Invalid version passed for target "${environment}": "${lowestTargetedVersion}". Versions must be in semver format (major.minor.patch)`,
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
return semver.gt(
|
|
||||||
semverify(lowestImplementedVersion),
|
|
||||||
lowestTargetedVersion,
|
|
||||||
);
|
);
|
||||||
},
|
}
|
||||||
);
|
|
||||||
|
return semver.gt(
|
||||||
|
semverify(lowestImplementedVersion),
|
||||||
|
lowestTargetedVersion,
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
return isRequiredForEnvironments.length > 0;
|
return isRequiredForEnvironments.length > 0;
|
||||||
};
|
};
|
||||||
@ -172,7 +172,8 @@ export default function buildPreset(
|
|||||||
// NOTE: not giving spec here yet to avoid compatibility issues when
|
// NOTE: not giving spec here yet to avoid compatibility issues when
|
||||||
// babel-plugin-transform-es2015-modules-commonjs gets its spec mode
|
// babel-plugin-transform-es2015-modules-commonjs gets its spec mode
|
||||||
transformations.forEach(pluginName =>
|
transformations.forEach(pluginName =>
|
||||||
plugins.push([require(`babel-plugin-${pluginName}`), { spec, loose }]));
|
plugins.push([require(`babel-plugin-${pluginName}`), { spec, loose }]),
|
||||||
|
);
|
||||||
|
|
||||||
const regenerator = transformations.has("transform-regenerator");
|
const regenerator = transformations.has("transform-regenerator");
|
||||||
|
|
||||||
@ -206,7 +207,8 @@ Using polyfills with \`${useBuiltIns}\` option:`,
|
|||||||
regenerator,
|
regenerator,
|
||||||
onDebug: (polyfills, context) => {
|
onDebug: (polyfills, context) => {
|
||||||
polyfills.forEach(polyfill =>
|
polyfills.forEach(polyfill =>
|
||||||
logPlugin(polyfill, polyfillTargets, builtInsList, context));
|
logPlugin(polyfill, polyfillTargets, builtInsList, context),
|
||||||
|
);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -23,30 +23,27 @@ const semverMin = (first: ?string, second: string): string => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const getLowestVersions = (browsers: Array<string>): Targets => {
|
const getLowestVersions = (browsers: Array<string>): Targets => {
|
||||||
return browsers.reduce(
|
return browsers.reduce((all: Object, browser: string): Object => {
|
||||||
(all: Object, browser: string): Object => {
|
const [browserName, browserVersion] = browser.split(" ");
|
||||||
const [browserName, browserVersion] = browser.split(" ");
|
const normalizedBrowserName = browserNameMap[browserName];
|
||||||
const normalizedBrowserName = browserNameMap[browserName];
|
|
||||||
|
|
||||||
if (!normalizedBrowserName) {
|
|
||||||
return all;
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
// Browser version can return as "10.0-10.2"
|
|
||||||
const splitVersion = browserVersion.split("-")[0];
|
|
||||||
const parsedBrowserVersion = semverify(splitVersion);
|
|
||||||
|
|
||||||
all[normalizedBrowserName] = semverMin(
|
|
||||||
all[normalizedBrowserName],
|
|
||||||
parsedBrowserVersion,
|
|
||||||
);
|
|
||||||
} catch (e) {}
|
|
||||||
|
|
||||||
|
if (!normalizedBrowserName) {
|
||||||
return all;
|
return all;
|
||||||
},
|
}
|
||||||
{},
|
|
||||||
);
|
try {
|
||||||
|
// Browser version can return as "10.0-10.2"
|
||||||
|
const splitVersion = browserVersion.split("-")[0];
|
||||||
|
const parsedBrowserVersion = semverify(splitVersion);
|
||||||
|
|
||||||
|
all[normalizedBrowserName] = semverMin(
|
||||||
|
all[normalizedBrowserName],
|
||||||
|
parsedBrowserVersion,
|
||||||
|
);
|
||||||
|
} catch (e) {}
|
||||||
|
|
||||||
|
return all;
|
||||||
|
}, {});
|
||||||
};
|
};
|
||||||
|
|
||||||
const outputDecimalWarning = (decimalTargets: Array<Object>): void => {
|
const outputDecimalWarning = (decimalTargets: Array<Object>): void => {
|
||||||
@ -57,7 +54,8 @@ const outputDecimalWarning = (decimalTargets: Array<Object>): void => {
|
|||||||
console.log("Warning, the following targets are using a decimal version:");
|
console.log("Warning, the following targets are using a decimal version:");
|
||||||
console.log("");
|
console.log("");
|
||||||
decimalTargets.forEach(({ target, value }) =>
|
decimalTargets.forEach(({ target, value }) =>
|
||||||
console.log(` ${target}: ${value}`));
|
console.log(` ${target}: ${value}`),
|
||||||
|
);
|
||||||
console.log("");
|
console.log("");
|
||||||
console.log(
|
console.log(
|
||||||
"We recommend using a string for minor/patch versions to avoid numbers like 6.10",
|
"We recommend using a string for minor/patch versions to avoid numbers like 6.10",
|
||||||
|
|||||||
@ -28,13 +28,15 @@ export default function({ types: t }: { types: Object }): Plugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function isRequire(path: Object): boolean {
|
function isRequire(path: Object): boolean {
|
||||||
return t.isExpressionStatement(path.node) &&
|
return (
|
||||||
|
t.isExpressionStatement(path.node) &&
|
||||||
t.isCallExpression(path.node.expression) &&
|
t.isCallExpression(path.node.expression) &&
|
||||||
t.isIdentifier(path.node.expression.callee) &&
|
t.isIdentifier(path.node.expression.callee) &&
|
||||||
path.node.expression.callee.name === "require" &&
|
path.node.expression.callee.name === "require" &&
|
||||||
path.node.expression.arguments.length === 1 &&
|
path.node.expression.arguments.length === 1 &&
|
||||||
t.isStringLiteral(path.node.expression.arguments[0]) &&
|
t.isStringLiteral(path.node.expression.arguments[0]) &&
|
||||||
isPolyfillSource(path.node.expression.arguments[0].value);
|
isPolyfillSource(path.node.expression.arguments[0].value)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function createImport(
|
function createImport(
|
||||||
|
|||||||
@ -38,8 +38,9 @@ const modulePathMap = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const getModulePath = module => {
|
const getModulePath = module => {
|
||||||
return modulePathMap[module] ||
|
return (
|
||||||
`babel-polyfill/lib/core-js/modules/${module}`;
|
modulePathMap[module] || `babel-polyfill/lib/core-js/modules/${module}`
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default function({ types: t }: { types: Object }): Plugin {
|
export default function({ types: t }: { types: Object }): Plugin {
|
||||||
@ -82,13 +83,15 @@ export default function({ types: t }: { types: Object }): Plugin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function isRequire(path: Object): boolean {
|
function isRequire(path: Object): boolean {
|
||||||
return t.isExpressionStatement(path.node) &&
|
return (
|
||||||
|
t.isExpressionStatement(path.node) &&
|
||||||
t.isCallExpression(path.node.expression) &&
|
t.isCallExpression(path.node.expression) &&
|
||||||
t.isIdentifier(path.node.expression.callee) &&
|
t.isIdentifier(path.node.expression.callee) &&
|
||||||
path.node.expression.callee.name === "require" &&
|
path.node.expression.callee.name === "require" &&
|
||||||
path.node.expression.arguments.length === 1 &&
|
path.node.expression.arguments.length === 1 &&
|
||||||
t.isStringLiteral(path.node.expression.arguments[0]) &&
|
t.isStringLiteral(path.node.expression.arguments[0]) &&
|
||||||
isPolyfillSource(path.node.expression.arguments[0].value);
|
isPolyfillSource(path.node.expression.arguments[0].value)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
const addAndRemovePolyfillImports = {
|
const addAndRemovePolyfillImports = {
|
||||||
|
|||||||
@ -40,17 +40,14 @@ export const prettifyVersion = (version: string): string => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const prettifyTargets = (targets: Targets): Object => {
|
export const prettifyTargets = (targets: Targets): Object => {
|
||||||
return Object.keys(targets).reduce(
|
return Object.keys(targets).reduce((results, target) => {
|
||||||
(results, target) => {
|
let value = targets[target];
|
||||||
let value = targets[target];
|
|
||||||
|
|
||||||
if (typeof value === "string") {
|
if (typeof value === "string") {
|
||||||
value = prettifyVersion(value);
|
value = prettifyVersion(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
results[target] = value;
|
results[target] = value;
|
||||||
return results;
|
return results;
|
||||||
},
|
}, {});
|
||||||
{},
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
|
|||||||
@ -56,8 +56,8 @@ const buildTest = opts => {
|
|||||||
let stdout = "";
|
let stdout = "";
|
||||||
let stderr = "";
|
let stderr = "";
|
||||||
|
|
||||||
spawn.stdout.on("data", chunk => stdout += chunk);
|
spawn.stdout.on("data", chunk => (stdout += chunk));
|
||||||
spawn.stderr.on("data", chunk => stderr += chunk);
|
spawn.stderr.on("data", chunk => (stderr += chunk));
|
||||||
|
|
||||||
spawn.on("close", () => {
|
spawn.on("close", () => {
|
||||||
let err;
|
let err;
|
||||||
|
|||||||
@ -67,24 +67,18 @@ describe("normalize-options", () => {
|
|||||||
|
|
||||||
describe("checkDuplicateIncludeExcludes", function() {
|
describe("checkDuplicateIncludeExcludes", function() {
|
||||||
it("should throw if duplicate names in both", function() {
|
it("should throw if duplicate names in both", function() {
|
||||||
assert.throws(
|
assert.throws(() => {
|
||||||
() => {
|
checkDuplicateIncludeExcludes(
|
||||||
checkDuplicateIncludeExcludes(
|
["transform-regenerator", "map"],
|
||||||
["transform-regenerator", "map"],
|
["transform-regenerator", "map"],
|
||||||
["transform-regenerator", "map"],
|
);
|
||||||
);
|
}, Error);
|
||||||
},
|
|
||||||
Error,
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it("should not throw if no duplicate names in both", function() {
|
it("should not throw if no duplicate names in both", function() {
|
||||||
assert.doesNotThrow(
|
assert.doesNotThrow(() => {
|
||||||
() => {
|
checkDuplicateIncludeExcludes(["transform-regenerator"], ["map"]);
|
||||||
checkDuplicateIncludeExcludes(["transform-regenerator"], ["map"]);
|
}, Error);
|
||||||
},
|
|
||||||
Error,
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -100,12 +94,9 @@ describe("normalize-options", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("should not throw if no duplicate names in both", function() {
|
it("should not throw if no duplicate names in both", function() {
|
||||||
assert.doesNotThrow(
|
assert.doesNotThrow(() => {
|
||||||
() => {
|
checkDuplicateIncludeExcludes(["transform-regenerator"], ["map"]);
|
||||||
checkDuplicateIncludeExcludes(["transform-regenerator"], ["map"]);
|
}, Error);
|
||||||
},
|
|
||||||
Error,
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -135,21 +126,15 @@ describe("normalize-options", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("`true` option is invalid", () => {
|
it("`true` option is invalid", () => {
|
||||||
assert.throws(
|
assert.throws(() => {
|
||||||
() => {
|
validateModulesOption(true);
|
||||||
validateModulesOption(true);
|
}, Error);
|
||||||
},
|
|
||||||
Error,
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it("array option is invalid", () => {
|
it("array option is invalid", () => {
|
||||||
assert.throws(
|
assert.throws(() => {
|
||||||
() => {
|
assert(validateModulesOption([]));
|
||||||
assert(validateModulesOption([]));
|
}, Error);
|
||||||
},
|
|
||||||
Error,
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
describe("validateIncludesAndExcludes", function() {
|
describe("validateIncludesAndExcludes", function() {
|
||||||
@ -157,12 +142,9 @@ describe("normalize-options", () => {
|
|||||||
assert.deepEqual(validateIncludesAndExcludes(), []);
|
assert.deepEqual(validateIncludesAndExcludes(), []);
|
||||||
});
|
});
|
||||||
it("should throw if not in features", function() {
|
it("should throw if not in features", function() {
|
||||||
assert.throws(
|
assert.throws(() => {
|
||||||
() => {
|
validateIncludesAndExcludes(["asdf"]);
|
||||||
validateIncludesAndExcludes(["asdf"]);
|
}, Error);
|
||||||
},
|
|
||||||
Error,
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@ -178,18 +178,14 @@ assertion-error@^1.0.1:
|
|||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.0.2.tgz#13ca515d86206da0bac66e834dd397d87581094c"
|
resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.0.2.tgz#13ca515d86206da0bac66e834dd397d87581094c"
|
||||||
|
|
||||||
ast-types@0.8.18:
|
|
||||||
version "0.8.18"
|
|
||||||
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.8.18.tgz#c8b98574898e8914e9d8de74b947564a9fe929af"
|
|
||||||
|
|
||||||
ast-types@0.9.4:
|
|
||||||
version "0.9.4"
|
|
||||||
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.9.4.tgz#410d1f81890aeb8e0a38621558ba5869ae53c91b"
|
|
||||||
|
|
||||||
ast-types@0.9.6:
|
ast-types@0.9.6:
|
||||||
version "0.9.6"
|
version "0.9.6"
|
||||||
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.9.6.tgz#102c9e9e9005d3e7e3829bf0c4fa24ee862ee9b9"
|
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.9.6.tgz#102c9e9e9005d3e7e3829bf0c4fa24ee862ee9b9"
|
||||||
|
|
||||||
|
ast-types@0.9.8:
|
||||||
|
version "0.9.8"
|
||||||
|
resolved "https://registry.yarnpkg.com/ast-types/-/ast-types-0.9.8.tgz#6cb6a40beba31f49f20928e28439fc14a3dab078"
|
||||||
|
|
||||||
astquery@latest:
|
astquery@latest:
|
||||||
version "0.0.11"
|
version "0.0.11"
|
||||||
resolved "https://registry.yarnpkg.com/astquery/-/astquery-0.0.11.tgz#1538c54d3f3a788c362942ef2bab139036fe9cdd"
|
resolved "https://registry.yarnpkg.com/astquery/-/astquery-0.0.11.tgz#1538c54d3f3a788c362942ef2bab139036fe9cdd"
|
||||||
@ -1609,10 +1605,6 @@ babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.23.0, babel-types@^6.24
|
|||||||
lodash "^4.2.0"
|
lodash "^4.2.0"
|
||||||
to-fast-properties "^1.0.1"
|
to-fast-properties "^1.0.1"
|
||||||
|
|
||||||
babylon@6.15.0:
|
|
||||||
version "6.15.0"
|
|
||||||
resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.15.0.tgz#ba65cfa1a80e1759b0e89fb562e27dccae70348e"
|
|
||||||
|
|
||||||
babylon@7.0.0-beta.4:
|
babylon@7.0.0-beta.4:
|
||||||
version "7.0.0-beta.4"
|
version "7.0.0-beta.4"
|
||||||
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.4.tgz#82db799d2667f61bbaf34456dbfa91c37613459d"
|
resolved "https://registry.yarnpkg.com/babylon/-/babylon-7.0.0-beta.4.tgz#82db799d2667f61bbaf34456dbfa91c37613459d"
|
||||||
@ -1879,10 +1871,6 @@ color-name@^1.1.1:
|
|||||||
version "1.1.2"
|
version "1.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.2.tgz#5c8ab72b64bd2215d617ae9559ebb148475cf98d"
|
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.2.tgz#5c8ab72b64bd2215d617ae9559ebb148475cf98d"
|
||||||
|
|
||||||
colors@>=0.6.2:
|
|
||||||
version "1.1.2"
|
|
||||||
resolved "https://registry.yarnpkg.com/colors/-/colors-1.1.2.tgz#168a4701756b6a7f51a12ce0c97bfa28c084ed63"
|
|
||||||
|
|
||||||
combined-stream@^1.0.5, combined-stream@~1.0.5:
|
combined-stream@^1.0.5, combined-stream@~1.0.5:
|
||||||
version "1.0.5"
|
version "1.0.5"
|
||||||
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009"
|
resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009"
|
||||||
@ -2563,13 +2551,9 @@ flow-bin@^0.46.0:
|
|||||||
version "0.46.0"
|
version "0.46.0"
|
||||||
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.46.0.tgz#06ad7fe19dddb1042264438064a2a32fee12b872"
|
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.46.0.tgz#06ad7fe19dddb1042264438064a2a32fee12b872"
|
||||||
|
|
||||||
flow-parser@0.40.0:
|
flow-parser@0.45.0:
|
||||||
version "0.40.0"
|
version "0.45.0"
|
||||||
resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.40.0.tgz#b3444742189093323c4319c4fe9d35391f46bcbc"
|
resolved "https://registry.yarnpkg.com/flow-parser/-/flow-parser-0.45.0.tgz#aa29d4ae27f06aa02817772bba0fcbefef7e62f0"
|
||||||
dependencies:
|
|
||||||
ast-types "0.8.18"
|
|
||||||
colors ">=0.6.2"
|
|
||||||
minimist ">=0.2.0"
|
|
||||||
|
|
||||||
for-in@^1.0.1:
|
for-in@^1.0.1:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
@ -3524,7 +3508,7 @@ minimist@0.0.8, minimist@~0.0.1:
|
|||||||
version "0.0.8"
|
version "0.0.8"
|
||||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
|
||||||
|
|
||||||
minimist@1.2.0, minimist@>=0.2.0, minimist@^1.2.0:
|
minimist@1.2.0, minimist@^1.2.0:
|
||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
|
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
|
||||||
|
|
||||||
@ -3914,16 +3898,16 @@ preserve@^0.2.0:
|
|||||||
version "0.2.0"
|
version "0.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
|
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"
|
||||||
|
|
||||||
prettier@^0.22.0:
|
prettier@1.3.1:
|
||||||
version "0.22.0"
|
version "1.3.1"
|
||||||
resolved "https://registry.yarnpkg.com/prettier/-/prettier-0.22.0.tgz#7b37c4480d0858180407e5a8e13f0f47da7385d2"
|
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.3.1.tgz#fa0ea84b45ac0ba6de6a1e4cecdcff900d563151"
|
||||||
dependencies:
|
dependencies:
|
||||||
ast-types "0.9.4"
|
ast-types "0.9.8"
|
||||||
babel-code-frame "6.22.0"
|
babel-code-frame "6.22.0"
|
||||||
babylon "6.15.0"
|
babylon "7.0.0-beta.8"
|
||||||
chalk "1.1.3"
|
chalk "1.1.3"
|
||||||
esutils "2.0.2"
|
esutils "2.0.2"
|
||||||
flow-parser "0.40.0"
|
flow-parser "0.45.0"
|
||||||
get-stdin "5.0.1"
|
get-stdin "5.0.1"
|
||||||
glob "7.1.1"
|
glob "7.1.1"
|
||||||
jest-validate "19.0.0"
|
jest-validate "19.0.0"
|
||||||
@ -4154,7 +4138,7 @@ repeating@^2.0.0:
|
|||||||
dependencies:
|
dependencies:
|
||||||
is-finite "^1.0.0"
|
is-finite "^1.0.0"
|
||||||
|
|
||||||
request@2.79.0:
|
request@2.79.0, request@^2.55.0:
|
||||||
version "2.79.0"
|
version "2.79.0"
|
||||||
resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de"
|
resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -4179,7 +4163,7 @@ request@2.79.0:
|
|||||||
tunnel-agent "~0.4.1"
|
tunnel-agent "~0.4.1"
|
||||||
uuid "^3.0.0"
|
uuid "^3.0.0"
|
||||||
|
|
||||||
request@^2.55.0, request@^2.81.0:
|
request@^2.81.0:
|
||||||
version "2.81.0"
|
version "2.81.0"
|
||||||
resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0"
|
resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user