From f2a258ae97e289e821a3d3813e510b6f300c1fed Mon Sep 17 00:00:00 2001 From: lizhihua <275091674@qq.com> Date: Sun, 3 Sep 2017 20:42:43 +0800 Subject: [PATCH 01/89] update /content/loaders & /content/plugins --- src/content/loaders/css-loader.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/loaders/css-loader.md b/src/content/loaders/css-loader.md index 5dd23e6c870a..cba38c16f05f 100644 --- a/src/content/loaders/css-loader.md +++ b/src/content/loaders/css-loader.md @@ -133,7 +133,7 @@ url(~module/image.png) => require('module/image.png') Rewrite your urls with alias, this is useful when it's hard to change url paths of your input files, for example, when you're using some css / sass files in another package (bootstrap, ratchet, font-awesome, etc.). -`css-loader`'s `alias` follows the same syntax as webpack's `resolve.alias`, you can see the details at the [resolve docs] (https://webpack.js.org/configuration/resolve/#resolve-alias) +`css-loader`'s `alias` follows the same syntax as webpack's `resolve.alias`, you can see the details at the [resolve docs](https://webpack.js.org/configuration/resolve/#resolve-alias) **file.scss** ```css From 248be262b2ebb80a31f1ec04a3c5a826cd1191ec Mon Sep 17 00:00:00 2001 From: lizhihua <275091674@qq.com> Date: Tue, 19 Sep 2017 09:38:06 +0800 Subject: [PATCH 02/89] update /content/loaders & /content/plugins --- src/content/loaders/css-loader.md | 18 +++++++-------- src/content/loaders/style-loader.md | 34 +++++++++++++++++++++++++++-- src/content/loaders/url-loader.md | 10 +++++---- 3 files changed, 47 insertions(+), 15 deletions(-) diff --git a/src/content/loaders/css-loader.md b/src/content/loaders/css-loader.md index cba38c16f05f..a0e7ff153775 100644 --- a/src/content/loaders/css-loader.md +++ b/src/content/loaders/css-loader.md @@ -86,15 +86,15 @@ It's useful when you, for instance, need to post process the CSS as a string. |Name|Type|Default|Description| |:--:|:--:|:-----:|:----------| -|**`root`**|`{String}`|`/`|Path to resolve URLs, URLs starting with `/` will not be translated| -|**`url`**|`{Boolean}`|`true`| Enable/Disable `url()` handling| -|**`alias`**|`{Object}`|`{}`|Create aliases to import certain modules more easily| -|**`import`** |`{Boolean}`|`true`| Enable/Disable @import handling| -|**`modules`**|`{Boolean}`|`false`|Enable/Disable CSS Modules| -|**`minimize`**|`{Boolean\|Object}`|`false`|Enable/Disable minification| -|**`sourceMap`**|`{Boolean}`|`false`|Enable/Disable Sourcemaps| -|**`camelCase`**|`{Boolean\|String}`|`false`|Export Classnames in CamelCase| -|**`importLoaders`**|`{Number}`|`0`|Number of loaders applied before CSS loader| +|**[`root`](#root)**|`{String}`|`/`|Path to resolve URLs, URLs starting with `/` will not be translated| +|**[`url`](#url)**|`{Boolean}`|`true`| Enable/Disable `url()` handling| +|**[`alias`](#alias)**|`{Object}`|`{}`|Create aliases to import certain modules more easily| +|**[`import`](#import)** |`{Boolean}`|`true`| Enable/Disable @import handling| +|**[`modules`](#modules)**|`{Boolean}`|`false`|Enable/Disable CSS Modules| +|**[`minimize`](#minimize)**|`{Boolean\|Object}`|`false`|Enable/Disable minification| +|**[`sourceMap`](#sourcemap)**|`{Boolean}`|`false`|Enable/Disable Sourcemaps| +|**[`camelCase`](#camelcase)**|`{Boolean\|String}`|`false`|Export Classnames in CamelCase| +|**[`importLoaders`](#importloaders)**|`{Number}`|`0`|Number of loaders applied before CSS loader| |**`localIdentName`**|`{String}`|`[hash:base64]`|Configure the generated ident| ### `root` diff --git a/src/content/loaders/style-loader.md b/src/content/loaders/style-loader.md index 3a4e9507d462..8774f9205363 100644 --- a/src/content/loaders/style-loader.md +++ b/src/content/loaders/style-loader.md @@ -10,7 +10,7 @@ repo: https://github.com/webpack-contrib/style-loader ## Install -``` +```bash npm install style-loader --save-dev ``` @@ -130,14 +130,30 @@ Styles are not added on `import/require()`, but instead on call to `use`/`ref`. |Name|Type|Default|Description| |:--:|:--:|:-----:|:----------| +|**`hmr`**|`{Boolean}`|`true`|Enable/disable Hot Module Replacement (HMR), if disabled no HMR Code will be added (good for non local development/production)| |**`base`** |`{Number}`|`true`|Set module ID base (DLLPlugin)| |**`attrs`**|`{Object}`|`{}`|Add custom attrs to ``| |**`transform`** |`{Function}`|`false`|Transform/Conditionally load CSS by passing a transform/condition function| -|**`insertAt`**|`{String}`|`bottom`|Inserts `` at the given position| +|**`insertAt`**|`{String\|Object}`|`bottom`|Inserts `` at the given position| |**`insertInto`**|`{String}`|``|Inserts `` into the given position| |**`sourceMap`**|`{Boolean}`|`false`|Enable/Disable Sourcemaps| |**`convertToAbsoluteUrls`**|`{Boolean}`|`false`|Converts relative URLs to absolute urls, when source maps are enabled| +### `hmr` + +Enable/disable Hot Module Replacement (HMR), if disabled no HMR Code will be added. +This could be used for non local development and production. + +**webpack.config.js** +```js +{ + loader: 'style-loader' + options: { + hmr: false + } +} +``` + ### `base` This setting is primarily used as a workaround for [css clashes](https://github.com/webpack-contrib/style-loader/issues/163) when using one or more [DllPlugin](https://robertknight.github.io/posts/webpack-dll-plugins/)'s. `base` allows you to prevent either the *app*'s css (or *DllPlugin2*'s css) from overwriting *DllPlugin1*'s css by specifying a css module id base which is greater than the range used by *DllPlugin1* e.g.: @@ -281,6 +297,20 @@ By default, the style-loader appends `` tag. - -```js -import url from 'file.css' -``` - -**webpack.config.js** -```js -{ - module: { - rules: [ - { - test: /\.css$/, - use: [ - { loader: "style-loader/url" }, - { loader: "file-loader" } - ] - } - ] - } -} -``` - -```html - -``` - -> :information_source: Source maps and assets referenced with `url`: when style loader is used with `{ options: { sourceMap: true } }` option, the CSS modules will be generated as `Blob`s, so relative paths don't work (they would be relative to `chrome:blob` or `chrome:devtools`). In order for assets to maintain correct paths setting `output.publicPath` property of webpack configuration must be set, so that absolute paths are generated. Alternatively you can enable the `convertToAbsoluteUrls` option mentioned above. - -### `Useable` - -By convention the `Reference Counter API` should be bound to `.useable.css` and the `.css` should be loaded with basic `style-loader` usage.(similar to other file types, i.e. `.useable.less` and `.less`). - -**webpack.config.js** -```js -{ - module: { - rules: [ - { - test: /\.css$/, - use: [ - { loader: "style-loader" }, - { loader: "css-loader" }, - ], - }, - { - test: /\.useable\.css$/, - use: [ - { - loader: "style-loader/useable" - }, - { loader: "css-loader" }, - ], - }, - ], - }, -} -``` - -#### `Reference Counter API` - -**component.js** -```js -import style from './file.css' - -style.use(); // = style.ref(); -style.unuse(); // = style.unref(); -``` - -Styles are not added on `import/require()`, but instead on call to `use`/`ref`. Styles are removed from page if `unuse`/`unref` is called exactly as often as `use`/`ref`. - -:warning: Behavior is undefined when `unuse`/`unref` is called more often than `use`/`ref`. Don't do that. - -## Options - -|Name|Type|Default|Description| -|:--:|:--:|:-----:|:----------| -|**`hmr`**|`{Boolean}`|`true`|Enable/disable Hot Module Replacement (HMR), if disabled no HMR Code will be added (good for non local development/production)| -|**`base`** |`{Number}`|`true`|Set module ID base (DLLPlugin)| -|**`attrs`**|`{Object}`|`{}`|Add custom attrs to ``| -|**`transform`** |`{Function}`|`false`|Transform/Conditionally load CSS by passing a transform/condition function| -|**`insertAt`**|`{String\|Object}`|`bottom`|Inserts `` at the given position| -|**`insertInto`**|`{String}`|``|Inserts `` into the given position| -|**`sourceMap`**|`{Boolean}`|`false`|Enable/Disable Sourcemaps| -|**`convertToAbsoluteUrls`**|`{Boolean}`|`false`|Converts relative URLs to absolute urls, when source maps are enabled| - -### `hmr` - -Enable/disable Hot Module Replacement (HMR), if disabled no HMR Code will be added. -This could be used for non local development and production. - -**webpack.config.js** -```js -{ - loader: 'style-loader', - options: { - hmr: false - } -} -``` - -### `base` - -This setting is primarily used as a workaround for [css clashes](https://github.com/webpack-contrib/style-loader/issues/163) when using one or more [DllPlugin](https://robertknight.github.io/posts/webpack-dll-plugins/)'s. `base` allows you to prevent either the *app*'s css (or *DllPlugin2*'s css) from overwriting *DllPlugin1*'s css by specifying a css module id base which is greater than the range used by *DllPlugin1* e.g.: - -**webpack.dll1.config.js** -```js -{ - test: /\.css$/, - use: [ - 'style-loader', - 'css-loader' - ] -} -``` - -**webpack.dll2.config.js** -```js -{ - test: /\.css$/, - use: [ - { loader: 'style-loader', options: { base: 1000 } }, - 'css-loader' - ] -} -``` - -**webpack.app.config.js** -``` -{ - test: /\.css$/, - use: [ - { loader: 'style-loader', options: { base: 2000 } }, - 'css-loader' - ] -} -``` - -### `attrs` - -If defined, style-loader will attach given attributes with their values on ` -``` - -#### `Url` - -**component.js** -```js -import link from './file.css' -``` - -**webpack.config.js** -```js -{ - test: /\.css$/, - use: [ - { loader: 'style-loader/url', options: { attrs: { id: 'id' } } } - { loader: 'file-loader' } - ] -} -``` - -### `transform` - -A `transform` is a function that can modify the css just before it is loaded into the page by the style-loader. -This function will be called on the css that is about to be loaded and the return value of the function will be loaded into the page instead of the original css. -If the return value of the `transform` function is falsy, the css will not be loaded into the page at all. - -**webpack.config.js** -```js -{ - loader: 'style-loader', - options: { - transform: 'path/to/transform.js' - } -} -``` - -**transform.js** -```js -module.exports = function (css) { - // Here we can change the original css - const transformed = css.replace('.classNameA', '.classNameB') - - return transformed -} -``` - -#### `Conditional` - -**webpack.config.js** -```js -{ - loader: 'style-loader', - options: { - transform: 'path/to/conditional.js' - } -} -``` - -**conditional.js** -```js -module.exports = function (css) { - // If the condition is matched load [and transform] the CSS - if (css.includes('something I want to check')) { - return css; - } - // If a falsy value is returned, the CSS won't be loaded - return false -} -``` - -### `insertAt` - -By default, the style-loader appends `` tag. + +```js +import url from 'file.css' +``` + +**webpack.config.js** +```js +{ + module: { + rules: [ + { + test: /\.css$/, + use: [ + { loader: "style-loader/url" }, + { loader: "file-loader" } + ] + } + ] + } +} +``` + +```html + +``` + +> :information_source: Source maps and assets referenced with `url`: when style loader is used with `{ options: { sourceMap: true } }` option, the CSS modules will be generated as `Blob`s, so relative paths don't work (they would be relative to `chrome:blob` or `chrome:devtools`). In order for assets to maintain correct paths setting `output.publicPath` property of webpack configuration must be set, so that absolute paths are generated. Alternatively you can enable the `convertToAbsoluteUrls` option mentioned above. + +### `Useable` + +By convention the `Reference Counter API` should be bound to `.useable.css` and the `.css` should be loaded with basic `style-loader` usage.(similar to other file types, i.e. `.useable.less` and `.less`). + +**webpack.config.js** +```js +{ + module: { + rules: [ + { + test: /\.css$/, + use: [ + { loader: "style-loader" }, + { loader: "css-loader" }, + ], + }, + { + test: /\.useable\.css$/, + use: [ + { + loader: "style-loader/useable" + }, + { loader: "css-loader" }, + ], + }, + ], + }, +} +``` + +#### `Reference Counter API` + +**component.js** +```js +import style from './file.css' + +style.use(); // = style.ref(); +style.unuse(); // = style.unref(); +``` + +Styles are not added on `import/require()`, but instead on call to `use`/`ref`. Styles are removed from page if `unuse`/`unref` is called exactly as often as `use`/`ref`. + +:warning: Behavior is undefined when `unuse`/`unref` is called more often than `use`/`ref`. Don't do that. + +## Options + +|Name|Type|Default|Description| +|:--:|:--:|:-----:|:----------| +|**`hmr`**|`{Boolean}`|`true`|Enable/disable Hot Module Replacement (HMR), if disabled no HMR Code will be added (good for non local development/production)| +|**`base`** |`{Number}`|`true`|Set module ID base (DLLPlugin)| +|**`attrs`**|`{Object}`|`{}`|Add custom attrs to ``| +|**`transform`** |`{Function}`|`false`|Transform/Conditionally load CSS by passing a transform/condition function| +|**`insertAt`**|`{String\|Object}`|`bottom`|Inserts `` at the given position| +|**`insertInto`**|`{String}`|``|Inserts `` into the given position| +|**`sourceMap`**|`{Boolean}`|`false`|Enable/Disable Sourcemaps| +|**`convertToAbsoluteUrls`**|`{Boolean}`|`false`|Converts relative URLs to absolute urls, when source maps are enabled| + +### `hmr` + +Enable/disable Hot Module Replacement (HMR), if disabled no HMR Code will be added. +This could be used for non local development and production. + +**webpack.config.js** +```js +{ + loader: 'style-loader', + options: { + hmr: false + } +} +``` + +### `base` + +This setting is primarily used as a workaround for [css clashes](https://github.com/webpack-contrib/style-loader/issues/163) when using one or more [DllPlugin](https://robertknight.github.io/posts/webpack-dll-plugins/)'s. `base` allows you to prevent either the *app*'s css (or *DllPlugin2*'s css) from overwriting *DllPlugin1*'s css by specifying a css module id base which is greater than the range used by *DllPlugin1* e.g.: + +**webpack.dll1.config.js** +```js +{ + test: /\.css$/, + use: [ + 'style-loader', + 'css-loader' + ] +} +``` + +**webpack.dll2.config.js** +```js +{ + test: /\.css$/, + use: [ + { loader: 'style-loader', options: { base: 1000 } }, + 'css-loader' + ] +} +``` + +**webpack.app.config.js** +``` +{ + test: /\.css$/, + use: [ + { loader: 'style-loader', options: { base: 2000 } }, + 'css-loader' + ] +} +``` + +### `attrs` + +If defined, style-loader will attach given attributes with their values on ` +``` + +#### `Url` + +**component.js** +```js +import link from './file.css' +``` + +**webpack.config.js** +```js +{ + test: /\.css$/, + use: [ + { loader: 'style-loader/url', options: { attrs: { id: 'id' } } } + { loader: 'file-loader' } + ] +} +``` + +### `transform` + +A `transform` is a function that can modify the css just before it is loaded into the page by the style-loader. +This function will be called on the css that is about to be loaded and the return value of the function will be loaded into the page instead of the original css. +If the return value of the `transform` function is falsy, the css will not be loaded into the page at all. + +**webpack.config.js** +```js +{ + loader: 'style-loader', + options: { + transform: 'path/to/transform.js' + } +} +``` + +**transform.js** +```js +module.exports = function (css) { + // Here we can change the original css + const transformed = css.replace('.classNameA', '.classNameB') + + return transformed +} +``` + +#### `Conditional` + +**webpack.config.js** +```js +{ + loader: 'style-loader', + options: { + transform: 'path/to/conditional.js' + } +} +``` + +**conditional.js** +```js +module.exports = function (css) { + // If the condition is matched load [and transform] the CSS + if (css.includes('something I want to check')) { + return css; + } + // If a falsy value is returned, the CSS won't be loaded + return false +} +``` + +### `insertAt` + +By default, the style-loader appends ` \ No newline at end of file diff --git a/src/components/SplashViz/SplashViz.jsx b/src/components/SplashViz/SplashViz.jsx index 3cae30b3eba3..1c8f9f3e5ff3 100644 --- a/src/components/SplashViz/SplashViz.jsx +++ b/src/components/SplashViz/SplashViz.jsx @@ -2,7 +2,7 @@ import React from 'react'; import Cube from '../Cube/Cube'; import TextRotator from '../TextRotater/TextRotater'; -import Modules from '../../assets/homepage-modules.svg'; +import homeSVG from './SplashVizSVG'; export default class SplashViz extends React.Component { @@ -18,9 +18,7 @@ export default class SplashViz extends React.Component { styles -
- dependency bundling graphic -
+
); diff --git a/src/components/SplashViz/SplashViz.scss b/src/components/SplashViz/SplashViz.scss index 09b105f33a7f..2bd9894fa8b2 100644 --- a/src/components/SplashViz/SplashViz.scss +++ b/src/components/SplashViz/SplashViz.scss @@ -27,16 +27,17 @@ position: absolute; left: 0; right: 0; - top: 0; + top: 50%; // vertical center bottom: 0; width: 75vw; min-width: 550px; max-width: map-get($screens, large); - margin: auto; + margin: 0 auto; + transform: translateY(-50%); // vertical center display: none; @include break { - display: block; + display: table; // Get height of its child svg } img { diff --git a/src/components/SplashViz/SplashVizSVG.js b/src/components/SplashViz/SplashVizSVG.js new file mode 100644 index 000000000000..95e6ba1ad7ea --- /dev/null +++ b/src/components/SplashViz/SplashVizSVG.js @@ -0,0 +1,200 @@ +// TODO: Try raw-loader or other approach when build process is refactored +module.exports = { + body: ` + + + + STATIC ASSETS + + + + + + + + .png + + + + + + + + + .css + + + + + + + + + .jpg + + + + + + + + + .js + + + + + + + + + + MODULES WITH DEPENDENCIES + + + + + + + + .jpg + + + + + + + + + .png + + + + + + + + + + + + + + + + .sass + + + + + + + + + .sass + + + + + + + + + + + + + + + + + + + + + + + + + + + .js + + + + + + + + + + + + + + + + .sass + + + + + + + + + + + + + + + + .cjs + + + + + + + + + + + + + + + + + + + + + + + + + + + + .hbs + + + + + + + + + + + + + + .js + + + + ` +}; From 1ec37d9358fea9702dcbcabfe9fea2ff47a03976 Mon Sep 17 00:00:00 2001 From: Greg Venech Date: Wed, 27 Dec 2017 17:48:33 -0500 Subject: [PATCH 80/89] chore: pick up vote fix and update yarn lock file --- package.json | 2 +- yarn.lock | 925 ++++++++++++++++++++++++++++++++++++++------------- 2 files changed, 702 insertions(+), 225 deletions(-) diff --git a/package.json b/package.json index c8f71e076491..a9de1076dcb1 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "react-router": "^4.2.0", "react-router-dom": "^4.2.2", "tool-list": "^0.11.0", - "webpack.vote": "^0.1.0", + "webpack.vote": "^0.1.1", "whatwg-fetch": "^2.0.3" } } diff --git a/yarn.lock b/yarn.lock index 5d1c831ecac1..dde19130fcb7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -17,6 +17,13 @@ accepts@~1.3.3: mime-types "~2.1.11" negotiator "0.6.1" +accepts@~1.3.4: + version "1.3.4" + resolved "https://registry.yarnpkg.com/accepts/-/accepts-1.3.4.tgz#86246758c7dd6d21a6474ff084a4740ec05eb21f" + dependencies: + mime-types "~2.1.16" + negotiator "0.6.1" + acorn-dynamic-import@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/acorn-dynamic-import/-/acorn-dynamic-import-2.0.2.tgz#c752bd210bef679501b6c6cb7fc84f8f47158cc4" @@ -73,7 +80,7 @@ ajv@^4.7.0, ajv@^4.9.1: co "^4.6.0" json-stable-stringify "^1.0.1" -ajv@^5.0.0, ajv@^5.1.5, ajv@^5.2.0, ajv@^5.2.2: +ajv@^5.0.0, ajv@^5.1.5, ajv@^5.2.0: version "5.2.2" resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.2.2.tgz#47c68d69e86f5d953103b0074a9430dc63da5e39" dependencies: @@ -82,6 +89,15 @@ ajv@^5.0.0, ajv@^5.1.5, ajv@^5.2.0, ajv@^5.2.2: json-schema-traverse "^0.3.0" json-stable-stringify "^1.0.1" +ajv@^5.5.2: + version "5.5.2" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.2.tgz#73b5eeca3fab653e3d3f9422b341ad42205dc965" + dependencies: + co "^4.6.0" + fast-deep-equal "^1.0.0" + fast-json-stable-stringify "^2.0.0" + json-schema-traverse "^0.3.0" + alex@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/alex/-/alex-4.1.0.tgz#6c55580bb72d323d89e594681465f446cbbf1370" @@ -197,6 +213,10 @@ aproba@^1.0.3: version "1.1.1" resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.1.1.tgz#95d3600f07710aa0e9298c726ad5ecf2eacbabab" +aproba@^1.1.1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" + are-we-there-yet@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.2.tgz#80e470e95a084794fe1899262c5667c6e88de1b3" @@ -240,6 +260,13 @@ array-flatten@^2.1.0: version "2.1.1" resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-2.1.1.tgz#426bb9da84090c1838d812c8150af20a8331e296" +array-includes@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.0.3.tgz#184b48f62d92d7452bb31b323165c7f8bd02266d" + dependencies: + define-properties "^1.1.2" + es-abstract "^1.7.0" + array-iterate@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/array-iterate/-/array-iterate-1.1.0.tgz#4f13148ffffa5f2756b50460e5eac8eed31a14e6" @@ -268,7 +295,7 @@ array-unique@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" -arrify@^1.0.0: +arrify@^1.0.0, arrify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" @@ -302,13 +329,17 @@ assert@^1.1.1: dependencies: util "0.10.3" -assetgraph@^3.2.0: - version "3.6.3" - resolved "https://registry.yarnpkg.com/assetgraph/-/assetgraph-3.6.3.tgz#b6e1e4d91c51252a2bfc3b7d2c2a723a14e1c25e" +assetgraph@^3.13.1: + version "3.13.1" + resolved "https://registry.yarnpkg.com/assetgraph/-/assetgraph-3.13.1.tgz#e5380ec6f467cb3d6106d55f25db4c5117146840" dependencies: bluebird "^3.5.0" + capitalize "1.0.0" chalk "^1.1.3" createerror "^1.1.0" + css-font-parser "0.2.1" + css-font-weight-names "0.2.1" + css-list-helpers "1.0.1" cssnano "^3.7.4" esanimate "^1.1.0" escodegen "^1.8.0" @@ -317,10 +348,11 @@ assetgraph@^3.2.0: estraverse "^4.2.0" gettemporaryfilepath "^1.0.0" glob "^7.0.5" - html-minifier "^3.5.2" + html-minifier "^3.5.5" imageinfo "1.0.4" jsdom "9.12.0" lodash "^4.11.2" + memoizesync "1.0.0" mkdirp "^0.5.1" normalizeurl "^1.0.0" perfectionist "^2.4.0" @@ -331,8 +363,9 @@ assetgraph@^3.2.0: semver "^5.3.0" source-map "^0.5.6" sourcemap-to-ast "0.0.2" + specificity "0.3.0" teepee "^2.28.0" - uglify-js "^3.0.3" + uglify-js "^3.1.1" urltools "^0.3.5" xmldom "^0.1.27" @@ -360,12 +393,18 @@ async@^2.1.2: dependencies: lodash "^4.14.0" -async@^2.1.5, async@^2.4.0, async@^2.4.1, async@^2.5.0: +async@^2.1.5, async@^2.4.1, async@^2.5.0: version "2.5.0" resolved "https://registry.yarnpkg.com/async/-/async-2.5.0.tgz#843190fd6b7357a0b9e1c956edddd5ec8462b54d" dependencies: lodash "^4.14.0" +async@^2.6.0: + version "2.6.0" + resolved "https://registry.yarnpkg.com/async/-/async-2.6.0.tgz#61a29abb6fcc026fea77e56d1c6ec53a795951f4" + dependencies: + lodash "^4.14.0" + async@~0.2.6: version "0.2.10" resolved "https://registry.yarnpkg.com/async/-/async-0.2.10.tgz#b6bbe0b0674b9d719708ca38de8c237cb526c3d1" @@ -385,15 +424,15 @@ autoprefixer@^6.3.1: postcss "^5.2.15" postcss-value-parser "^3.2.3" -autoprefixer@^7.1.3: - version "7.1.3" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-7.1.3.tgz#0e8d337976d6f13644db9f8813b4c42f3d1ccc34" +autoprefixer@^7.2.3: + version "7.2.3" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-7.2.3.tgz#c2841e38b7940c2d0a9bbffd72c75f33637854f8" dependencies: - browserslist "^2.4.0" - caniuse-lite "^1.0.30000718" + browserslist "^2.10.0" + caniuse-lite "^1.0.30000783" normalize-range "^0.1.2" num2fraction "^1.2.2" - postcss "^6.0.10" + postcss "^6.0.14" postcss-value-parser "^3.2.3" aws-sign2@~0.6.0: @@ -1128,10 +1167,6 @@ bluebird@2.9.34: version "2.9.34" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-2.9.34.tgz#2f7b4ec80216328a9fddebdf69c8d4942feff7d8" -bluebird@^2.10.2: - version "2.11.0" - resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-2.11.0.tgz#534b9033c022c9579c56ba3b3e5a5caafbb650e1" - bluebird@^3.4.7, bluebird@^3.5.0: version "3.5.0" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.5.0.tgz#791420d7f551eea2897453a8a77653f96606d67c" @@ -1140,6 +1175,21 @@ bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.1.1, bn.js@^4.4.0: version "4.11.8" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" +body-parser@1.18.2: + version "1.18.2" + resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.18.2.tgz#87678a19d84b47d859b83199bd59bce222b10454" + dependencies: + bytes "3.0.0" + content-type "~1.0.4" + debug "2.6.9" + depd "~1.1.1" + http-errors "~1.6.2" + iconv-lite "0.4.19" + on-finished "~2.3.0" + qs "6.5.1" + raw-body "2.3.2" + type-is "~1.6.15" + bonjour@^3.5.0: version "3.5.0" resolved "https://registry.yarnpkg.com/bonjour/-/bonjour-3.5.0.tgz#8e890a183d8ee9a2393b3844c691a42bcf7bc9f5" @@ -1257,13 +1307,20 @@ browserslist@^1.0.1, browserslist@^1.5.2, browserslist@^1.7.5: caniuse-db "^1.0.30000631" electron-to-chromium "^1.2.5" -browserslist@^2.1.2, browserslist@^2.4.0: +browserslist@^2.1.2: version "2.4.0" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.4.0.tgz#693ee93d01e66468a6348da5498e011f578f87f8" dependencies: caniuse-lite "^1.0.30000718" electron-to-chromium "^1.3.18" +browserslist@^2.10.0: + version "2.10.0" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-2.10.0.tgz#bac5ee1cc69ca9d96403ffb8a3abdc5b6aed6346" + dependencies: + caniuse-lite "^1.0.30000780" + electron-to-chromium "^1.3.28" + bubble-stream-error@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/bubble-stream-error/-/bubble-stream-error-1.0.0.tgz#7dad97f17128da396169bf37ada4acb195361e30" @@ -1307,6 +1364,28 @@ bytes@2.3.0: version "2.3.0" resolved "https://registry.yarnpkg.com/bytes/-/bytes-2.3.0.tgz#d5b680a165b6201739acb611542aabc2d8ceb070" +bytes@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048" + +cacache@^10.0.1: + version "10.0.1" + resolved "https://registry.yarnpkg.com/cacache/-/cacache-10.0.1.tgz#3e05f6e616117d9b54665b1b20c8aeb93ea5d36f" + dependencies: + bluebird "^3.5.0" + chownr "^1.0.1" + glob "^7.1.2" + graceful-fs "^4.1.11" + lru-cache "^4.1.1" + mississippi "^1.3.0" + mkdirp "^0.5.1" + move-concurrently "^1.0.1" + promise-inflight "^1.0.1" + rimraf "^2.6.1" + ssri "^5.0.0" + unique-filename "^1.1.0" + y18n "^3.2.1" + caller-path@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-0.1.0.tgz#94085ef63581ecd3daa92444a8fe94e82577751f" @@ -1364,6 +1443,14 @@ caniuse-lite@^1.0.30000718: version "1.0.30000721" resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000721.tgz#931a21a7bd85016300328d21f126d84b73437d35" +caniuse-lite@^1.0.30000780, caniuse-lite@^1.0.30000783: + version "1.0.30000784" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30000784.tgz#129ced74e9a1280a441880b6cd2bce30ef59e6c0" + +capitalize@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/capitalize/-/capitalize-1.0.0.tgz#dc802c580aee101929020d2ca14b4ca8a0ae44be" + capture-stack-trace@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/capture-stack-trace/-/capture-stack-trace-1.0.0.tgz#4a6fa07399c26bba47f0b2496b4d0fb408c5550d" @@ -1405,6 +1492,14 @@ chalk@^2.0.1: escape-string-regexp "^1.0.5" supports-color "^4.0.0" +chalk@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.0.tgz#b5ea48efc9c1793dccc9b4767c93914d3f2d52ba" + dependencies: + ansi-styles "^3.1.0" + escape-string-regexp "^1.0.5" + supports-color "^4.0.0" + character-entities-legacy@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/character-entities-legacy/-/character-entities-legacy-1.1.0.tgz#b18aad98f6b7bcc646c1e4c81f9f1956376a561a" @@ -1453,6 +1548,10 @@ chokidar@^1.6.0, chokidar@^1.7.0: optionalDependencies: fsevents "^1.0.0" +chownr@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.0.1.tgz#e2a75042a9551908bebd25b8523d5f9769d79181" + cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -1500,13 +1599,13 @@ cli-width@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.1.0.tgz#b234ca209b29ef66fc518d9b98d5847b00edf00a" -clipboard@^1.5.5: - version "1.6.1" - resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-1.6.1.tgz#65c5b654812466b0faab82dc6ba0f1d2f8e4be53" +clipboard@^1.7.1: + version "1.7.1" + resolved "https://registry.yarnpkg.com/clipboard/-/clipboard-1.7.1.tgz#360d6d6946e99a7a1fef395e42ba92b5e9b5a16b" dependencies: - good-listener "^1.2.0" + good-listener "^1.2.2" select "^1.1.2" - tiny-emitter "^1.0.0" + tiny-emitter "^2.0.0" cliui@^2.1.0: version "2.1.0" @@ -1601,9 +1700,9 @@ combined-stream@^1.0.5, combined-stream@~1.0.5: dependencies: delayed-stream "~1.0.0" -commander@2.11.x, commander@~2.11.0: - version "2.11.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563" +commander@2.12.x, commander@~2.12.1: + version "2.12.2" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.12.2.tgz#0f5946c427ed9ec0d91a46bb9def53e54650e555" commander@2.9.0, commander@2.9.x, commander@^2.9.0, commander@~2.9.0: version "2.9.0" @@ -1640,7 +1739,7 @@ concat-map@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" -concat-stream@^1.5.1, concat-stream@^1.6.0: +concat-stream@^1.5.0, concat-stream@^1.5.1, concat-stream@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" dependencies: @@ -1685,9 +1784,9 @@ content-type-parser@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/content-type-parser/-/content-type-parser-1.0.1.tgz#c3e56988c53c65127fb46d4032a3a900246fdc94" -content-type@~1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.2.tgz#b7d113aee7a8dd27bd21133c4dc2529df1721eed" +content-type@~1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/content-type/-/content-type-1.0.4.tgz#e138cc75e040c727b1966fe5e5f8c9aee256fe3b" convert-source-map@^1.5.0: version "1.5.0" @@ -1701,18 +1800,31 @@ cookie@0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb" -copy-webpack-plugin@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-4.0.1.tgz#9728e383b94316050d0c7463958f2b85c0aa8200" +copy-concurrently@^1.0.0: + version "1.0.5" + resolved "https://registry.yarnpkg.com/copy-concurrently/-/copy-concurrently-1.0.5.tgz#92297398cae34937fcafd6ec8139c18051f0b5e0" dependencies: - bluebird "^2.10.2" - fs-extra "^0.26.4" - glob "^6.0.4" - is-glob "^3.1.0" + aproba "^1.1.1" + fs-write-stream-atomic "^1.0.8" + iferr "^0.1.5" + mkdirp "^0.5.1" + rimraf "^2.5.4" + run-queue "^1.0.0" + +copy-webpack-plugin@^4.3.0: + version "4.3.1" + resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-4.3.1.tgz#19ba6370bf6f8e263cbd66185a2b79f2321a9302" + dependencies: + cacache "^10.0.1" + find-cache-dir "^1.0.0" + globby "^7.1.1" + is-glob "^4.0.0" loader-utils "^0.2.15" lodash "^4.3.0" - minimatch "^3.0.0" - node-dir "^0.1.10" + minimatch "^3.0.4" + p-limit "^1.0.0" + pify "^3.0.0" + serialize-javascript "^1.4.0" core-js@^1.0.0: version "1.2.7" @@ -1839,6 +1951,22 @@ css-color-names@0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0" +css-font-parser@0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/css-font-parser/-/css-font-parser-0.2.1.tgz#ccd5d87fdf144adbcd9871535ec7287dd530ae53" + dependencies: + requirejs "=2.1.8" + +css-font-weight-names@0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/css-font-weight-names/-/css-font-weight-names-0.2.1.tgz#5710d485ad295f6b3f1ceec41f882e324a46b516" + +css-list-helpers@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/css-list-helpers/-/css-list-helpers-1.0.1.tgz#fff57192202db83240c41686f919e449a7024f7d" + dependencies: + tcomb "^2.5.0" + css-loader@^0.28.5: version "0.28.5" resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.28.5.tgz#dd02bb91b94545710212ef7f6aaa66663113d754" @@ -1959,6 +2087,10 @@ cuss@^1.3.0: version "1.4.0" resolved "https://registry.yarnpkg.com/cuss/-/cuss-1.4.0.tgz#ef641602b2f578eb0e07522f217ce3c6be4408b1" +cyclist@~0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-0.2.2.tgz#1b33792e11e914a2fd6d6ed6447464444e5fa640" + d@^0.1.1, d@~0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/d/-/d-0.1.1.tgz#da184c535d18d8ee7ba2aa229b914009fae11309" @@ -1975,18 +2107,30 @@ date-now@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/date-now/-/date-now-0.1.4.tgz#eaf439fd4d4848ad74e5cc7dbef200672b9e345b" -debug@2, debug@2.6.1, debug@^2.2.0: +debug@2, debug@^2.2.0: version "2.6.1" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.1.tgz#79855090ba2c4e3115cc7d8769491d58f0491351" dependencies: ms "0.7.2" +debug@2.6.9: + version "2.6.9" + resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" + dependencies: + ms "2.0.0" + debug@^2.6.6, debug@^2.6.8: version "2.6.8" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.8.tgz#e731531ca2ede27d188222427da17821d68ff4fc" dependencies: ms "2.0.0" +debug@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" + dependencies: + ms "2.0.0" + debug@~0.8.1: version "0.8.1" resolved "https://registry.yarnpkg.com/debug/-/debug-0.8.1.tgz#20ff4d26f5e422cb68a1bacbbb61039ad8c1c130" @@ -2059,9 +2203,9 @@ delegates@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" -depd@1.1.0, depd@~1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.0.tgz#e1bd82c6aab6ced965b97b88b17ed3e528ca18c3" +depd@1.1.1, depd@~1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/depd/-/depd-1.1.1.tgz#5783b4e1c459f06fa5ca27f991f3d06e7a310359" des.js@^1.0.0: version "1.0.0" @@ -2092,6 +2236,13 @@ diffie-hellman@^5.0.0: miller-rabin "^4.0.0" randombytes "^2.0.0" +dir-glob@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-2.0.0.tgz#0b205d2b6aef98238ca286598a8204d29d0a0034" + dependencies: + arrify "^1.0.1" + path-type "^3.0.0" + dns-equal@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d" @@ -2188,6 +2339,15 @@ duplexer@^0.1.1, duplexer@~0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1" +duplexify@^3.1.2, duplexify@^3.4.2: + version "3.5.1" + resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.5.1.tgz#4e1516be68838bc90a49994f0b39a6e5960befcd" + dependencies: + end-of-stream "^1.0.0" + inherits "^2.0.1" + readable-stream "^2.0.0" + stream-shift "^1.0.0" + ecc-jsbn@~0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" @@ -2211,6 +2371,10 @@ ejs@^2.5.6: version "2.5.7" resolved "https://registry.yarnpkg.com/ejs/-/ejs-2.5.7.tgz#cc872c168880ae3c7189762fd5ffc00896c9518a" +electron-releases@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/electron-releases/-/electron-releases-2.1.0.tgz#c5614bf811f176ce3c836e368a0625782341fd4e" + electron-to-chromium@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.2.5.tgz#d373727228843dfd8466c276089f13b40927a952" @@ -2219,6 +2383,12 @@ electron-to-chromium@^1.3.18: version "1.3.18" resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.18.tgz#3dcc99da3e6b665f6abbc71c28ad51a2cd731a9c" +electron-to-chromium@^1.3.28: + version "1.3.30" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.30.tgz#9666f532a64586651fc56a72513692e820d06a80" + dependencies: + electron-releases "^2.1.0" + elliptic@^6.0.0: version "6.4.0" resolved "https://registry.yarnpkg.com/elliptic/-/elliptic-6.4.0.tgz#cac9af8762c85836187003c8dfe193e5e2eae5df" @@ -2245,6 +2415,12 @@ encoding@^0.1.11: dependencies: iconv-lite "~0.4.13" +end-of-stream@^1.0.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.0.tgz#7a90d833efda6cfa6eac0f4949dbb0fad3a63206" + dependencies: + once "^1.4.0" + end-of-stream@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.1.0.tgz#e9353258baa9108965efc41cb0ef8ade2f3cfb07" @@ -2285,6 +2461,16 @@ es-abstract@^1.4.3, es-abstract@^1.6.1: is-callable "^1.1.3" is-regex "^1.0.3" +es-abstract@^1.7.0: + version "1.10.0" + resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864" + dependencies: + es-to-primitive "^1.1.1" + function-bind "^1.1.1" + has "^1.0.1" + is-callable "^1.1.3" + is-regex "^1.0.4" + es-to-primitive@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d" @@ -2394,7 +2580,7 @@ eslint-loader@^1.9.0: object-hash "^1.1.4" rimraf "^2.6.1" -eslint-plugin-markdown@^1.0.0-beta.6: +eslint-plugin-markdown@^1.0.0-beta.7: version "1.0.0-beta.7" resolved "https://registry.yarnpkg.com/eslint-plugin-markdown/-/eslint-plugin-markdown-1.0.0-beta.7.tgz#12e73a4127c4a4b79d966f9f475851dd0f78f7e7" dependencies: @@ -2509,9 +2695,9 @@ esutils@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" -etag@~1.8.0: - version "1.8.0" - resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.0.tgz#6f631aef336d6c46362b51764044ce216be3c051" +etag@~1.8.1: + version "1.8.1" + resolved "https://registry.yarnpkg.com/etag/-/etag-1.8.1.tgz#41ae2eeb65efa62268aebfea83ac7d79299b0887" event-emitter@~0.3.4: version "0.3.4" @@ -2593,38 +2779,40 @@ expand-range@^1.8.1: dependencies: fill-range "^2.1.0" -express@^4.13.3: - version "4.15.0" - resolved "https://registry.yarnpkg.com/express/-/express-4.15.0.tgz#8fb125829f70a04a59e1c40ceb8dea19cf5c879c" +express@^4.16.2: + version "4.16.2" + resolved "https://registry.yarnpkg.com/express/-/express-4.16.2.tgz#e35c6dfe2d64b7dca0a5cd4f21781be3299e076c" dependencies: - accepts "~1.3.3" + accepts "~1.3.4" array-flatten "1.1.1" + body-parser "1.18.2" content-disposition "0.5.2" - content-type "~1.0.2" + content-type "~1.0.4" cookie "0.3.1" cookie-signature "1.0.6" - debug "2.6.1" - depd "~1.1.0" + debug "2.6.9" + depd "~1.1.1" encodeurl "~1.0.1" escape-html "~1.0.3" - etag "~1.8.0" - finalhandler "~1.0.0" - fresh "0.5.0" + etag "~1.8.1" + finalhandler "1.1.0" + fresh "0.5.2" merge-descriptors "1.0.1" methods "~1.1.2" on-finished "~2.3.0" - parseurl "~1.3.1" + parseurl "~1.3.2" path-to-regexp "0.1.7" - proxy-addr "~1.1.3" - qs "6.3.1" + proxy-addr "~2.0.2" + qs "6.5.1" range-parser "~1.2.0" - send "0.15.0" - serve-static "1.12.0" - setprototypeof "1.0.3" + safe-buffer "5.1.1" + send "0.16.1" + serve-static "1.13.1" + setprototypeof "1.1.0" statuses "~1.3.1" - type-is "~1.6.14" - utils-merge "1.0.0" - vary "~1.1.0" + type-is "~1.6.15" + utils-merge "1.0.1" + vary "~1.1.2" extend@3, extend@^3.0.0, extend@~3.0.0: version "3.0.0" @@ -2661,6 +2849,10 @@ fast-deep-equal@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz#96256a3bc975595eb36d82e9929d060d893439ff" +fast-json-stable-stringify@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" + fast-levenshtein@~2.0.4: version "2.0.6" resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" @@ -2687,6 +2879,18 @@ faye-websocket@~0.11.0: dependencies: websocket-driver ">=0.5.1" +fbjs@^0.8.16: + version "0.8.16" + resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.16.tgz#5e67432f550dc41b572bf55847b8aca64e5337db" + dependencies: + core-js "^1.0.0" + isomorphic-fetch "^2.1.1" + loose-envify "^1.0.0" + object-assign "^4.1.0" + promise "^7.1.1" + setimmediate "^1.0.5" + ua-parser-js "^0.7.9" + fbjs@^0.8.9: version "0.8.9" resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.9.tgz#180247fbd347dcc9004517b904f865400a0c8f14" @@ -2732,15 +2936,15 @@ fill-range@^2.1.0: repeat-element "^1.1.2" repeat-string "^1.5.2" -finalhandler@~1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.0.0.tgz#b5691c2c0912092f18ac23e9416bde5cd7dc6755" +finalhandler@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.1.0.tgz#ce0b6855b45853e791b2fcc680046d88253dd7f5" dependencies: - debug "2.6.1" + debug "2.6.9" encodeurl "~1.0.1" escape-html "~1.0.3" on-finished "~2.3.0" - parseurl "~1.3.1" + parseurl "~1.3.2" statuses "~1.3.1" unpipe "~1.0.0" @@ -2790,6 +2994,13 @@ flatten@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782" +flush-write-stream@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/flush-write-stream/-/flush-write-stream-1.0.2.tgz#c81b90d8746766f1a609a46809946c45dd8ae417" + dependencies: + inherits "^2.0.1" + readable-stream "^2.0.4" + fn-name@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/fn-name/-/fn-name-2.0.1.tgz#5214d7537a4d06a4a301c0cc262feb84188002e7" @@ -2849,13 +3060,20 @@ format@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/format/-/format-0.2.2.tgz#d6170107e9efdc4ed30c9dc39016df942b5cb58b" -forwarded@~0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.0.tgz#19ef9874c4ae1c297bcf078fde63a09b66a84363" +forwarded@~0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.2.tgz#98c23dab1175657b8c0573e8ceccd91b0ff18c84" -fresh@0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.0.tgz#f474ca5e6a9246d6fd8e0953cfa9b9c805afa78e" +fresh@0.5.2: + version "0.5.2" + resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.2.tgz#3d8cadd90d976569fa835ab1f8e4b23a105605a7" + +from2@^2.1.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" + dependencies: + inherits "^2.0.1" + readable-stream "^2.0.0" from@~0: version "0.1.3" @@ -2867,16 +3085,6 @@ front-matter@^2.1.2, front-matter@^2.2.0: dependencies: js-yaml "^3.4.6" -fs-extra@^0.26.4: - version "0.26.7" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-0.26.7.tgz#9ae1fdd94897798edab76d0918cf42d0c3184fa9" - dependencies: - graceful-fs "^4.1.2" - jsonfile "^2.1.0" - klaw "^1.0.0" - path-is-absolute "^1.0.0" - rimraf "^2.2.8" - fs-extra@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-3.0.1.tgz#3794f378c58b342ea7dbbb23095109c4b3b62291" @@ -2885,6 +3093,15 @@ fs-extra@^3.0.1: jsonfile "^3.0.0" universalify "^0.1.0" +fs-write-stream-atomic@^1.0.8: + version "1.0.10" + resolved "https://registry.yarnpkg.com/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz#b47df53493ef911df75731e70a9ded0189db40c9" + dependencies: + graceful-fs "^4.1.2" + iferr "^0.1.5" + imurmurhash "^0.1.4" + readable-stream "1 || 2" + fs.realpath@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" @@ -2917,6 +3134,10 @@ function-bind@^1.0.2, function-bind@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.0.tgz#16176714c801798e4e8f2cf7f7529467bb4a5771" +function-bind@^1.1.1: + version "1.1.1" + resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" + functional-red-black-tree@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" @@ -3016,7 +3237,7 @@ glob-parent@^2.0.0: dependencies: is-glob "^2.0.0" -glob@^6.0.2, glob@^6.0.4: +glob@^6.0.2: version "6.0.4" resolved "https://registry.yarnpkg.com/glob/-/glob-6.0.4.tgz#0f08860f6a155127b2fadd4f9ce24b1aab6e4d22" dependencies: @@ -3088,6 +3309,17 @@ globby@^6.1.0: pify "^2.0.0" pinkie-promise "^2.0.0" +globby@^7.1.1: + version "7.1.1" + resolved "https://registry.yarnpkg.com/globby/-/globby-7.1.1.tgz#fb2ccff9401f8600945dfada97440cca972b8680" + dependencies: + array-union "^1.0.1" + dir-glob "^2.0.0" + glob "^7.1.2" + ignore "^3.3.5" + pify "^3.0.0" + slash "^1.0.0" + globule@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/globule/-/globule-1.1.0.tgz#c49352e4dc183d85893ee825385eb994bb6df45f" @@ -3096,7 +3328,7 @@ globule@^1.0.0: lodash "~4.16.4" minimatch "~3.0.2" -good-listener@^1.2.0: +good-listener@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/good-listener/-/good-listener-1.2.2.tgz#d53b30cdf9313dffb7dc9a0d477096aa6d145c50" dependencies: @@ -3122,7 +3354,7 @@ graceful-fs@4.1.11, graceful-fs@^4.1.11: version "4.1.11" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" -graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9: +graceful-fs@^4.1.2, graceful-fs@^4.1.6: version "4.1.10" resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.10.tgz#f2d720c22092f743228775c75e3612632501f131" @@ -3287,18 +3519,18 @@ html-minifier@^3.2.3: relateurl "0.2.x" uglify-js "2.8.x" -html-minifier@^3.5.2: - version "3.5.3" - resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.5.3.tgz#4a275e3b1a16639abb79b4c11191ff0d0fcf1ab9" +html-minifier@^3.5.5: + version "3.5.8" + resolved "https://registry.yarnpkg.com/html-minifier/-/html-minifier-3.5.8.tgz#5ccdb1f73a0d654e6090147511f6e6b2ee312700" dependencies: camel-case "3.0.x" clean-css "4.1.x" - commander "2.11.x" + commander "2.12.x" he "1.1.x" ncname "1.0.x" param-case "2.1.x" relateurl "0.2.x" - uglify-js "3.0.x" + uglify-js "3.3.x" html-webpack-plugin@^2.29.0, html-webpack-plugin@^2.30.1: version "2.30.1" @@ -3335,21 +3567,21 @@ http-deceiver@^1.2.7: version "1.2.7" resolved "https://registry.yarnpkg.com/http-deceiver/-/http-deceiver-1.2.7.tgz#fa7168944ab9a519d337cb0bec7284dc3e723d87" -http-errors@~1.5.0: - version "1.5.1" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.5.1.tgz#788c0d2c1de2c81b9e6e8c01843b6b97eb920750" +http-errors@1.6.2, http-errors@~1.6.2: + version "1.6.2" + resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.2.tgz#0a002cc85707192a7e7946ceedc11155f60ec736" dependencies: + depd "1.1.1" inherits "2.0.3" - setprototypeof "1.0.2" + setprototypeof "1.0.3" statuses ">= 1.3.1 < 2" -http-errors@~1.6.1: - version "1.6.1" - resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.6.1.tgz#5f8b8ed98aca545656bf572997387f904a722257" +http-errors@~1.5.0: + version "1.5.1" + resolved "https://registry.yarnpkg.com/http-errors/-/http-errors-1.5.1.tgz#788c0d2c1de2c81b9e6e8c01843b6b97eb920750" dependencies: - depd "1.1.0" inherits "2.0.3" - setprototypeof "1.0.3" + setprototypeof "1.0.2" statuses ">= 1.3.1 < 2" http-proxy-middleware@~0.17.4: @@ -3419,12 +3651,12 @@ https-proxy-agent@^1.0.0: debug "2" extend "3" -hyperlink@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/hyperlink/-/hyperlink-3.0.0.tgz#3b4207373cd252f4359f3833513a7681213e575b" +hyperlink@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/hyperlink/-/hyperlink-3.0.1.tgz#f3d24d9c3fee35972aa5d4e85853878ac78caa49" dependencies: - assetgraph "^3.2.0" - async "^2.4.0" + assetgraph "^3.13.1" + async "^2.6.0" lodash "^4.17.4" optimist "^0.6.1" pretty-bytes "^4.0.2" @@ -3436,6 +3668,10 @@ iconv-lite@0.4.13, iconv-lite@~0.4.13: version "0.4.13" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.13.tgz#1f88aba4ab0b1508e8312acc39345f36e992e2f2" +iconv-lite@0.4.19: + version "0.4.19" + resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" + iconv-lite@^0.4.17: version "0.4.18" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.18.tgz#23d8656b16aae6742ac29732ea8f0336a4789cf2" @@ -3454,10 +3690,18 @@ ieee754@^1.1.4: version "1.1.8" resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.1.8.tgz#be33d40ac10ef1926701f6f08a2d86fbfd1ad3e4" +iferr@^0.1.5: + version "0.1.5" + resolved "https://registry.yarnpkg.com/iferr/-/iferr-0.1.5.tgz#c60eed69e6d8fdb6b3104a1fcbca1c192dc5b501" + ignore@^3.2.0, ignore@^3.3.3: version "3.3.5" resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.5.tgz#c4e715455f6073a8d7e5dae72d2fc9d71663dba6" +ignore@^3.3.5: + version "3.3.7" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.7.tgz#612289bfb3c220e186a58118618d5be8c1bab021" + imageinfo@1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/imageinfo/-/imageinfo-1.0.4.tgz#1dd2456ecb96fc395f0aa1179c467dfb3d5d7a2a" @@ -3472,6 +3716,13 @@ import-lazy@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/import-lazy/-/import-lazy-2.1.0.tgz#05698e3d45c88e8d7e9d92cb0584e77f096f3e43" +import-local@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/import-local/-/import-local-0.1.1.tgz#b1179572aacdc11c6a91009fb430dbcab5f668a8" + dependencies: + pkg-dir "^2.0.0" + resolve-cwd "^2.0.0" + imurmurhash@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" @@ -3532,7 +3783,7 @@ inquirer@^3.0.6: strip-ansi "^4.0.0" through "^2.3.6" -internal-ip@^1.2.0: +internal-ip@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/internal-ip/-/internal-ip-1.2.0.tgz#ae9fbf93b984878785d50a8de1b356956058cf5c" dependencies: @@ -3556,9 +3807,9 @@ ip@^1.1.0, ip@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/ip/-/ip-1.1.5.tgz#bdded70114290828c0a039e72ef25f5aaec4354a" -ipaddr.js@1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.2.0.tgz#8aba49c9192799585bdd643e0ccb50e8ae777ba4" +ipaddr.js@1.5.2: + version "1.5.2" + resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.5.2.tgz#d4b505bde9946987ccf0fc58d9010ff9607e3fa0" is-absolute-url@^2.0.0: version "2.1.0" @@ -3637,7 +3888,7 @@ is-extglob@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" -is-extglob@^2.1.0: +is-extglob@^2.1.0, is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -3669,6 +3920,12 @@ is-glob@^3.1.0: dependencies: is-extglob "^2.1.0" +is-glob@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.0.tgz#9521c76845cc2610a85203ddf080a958c2ffabc0" + dependencies: + is-extglob "^2.1.1" + is-hexadecimal@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-hexadecimal/-/is-hexadecimal-1.0.0.tgz#5c459771d2af9a2e3952781fd54fcb1bcfe4113c" @@ -3737,7 +3994,7 @@ is-redirect@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-redirect/-/is-redirect-1.0.0.tgz#1d03dded53bd8db0f30c26e4f95d36fc7c87dc24" -is-regex@^1.0.3: +is-regex@^1.0.3, is-regex@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" dependencies: @@ -3783,6 +4040,10 @@ is-word-character@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/is-word-character/-/is-word-character-1.0.1.tgz#5a03fa1ea91ace8a6eb0c7cd770eb86d65c8befb" +is-wsl@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-1.1.0.tgz#1f16e4aa22b04d1336b66188a66af3c600c3a66d" + isarray@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" @@ -3925,12 +4186,6 @@ json5@^0.5.0, json5@^0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/json5/-/json5-0.5.1.tgz#1eade7acc012034ad84e2396767ead9fa5495821" -jsonfile@^2.1.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-2.4.0.tgz#3736a2b428b87bbda0cc83b53fa3d633a35c2ae8" - optionalDependencies: - graceful-fs "^4.1.6" - jsonfile@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-3.0.1.tgz#a5ecc6f65f53f662c4415c7675a0331d0992ec66" @@ -3949,6 +4204,10 @@ jsprim@^1.2.2: json-schema "0.2.3" verror "1.3.6" +killable@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.0.tgz#da8b84bd47de5395878f95d64d02f2449fe05e6b" + kind-of@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-2.0.1.tgz#018ec7a4ce7e3a86cb9141be519d24c8faa981b5" @@ -3967,12 +4226,6 @@ kind-of@^3.2.2: dependencies: is-buffer "^1.1.5" -klaw@^1.0.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/klaw/-/klaw-1.3.1.tgz#4088433b46b3b1ba259d78785d8e96f73ba02439" - optionalDependencies: - graceful-fs "^4.1.9" - latest-version@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-3.1.0.tgz#a205383fea322b33b5ae3b18abee0dc2f356ee15" @@ -4212,6 +4465,10 @@ lowercase-keys@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.0.tgz#4e3366b39e7f5457e35f1324bdf6f88d0bfc7306" +lru-cache@=2.3.1: + version "2.3.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-2.3.1.tgz#b3adf6b3d856e954e2c390e6cef22081245a53d6" + lru-cache@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.0.2.tgz#1d17679c069cda5d040991a09dbc2c0db377e55e" @@ -4219,6 +4476,13 @@ lru-cache@^4.0.1: pseudomap "^1.0.1" yallist "^2.0.0" +lru-cache@^4.1.1: + version "4.1.1" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55" + dependencies: + pseudomap "^1.0.2" + yallist "^2.1.2" + macaddress@^0.2.8: version "0.2.8" resolved "https://registry.yarnpkg.com/macaddress/-/macaddress-0.2.8.tgz#5904dc537c39ec6dbefeae902327135fa8511f12" @@ -4286,6 +4550,10 @@ marked@^0.3.6: version "0.3.6" resolved "https://registry.yarnpkg.com/marked/-/marked-0.3.6.tgz#b2c6c618fccece4ef86c4fc6cb8a7cbf5aeda8d7" +marked@^0.3.7: + version "0.3.9" + resolved "https://registry.yarnpkg.com/marked/-/marked-0.3.9.tgz#54ce6a57e720c3ac6098374ec625fcbcc97ff290" + math-expression-evaluator@^1.2.14: version "1.2.16" resolved "https://registry.yarnpkg.com/math-expression-evaluator/-/math-expression-evaluator-1.2.16.tgz#b357fa1ca9faefb8e48d10c14ef2bcb2d9f0a7c9" @@ -4324,6 +4592,12 @@ mem@^1.1.0: dependencies: mimic-fn "^1.0.0" +memoizesync@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/memoizesync/-/memoizesync-1.0.0.tgz#5ad537cd3039342d9288101da1eb8975b260c9e5" + dependencies: + lru-cache "=2.3.1" + memory-fs@^0.4.0, memory-fs@~0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/memory-fs/-/memory-fs-0.4.1.tgz#3a9a20b8462523e447cfbc7e8bb80ed667bfc552" @@ -4393,16 +4667,30 @@ miller-rabin@^4.0.0: version "1.26.0" resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.26.0.tgz#eaffcd0e4fc6935cf8134da246e2e6c35305adff" -mime-types@^2.1.12, mime-types@~2.1.11, mime-types@~2.1.13, mime-types@~2.1.7: +mime-db@~1.30.0: + version "1.30.0" + resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.30.0.tgz#74c643da2dd9d6a45399963465b26d5ca7d71f01" + +mime-types@^2.1.12, mime-types@~2.1.11, mime-types@~2.1.7: version "2.1.14" resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.14.tgz#f7ef7d97583fcaf3b7d282b6f8b5679dab1e94ee" dependencies: mime-db "~1.26.0" -mime@1.3.4, mime@1.3.x, mime@^1.2.11, mime@^1.3.4: +mime-types@~2.1.15, mime-types@~2.1.16: + version "2.1.17" + resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.17.tgz#09d7a393f03e995a79f8af857b70a9e0ab16557a" + dependencies: + mime-db "~1.30.0" + +mime@1.3.x, mime@^1.2.11, mime@^1.3.4: version "1.3.4" resolved "https://registry.yarnpkg.com/mime/-/mime-1.3.4.tgz#115f9e3b6b3daf2959983cb38f149a2d40eb5d53" +mime@1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/mime/-/mime-1.4.1.tgz#121f9ebc49e3766f311a76e1fa1c8003c4b03aa6" + mimic-fn@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18" @@ -4441,6 +4729,21 @@ minipass@^2.2.0: dependencies: yallist "^3.0.0" +mississippi@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/mississippi/-/mississippi-1.3.0.tgz#d201583eb12327e3c5c1642a404a9cacf94e34f5" + dependencies: + concat-stream "^1.5.0" + duplexify "^3.4.2" + end-of-stream "^1.1.0" + flush-write-stream "^1.0.0" + from2 "^2.1.0" + parallel-transform "^1.1.0" + pump "^1.0.0" + pumpify "^1.3.3" + stream-each "^1.1.0" + through2 "^2.0.0" + mixin-object@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/mixin-object/-/mixin-object-2.0.1.tgz#4fb949441dab182540f1fe035ba60e1947a5e57e" @@ -4458,9 +4761,20 @@ modularscale-sass@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/modularscale-sass/-/modularscale-sass-3.0.3.tgz#f51bd7e4ed3bc42566dfd2c1c3c11f80fb5de958" -moment@^2.18.1: - version "2.18.1" - resolved "https://registry.yarnpkg.com/moment/-/moment-2.18.1.tgz#c36193dd3ce1c2eed2adb7c802dbbc77a81b1c0f" +moment@^2.20.1: + version "2.20.1" + resolved "https://registry.yarnpkg.com/moment/-/moment-2.20.1.tgz#d6eb1a46cbcc14a2b2f9434112c1ff8907f313fd" + +move-concurrently@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/move-concurrently/-/move-concurrently-1.0.1.tgz#be2c005fda32e0b29af1f05d7c4b33214c701f92" + dependencies: + aproba "^1.1.1" + copy-concurrently "^1.0.0" + fs-write-stream-atomic "^1.0.8" + mkdirp "^0.5.1" + rimraf "^2.5.4" + run-queue "^1.0.3" ms@0.7.1: version "0.7.1" @@ -4552,12 +4866,6 @@ no-case@^2.2.0: dependencies: lower-case "^1.1.1" -node-dir@^0.1.10: - version "0.1.16" - resolved "https://registry.yarnpkg.com/node-dir/-/node-dir-0.1.16.tgz#d2ef583aa50b90d93db8cdd26fcea58353957fe4" - dependencies: - minimatch "^3.0.2" - node-fetch@^1.0.1: version "1.6.3" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.6.3.tgz#dc234edd6489982d58e8f0db4f695029abcd8c04" @@ -4790,7 +5098,7 @@ on-headers@~1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/on-headers/-/on-headers-1.0.1.tgz#928f5d0f470d49342651ea6794b0857c100693f7" -once@^1.3.0, once@^1.3.1, once@^1.3.3: +once@^1.3.0, once@^1.3.1, once@^1.3.3, once@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" dependencies: @@ -4812,12 +5120,11 @@ opener@~1.4.0: version "1.4.3" resolved "https://registry.yarnpkg.com/opener/-/opener-1.4.3.tgz#5c6da2c5d7e5831e8ffa3964950f8d6674ac90b8" -opn@4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/opn/-/opn-4.0.2.tgz#7abc22e644dff63b0a96d5ab7f2790c0f01abc95" +opn@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/opn/-/opn-5.1.0.tgz#72ce2306a17dbea58ff1041853352b4a8fc77519" dependencies: - object-assign "^4.0.1" - pinkie-promise "^2.0.0" + is-wsl "^1.1.0" optimist@0.6.x, optimist@^0.6.1: version "0.6.1" @@ -4886,7 +5193,7 @@ p-finally@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" -p-limit@^1.1.0: +p-limit@^1.0.0, p-limit@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-1.1.0.tgz#b07ff2d9a5d88bec806035895a2bab66a27988bc" @@ -4917,6 +5224,14 @@ pako@~0.2.0: version "0.2.9" resolved "https://registry.yarnpkg.com/pako/-/pako-0.2.9.tgz#f3f7522f4ef782348da8161bad9ecfd51bf83a75" +parallel-transform@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/parallel-transform/-/parallel-transform-1.1.0.tgz#d410f065b05da23081fcd10f28854c29bda33b06" + dependencies: + cyclist "~0.2.2" + inherits "^2.0.3" + readable-stream "^2.1.5" + param-case@2.1.x: version "2.1.0" resolved "https://registry.yarnpkg.com/param-case/-/param-case-2.1.0.tgz#2619f90fd6c829ed0b958f1c84ed03a745a6d70a" @@ -4989,6 +5304,10 @@ parseurl@~1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.1.tgz#c8ab8c9223ba34888aa64a297b28853bec18da56" +parseurl@~1.3.2: + version "1.3.2" + resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.2.tgz#fc289d4ed8993119460c156253262cdc8de65bf3" + passerror@1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/passerror/-/passerror-1.1.0.tgz#d72a29e30bc48a682b59d79b19c99c8da52307da" @@ -5043,6 +5362,12 @@ path-type@^2.0.0: dependencies: pify "^2.0.0" +path-type@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" + dependencies: + pify "^3.0.0" + pause-stream@0.0.11: version "0.0.11" resolved "https://registry.yarnpkg.com/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445" @@ -5408,7 +5733,7 @@ postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0 source-map "^0.5.6" supports-color "^3.2.3" -postcss@^6.0.1, postcss@^6.0.10, postcss@^6.0.2: +postcss@^6.0.1, postcss@^6.0.2: version "6.0.10" resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.10.tgz#c311b89734483d87a91a56dc9e53f15f4e6e84e4" dependencies: @@ -5416,6 +5741,14 @@ postcss@^6.0.1, postcss@^6.0.10, postcss@^6.0.2: source-map "^0.5.7" supports-color "^4.2.1" +postcss@^6.0.14: + version "6.0.14" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.14.tgz#5534c72114739e75d0afcf017db853099f562885" + dependencies: + chalk "^2.3.0" + source-map "^0.6.1" + supports-color "^4.4.0" + postcss@~6.0.1: version "6.0.8" resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.8.tgz#89067a9ce8b11f8a84cbc5117efc30419a0857b3" @@ -5444,9 +5777,9 @@ preact-transition-group@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/preact-transition-group/-/preact-transition-group-1.1.0.tgz#97d0beff0790d721faecd2560c02cd30d5426f23" -preact@^8.2.5: - version "8.2.5" - resolved "https://registry.yarnpkg.com/preact/-/preact-8.2.5.tgz#cbfa3962a8012768159f6d01d46f9c1eb3213c0a" +preact@^8.2.7: + version "8.2.7" + resolved "https://registry.yarnpkg.com/preact/-/preact-8.2.7.tgz#316249fb678cd5e93e7cee63cea7bfb62dbd6814" prelude-ls@~1.1.2: version "1.1.2" @@ -5487,11 +5820,11 @@ prism-languages@^0.3.3: version "0.3.3" resolved "https://registry.yarnpkg.com/prism-languages/-/prism-languages-0.3.3.tgz#79c395b4e25d4c4b12b9687beee7cbfa2373e1e4" -prismjs@^1.6.0: - version "1.6.0" - resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.6.0.tgz#118d95fb7a66dba2272e343b345f5236659db365" +prismjs@^1.9.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.9.0.tgz#fa3e2d9edc3c3887c1f1f3095d41f1f9b4200f0f" optionalDependencies: - clipboard "^1.5.5" + clipboard "^1.7.1" private@^0.1.6, private@^0.1.7: version "0.1.7" @@ -5509,6 +5842,10 @@ progress@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f" +promise-inflight@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3" + promise.prototype.finally@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/promise.prototype.finally/-/promise.prototype.finally-2.0.1.tgz#b70d44ceb3825fa88004b5d1fbd906b3b7d9b758" @@ -5536,12 +5873,20 @@ prop-types@^15.5.8: dependencies: fbjs "^0.8.9" -proxy-addr@~1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-1.1.3.tgz#dc97502f5722e888467b3fa2297a7b1ff47df074" +prop-types@^15.6.0: + version "15.6.0" + resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.0.tgz#ceaf083022fc46b4a35f69e13ef75aed0d639856" dependencies: - forwarded "~0.1.0" - ipaddr.js "1.2.0" + fbjs "^0.8.16" + loose-envify "^1.3.1" + object-assign "^4.1.1" + +proxy-addr@~2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/proxy-addr/-/proxy-addr-2.0.2.tgz#6571504f47bb988ec8180253f85dd7e14952bdec" + dependencies: + forwarded "~0.1.2" + ipaddr.js "1.5.2" prr@~0.0.0: version "0.0.0" @@ -5553,7 +5898,7 @@ ps-tree@^1.1.0: dependencies: event-stream "~3.3.0" -pseudomap@^1.0.1: +pseudomap@^1.0.1, pseudomap@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" @@ -5575,6 +5920,13 @@ pump-chain@^1.0.0: pump "^1.0.1" sliced "^1.0.1" +pump@^1.0.0: + version "1.0.3" + resolved "https://registry.yarnpkg.com/pump/-/pump-1.0.3.tgz#5dfe8311c33bbf6fc18261f9f34702c47c08a954" + dependencies: + end-of-stream "^1.1.0" + once "^1.3.1" + pump@^1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/pump/-/pump-1.0.2.tgz#3b3ee6512f94f0e575538c17995f9f16990a5d51" @@ -5582,6 +5934,14 @@ pump@^1.0.1: end-of-stream "^1.1.0" once "^1.3.1" +pumpify@^1.3.3: + version "1.3.5" + resolved "https://registry.yarnpkg.com/pumpify/-/pumpify-1.3.5.tgz#1b671c619940abcaeac0ad0e3a3c164be760993b" + dependencies: + duplexify "^3.1.2" + inherits "^2.0.1" + pump "^1.0.0" + punycode@1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.3.2.tgz#9653a036fb7c1ee42342f2325cceefea3926c48d" @@ -5594,14 +5954,18 @@ q@^1.1.2: version "1.4.1" resolved "https://registry.yarnpkg.com/q/-/q-1.4.1.tgz#55705bcd93c5f3673530c2c2cbc0c2b3addc286e" -qs@6.3.1, qs@~6.3.0: - version "6.3.1" - resolved "https://registry.yarnpkg.com/qs/-/qs-6.3.1.tgz#918c0b3bcd36679772baf135b1acb4c1651ed79d" +qs@6.5.1: + version "6.5.1" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8" qs@~2.3.3: version "2.3.3" resolved "https://registry.yarnpkg.com/qs/-/qs-2.3.3.tgz#e9e85adbe75da0bbe4c8e0476a086290f863b404" +qs@~6.3.0: + version "6.3.1" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.3.1.tgz#918c0b3bcd36679772baf135b1acb4c1651ed79d" + qs@~6.4.0: version "6.4.0" resolved "https://registry.yarnpkg.com/qs/-/qs-6.4.0.tgz#13e26d28ad6b0ffaa91312cd3bf708ed351e7233" @@ -5650,6 +6014,15 @@ range-parser@^1.0.3, range-parser@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.0.tgz#f49be6b487894ddc40dcc94a322f611092e00d5e" +raw-body@2.3.2: + version "2.3.2" + resolved "https://registry.yarnpkg.com/raw-body/-/raw-body-2.3.2.tgz#bcd60c77d3eb93cde0050295c3f379389bc88f89" + dependencies: + bytes "3.0.0" + http-errors "1.6.2" + iconv-lite "0.4.19" + unpipe "1.0.0" + raw-loader@^0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/raw-loader/-/raw-loader-0.5.1.tgz#0c3d0beaed8a01c966d9787bf778281252a979aa" @@ -5704,6 +6077,12 @@ react-router@^4.1.1, react-router@^4.2.0: prop-types "^15.5.4" warning "^3.0.0" +react-textarea-autosize@^5.2.1: + version "5.2.1" + resolved "https://registry.yarnpkg.com/react-textarea-autosize/-/react-textarea-autosize-5.2.1.tgz#2b78f9067180f41b08ac59f78f1581abadd61e54" + dependencies: + prop-types "^15.6.0" + react@^15.6.1: version "15.6.1" resolved "https://registry.yarnpkg.com/react/-/react-15.6.1.tgz#baa8434ec6780bde997cdc380b79cd33b96393df" @@ -5750,6 +6129,18 @@ read-pkg@^2.0.0: normalize-package-data "^2.3.2" path-type "^2.0.0" +"readable-stream@1 || 2", readable-stream@^2.0.0, readable-stream@^2.2.9: + version "2.3.3" + resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c" + dependencies: + core-util-is "~1.0.0" + inherits "~2.0.3" + isarray "~1.0.0" + process-nextick-args "~1.0.6" + safe-buffer "~5.1.1" + string_decoder "~1.0.3" + util-deprecate "~1.0.1" + readable-stream@1.0, readable-stream@^1.0.33, readable-stream@~1.0.17, readable-stream@~1.0.2: version "1.0.34" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-1.0.34.tgz#125820e34bc842d2f2aaafafe4c2916ee32c157c" @@ -5771,18 +6162,6 @@ readable-stream@^2, "readable-stream@^2.0.0 || ^1.1.13", readable-stream@^2.0.1, string_decoder "~0.10.x" util-deprecate "~1.0.1" -readable-stream@^2.2.9: - version "2.3.3" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c" - dependencies: - core-util-is "~1.0.0" - inherits "~2.0.3" - isarray "~1.0.0" - process-nextick-args "~1.0.6" - safe-buffer "~5.1.1" - string_decoder "~1.0.3" - util-deprecate "~1.0.1" - readable-stream@~2.0.4: version "2.0.6" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.0.6.tgz#8f90341e68a53ccc928788dacfcd11b36eb9b78e" @@ -6041,10 +6420,20 @@ require-uncached@^1.0.3: caller-path "^0.1.0" resolve-from "^1.0.0" +requirejs@=2.1.8: + version "2.1.8" + resolved "https://registry.yarnpkg.com/requirejs/-/requirejs-2.1.8.tgz#f0dfa656d60d404947da796f9c661d92c1b0257a" + requires-port@1.0.x, requires-port@1.x.x: version "1.0.0" resolved "https://registry.yarnpkg.com/requires-port/-/requires-port-1.0.0.tgz#925d2601d39ac485e091cf0da5c6e694dc3dcaff" +resolve-cwd@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/resolve-cwd/-/resolve-cwd-2.0.0.tgz#00a9f7387556e27038eae232caa372a6a59b665a" + dependencies: + resolve-from "^3.0.0" + resolve-from@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-1.0.1.tgz#26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226" @@ -6053,6 +6442,10 @@ resolve-from@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-2.0.0.tgz#9480ab20e94ffa1d9e80a804c7ea147611966b57" +resolve-from@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" + resolve-pathname@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/resolve-pathname/-/resolve-pathname-2.2.0.tgz#7e9ae21ed815fd63ab189adeee64dc831eefa879" @@ -6128,6 +6521,12 @@ run-async@^2.2.0: dependencies: is-promise "^2.1.0" +run-queue@^1.0.0, run-queue@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/run-queue/-/run-queue-1.0.3.tgz#e848396f057d223f24386924618e25694161ec47" + dependencies: + aproba "^1.1.1" + rx-lite-aggregates@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be" @@ -6138,7 +6537,7 @@ rx-lite@*, rx-lite@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" -safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: +safe-buffer@5.1.1, safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" @@ -6204,24 +6603,28 @@ semver@~5.0.1: version "5.0.3" resolved "https://registry.yarnpkg.com/semver/-/semver-5.0.3.tgz#77466de589cd5d3c95f138aa78bc569a3cb5d27a" -send@0.15.0: - version "0.15.0" - resolved "https://registry.yarnpkg.com/send/-/send-0.15.0.tgz#f0185d6466fa76424b866f3d533e2d19dd0aaa39" +send@0.16.1: + version "0.16.1" + resolved "https://registry.yarnpkg.com/send/-/send-0.16.1.tgz#a70e1ca21d1382c11d0d9f6231deb281080d7ab3" dependencies: - debug "2.6.1" - depd "~1.1.0" + debug "2.6.9" + depd "~1.1.1" destroy "~1.0.4" encodeurl "~1.0.1" escape-html "~1.0.3" - etag "~1.8.0" - fresh "0.5.0" - http-errors "~1.6.1" - mime "1.3.4" - ms "0.7.2" + etag "~1.8.1" + fresh "0.5.2" + http-errors "~1.6.2" + mime "1.4.1" + ms "2.0.0" on-finished "~2.3.0" range-parser "~1.2.0" statuses "~1.3.1" +serialize-javascript@^1.4.0: + version "1.4.0" + resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-1.4.0.tgz#7c958514db6ac2443a8abc062dc9f7886a7f6005" + serve-index@^1.7.2: version "1.8.0" resolved "https://registry.yarnpkg.com/serve-index/-/serve-index-1.8.0.tgz#7c5d96c13fb131101f93c1c5774f8516a1e78d3b" @@ -6234,14 +6637,14 @@ serve-index@^1.7.2: mime-types "~2.1.11" parseurl "~1.3.1" -serve-static@1.12.0: - version "1.12.0" - resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.12.0.tgz#150eb8aa262c2dd1924e960373145446c069dad6" +serve-static@1.13.1: + version "1.13.1" + resolved "https://registry.yarnpkg.com/serve-static/-/serve-static-1.13.1.tgz#4c57d53404a761d8f2e7c1e8a18a47dbf278a719" dependencies: encodeurl "~1.0.1" escape-html "~1.0.3" - parseurl "~1.3.1" - send "0.15.0" + parseurl "~1.3.2" + send "0.16.1" set-blocking@^2.0.0, set-blocking@~2.0.0: version "2.0.0" @@ -6263,6 +6666,10 @@ setprototypeof@1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.0.3.tgz#66567e37043eeb4f04d91bd658c0cbefb55b8e04" +setprototypeof@1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" + sha.js@^2.4.0, sha.js@^2.4.8: version "2.4.8" resolved "https://registry.yarnpkg.com/sha.js/-/sha.js-2.4.8.tgz#37068c2c476b6baf402d14a49c67f597921f634f" @@ -6386,6 +6793,10 @@ source-map@^0.5.7: version "0.5.7" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" +source-map@^0.6.1, source-map@~0.6.1: + version "0.6.1" + resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" + source-map@~0.1.30, source-map@~0.1.7: version "0.1.43" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.1.43.tgz#c24bc146ca517c1471f5dacbe2571b2b7f9e3346" @@ -6449,6 +6860,10 @@ spdy@^3.4.1: select-hose "^2.0.0" spdy-transport "^2.0.18" +specificity@0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/specificity/-/specificity-0.3.0.tgz#332472d4e5eb5af20821171933998a6bc3b1ce6f" + split-transform-stream@~0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/split-transform-stream/-/split-transform-stream-0.1.1.tgz#825236a78d52a18ff912a631ad3034c15ded5fe3" @@ -6488,6 +6903,12 @@ sshpk@^1.7.0: jsbn "~0.1.0" tweetnacl "~0.14.0" +ssri@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/ssri/-/ssri-5.0.0.tgz#13c19390b606c821f2a10d02b351c1729b94d8cf" + dependencies: + safe-buffer "^5.1.0" + standalone-react-addons-pure-render-mixin@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/standalone-react-addons-pure-render-mixin/-/standalone-react-addons-pure-render-mixin-0.1.1.tgz#3c7409f4c79c40de9ac72c616cf679a994f37551" @@ -6523,6 +6944,13 @@ stream-consume@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/stream-consume/-/stream-consume-0.1.0.tgz#a41ead1a6d6081ceb79f65b061901b6d8f3d1d0f" +stream-each@^1.1.0: + version "1.2.2" + resolved "https://registry.yarnpkg.com/stream-each/-/stream-each-1.2.2.tgz#8e8c463f91da8991778765873fe4d960d8f616bd" + dependencies: + end-of-stream "^1.1.0" + stream-shift "^1.0.0" + stream-http@^2.3.1: version "2.6.3" resolved "https://registry.yarnpkg.com/stream-http/-/stream-http-2.6.3.tgz#4c3ddbf9635968ea2cfd4e48d43de5def2625ac3" @@ -6533,6 +6961,10 @@ stream-http@^2.3.1: to-arraybuffer "^1.0.0" xtend "^4.0.0" +stream-shift@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.0.tgz#d5c752825e5367e786f78e18e445ea223a155952" + strict-uri-encode@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" @@ -6640,7 +7072,7 @@ supports-color@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" -supports-color@^3.1.1, supports-color@^3.2.3: +supports-color@^3.2.3: version "3.2.3" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-3.2.3.tgz#65ac0504b3954171d8a64946b2ae3cbb8a5f54f6" dependencies: @@ -6652,6 +7084,12 @@ supports-color@^4.0.0, supports-color@^4.1.0, supports-color@^4.2.0, supports-co dependencies: has-flag "^2.0.0" +supports-color@^4.4.0: + version "4.5.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" + dependencies: + has-flag "^2.0.0" + svg-pathdata@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/svg-pathdata/-/svg-pathdata-1.0.4.tgz#7a681342aac7effd8d52afba7999910c9da3b959" @@ -6740,9 +7178,9 @@ tap-parser@^6.0.1: js-yaml "^3.2.7" minipass "^2.2.0" -tap-render@Munter/tap-render#0.1.7-patch1: +"tap-render@github:munter/tap-render#0.1.7-patch1": version "0.1.7" - resolved "https://codeload.github.com/Munter/tap-render/tar.gz/35bf3ac21c4fd2776d8569d5e8a1ab62df1f6d4f" + resolved "https://codeload.github.com/munter/tap-render/tar.gz/35bf3ac21c4fd2776d8569d5e8a1ab62df1f6d4f" dependencies: jsonify "0.0.0" pause-stream "0.0.7" @@ -6772,6 +7210,10 @@ tar@^2.0.0, tar@~2.2.1: fstream "^1.0.2" inherits "2" +tcomb@^2.5.0: + version "2.7.0" + resolved "https://registry.yarnpkg.com/tcomb/-/tcomb-2.7.0.tgz#10d62958041669a5d53567b9a4ee8cde22b1c2b0" + teepee@^2.28.0: version "2.29.1" resolved "https://registry.yarnpkg.com/teepee/-/teepee-2.29.1.tgz#ba66601c608bf7d8ad0be31065f13854f8de3cf5" @@ -6794,7 +7236,7 @@ text-table@~0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" -through2@^2.0.3, through2@~2.0.0: +through2@^2.0.0, through2@^2.0.3, through2@~2.0.0: version "2.0.3" resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be" dependencies: @@ -6830,9 +7272,9 @@ timers-browserify@^2.0.2: dependencies: setimmediate "^1.0.4" -tiny-emitter@^1.0.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-1.1.0.tgz#ab405a21ffed814a76c19739648093d70654fecb" +tiny-emitter@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/tiny-emitter/-/tiny-emitter-2.0.2.tgz#82d27468aca5ade8e5fd1e6d22b57dd43ebdfb7c" tmp@0.0.31, tmp@^0.0.31: version "0.0.31" @@ -6946,12 +7388,12 @@ type-check@~0.3.2: dependencies: prelude-ls "~1.1.2" -type-is@~1.6.14: - version "1.6.14" - resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.14.tgz#e219639c17ded1ca0789092dd54a03826b817cb2" +type-is@~1.6.15: + version "1.6.15" + resolved "https://registry.yarnpkg.com/type-is/-/type-is-1.6.15.tgz#cab10fb4909e441c82842eafe1ad646c81804410" dependencies: media-typer "0.3.0" - mime-types "~2.1.13" + mime-types "~2.1.15" typedarray@^0.0.6: version "0.0.6" @@ -6973,12 +7415,12 @@ uglify-js@2.8.x: uglify-to-browserify "~1.0.0" yargs "~3.10.0" -uglify-js@3.0.x, uglify-js@^3.0.3: - version "3.0.27" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.0.27.tgz#a97db8c8ba6b9dba4e2f88d86aa9548fa6320034" +uglify-js@3.3.x, uglify-js@^3.1.1: + version "3.3.2" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.3.2.tgz#517af20aad7abe15e1e4c9aa33c0cc72aa0107ab" dependencies: - commander "~2.11.0" - source-map "~0.5.1" + commander "~2.12.1" + source-map "~0.6.1" uglify-js@^2.8.29: version "2.8.29" @@ -7092,6 +7534,18 @@ uniqs@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/uniqs/-/uniqs-2.0.0.tgz#ffede4b36b25290696e6e165d4a59edb998e6b02" +unique-filename@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/unique-filename/-/unique-filename-1.1.0.tgz#d05f2fe4032560871f30e93cbe735eea201514f3" + dependencies: + unique-slug "^2.0.0" + +unique-slug@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/unique-slug/-/unique-slug-2.0.0.tgz#db6676e7c7cc0629878ff196097c78855ae9f4ab" + dependencies: + imurmurhash "^0.1.4" + unique-string@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unique-string/-/unique-string-1.0.0.tgz#9e1057cca851abb93398f8b33ae187b99caec11a" @@ -7130,7 +7584,7 @@ universalify@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7" -unpipe@~1.0.0: +unpipe@1.0.0, unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" @@ -7233,9 +7687,9 @@ utila@~0.4: version "0.4.0" resolved "https://registry.yarnpkg.com/utila/-/utila-0.4.0.tgz#8a16a05d445657a3aea5eecc5b12a4fa5379772c" -utils-merge@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.0.tgz#0294fb922bb9375153541c4f7096231f287c8af8" +utils-merge@1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/utils-merge/-/utils-merge-1.0.1.tgz#9f95710f50a267947b2ccc124741c1028427e713" uuid@^2.0.2: version "2.0.3" @@ -7245,6 +7699,10 @@ uuid@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1" +uuid@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" + validate-npm-package-license@^3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" @@ -7266,6 +7724,10 @@ vary@~1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.0.tgz#e1e5affbbd16ae768dd2674394b9ad3022653140" +vary@~1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" + vendors@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/vendors/-/vendors-1.0.1.tgz#37ad73c8ee417fb3d580e785312307d274847f22" @@ -7370,33 +7832,37 @@ webpack-dev-middleware@^1.11.0: range-parser "^1.0.3" time-stamp "^2.0.0" -webpack-dev-server@^2.7.1: - version "2.7.1" - resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-2.7.1.tgz#21580f5a08cd065c71144cf6f61c345bca59a8b8" +webpack-dev-server@^2.9.7: + version "2.9.7" + resolved "https://registry.yarnpkg.com/webpack-dev-server/-/webpack-dev-server-2.9.7.tgz#100ad6a14775478924d417ca6dcfb9d52a98faed" dependencies: ansi-html "0.0.7" + array-includes "^3.0.3" bonjour "^3.5.0" chokidar "^1.6.0" compression "^1.5.2" connect-history-api-fallback "^1.3.0" + debug "^3.1.0" del "^3.0.0" - express "^4.13.3" + express "^4.16.2" html-entities "^1.2.0" http-proxy-middleware "~0.17.4" - internal-ip "^1.2.0" + import-local "^0.1.1" + internal-ip "1.2.0" ip "^1.1.5" + killable "^1.0.0" loglevel "^1.4.1" - opn "4.0.2" + opn "^5.1.0" portfinder "^1.0.9" selfsigned "^1.9.1" serve-index "^1.7.2" sockjs "0.3.18" sockjs-client "1.1.4" spdy "^3.4.1" - strip-ansi "^3.0.0" - supports-color "^3.1.1" + strip-ansi "^3.0.1" + supports-color "^4.2.1" webpack-dev-middleware "^1.11.0" - yargs "^6.0.0" + yargs "^6.6.0" webpack-merge@^4.1.0: version "4.1.0" @@ -7411,9 +7877,16 @@ webpack-sources@^1.0.1: source-list-map "^2.0.0" source-map "~0.5.3" -webpack@^3.5.5: - version "3.5.5" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-3.5.5.tgz#3226f09fc8b3e435ff781e7af34f82b68b26996c" +webpack.vote@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/webpack.vote/-/webpack.vote-0.1.1.tgz#03923d8418042968b4c71ea766dce6bbdd0006ee" + dependencies: + react-textarea-autosize "^5.2.1" + uuid "^3.1.0" + +webpack@^3.10.0: + version "3.10.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-3.10.0.tgz#5291b875078cf2abf42bdd23afe3f8f96c17d725" dependencies: acorn "^5.0.0" acorn-dynamic-import "^2.0.0" @@ -7597,6 +8070,10 @@ yallist@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.0.0.tgz#306c543835f09ee1a4cb23b7bce9ab341c91cdd4" +yallist@^2.1.2: + version "2.1.2" + resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" + yallist@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.0.2.tgz#8452b4bb7e83c7c188d8041c1a837c773d6d8bb9" @@ -7645,7 +8122,7 @@ yargs@^4.7.1: y18n "^3.2.1" yargs-parser "^2.4.1" -yargs@^6.0.0: +yargs@^6.6.0: version "6.6.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-6.6.0.tgz#782ec21ef403345f830a808ca3d513af56065208" dependencies: From 6e061158b29947d6777cc3e1e23dd76c4c4fa103 Mon Sep 17 00:00:00 2001 From: Greg Venech Date: Wed, 27 Dec 2017 20:53:35 -0500 Subject: [PATCH 81/89] chore(vote): pick up another vote patch --- package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index a9de1076dcb1..a5484d407b0c 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "react-router": "^4.2.0", "react-router-dom": "^4.2.2", "tool-list": "^0.11.0", - "webpack.vote": "^0.1.1", + "webpack.vote": "^0.1.2", "whatwg-fetch": "^2.0.3" } } diff --git a/yarn.lock b/yarn.lock index dde19130fcb7..39810d198eec 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7178,9 +7178,9 @@ tap-parser@^6.0.1: js-yaml "^3.2.7" minipass "^2.2.0" -"tap-render@github:munter/tap-render#0.1.7-patch1": +tap-render@Munter/tap-render#0.1.7-patch1: version "0.1.7" - resolved "https://codeload.github.com/munter/tap-render/tar.gz/35bf3ac21c4fd2776d8569d5e8a1ab62df1f6d4f" + resolved "https://codeload.github.com/Munter/tap-render/tar.gz/35bf3ac21c4fd2776d8569d5e8a1ab62df1f6d4f" dependencies: jsonify "0.0.0" pause-stream "0.0.7" @@ -7877,9 +7877,9 @@ webpack-sources@^1.0.1: source-list-map "^2.0.0" source-map "~0.5.3" -webpack.vote@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/webpack.vote/-/webpack.vote-0.1.1.tgz#03923d8418042968b4c71ea766dce6bbdd0006ee" +webpack.vote@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/webpack.vote/-/webpack.vote-0.1.2.tgz#d1caf17ee8a0effbe198e38c157dae279433d421" dependencies: react-textarea-autosize "^5.2.1" uuid "^3.1.0" From eb02652fbb5ba03fe215cdbc234bda36a57f7472 Mon Sep 17 00:00:00 2001 From: DongHang XU <794243810@qq.com> Date: Thu, 28 Dec 2017 10:58:59 +0800 Subject: [PATCH 82/89] Update index.md (#423) * update: git merge -> git rebase * Update index.md * Update README.md --- src/content/concepts/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/concepts/index.md b/src/content/concepts/index.md index 2d849e1e74ca..7f8c9973c909 100755 --- a/src/content/concepts/index.md +++ b/src/content/concepts/index.md @@ -63,7 +63,7 @@ module.exports = { 在上面的例子中,我们通过 `output.filename` 和 `output.path` 属性,来告诉 webpack bundle 的名称,以及我们想要生成(emit)到哪里。 -T> 你可能看到项目**生成(emitted 或 emit)**贯穿我们整个文档和[插件 API](/api/plugins)。它是“生产(produced)”或“排放(discharged)”的特殊术语。 +T> 你可能会发现术语**生成(emitted 或 emit)**贯穿了我们整个文档和[插件 API](/api/plugins)。它是“生产(produced)”或“释放(discharged)”的特殊术语。 T> `output` 属性还有[更多可配置的特性](/configuration/output),如果你想要了解更多关于 `output` 属性的概念,你可以通过[阅读概念章节](/concepts/output)来了解更多。 From cd39b0303a63023d0b172993e059ca3b42747121 Mon Sep 17 00:00:00 2001 From: lizhihua <275091674@qq.com> Date: Fri, 29 Dec 2017 08:12:52 +0800 Subject: [PATCH 83/89] Update .travis.yml --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 64830c58e634..93babd57ca2b 100755 --- a/.travis.yml +++ b/.travis.yml @@ -11,3 +11,4 @@ install: - npm install --global yarn - yarn - sudo pip install proselint +group: deprecated-2017Q4 From 9a149351b8d0acb7b49ebd31f71aeef902937214 Mon Sep 17 00:00:00 2001 From: Yangshun Tay Date: Sat, 6 Jan 2018 21:12:40 -0800 Subject: [PATCH 84/89] docs: fix formatting and grammar (#1765) Fix typos, improve grammar, and change ` ` to a normal space character. --- .../NotificationBar/NotificationBar.jsx | 4 ++-- src/components/StarterKits/StarterKits.jsx | 18 +++++++++--------- src/content/guides/migrating.md | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/NotificationBar/NotificationBar.jsx b/src/components/NotificationBar/NotificationBar.jsx index 8ad2c4e53803..18aebc3c6f01 100644 --- a/src/components/NotificationBar/NotificationBar.jsx +++ b/src/components/NotificationBar/NotificationBar.jsx @@ -13,8 +13,8 @@ export default class NotificationBar extends React.Component {

- Sponsor webpack and get apparel from the official shop  - or get stickers here! All proceeds go to our  + Sponsor webpack and get apparel from the official shop{' '} + or get stickers here! All proceeds go to our{' '} open collective!

{ localStorageIsEnabled ? diff --git a/src/components/StarterKits/StarterKits.jsx b/src/components/StarterKits/StarterKits.jsx index 4711d8a0d8a2..571c92501c6e 100644 --- a/src/components/StarterKits/StarterKits.jsx +++ b/src/components/StarterKits/StarterKits.jsx @@ -15,20 +15,20 @@ const StarterKits = props => (

Starter Kits

- The following table contains a curated list of starter kits that can  - be used as a jumping off point for webpack-based projects. To add a new  - kit to the list please visit  - this repository  - and submit a PR against this file:  + The following table contains a curated list of starter kits that can + be used as a jumping off point for webpack-based projects. To add a new + kit to the list please visit{' '} + this repository{' '} + and submit a PR against this file: generator/starterProjectUrls.js.

- Boilerplates should be used as Proof of Concepts to help you learn  - different webpack techniques for various frameworks. Make sure you understand  - what's going on in them and avoid copy and paste coding. Also note that none  - of these are officially supported by webpack. If you run into an issue, please  + Boilerplates should be used as Proof of Concepts to help you learn + different webpack techniques for various frameworks. Make sure you understand + what's going on in them and avoid copy and paste coding. Also note that none + of these are officially supported by webpack. If you run into an issue, please report that to the maintainer(s) of the repository.
diff --git a/src/content/guides/migrating.md b/src/content/guides/migrating.md index 9f39cd0ad74c..faca01aae0b4 100644 --- a/src/content/guides/migrating.md +++ b/src/content/guides/migrating.md @@ -544,7 +544,7 @@ webpack now supports template strings in expressions. This means you can start u ### Configuration Promise -webpack now supports returning a `Promise` from the configuration file. This allows to do async processing in you configuration file. +webpack now supports returning a `Promise` from the configuration file. This allows async processing in your configuration file. **webpack.config.js** From 232bf00caf744ebd91c0937170914db6aa24073d Mon Sep 17 00:00:00 2001 From: Eugene Epifanov Date: Sun, 7 Jan 2018 12:13:55 +0700 Subject: [PATCH 85/89] docs(concepts): change loader order from chonological to reverse (#1767) When one starts to learn about loaders it's very confusing. [This](https://webpack.js.org/contribute/writing-a-loader/#complex-usage) explains the behaviour much better. --- src/content/concepts/loaders.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/content/concepts/loaders.md b/src/content/concepts/loaders.md index 4ea4b35654c7..99f40f3f1d95 100644 --- a/src/content/concepts/loaders.md +++ b/src/content/concepts/loaders.md @@ -101,7 +101,7 @@ This uses the `jade-loader` for `.jade` files, and the [`style-loader`](/loaders ## Loader Features -* Loaders can be chained. They are applied in a pipeline to the resource. A chain of loaders are compiled chronologically. The first loader in a chain of loaders returns a value to the next. At the end loader, webpack expects JavaScript to be returned. +* Loaders can be chained. They are applied in a pipeline to the resource. A chain of loaders are executed in reverse order. The first loader in a chain of loaders returns a value to the next. At the end loader, webpack expects JavaScript to be returned. * Loaders can be synchronous or asynchronous. * Loaders run in Node.js and can do everything that’s possible there. * Loaders accept query parameters. This can be used to pass configuration to the loader. From c46b22a42230f783c7c6e4fa7580c9c4f966dfcb Mon Sep 17 00:00:00 2001 From: lizhihua <275091674@qq.com> Date: Sat, 13 Jan 2018 16:32:42 +0800 Subject: [PATCH 86/89] update UPDATE.md --- UPDATE.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 UPDATE.md diff --git a/UPDATE.md b/UPDATE.md new file mode 100644 index 000000000000..14b8bbb3fc7c --- /dev/null +++ b/UPDATE.md @@ -0,0 +1,5 @@ +## 更新记录 + +### 2018.01.13 +* 合并记录:合并 master 分支 +* 合并记录:https://github.com/webpack-china/webpack.js.org/pull/433 From 7d79c30c1d59a9bbc64de587b381d7e04b61c764 Mon Sep 17 00:00:00 2001 From: lizhihua <275091674@qq.com> Date: Sat, 13 Jan 2018 20:23:56 +0800 Subject: [PATCH 87/89] https://github.com/webpack-china/webpack.js.org/pull/422 --- src/content/configuration/module.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/configuration/module.md b/src/content/configuration/module.md index da2de560fdbc..9a95562bfad0 100755 --- a/src/content/configuration/module.md +++ b/src/content/configuration/module.md @@ -115,7 +115,7 @@ W> 小心!resource 是文件的_解析_路径,这意味着符号链接的资 ## `Rule.issuer` -A [`Condition`](#condition) to match against the module that issued the request. In the following example, the `issuer` for the `a.js` request would be the path to the `index.js` file. +一个[`条件`](#condition),用来与被发布的 request 对应的模块项匹配。在以下示例中,a.js request 的`发布者(issuer)`是 index.js 文件的路径。 __index.js__ @@ -123,7 +123,7 @@ __index.js__ import A from './a.js' ``` -This option can be used to apply loaders to the dependencies of a specific module or set of modules. +这个选项可以用来将 loader 应用到一个特定模块或一组模块的依赖中。 ## `Rule.loader` From 8685372fb6f70e7e9fc5c51c5aad6e0d3e61d591 Mon Sep 17 00:00:00 2001 From: lizhihua <275091674@qq.com> Date: Sat, 13 Jan 2018 20:36:15 +0800 Subject: [PATCH 88/89] https://github.com/webpack-china/webpack.js.org/issues/40 --- src/content/guides/public-path.md | 34 +++++++++++++++++-------------- 1 file changed, 19 insertions(+), 15 deletions(-) diff --git a/src/content/guides/public-path.md b/src/content/guides/public-path.md index df94f99620fd..d773379ef37b 100755 --- a/src/content/guides/public-path.md +++ b/src/content/guides/public-path.md @@ -1,5 +1,5 @@ --- -title: Public Path +title: 公共路径(Public Path) sort: 24 contributors: - rafaelrinaldi @@ -7,23 +7,23 @@ contributors: - gonzoyumo --- -The `publicPath` configuration option can be quite useful in a variety of scenarios. It allows you to specify the base path for all the assets within your application. +webpack 提供一个非常有用的配置,该配置能帮助你为项目中的所有资源指定一个基础路径。它被称为`公共路径(publicPath)`。 -## Use Cases +## 示例 -There are a few use cases in real applications where this feature becomes especially neat. Essentially, every file emitted to your `output.path` directory will be referenced from the `output.publicPath` location. This includes child chunks (created via [code splitting](/guides/code-splitting/)) and any other assets (e.g. images, fonts, etc.) that are a part of your dependency graph. +这里提供一些示例,在实际应用中,这些示例的特性在实现的同时,还能保持高度整洁。 -### Environment Based +### 在构建项目时设置路径值 -In development for example, we might have an `assets/` folder that lives on the same level of our index page. This is fine, but what if we wanted to host all these static assets on a CDN in production? +在开发模式中,我们通常有一个 `assets/` 文件夹,它往往存放在和首页一个级别的目录下。这样是挺方便;但是如果在生产环境下,你想把这些静态文件统一使用CDN加载,那该怎么办? -To approach this problem you can easily use a good old environment variable. Let's say we have a variable `ASSET_PATH`: +想要解决这个问题,你可以使用有着悠久历史的环境变量。比如说,我们设置了一个名为 `ASSET_PATH` 的变量: ``` js import webpack from 'webpack'; -// Try the environment variable, otherwise use root +// 如果预先定义过环境变量,就将其赋值给`ASSET_PATH`变量,否则赋值为根目录 const ASSET_PATH = process.env.ASSET_PATH || '/'; export default { @@ -32,7 +32,7 @@ export default { }, plugins: [ - // This makes it possible for us to safely use env vars on our code + // 该插件帮助我们安心地使用环境变量 new webpack.DefinePlugin({ 'process.env.ASSET_PATH': JSON.stringify(ASSET_PATH) }) @@ -40,22 +40,26 @@ export default { }; ``` -### On The Fly +### 即时设定路径值 -Another possible use case is to set the `publicPath` on the fly. webpack exposes a global variable called `__webpack_public_path__` that allows you to do that. So, in your application's entry point, you can simply do this: +另一个可能出现的情况是,我们需要即时设置公共路径。webpack 提供一个全局变量供你设置,它名叫 `__webpack_public_path__`。所以在你的项目入口,你可以简单地设置如下: ```js __webpack_public_path__ = process.env.ASSET_PATH; ``` -That's all you need. Since we're already using the `DefinePlugin` on our -configuration, `process.env.ASSET_PATH` will always be defined so we can safely -do that. +一切设置完成。因为我们已经在我们的配置项中使用了`DefinePlugin`, +`process.env.ASSET_PATH` 就已经被定义了, +所以让我们能够安心地使用它了。 -W> Be aware that if you use ES6 module imports in your entry file the `__webpack_public_path__` assignment will be done after the imports. In such cases, you'll have to move the public path assignment to its own dedicated module and then import it on top of your entry.js: +**警告:**请注意,如果您在入口文件中使用 ES6 模块导入,则在导入后对 `__webpack_public_path__` 进行赋值。在这种情况下,您必须将公共路径(public path)赋值移至自己的专属模块,然后将其导入到您的 entry.js 之上: ```js // entry.js import './public-path'; import './app'; ``` + +*** + +> 原文:https://webpack.js.org/guides/public-path/ From 8fb61a34e6e507aba7a42bca8d3c05db4b03f00c Mon Sep 17 00:00:00 2001 From: lizhihua <275091674@qq.com> Date: Sat, 13 Jan 2018 20:50:54 +0800 Subject: [PATCH 89/89] =?UTF-8?q?=E6=82=A8=20->=20=E4=BD=A0=20&=20?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E4=B8=BA=EF=BC=9A=E6=9C=AC=E6=8C=87=E5=8D=97?= =?UTF-8?q?=E7=BB=A7=E7=BB=AD=E6=B2=BF=E7=94=A8[xxx](/guides/xxx)=E4=B8=AD?= =?UTF-8?q?=E7=9A=84=E4=BB=A3=E7=A0=81=E7=A4=BA=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/content/api/cli.md | 2 +- src/content/api/node.md | 2 +- src/content/branding.md | 2 +- src/content/guides/asset-management.md | 4 ++-- src/content/guides/caching.md | 2 +- src/content/guides/code-splitting.md | 2 +- src/content/guides/development.md | 2 +- src/content/guides/hot-module-replacement.md | 4 ++-- src/content/guides/installation.md | 2 +- src/content/guides/integrations.md | 2 +- src/content/guides/lazy-loading.md | 2 +- src/content/guides/migrating.md | 2 +- src/content/guides/output-management.md | 2 +- src/content/guides/production.md | 2 +- .../guides/progressive-web-application.md | 8 ++++---- src/content/guides/public-path.md | 2 +- src/content/guides/shimming.md | 2 +- src/content/guides/tree-shaking.md | 2 +- src/content/guides/typescript.md | 2 +- src/content/loaders/css-loader.md | 16 ++++++++-------- src/content/loaders/expose-loader.md | 2 +- src/content/loaders/html-loader.md | 6 +++--- src/content/loaders/json-loader.md | 2 +- src/content/loaders/less-loader.md | 4 ++-- src/content/loaders/react-proxy-loader.md | 4 ++-- src/content/loaders/style-loader.md | 6 +++--- src/content/loaders/svg-inline-loader.md | 2 +- .../plugins/babel-minify-webpack-plugin.md | 2 +- src/content/plugins/html-webpack-plugin.md | 8 ++++---- src/content/plugins/i18n-webpack-plugin.md | 2 +- 30 files changed, 51 insertions(+), 51 deletions(-) diff --git a/src/content/api/cli.md b/src/content/api/cli.md index 0c0bda477e18..f367c00dc7fe 100755 --- a/src/content/api/cli.md +++ b/src/content/api/cli.md @@ -42,7 +42,7 @@ webpack [] **``** -一个文件名或一组被命名的文件名,作为构建项目的入口起点。您可以传递多个入口(每个入口在启动时加载)。如果传递一个形式为 ` = ` 的键值对,则可以创建一个额外的入口起点。它将被映射到配置选项(configuration option)的 `entry` 属性。 +一个文件名或一组被命名的文件名,作为构建项目的入口起点。你可以传递多个入口(每个入口在启动时加载)。如果传递一个形式为 ` = ` 的键值对,则可以创建一个额外的入口起点。它将被映射到配置选项(configuration option)的 `entry` 属性。 **``** diff --git a/src/content/api/node.md b/src/content/api/node.md index 4212ff5cbee5..bd4695549453 100755 --- a/src/content/api/node.md +++ b/src/content/api/node.md @@ -136,7 +136,7 @@ T> 不允许在当前监听器已经关闭或失效前再次监听或执行。 ### 作废 `Watching`(Invalidate `Watching`) -使用 `watching.invalidate`,您可以手动使当前编译循环(compiling round)无效,而不会停止监视进程: +使用 `watching.invalidate`,你可以手动使当前编译循环(compiling round)无效,而不会停止监视进程: ``` js watching.invalidate(); diff --git a/src/content/branding.md b/src/content/branding.md index ecd4c7b7f3b0..c3af8aac05a4 100755 --- a/src/content/branding.md +++ b/src/content/branding.md @@ -96,4 +96,4 @@ The logo and the brand name are **not MIT licensed**. Please check [our LICENSE] *** -> 原文:https://webpack.js.org/branding/ \ No newline at end of file +> 原文:https://webpack.js.org/branding/ diff --git a/src/content/guides/asset-management.md b/src/content/guides/asset-management.md index d61fa39b59ca..885bf85f6cb5 100755 --- a/src/content/guides/asset-management.md +++ b/src/content/guides/asset-management.md @@ -257,9 +257,9 @@ Time: 895ms [9] ./src/index.js 503 bytes {0} [built] ``` -如果一切顺利,和 `Hello webpack` 文本旁边的 `img` 元素一样,现在看到的图标是重复的背景图片。如果您检查此元素,您将看到实际的文件名已更改为像 `5c999da72346a995e7e2718865d019c8.png` 一样。这意味着 webpack 在 `src` 文件夹中找到我们的文件,并成功处理过它! +如果一切顺利,和 `Hello webpack` 文本旁边的 `img` 元素一样,现在看到的图标是重复的背景图片。如果你检查此元素,你将看到实际的文件名已更改为像 `5c999da72346a995e7e2718865d019c8.png` 一样。这意味着 webpack 在 `src` 文件夹中找到我们的文件,并成功处理过它! -T> 合乎逻辑下一步是,压缩和优化您的图像。查看 [image-webpack-loader](https://github.com/tcoopman/image-webpack-loader) 和 [url-loader](/loaders/url-loader),以了解更多关于如果增强加载处理图片功能。 +T> 合乎逻辑下一步是,压缩和优化你的图像。查看 [image-webpack-loader](https://github.com/tcoopman/image-webpack-loader) 和 [url-loader](/loaders/url-loader),以了解更多关于如果增强加载处理图片功能。 ## 加载字体 diff --git a/src/content/guides/caching.md b/src/content/guides/caching.md index 8dc7bc010e03..f500724ed186 100755 --- a/src/content/guides/caching.md +++ b/src/content/guides/caching.md @@ -21,7 +21,7 @@ related: url: https://github.com/webpack/webpack.js.org/issues/652 --- -T> 本指南中的示例来自[起步](/guides/getting-started)、[管理输出](/guides/output-management)和[代码分离](/guides/code-splitting)。 +T> 本指南继续沿用[起步](/guides/getting-started)、[管理输出](/guides/output-management)和[代码分离](/guides/code-splitting)中的代码示例。 以上,我们使用 webpack 来打包我们的模块化后的应用程序,webpack 会生成一个可部署的 `/dist` 目录,然后把打包后的内容放置在此目录中。只要 `/dist` 目录中的内容部署到服务器上,客户端(通常是浏览器)就能够访问网站此服务器的网站及其资源。而最后一步获取资源是比较耗费时间的,这就是为什么浏览器使用一种名为[缓存](http://searchstorage.techtarget.com/definition/cache)的技术。可以通过命中缓存,以降低网络流量,使网站加载速度更快,然而,如果我们在部署新版本时不更改资源的文件名,浏览器可能会认为它没有被更新,就会使用它的缓存版本。由于缓存的存在,当你需要获取新的代码时,就会显得很棘手。 diff --git a/src/content/guides/code-splitting.md b/src/content/guides/code-splitting.md index 8e6a90072fb3..ad770fbcb613 100755 --- a/src/content/guides/code-splitting.md +++ b/src/content/guides/code-splitting.md @@ -23,7 +23,7 @@ contributors: - sudarsangp --- -T> 本指南扩展了[起步](/guides/getting-started)和[管理输出](/guides/output-management)中提供的示例。请确保您至少已熟悉其中提供的示例。 +T> 本指南继续沿用[起步](/guides/getting-started)和[管理输出](/guides/output-management)中的代码示例。。请确保你至少已熟悉其中提供的示例。 代码分离是 webpack 中最引人注目的特性之一。此特性能够把代码分离到不同的 bundle 中,然后可以按需加载或并行加载这些文件。代码分离可以用于获取更小的 bundle,以及控制资源加载优先级,如果使用合理,会极大影响加载时间。 diff --git a/src/content/guides/development.md b/src/content/guides/development.md index c9fe265b04c2..7eaf163bb528 100755 --- a/src/content/guides/development.md +++ b/src/content/guides/development.md @@ -8,7 +8,7 @@ contributors: - TheDutchCoder --- -T> 本指南继续延伸[管理输出](/guides/output-management)指南中的代码示例。 +T> 本指南继续沿用[管理输出](/guides/output-management)指南中的代码示例。 如果你一直跟随之前的指南,应该对一些 webpack 基础知识有着很扎实的理解。在我们继续之前,先来看看如何建立一个开发环境,使我们的开发变得更容易一些。 diff --git a/src/content/guides/hot-module-replacement.md b/src/content/guides/hot-module-replacement.md index 1262cb78e279..793dca992a09 100755 --- a/src/content/guides/hot-module-replacement.md +++ b/src/content/guides/hot-module-replacement.md @@ -22,7 +22,7 @@ related: url: /api/hot-module-replacement --- -T> 本指南示例代码延用[开发](/guides/development)指南的示例代码。 +T> 本指南继续沿用[开发指南](/guides/development)中的代码示例。 模块热替换(Hot Module Replacement 或 HMR)是 webpack 提供的最有用的功能之一。它允许在运行时更新各种模块,而无需进行完全刷新。本页面重点介绍__实现__,而[概念页面](/concepts/hot-module-replacement)提供了更多关于它的工作原理以及为什么它有用的细节。 @@ -320,7 +320,7 @@ __index.js__ ``` -将 `body` 上的样式修改为 `background: red;`,您应该可以立即看到页面的背景颜色随之更改,而无需完全刷新。 +将 `body` 上的样式修改为 `background: red;`,你应该可以立即看到页面的背景颜色随之更改,而无需完全刷新。 __styles.css__ diff --git a/src/content/guides/installation.md b/src/content/guides/installation.md index 4ae07153e641..91e1b5c1ec71 100755 --- a/src/content/guides/installation.md +++ b/src/content/guides/installation.md @@ -47,7 +47,7 @@ T> 当你在本地安装 webpack 后,你能够从 `node_modules/.bin/webpack` npm install --global webpack ``` -W> 不推荐全局安装 webpack。这会将您项目中的 webpack 锁定到指定版本,并且在使用不同的 webpack 版本的项目中,可能会导致构建失败。 +W> 不推荐全局安装 webpack。这会将你项目中的 webpack 锁定到指定版本,并且在使用不同的 webpack 版本的项目中,可能会导致构建失败。 ## 最新体验版本 diff --git a/src/content/guides/integrations.md b/src/content/guides/integrations.md index e0375c0b544c..91406b8ed385 100755 --- a/src/content/guides/integrations.md +++ b/src/content/guides/integrations.md @@ -10,7 +10,7 @@ contributors: 首先我们要消除一个常见的误解。webpack 是一个模块打包器(module bundler)(例如,[Browserify](http://browserify.org/) 或 [Brunch](http://brunch.io/))。它不是一个任务执行器(task runner)(例如,[Make](https://www.gnu.org/software/make/), [Grunt](https://gruntjs.com/) 或者 [Gulp](https://gulpjs.com/) )。任务执行器就是用来自动化处理常见的开发任务,例如项目的检查(lint)、构建(build)、测试(test)。相对于*打包器(bundler)*,任务执行器则聚焦在偏重上层的问题上面。你可以得益于,使用上层的工具,而将打包部分的问题留给 webpack。 -打包器(bundler)帮助您取得准备用于部署的 JavaScript 和样式表,将它们转换为适合浏览器的可用格式。例如,JavaScript 可以[压缩](/plugins/uglifyjs-webpack-plugin)、[拆分 chunk](/guides/code-splitting) 和[懒加载](/guides/lazy-loading),以提高性能。打包是 web 开发中最重要的挑战之一,解决此问题可以消除开发过程中的大部分痛点。 +打包器(bundler)帮助你取得准备用于部署的 JavaScript 和样式表,将它们转换为适合浏览器的可用格式。例如,JavaScript 可以[压缩](/plugins/uglifyjs-webpack-plugin)、[拆分 chunk](/guides/code-splitting) 和[懒加载](/guides/lazy-loading),以提高性能。打包是 web 开发中最重要的挑战之一,解决此问题可以消除开发过程中的大部分痛点。 好消息是,虽然有一些功能重复,但如果以正确的方式处理,任务运行器和模块打包器能够一起协同工作。本指南提供了关于如何将 webpack 与一些流行的任务运行器集成在一起的高度概述。 diff --git a/src/content/guides/lazy-loading.md b/src/content/guides/lazy-loading.md index d2d859b14fc8..e78daa9612c3 100755 --- a/src/content/guides/lazy-loading.md +++ b/src/content/guides/lazy-loading.md @@ -10,7 +10,7 @@ related: url: https://dzone.com/articles/lazy-loading-es2015-modules-in-the-browser --- -T> 这个指南是[代码分离](/guides/code-splitting)的后续,如果你之前没有看过那个指南,现在请去看一下。 +T> 本指南的继承自[代码分离](/guides/code-splitting)。如果你尚未阅读该指南,请先行阅读。 懒加载或者按需加载,是一种很好的优化网页或应用的方式。这种方式实际上是先把你的代码在一些逻辑断点处分离开,然后在一些代码块中完成某些操作后,立即引用或即将引用另外一些新的代码块。这样加快了应用的初始加载速度,减轻了它的总体体积,因为某些代码块可能永远不会被加载。 diff --git a/src/content/guides/migrating.md b/src/content/guides/migrating.md index fb78422ceb77..c6d9b0321648 100755 --- a/src/content/guides/migrating.md +++ b/src/content/guides/migrating.md @@ -267,7 +267,7 @@ loaders 的压缩模式将在 webpack 3 或后续版本中取消。 ## 默认加载 `OccurrenceOrderPlugin` `OccurrenceOrderPlugin` 现在默认启用,并已重命名(在 webpack 1 中为 `OccurenceOrderPlugin`)。 -因此,请确保从您的配置中删除该插件: +因此,请确保从你的配置中删除该插件: ``` diff plugins: [ diff --git a/src/content/guides/output-management.md b/src/content/guides/output-management.md index e64c717519c5..331a4c149ae4 100755 --- a/src/content/guides/output-management.md +++ b/src/content/guides/output-management.md @@ -8,7 +8,7 @@ contributors: - JGJP --- -T> 本指南继续延伸[`管理资源`](/guides/asset-management)指南中的代码示例。 +T> 本指南继续沿用[`管理资源`](/guides/asset-management)指南中的代码示例。 到目前为止,我们在 `index.html` 文件中手动引入所有资源,然而随着应用程序增长,并且一旦开始对[文件名使用哈希(hash)](/guides/caching)]并输出[多个 bundle](/guides/code-splitting),手动地对 `index.html` 文件进行管理,一切就会变得困难起来。然而,可以通过一些插件,会使这个过程更容易操控。 diff --git a/src/content/guides/production.md b/src/content/guides/production.md index 36cd5fbc3fdc..455a2d96fd59 100755 --- a/src/content/guides/production.md +++ b/src/content/guides/production.md @@ -210,7 +210,7 @@ __webpack.prod.js__ T> 技术上讲,`NODE_ENV` 是一个由 Node.js 暴露给执行脚本的系统环境变量。通常用于决定在开发环境与生产环境(dev-vs-prod)下,服务器工具、构建脚本和客户端 library 的行为。然而,与预期不同的是,无法在构建脚本 `webpack.config.js` 中,将 `process.env.NODE_ENV` 设置为 `"production"`,请查看 [#2537](https://github.com/webpack/webpack/issues/2537)。因此,例如 `process.env.NODE_ENV === 'production' ? '[name].[hash].bundle.js' : '[name].bundle.js'` 这样的条件语句,在 webpack 配置文件中,无法按照预期运行。 -如果您正在使用像 [`react`](https://facebook.github.io/react/) 这样的 library,那么在添加此 DefinePlugin 插件后,你应该看到 bundle 大小显著下降。还要注意,任何位于 `/src` 的本地代码都可以关联到 process.env.NODE_ENV 环境变量,所以以下检查也是有效的: +如果你正在使用像 [`react`](https://facebook.github.io/react/) 这样的 library,那么在添加此 DefinePlugin 插件后,你应该看到 bundle 大小显著下降。还要注意,任何位于 `/src` 的本地代码都可以关联到 process.env.NODE_ENV 环境变量,所以以下检查也是有效的: __src/index.js__ diff --git a/src/content/guides/progressive-web-application.md b/src/content/guides/progressive-web-application.md index 5fba61feaa87..e3f4e15c21dd 100644 --- a/src/content/guides/progressive-web-application.md +++ b/src/content/guides/progressive-web-application.md @@ -1,11 +1,11 @@ --- -title: Progressive Web Application +title: 渐进式网络应用程序 sort: 14 contributors: - johnnyreilly --- -T> This guide extends on code examples found in the [Output Management](/guides/output-management) guide. +T> 本指南继续沿用[管理输出](/guides/output-management)中的代码示例。 Progressive Web Applications (or PWAs) are web apps that deliver an experience similar to native applications. There are many things that can contribute to that. Of these, the most significant is the ability for an app to be able to function when __offline__. This is achieved through the use of a web technology called [Service Workers](https://developers.google.com/web/fundamentals/primers/service-workers/). @@ -45,7 +45,7 @@ Available on: Hit CTRL-C to stop the server ``` -If you open your browser to `http://localhost:8080` (i.e. `http://127.0.0.1`) you should see your webpack application being served up from the `dist` directory. If you stop the server and refresh, the webpack application is no longer available. +If you open your browser to `http://localhost:8080` (i.e. `http://127.0.0.1`) you should see your webpack application being served up from the `dist` directory. If you stop the server and refresh, the webpack application is no longer available. This is what we aim to change. Once we reach the end of this module we should be able to stop the server, hit refresh and still see our application. @@ -79,7 +79,7 @@ __webpack.config.js__ - }) + }), + new WorkboxPlugin({ -+ // these options encourage the ServiceWorkers to get in there fast ++ // these options encourage the ServiceWorkers to get in there fast + // and not allow any straggling "old" SWs to hang around + clientsClaim: true, + skipWaiting: true diff --git a/src/content/guides/public-path.md b/src/content/guides/public-path.md index d773379ef37b..1eb932761db2 100755 --- a/src/content/guides/public-path.md +++ b/src/content/guides/public-path.md @@ -52,7 +52,7 @@ __webpack_public_path__ = process.env.ASSET_PATH; `process.env.ASSET_PATH` 就已经被定义了, 所以让我们能够安心地使用它了。 -**警告:**请注意,如果您在入口文件中使用 ES6 模块导入,则在导入后对 `__webpack_public_path__` 进行赋值。在这种情况下,您必须将公共路径(public path)赋值移至自己的专属模块,然后将其导入到您的 entry.js 之上: +**警告:**请注意,如果你在入口文件中使用 ES6 模块导入,则在导入后对 `__webpack_public_path__` 进行赋值。在这种情况下,你必须将公共路径(public path)赋值移至自己的专属模块,然后将其导入到你的 entry.js 之上: ```js // entry.js diff --git a/src/content/guides/shimming.md b/src/content/guides/shimming.md index d54aea2f2e6e..1dea4a6723dd 100755 --- a/src/content/guides/shimming.md +++ b/src/content/guides/shimming.md @@ -22,7 +22,7 @@ _shimming_ 另外一个使用场景就是,当你希望 [polyfill](https://en.w 下面的文章将向我们展示这两种用例。 -T> 为了方便,本指南沿用[起步](/guides/getting-started)章节中的代码示例。在继续之前,请确保你已经熟悉那些配置。 +T> 为了方便,本指南继续沿用[起步](/guides/getting-started)中的代码示例。在继续之前,请确保你已经熟悉那些配置。 ## shimming 全局变量 diff --git a/src/content/guides/tree-shaking.md b/src/content/guides/tree-shaking.md index cc1b889edb46..3c99402a528a 100755 --- a/src/content/guides/tree-shaking.md +++ b/src/content/guides/tree-shaking.md @@ -25,7 +25,7 @@ _tree shaking_ 是一个术语,通常用于描述移除 JavaScript 上下文 webpack 2 内置支持 ES2015 模块(别名 *harmony modules*),并能检测出未使用的模块导出。 -T> 本指南的继承自[起步指南](/guides/getting-started)。如果您尚未阅读该指南,请先行阅读。 +T> 本指南的继承自[起步指南](/guides/getting-started)。如果你尚未阅读该指南,请先行阅读。 ## 添加一个通用模块 diff --git a/src/content/guides/typescript.md b/src/content/guides/typescript.md index 330d5d13efad..9ff83d80670e 100755 --- a/src/content/guides/typescript.md +++ b/src/content/guides/typescript.md @@ -7,7 +7,7 @@ contributors: - mtrivera --- -T> 本指南示例来源于[*起步*](/guides/getting-started/)指南。 +T> 本指南继续沿用[*起步指南*](/guides/getting-started/)中的代码示例。 [TypeScript](https://www.typescriptlang.org) 是 JavaScript 的超集,为其增加了类型系统,可以编译为普通的 JavaScript 代码。这篇指南里我们将会学习 webpack 是如何跟 TypeScript 进行集成。 diff --git a/src/content/loaders/css-loader.md b/src/content/loaders/css-loader.md index 0f1b1f8d9d60..85df71b3c9fb 100644 --- a/src/content/loaders/css-loader.md +++ b/src/content/loaders/css-loader.md @@ -16,7 +16,7 @@ npm install --save-dev css-loader `css-loader` 解释(interpret) `@import` 和 `url()` ,会 `import/require()` 后再解析(resolve)它们。 -引用资源的合适 loader 是 [file-loader](/loaders/file-loader/)和 [url-loader](/loaders/url-loader/),您应该在配置中指定(查看[如下设置](https://github.com/webpack-contrib/css-loader#assets))。 +引用资源的合适 loader 是 [file-loader](/loaders/file-loader/)和 [url-loader](/loaders/url-loader/),你应该在配置中指定(查看[如下设置](https://github.com/webpack-contrib/css-loader#assets))。 **file.js** ```js @@ -39,7 +39,7 @@ module.exports = { ## -您也可以直接将 css-loader 的结果作为字符串使用,例如 Angular 的组件样式。 +你也可以直接将 css-loader 的结果作为字符串使用,例如 Angular 的组件样式。 **webpack.config.js** ```js @@ -62,8 +62,8 @@ console.log(css); // {String} 如果有 SourceMap,它们也将包含在字符串结果中。 -如果由于某种原因,您需要将 CSS 提取为纯粹的字符串资源(即不包含在 JS 模块中),则可能需要查看 [extract-loader](https://github.com/peerigon/extract-loader)。 -例如,当您需要将 CSS 作为字符串进行后处理时,这很有用。 +如果由于某种原因,你需要将 CSS 提取为纯粹的字符串资源(即不包含在 JS 模块中),则可能需要查看 [extract-loader](https://github.com/peerigon/extract-loader)。 +例如,当你需要将 CSS 作为字符串进行后处理时,这很有用。 **webpack.config.js** ```js @@ -110,7 +110,7 @@ console.log(css); // {String} `url(/image.png)` => `require('./image.png')` -不建议使用'相对根路径'的 url。您应该只将其用于旧版 CSS 文件。 +不建议使用'相对根路径'的 url。你应该只将其用于旧版 CSS 文件。 ### `url` @@ -179,7 +179,7 @@ url(~module/image.png) => require('module/image.png') 查询参数 `modules` 会启用 **CSS 模块**规范。 -默认情况下,这将启用局部作用域 CSS。(您可以使用 `:global(...)` 或 `:global` 关闭选择器 and/or 规则。 +默认情况下,这将启用局部作用域 CSS。(你可以使用 `:global(...)` 或 `:global` 关闭选择器 and/or 规则。 #### `Scope` @@ -242,7 +242,7 @@ file.png => ./file.png } ``` -您还可以通过自定义 `getLocalIdent` 函数来指定绝对路径,以根据不同的模式(schema)生成类名。这需要 `webpack >= 2.2.1`(`options` 对象支持传入函数)。 +你还可以通过自定义 `getLocalIdent` 函数来指定绝对路径,以根据不同的模式(schema)生成类名。这需要 `webpack >= 2.2.1`(`options` 对象支持传入函数)。 **webpack.config.js** ```js @@ -349,7 +349,7 @@ exports.locals = { 例如 extract-text-webpack-plugin 能够处理它们。 -默认情况下不启用它们,因为它们会导致运行时的额外开销,并增加了 bundle 大小 (JS source map 不会)。此外,相对路径是错误的,您需要使用包含服务器 URL 的绝对公用路径。 +默认情况下不启用它们,因为它们会导致运行时的额外开销,并增加了 bundle 大小 (JS source map 不会)。此外,相对路径是错误的,你需要使用包含服务器 URL 的绝对公用路径。 **webpack.config.js** ```js diff --git a/src/content/loaders/expose-loader.md b/src/content/loaders/expose-loader.md index 605a977f09c6..8db2fcf7e9c7 100644 --- a/src/content/loaders/expose-loader.md +++ b/src/content/loaders/expose-loader.md @@ -54,7 +54,7 @@ module: { ``` 除了暴露为 `window. $` 之外,假设你还想把它暴露为 `window.jQuery`。 -对于多个暴露,您可以在 loader 字符串中使用 `!`: +对于多个暴露,你可以在 loader 字符串中使用 `!`: webpack v1 用法 ```js diff --git a/src/content/loaders/html-loader.md b/src/content/loaders/html-loader.md index c803ccb94b8d..067983aae87d 100644 --- a/src/content/loaders/html-loader.md +++ b/src/content/loaders/html-loader.md @@ -14,9 +14,9 @@ npm i -D html-loader ## 用法 -默认情况下,每个本地的 `` 都需要通过 require (`require('./image.png')`)来进行加载。您可能需要在配置中为图片指定 loader(推荐 `file-loader` 或 `url-loader` ) +默认情况下,每个本地的 `` 都需要通过 require (`require('./image.png')`)来进行加载。你可能需要在配置中为图片指定 loader(推荐 `file-loader` 或 `url-loader` ) -您可以通过查询参数 `attrs`,来指定哪个标签属性组合(tag-attribute combination)应该被此 loader 处理。传递数组或以空格分隔的 `:` 组合的列表。(默认值:`attrs=img:src`) +你可以通过查询参数 `attrs`,来指定哪个标签属性组合(tag-attribute combination)应该被此 loader 处理。传递数组或以空格分隔的 `:` 组合的列表。(默认值:`attrs=img:src`) If you use ``, and lots of them make use of a `custom-src` attribute, you don't have to specify each combination `:`: just specify an empty tag like `attrs=:custom-src` and it will match every element. @@ -165,7 +165,7 @@ require("html-loader?root=.!./file.html"); ### 插值 -您可以使用 `interpolate` 标记,为 ES6 模板字符串启用插值语法,就像这样: +你可以使用 `interpolate` 标记,为 ES6 模板字符串启用插值语法,就像这样: ```js require("html-loader?interpolate!./file.html"); diff --git a/src/content/loaders/json-loader.md b/src/content/loaders/json-loader.md index a22f358912f2..c6b461283b35 100644 --- a/src/content/loaders/json-loader.md +++ b/src/content/loaders/json-loader.md @@ -12,7 +12,7 @@ repo: https://github.com/webpack-contrib/json-loader npm install --save-dev json-loader ``` -> ⚠️ **注意:由于 `webpack >= v2.0.0` 默认支持导入 JSON 文件。如果您使用自定义文件扩展名,您可能仍然需要使用此 loader。See the [v1.0.0 -> v2.0.0 Migration Guide](https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore) for more information** +> ⚠️ **注意:由于 `webpack >= v2.0.0` 默认支持导入 JSON 文件。如果你使用自定义文件扩展名,你可能仍然需要使用此 loader。See the [v1.0.0 -> v2.0.0 Migration Guide](https://webpack.js.org/guides/migrating/#json-loader-is-not-required-anymore) for more information** ## 用法 diff --git a/src/content/loaders/less-loader.md b/src/content/loaders/less-loader.md index 48e5ed767e98..4c49106cff78 100644 --- a/src/content/loaders/less-loader.md +++ b/src/content/loaders/less-loader.md @@ -122,7 +122,7 @@ webpack 提供了一种[解析文件的高级机制](https://webpack.js.org/conf ##### Non-Less imports -使用 webpack resolver,您可以引入任何文件类型。您只需要一个导出有效的 Less 代码的 loader。通常,您还需要设置 `issuer` 条件,以确保此规则仅适用于 Less 文件的导入: +使用 webpack resolver,你可以引入任何文件类型。你只需要一个导出有效的 Less 代码的 loader。通常,你还需要设置 `issuer` 条件,以确保此规则仅适用于 Less 文件的导入: ```js // webpack.config.js @@ -227,7 +227,7 @@ module.exports = { Also checkout the [sourceMaps example](https://github.com/webpack-contrib/less-loader/tree/master/examples/sourceMaps). -如果您要编辑 Chrome 中的原始 Less 文件,[这里有一个很好的博客文章](https://medium.com/@toolmantim/getting-started-with-css-sourcemaps-and-in-browser-sass-editing-b4daab987fb0)。此博客文章是关于 Sass 的,但它也适用于 Less。 +如果你要编辑 Chrome 中的原始 Less 文件,[这里有一个很好的博客文章](https://medium.com/@toolmantim/getting-started-with-css-sourcemaps-and-in-browser-sass-editing-b4daab987fb0)。此博客文章是关于 Sass 的,但它也适用于 Less。 ### CSS modules gotcha diff --git a/src/content/loaders/react-proxy-loader.md b/src/content/loaders/react-proxy-loader.md index 9b575e36f6c0..9496bbf60523 100644 --- a/src/content/loaders/react-proxy-loader.md +++ b/src/content/loaders/react-proxy-loader.md @@ -21,7 +21,7 @@ var Component = require("react-proxy-loader!./Component"); var ComponentProxyMixin = require("react-proxy-loader!./Component").Mixin; // => 返回代理组件的 mixin -// (这允许您为 proxy 的加载状态设置渲染) +// (这允许你为 proxy 的加载状态设置渲染) var ComponentProxy = React.createClass({ mixins: [ComponentProxyMixin], renderUnavailable: function() { @@ -56,7 +56,7 @@ module.exports = { ## -您可以使用 `name` 查询参数为该 chunk 提供名称: +你可以使用 `name` 查询参数为该 chunk 提供名称: ``` js var Component = require("react-proxy-loader?name=chunkName!./Component"); diff --git a/src/content/loaders/style-loader.md b/src/content/loaders/style-loader.md index 55fe8217e3e5..f827774ad5a0 100644 --- a/src/content/loaders/style-loader.md +++ b/src/content/loaders/style-loader.md @@ -78,7 +78,7 @@ import url from 'file.css' ``` -> :信息来源: 使用 `url` 引用的 Source map 和资源:当 style-loader 与 `{ options: { sourceMap: true } }` 选项一起使用时,CSS 模块将生成为 `Blob`,因此相对路径无法正常工作(他们将相对于 `chrome:blob` 或 `chrome:devtools`)。为了使资源保持正确的路径,必须设置 webpack 配置中的 `output.publicPath` 属性,以便生成绝对路径。或者,您可以启用上面提到的 `convertToAbsoluteUrls` 选项。 +> :信息来源: 使用 `url` 引用的 Source map 和资源:当 style-loader 与 `{ options: { sourceMap: true } }` 选项一起使用时,CSS 模块将生成为 `Blob`,因此相对路径无法正常工作(他们将相对于 `chrome:blob` 或 `chrome:devtools`)。为了使资源保持正确的路径,必须设置 webpack 配置中的 `output.publicPath` 属性,以便生成绝对路径。或者,你可以启用上面提到的 `convertToAbsoluteUrls` 选项。 ### `可选的(Useable)` @@ -327,7 +327,7 @@ A new `