mirror of
https://github.com/hanzoai/react.git
synced 2026-09-24 17:02:27 +00:00
Use Closure Compiler to compile to ES5 instead of Babel (#18449)
* Upgrade Closure There are newer versions but they don't yet have corresponding releases of google-closure-compiler-osx. * Configure build * Refactor ReactSymbols a bit Provides a little better output.
This commit is contained in:
committed by
GitHub
parent
7d9f0b2057
commit
7ac69e779a
+1
-1
@@ -61,7 +61,7 @@
|
||||
"flow-bin": "0.97",
|
||||
"glob": "^7.1.6",
|
||||
"glob-stream": "^6.1.0",
|
||||
"google-closure-compiler": "^20200112.0.0",
|
||||
"google-closure-compiler": "^20200224.0.0",
|
||||
"gzip-size": "^5.1.1",
|
||||
"jasmine-check": "^1.0.0-rc.0",
|
||||
"jest": "^24.9.0",
|
||||
|
||||
@@ -9,51 +9,44 @@
|
||||
|
||||
// The Symbol used to tag the ReactElement-like types. If there is no native Symbol
|
||||
// nor polyfill, then a plain number is used for performance.
|
||||
const hasSymbol = typeof Symbol === 'function' && Symbol.for;
|
||||
export let REACT_ELEMENT_TYPE = 0xeac7;
|
||||
export let REACT_PORTAL_TYPE = 0xeaca;
|
||||
export let REACT_FRAGMENT_TYPE = 0xeacb;
|
||||
export let REACT_STRICT_MODE_TYPE = 0xeacc;
|
||||
export let REACT_PROFILER_TYPE = 0xead2;
|
||||
export let REACT_PROVIDER_TYPE = 0xeacd;
|
||||
export let REACT_CONTEXT_TYPE = 0xeace;
|
||||
export let REACT_FORWARD_REF_TYPE = 0xead0;
|
||||
export let REACT_SUSPENSE_TYPE = 0xead1;
|
||||
export let REACT_SUSPENSE_LIST_TYPE = 0xead8;
|
||||
export let REACT_MEMO_TYPE = 0xead3;
|
||||
export let REACT_LAZY_TYPE = 0xead4;
|
||||
export let REACT_BLOCK_TYPE = 0xead9;
|
||||
export let REACT_SERVER_BLOCK_TYPE = 0xeada;
|
||||
export let REACT_FUNDAMENTAL_TYPE = 0xead5;
|
||||
export let REACT_RESPONDER_TYPE = 0xead6;
|
||||
export let REACT_SCOPE_TYPE = 0xead7;
|
||||
|
||||
export const REACT_ELEMENT_TYPE = hasSymbol
|
||||
? Symbol.for('react.element')
|
||||
: 0xeac7;
|
||||
export const REACT_PORTAL_TYPE = hasSymbol
|
||||
? Symbol.for('react.portal')
|
||||
: 0xeaca;
|
||||
export const REACT_FRAGMENT_TYPE = hasSymbol
|
||||
? Symbol.for('react.fragment')
|
||||
: 0xeacb;
|
||||
export const REACT_STRICT_MODE_TYPE = hasSymbol
|
||||
? Symbol.for('react.strict_mode')
|
||||
: 0xeacc;
|
||||
export const REACT_PROFILER_TYPE = hasSymbol
|
||||
? Symbol.for('react.profiler')
|
||||
: 0xead2;
|
||||
export const REACT_PROVIDER_TYPE = hasSymbol
|
||||
? Symbol.for('react.provider')
|
||||
: 0xeacd;
|
||||
export const REACT_CONTEXT_TYPE = hasSymbol
|
||||
? Symbol.for('react.context')
|
||||
: 0xeace;
|
||||
export const REACT_FORWARD_REF_TYPE = hasSymbol
|
||||
? Symbol.for('react.forward_ref')
|
||||
: 0xead0;
|
||||
export const REACT_SUSPENSE_TYPE = hasSymbol
|
||||
? Symbol.for('react.suspense')
|
||||
: 0xead1;
|
||||
export const REACT_SUSPENSE_LIST_TYPE = hasSymbol
|
||||
? Symbol.for('react.suspense_list')
|
||||
: 0xead8;
|
||||
export const REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
|
||||
export const REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
|
||||
export const REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
|
||||
export const REACT_SERVER_BLOCK_TYPE = hasSymbol
|
||||
? Symbol.for('react.server.block')
|
||||
: 0xeada;
|
||||
export const REACT_FUNDAMENTAL_TYPE = hasSymbol
|
||||
? Symbol.for('react.fundamental')
|
||||
: 0xead5;
|
||||
export const REACT_RESPONDER_TYPE = hasSymbol
|
||||
? Symbol.for('react.responder')
|
||||
: 0xead6;
|
||||
export const REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
|
||||
if (typeof Symbol === 'function' && Symbol.for) {
|
||||
const symbolFor = Symbol.for;
|
||||
REACT_ELEMENT_TYPE = symbolFor('react.element');
|
||||
REACT_PORTAL_TYPE = symbolFor('react.portal');
|
||||
REACT_FRAGMENT_TYPE = symbolFor('react.fragment');
|
||||
REACT_STRICT_MODE_TYPE = symbolFor('react.strict_mode');
|
||||
REACT_PROFILER_TYPE = symbolFor('react.profiler');
|
||||
REACT_PROVIDER_TYPE = symbolFor('react.provider');
|
||||
REACT_CONTEXT_TYPE = symbolFor('react.context');
|
||||
REACT_FORWARD_REF_TYPE = symbolFor('react.forward_ref');
|
||||
REACT_SUSPENSE_TYPE = symbolFor('react.suspense');
|
||||
REACT_SUSPENSE_LIST_TYPE = symbolFor('react.suspense_list');
|
||||
REACT_MEMO_TYPE = symbolFor('react.memo');
|
||||
REACT_LAZY_TYPE = symbolFor('react.lazy');
|
||||
REACT_BLOCK_TYPE = symbolFor('react.block');
|
||||
REACT_SERVER_BLOCK_TYPE = symbolFor('react.server.block');
|
||||
REACT_FUNDAMENTAL_TYPE = symbolFor('react.fundamental');
|
||||
REACT_RESPONDER_TYPE = symbolFor('react.responder');
|
||||
REACT_SCOPE_TYPE = symbolFor('react.scope');
|
||||
}
|
||||
|
||||
const MAYBE_ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;
|
||||
const FAUX_ITERATOR_SYMBOL = '@@iterator';
|
||||
|
||||
+39
-3
@@ -97,7 +97,7 @@ const errorCodeOpts = {
|
||||
|
||||
const closureOptions = {
|
||||
compilation_level: 'SIMPLE',
|
||||
language_in: 'ECMASCRIPT5_STRICT',
|
||||
language_in: 'ECMASCRIPT_2015',
|
||||
language_out: 'ECMASCRIPT5_STRICT',
|
||||
env: 'CUSTOM',
|
||||
warning_level: 'QUIET',
|
||||
@@ -105,8 +105,41 @@ const closureOptions = {
|
||||
use_types_for_optimization: false,
|
||||
process_common_js_modules: false,
|
||||
rewrite_polyfills: false,
|
||||
inject_libraries: false,
|
||||
};
|
||||
|
||||
// Non-ES2015 stuff applied before closure compiler.
|
||||
const babelPlugins = [
|
||||
// These plugins filter out non-ES2015.
|
||||
'@babel/plugin-transform-flow-strip-types',
|
||||
['@babel/plugin-proposal-class-properties', {loose: true}],
|
||||
'syntax-trailing-function-commas',
|
||||
// These use loose mode which avoids embedding a runtime.
|
||||
// TODO: Remove object spread from the source. Prefer Object.assign instead.
|
||||
[
|
||||
'@babel/plugin-proposal-object-rest-spread',
|
||||
{loose: true, useBuiltIns: true},
|
||||
],
|
||||
['@babel/plugin-transform-template-literals', {loose: true}],
|
||||
// TODO: Remove for...of from the source. It requires a runtime to be embedded.
|
||||
'@babel/plugin-transform-for-of',
|
||||
// TODO: Remove array spread from the source. Prefer .apply instead.
|
||||
['@babel/plugin-transform-spread', {loose: true, useBuiltIns: true}],
|
||||
'@babel/plugin-transform-parameters',
|
||||
// TODO: Remove array destructuring from the source. Requires runtime.
|
||||
['@babel/plugin-transform-destructuring', {loose: true, useBuiltIns: true}],
|
||||
];
|
||||
|
||||
const babelToES5Plugins = [
|
||||
// These plugins transform DEV mode. Closure compiler deals with these in PROD.
|
||||
'@babel/plugin-transform-literals',
|
||||
'@babel/plugin-transform-arrow-functions',
|
||||
'@babel/plugin-transform-block-scoped-functions',
|
||||
'@babel/plugin-transform-shorthand-properties',
|
||||
'@babel/plugin-transform-computed-properties',
|
||||
['@babel/plugin-transform-block-scoping', {throwIfClosureRequired: true}],
|
||||
];
|
||||
|
||||
function getBabelConfig(
|
||||
updateBabelOptions,
|
||||
bundleType,
|
||||
@@ -118,11 +151,14 @@ function getBabelConfig(
|
||||
packageName === 'react' || externals.indexOf('react') !== -1;
|
||||
let options = {
|
||||
exclude: '/**/node_modules/**',
|
||||
babelrc: false,
|
||||
configFile: false,
|
||||
presets: [],
|
||||
plugins: [],
|
||||
plugins: [...babelPlugins],
|
||||
};
|
||||
if (isDevelopment) {
|
||||
options.plugins.push(
|
||||
...babelToES5Plugins,
|
||||
// Turn console.error/warn() into a custom wrapper
|
||||
[
|
||||
require('../babel/transform-replace-console-calls'),
|
||||
@@ -369,7 +405,7 @@ function getPlugins(
|
||||
stripBanner({
|
||||
exclude: 'node_modules/**/*',
|
||||
}),
|
||||
// Compile to ES5.
|
||||
// Compile to ES2015.
|
||||
babel(
|
||||
getBabelConfig(
|
||||
updateBabelOptions,
|
||||
|
||||
@@ -19,6 +19,16 @@ function compile(flags) {
|
||||
});
|
||||
}
|
||||
|
||||
function encodeNativeCalls(code) {
|
||||
// Closure Compiler tries to install a polyfill if we reference the Symbol global.
|
||||
// We need to temporarily trick Closure that it's not the built-in it's looking for.
|
||||
return code.replace(/Symbol/g, 'SymbolTmp');
|
||||
}
|
||||
|
||||
function decodeNativeCalls(code) {
|
||||
return code.replace(/SymbolTmp/g, 'Symbol');
|
||||
}
|
||||
|
||||
module.exports = function closure(flags = {}) {
|
||||
return {
|
||||
name: 'scripts/rollup/plugins/closure-plugin',
|
||||
@@ -26,10 +36,12 @@ module.exports = function closure(flags = {}) {
|
||||
const inputFile = tmp.fileSync();
|
||||
const tempPath = inputFile.name;
|
||||
flags = Object.assign({}, flags, {js: tempPath});
|
||||
await writeFileAsync(tempPath, code, 'utf8');
|
||||
const filteredCode = encodeNativeCalls(code);
|
||||
await writeFileAsync(tempPath, filteredCode, 'utf8');
|
||||
const compiledCode = await compile(flags);
|
||||
inputFile.removeCallback();
|
||||
return {code: compiledCode};
|
||||
const decodedCode = decodeNativeCalls(compiledCode);
|
||||
return {code: decodedCode};
|
||||
},
|
||||
};
|
||||
};
|
||||
|
||||
@@ -3609,18 +3609,18 @@ clone@^1.0.2:
|
||||
integrity sha1-2jCcwmPfFZlMaIypAheco8fNfH4=
|
||||
|
||||
clone@^2.1.1:
|
||||
version "2.1.1"
|
||||
resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.1.tgz#d217d1e961118e3ac9a4b8bba3285553bf647cdb"
|
||||
integrity sha1-0hfR6WERjjrJpLi7oyhVU79kfNs=
|
||||
version "2.1.2"
|
||||
resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.2.tgz#1b7f4b9f591f1e8f83670401600345a02887435f"
|
||||
integrity sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=
|
||||
|
||||
cloneable-readable@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.0.0.tgz#a6290d413f217a61232f95e458ff38418cfb0117"
|
||||
integrity sha1-pikNQT8hemEjL5XkWP84QYz7ARc=
|
||||
version "1.1.3"
|
||||
resolved "https://registry.yarnpkg.com/cloneable-readable/-/cloneable-readable-1.1.3.tgz#120a00cb053bfb63a222e709f9683ea2e11d8cec"
|
||||
integrity sha512-2EF8zTQOxYq70Y4XKtorQupqF0m49MBz2/yf5Bj+MHjvpG3Hy7sImifnqD6UA+TKYxeSV+u6qqQPawN5UvnpKQ==
|
||||
dependencies:
|
||||
inherits "^2.0.1"
|
||||
process-nextick-args "^1.0.6"
|
||||
through2 "^2.0.1"
|
||||
process-nextick-args "^2.0.0"
|
||||
readable-stream "^2.3.5"
|
||||
|
||||
co@^4.6.0:
|
||||
version "4.6.0"
|
||||
@@ -3646,11 +3646,11 @@ collection-visit@^1.0.0:
|
||||
object-visit "^1.0.0"
|
||||
|
||||
color-convert@^1.9.0:
|
||||
version "1.9.0"
|
||||
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.0.tgz#1accf97dd739b983bf994d56fec8f95853641b7a"
|
||||
integrity sha1-Gsz5fdc5uYO/mU1W/sj5WFNkG3o=
|
||||
version "1.9.3"
|
||||
resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
|
||||
integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==
|
||||
dependencies:
|
||||
color-name "^1.1.1"
|
||||
color-name "1.1.3"
|
||||
|
||||
color-convert@^2.0.1:
|
||||
version "2.0.1"
|
||||
@@ -3659,7 +3659,7 @@ color-convert@^2.0.1:
|
||||
dependencies:
|
||||
color-name "~1.1.4"
|
||||
|
||||
color-name@^1.1.1:
|
||||
[email protected].3:
|
||||
version "1.1.3"
|
||||
resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
|
||||
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
|
||||
@@ -6377,46 +6377,46 @@ globby@^6.1.0:
|
||||
pify "^2.0.0"
|
||||
pinkie-promise "^2.0.0"
|
||||
|
||||
google-closure-compiler-java@^20200112.0.0:
|
||||
version "20200112.0.0"
|
||||
resolved "https://registry.yarnpkg.com/google-closure-compiler-java/-/google-closure-compiler-java-20200112.0.0.tgz#2b99f5e2869a573a1b35558ff3b6e6bc054a116f"
|
||||
integrity sha512-h/ExDCXAw88nOniQSbbK6et31kOwmaDxl6t52dnETCIzituQtGToPzy21vUel1o8o+FvWUybLoap+dEYBam1pA==
|
||||
google-closure-compiler-java@^20200224.0.0:
|
||||
version "20200224.0.0"
|
||||
resolved "https://registry.yarnpkg.com/google-closure-compiler-java/-/google-closure-compiler-java-20200224.0.0.tgz#03d71aefd0a07010fd8a7057d09c76f6729767bc"
|
||||
integrity sha512-palFcDoScauZjWIsGDzMK6h+IctcRb55I3wJX8Ko/DTSz72xwadRdKm0lGt8OoYL7SKEO+IjgD7s8XrAGpLnlQ==
|
||||
|
||||
google-closure-compiler-js@^20200112.0.0:
|
||||
version "20200112.0.0"
|
||||
resolved "https://registry.yarnpkg.com/google-closure-compiler-js/-/google-closure-compiler-js-20200112.0.0.tgz#cb9fc1636671f3ce927e668e29db69b65cae6f2d"
|
||||
integrity sha512-xW47rSuiRaql6q1YN7+b3FXIW74b1nCcENVwm9cigw1H5gWoBMBJOmpZiXnjMfmYC+MALjPQ8giMzvSeP+2X5A==
|
||||
google-closure-compiler-js@^20200224.0.0:
|
||||
version "20200224.0.0"
|
||||
resolved "https://registry.yarnpkg.com/google-closure-compiler-js/-/google-closure-compiler-js-20200224.0.0.tgz#cf4b598abf7be686c683e530529756805b8af500"
|
||||
integrity sha512-70VKN0kbnTRtu2dqxDjWZQGfEQIHj7b7oUUCsYPO5oEXCDfgxNc13oYUJXvrTONLRWlHCNl/I8FNrVOwZ3gY/g==
|
||||
|
||||
google-closure-compiler-linux@^20200112.0.0:
|
||||
version "20200112.0.0"
|
||||
resolved "https://registry.yarnpkg.com/google-closure-compiler-linux/-/google-closure-compiler-linux-20200112.0.0.tgz#e6c7943cc0114046dbe9fc685e4d7d4eb536c1dc"
|
||||
integrity sha512-imTfdYP7BVTzzp3y7MuZP+98nEkbX7LZsZtxalNpl56vd+Ysc9/vOHXS14CdSoThaXIVlzX/lfjOlBRqPow+ew==
|
||||
google-closure-compiler-linux@^20200224.0.0:
|
||||
version "20200224.0.0"
|
||||
resolved "https://registry.yarnpkg.com/google-closure-compiler-linux/-/google-closure-compiler-linux-20200224.0.0.tgz#d9608b224b4d8f38d4d34e99a24da54bca6b1902"
|
||||
integrity sha512-/BaE889EPrXWOKJVolA9++e99xBDMzeFBf7zF7nBB8PUmU5DlvtsoLL82xnT6nbZC1ktHaETlVx+vYGju8zKBQ==
|
||||
|
||||
google-closure-compiler-osx@^20200112.0.0:
|
||||
version "20200112.0.0"
|
||||
resolved "https://registry.yarnpkg.com/google-closure-compiler-osx/-/google-closure-compiler-osx-20200112.0.0.tgz#df7a22c0dc32702b47c8ac4521f79bbe439effad"
|
||||
integrity sha512-E3S1KqZw4+Zov0VXCkjomPrYhyuuV6jH9InBchQ7cZfipFJjhQmSRf39u4Mu0sINW7GXfODZbzBwOXhEIquFQw==
|
||||
google-closure-compiler-osx@^20200224.0.0:
|
||||
version "20200224.0.0"
|
||||
resolved "https://registry.yarnpkg.com/google-closure-compiler-osx/-/google-closure-compiler-osx-20200224.0.0.tgz#aee62d8b878a662fc73b92419603168c0c3a35ed"
|
||||
integrity sha512-WXVNW9nPUqjvCe38mUIlBGEPVPCTKLtdaXC+q+kQdonkJFHNrpdyYWa746Y8cNP/byQyDNpPsqcKseZTLh17sQ==
|
||||
|
||||
google-closure-compiler-windows@^20200112.0.0:
|
||||
version "20200112.0.0"
|
||||
resolved "https://registry.yarnpkg.com/google-closure-compiler-windows/-/google-closure-compiler-windows-20200112.0.0.tgz#8300d1e651f2c84ed565e729ccf40d6ed7e63771"
|
||||
integrity sha512-+5+UJFKXH0LGnYEHSVJxWwhtvX/MI6uebkAQkhma0057QsKs8fOToWuHL8/UbJULB4WUPa3DlHy0+Izs5z6lCQ==
|
||||
google-closure-compiler-windows@^20200224.0.0:
|
||||
version "20200224.0.0"
|
||||
resolved "https://registry.yarnpkg.com/google-closure-compiler-windows/-/google-closure-compiler-windows-20200224.0.0.tgz#cae323b898625ca57b0e87aaddde021a414dda58"
|
||||
integrity sha512-l6w2D8r9+GC9CQTAYEMAuNI996Zb6YV5qG7+FR0gCoL6h6S3Mc7mi87bafgwaicsVcmmHE/9kCBuW4ZyTMs5Fg==
|
||||
|
||||
google-closure-compiler@^20200112.0.0:
|
||||
version "20200112.0.0"
|
||||
resolved "https://registry.yarnpkg.com/google-closure-compiler/-/google-closure-compiler-20200112.0.0.tgz#98d79ed2926b5c9a04c759c3f0853f2102c06ba2"
|
||||
integrity sha512-8d43B3hU2pAFy6MD946oslArRe11jPJ/h/VaPPiiSMoSMFxnDpd8jjVJfM2solFSNOOZ9OacA6g/RVGMyp5lvg==
|
||||
google-closure-compiler@^20200224.0.0:
|
||||
version "20200224.0.0"
|
||||
resolved "https://registry.yarnpkg.com/google-closure-compiler/-/google-closure-compiler-20200224.0.0.tgz#ec0e708d9716a48e12fff43fe37fa5cec732a283"
|
||||
integrity sha512-V81dRYygdHbZtOtU16VX26xAdJBB1UZyfSg3OTzdNl3l/xEIx1D/L7TYUqjeTXsxcy+JruJ/UfUlIJAOaMRTog==
|
||||
dependencies:
|
||||
chalk "2.x"
|
||||
google-closure-compiler-java "^20200112.0.0"
|
||||
google-closure-compiler-js "^20200112.0.0"
|
||||
google-closure-compiler-java "^20200224.0.0"
|
||||
google-closure-compiler-js "^20200224.0.0"
|
||||
minimist "1.x"
|
||||
vinyl "2.x"
|
||||
vinyl-sourcemaps-apply "^0.2.0"
|
||||
optionalDependencies:
|
||||
google-closure-compiler-linux "^20200112.0.0"
|
||||
google-closure-compiler-osx "^20200112.0.0"
|
||||
google-closure-compiler-windows "^20200112.0.0"
|
||||
google-closure-compiler-linux "^20200224.0.0"
|
||||
google-closure-compiler-osx "^20200224.0.0"
|
||||
google-closure-compiler-windows "^20200224.0.0"
|
||||
|
||||
got@^6.7.1:
|
||||
version "6.7.1"
|
||||
@@ -8929,7 +8929,12 @@ [email protected]:
|
||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
|
||||
integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
|
||||
|
||||
[email protected], minimist@^1.1.0, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0:
|
||||
[email protected]:
|
||||
version "1.2.5"
|
||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602"
|
||||
integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==
|
||||
|
||||
minimist@^1.1.0, minimist@^1.1.1, minimist@^1.1.3, minimist@^1.2.0:
|
||||
version "1.2.0"
|
||||
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
|
||||
integrity sha1-o1AIsg9BOD7sH7kU9M1d95omQoQ=
|
||||
@@ -10413,15 +10418,10 @@ [email protected]:
|
||||
request "^2.83.0"
|
||||
stream-parser "~0.3.1"
|
||||
|
||||
process-nextick-args@^1.0.6:
|
||||
version "1.0.7"
|
||||
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3"
|
||||
integrity sha1-FQ4gt1ZZCtP5EJPyWk8q2L/zC6M=
|
||||
|
||||
process-nextick-args@~2.0.0:
|
||||
version "2.0.0"
|
||||
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.0.tgz#a37d732f4271b4ab1ad070d35508e8290788ffaa"
|
||||
integrity sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw==
|
||||
process-nextick-args@^2.0.0, process-nextick-args@~2.0.0:
|
||||
version "2.0.1"
|
||||
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
|
||||
integrity sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==
|
||||
|
||||
process@^0.11.0, process@^0.11.10, process@~0.11.0:
|
||||
version "0.11.10"
|
||||
@@ -10822,7 +10822,7 @@ read-pkg@^3.0.0:
|
||||
normalize-package-data "^2.3.2"
|
||||
path-type "^3.0.0"
|
||||
|
||||
"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2, readable-stream@^2.3.0, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6:
|
||||
"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.0.1, readable-stream@^2.0.2, readable-stream@^2.0.5, readable-stream@^2.0.6, readable-stream@^2.2.2, readable-stream@^2.3.0, readable-stream@^2.3.3, readable-stream@^2.3.6, readable-stream@~2.3.6:
|
||||
version "2.3.6"
|
||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"
|
||||
integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==
|
||||
@@ -10863,6 +10863,19 @@ readable-stream@3, readable-stream@^3.0.1, readable-stream@^3.0.6, readable-stre
|
||||
string_decoder "^1.1.1"
|
||||
util-deprecate "^1.0.1"
|
||||
|
||||
readable-stream@^2.1.5, readable-stream@^2.3.5:
|
||||
version "2.3.7"
|
||||
resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.7.tgz#1eca1cf711aef814c04f62252a36a62f6cb23b57"
|
||||
integrity sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==
|
||||
dependencies:
|
||||
core-util-is "~1.0.0"
|
||||
inherits "~2.0.3"
|
||||
isarray "~1.0.0"
|
||||
process-nextick-args "~2.0.0"
|
||||
safe-buffer "~5.1.1"
|
||||
string_decoder "~1.1.1"
|
||||
util-deprecate "~1.0.1"
|
||||
|
||||
readdir-scoped-modules@^1.1.0:
|
||||
version "1.1.0"
|
||||
resolved "https://registry.yarnpkg.com/readdir-scoped-modules/-/readdir-scoped-modules-1.1.0.tgz#8d45407b4f870a0dcaebc0e28670d18e74514309"
|
||||
@@ -12820,7 +12833,7 @@ through2-filter@^2.0.0:
|
||||
through2 "~2.0.0"
|
||||
xtend "~4.0.0"
|
||||
|
||||
through2@^2.0.0, through2@^2.0.1, through2@~2.0.0:
|
||||
through2@^2.0.0, through2@~2.0.0:
|
||||
version "2.0.3"
|
||||
resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be"
|
||||
integrity sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=
|
||||
|
||||
Reference in New Issue
Block a user