summaryrefslogtreecommitdiffstats
path: root/node_modules/style-loader
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/style-loader')
-rw-r--r--node_modules/style-loader/CHANGELOG.md220
-rw-r--r--node_modules/style-loader/LICENSE20
-rw-r--r--node_modules/style-loader/README.md464
-rw-r--r--node_modules/style-loader/index.js96
-rw-r--r--node_modules/style-loader/lib/addStyleUrl.js44
-rw-r--r--node_modules/style-loader/lib/addStyles.js398
-rw-r--r--node_modules/style-loader/lib/urls.js89
-rw-r--r--node_modules/style-loader/node_modules/schema-utils/CHANGELOG.md124
-rw-r--r--node_modules/style-loader/node_modules/schema-utils/LICENSE20
-rw-r--r--node_modules/style-loader/node_modules/schema-utils/README.md130
-rw-r--r--node_modules/style-loader/node_modules/schema-utils/package.json73
-rw-r--r--node_modules/style-loader/node_modules/schema-utils/src/ValidationError.js25
-rw-r--r--node_modules/style-loader/node_modules/schema-utils/src/index.js9
-rw-r--r--node_modules/style-loader/node_modules/schema-utils/src/validateOptions.js37
-rw-r--r--node_modules/style-loader/options.json37
-rw-r--r--node_modules/style-loader/package.json80
-rw-r--r--node_modules/style-loader/url.js39
-rw-r--r--node_modules/style-loader/useable.js72
18 files changed, 0 insertions, 1977 deletions
diff --git a/node_modules/style-loader/CHANGELOG.md b/node_modules/style-loader/CHANGELOG.md
deleted file mode 100644
index 0a702f0..0000000
--- a/node_modules/style-loader/CHANGELOG.md
+++ /dev/null
@@ -1,220 +0,0 @@
-# Change Log
-
-All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
-
-<a name="0.22.1"></a>
-## [0.22.1](https://github.com/webpack-contrib/style-loader/compare/v0.22.0...v0.22.1) (2018-08-08)
-
-
-### Bug Fixes
-
-* **addStyles:** use `var` instead of `const` (IE fix) ([#338](https://github.com/webpack-contrib/style-loader/issues/338)) ([1ca12ab](https://github.com/webpack-contrib/style-loader/commit/1ca12ab))
-
-
-
-<a name="0.22.0"></a>
-# [0.22.0](https://github.com/webpack-contrib/style-loader/compare/v0.21.0...v0.22.0) (2018-08-07)
-
-
-### Bug Fixes
-
-* insertInto and insertAt collaboration ([#325](https://github.com/webpack-contrib/style-loader/issues/325)) ([c7d8fec](https://github.com/webpack-contrib/style-loader/commit/c7d8fec))
-
-
-### Features
-
-* add support for __webpack_nonce__ ([#319](https://github.com/webpack-contrib/style-loader/issues/319)) ([fc24512](https://github.com/webpack-contrib/style-loader/commit/fc24512))
-
-
-
-<a name="0.21.0"></a>
-# [0.21.0](https://github.com/webpack-contrib/style-loader/compare/v0.20.3...v0.21.0) (2018-04-18)
-
-
-### Features
-
-* enable tag type configuration ([#316](https://github.com/webpack-contrib/style-loader/issues/316)) ([892cba5](https://github.com/webpack-contrib/style-loader/commit/892cba5))
-
-
-
-<a name="0.20.3"></a>
-## [0.20.3](https://github.com/webpack-contrib/style-loader/compare/v0.20.2...v0.20.3) (2018-03-09)
-
-
-### Bug Fixes
-
-* **package:** update `schema-utils` v0.4.3...0.4.5 (`dependencies`) ([#308](https://github.com/webpack-contrib/style-loader/issues/308)) ([9455888](https://github.com/webpack-contrib/style-loader/commit/9455888))
-
-
-
-<a name="0.20.2"></a>
-## [0.20.2](https://github.com/webpack-contrib/style-loader/compare/v0.20.1...v0.20.2) (2018-02-15)
-
-
-### Bug Fixes
-
-* **urls:** skip empty `url()` handling ([#304](https://github.com/webpack-contrib/style-loader/issues/304)) ([64f12dc](https://github.com/webpack-contrib/style-loader/commit/64f12dc))
-
-
-
-<a name="0.20.1"></a>
-## [0.20.1](https://github.com/webpack-contrib/style-loader/compare/v0.20.0...v0.20.1) (2018-01-26)
-
-
-### Bug Fixes
-
-* **index:** source code indentation ([#299](https://github.com/webpack-contrib/style-loader/issues/299)) ([b4642e7](https://github.com/webpack-contrib/style-loader/commit/b4642e7))
-
-
-
-<a name="0.20.0"></a>
-# [0.20.0](https://github.com/webpack-contrib/style-loader/compare/v0.19.1...v0.20.0) (2018-01-26)
-
-
-### Bug Fixes
-
-* **addStyles:** check if `HTMLIFrameElement` exist ([#296](https://github.com/webpack-contrib/style-loader/issues/296)) ([9b46128](https://github.com/webpack-contrib/style-loader/commit/9b46128))
-* **index:** enable HMR in case `locals` (`css-modules`) are unchanged ([#298](https://github.com/webpack-contrib/style-loader/issues/298)) ([3a4cb53](https://github.com/webpack-contrib/style-loader/commit/3a4cb53))
-* **options:** add `transform` option validation (`{String}`) ([23c3567](https://github.com/webpack-contrib/style-loader/commit/23c3567))
-* **options:** support passing a `{Function}` (`options.insertInto`) ([e0c4b19](https://github.com/webpack-contrib/style-loader/commit/e0c4b19))
-
-
-### Features
-
-* support passing a `{Function}` (`options.insertInto`) ([#279](https://github.com/webpack-contrib/style-loader/issues/279)) ([0eb8fe7](https://github.com/webpack-contrib/style-loader/commit/0eb8fe7))
-
-
-
-<a name="0.19.1"></a>
-## [0.19.1](https://github.com/webpack/style-loader/compare/v0.19.0...v0.19.1) (2017-12-14)
-
-
-### Bug Fixes
-
-* **addStyles:** correctly check `singleton` behavior when `{Boolean}` (`options.singleton`) ([#285](https://github.com/webpack/style-loader/issues/285)) ([2bfc93e](https://github.com/webpack/style-loader/commit/2bfc93e))
-
-
-
-<a name="0.19.0"></a>
-# [0.19.0](https://github.com/webpack/style-loader/compare/v0.18.2...v0.19.0) (2017-10-03)
-
-
-### Features
-
-* add option to enable/disable HMR (`options.hmr`) ([#264](https://github.com/webpack/style-loader/issues/264)) ([378e906](https://github.com/webpack/style-loader/commit/378e906))
-* add support for iframes (`options.insertInto`) ([#248](https://github.com/webpack/style-loader/issues/248)) ([25e8e89](https://github.com/webpack/style-loader/commit/25e8e89))
-* support 'before' insertions (`options.insertAt`) ([#253](https://github.com/webpack/style-loader/issues/253)) ([67120f8](https://github.com/webpack/style-loader/commit/67120f8))
-
-
-
-<a name="0.18.2"></a>
-## [0.18.2](https://github.com/webpack/style-loader/compare/v0.18.1...v0.18.2) (2017-06-05)
-
-
-### Bug Fixes
-
-* **url:** use `loaderUtils.stringifyRequest` to avoid invalidating hashes due to absolute paths ([#242](https://github.com/webpack/style-loader/issues/242)) ([97508ec](https://github.com/webpack/style-loader/commit/97508ec))
-* Add `null` check to `removeStyleElement` ([#245](https://github.com/webpack/style-loader/issues/245)) ([0a4845c](https://github.com/webpack/style-loader/commit/0a4845c))
-
-
-
-<a name="0.18.1"></a>
-## [0.18.1](https://github.com/webpack/style-loader/compare/v0.18.0...v0.18.1) (2017-05-23)
-
-
-### Bug Fixes
-
-* **addStyles:** revert merged loops ([#236](https://github.com/webpack/style-loader/issues/236)) ([fbd04b1](https://github.com/webpack/style-loader/commit/fbd04b1))
-
-
-
-<a name="0.18.0"></a>
-# [0.18.0](https://github.com/webpack/style-loader/compare/v0.17.0...v0.18.0) (2017-05-22)
-
-
-### Bug Fixes
-
-* stringify the options.transform request ([#230](https://github.com/webpack/style-loader/issues/230)) ([5888095](https://github.com/webpack/style-loader/commit/5888095))
-
-
-### Features
-
-* add options validation ([#224](https://github.com/webpack/style-loader/issues/224)) ([4b6b70d](https://github.com/webpack/style-loader/commit/4b6b70d))
-
-
-
-<a name="0.17.0"></a>
-# [0.17.0](https://github.com/webpack/style-loader/compare/v0.16.1...v0.17.0) (2017-05-01)
-
-
-### Features
-
-* add option.base ([#164](https://github.com/webpack/style-loader/issues/164)) ([e4ac886](https://github.com/webpack/style-loader/commit/e4ac886))
-* add option.transform ([#146](https://github.com/webpack/style-loader/issues/146)) ([1c3943f](https://github.com/webpack/style-loader/commit/1c3943f))
-
-
-
-<a name="0.16.1"></a>
-## [0.16.1](https://github.com/webpack/style-loader/compare/v0.16.0...v0.16.1) (2017-03-28)
-
-
-### Bug Fixes
-
-* negative refs ([#122](https://github.com/webpack/style-loader/issues/122)) ([f6f577a](https://github.com/webpack/style-loader/commit/f6f577a))
-
-
-
-<a name="0.16.0"></a>
-# [0.16.0](https://github.com/webpack/style-loader/compare/v0.15.0...v0.16.0) (2017-03-22)
-
-
-### Bug Fixes
-
-* **addStyles:** update for test for old IE versions ([#196](https://github.com/webpack/style-loader/issues/196)) ([1f68495](https://github.com/webpack/style-loader/commit/1f68495))
-
-
-### Features
-
-* Set custom attributes for tag in url mode ([#198](https://github.com/webpack/style-loader/issues/198)) ([2c4f427](https://github.com/webpack/style-loader/commit/2c4f427))
-
-
-
-<a name="0.15.0"></a>
-# [0.15.0](https://github.com/webpack/style-loader/compare/v0.14.1...v0.15.0) (2017-03-21)
-
-
-### Bug Fixes
-
-* match parens recursively on URLs to not fix embeded calls ([#192](https://github.com/webpack/style-loader/issues/192)) ([71e0908](https://github.com/webpack/style-loader/commit/71e0908))
-
-
-### Features
-
-* add insertInto option ([#135](https://github.com/webpack/style-loader/issues/135)) ([6636868](https://github.com/webpack/style-loader/commit/6636868))
-
-
-
-<a name="0.14.1"></a>
-## [0.14.1](https://github.com/webpack/style-loader/compare/v0.14.0...v0.14.1) (2017-03-15)
-
-
-### Bug Fixes
-
-* syntax error in IE10 and below because of `const` keyword ([#190](https://github.com/webpack/style-loader/issues/190)) ([01080cf](https://github.com/webpack/style-loader/commit/01080cf))
-
-
-
-<a name="0.14.0"></a>
-# [0.14.0](https://github.com/webpack/style-loader/compare/v0.13.1...v0.14.0) (2017-03-15)
-
-
-### Bug Fixes
-
-* Adds type attr. to the generated link element ([2a2f261](https://github.com/webpack/style-loader/commit/2a2f261))
-* **fixUrls:** add param to fix relative urls ([#186](https://github.com/webpack/style-loader/issues/186)) ([19959ee](https://github.com/webpack/style-loader/commit/19959ee))
-* **usable:** Export locals if available([#128](https://github.com/webpack/style-loader/issues/128)) ([e280cb6](https://github.com/webpack/style-loader/commit/e280cb6))
-
-
-### Features
-
-* **tag-attribute:** Add support for custom tag attribute ([995f3de](https://github.com/webpack/style-loader/commit/995f3de))
diff --git a/node_modules/style-loader/LICENSE b/node_modules/style-loader/LICENSE
deleted file mode 100644
index 8c11fc7..0000000
--- a/node_modules/style-loader/LICENSE
+++ /dev/null
@@ -1,20 +0,0 @@
-Copyright JS Foundation and other contributors
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/style-loader/README.md b/node_modules/style-loader/README.md
deleted file mode 100644
index b472517..0000000
--- a/node_modules/style-loader/README.md
+++ /dev/null
@@ -1,464 +0,0 @@
-[![npm][npm]][npm-url]
-[![node][node]][node-url]
-[![deps][deps]][deps-url]
-[![chat][chat]][chat-url]
-
-<div align="center">
- <a href="https://github.com/webpack/webpack">
- <img width="200" height="200"
- src="https://webpack.js.org/assets/icon-square-big.svg">
- </a>
- <h1>Style Loader</h1>
- <p>Adds CSS to the DOM by injecting a <code>&lt;style&gt;</code> tag</p>
-</div>
-
-<h2 align="center">Install</h2>
-
-```bash
-npm install style-loader --save-dev
-```
-
-<h2 align="center"><a href="https://webpack.js.org/concepts/loaders">Usage</a></h2>
-
-It's recommended to combine `style-loader` with the [`css-loader`](https://github.com/webpack/css-loader)
-
-**component.js**
-```js
-import style from './file.css'
-```
-
-**webpack.config.js**
-```js
-{
- module: {
- rules: [
- {
- test: /\.css$/,
- use: [
- { loader: "style-loader" },
- { loader: "css-loader" }
- ]
- }
- ]
- }
-}
-```
-
-#### `Locals (CSS Modules)`
-
-When using [local scoped CSS](https://github.com/webpack/css-loader#css-scope) the module exports the generated identifiers (locals).
-
-**component.js**
-```js
-import style from './file.css'
-
-style.className === "z849f98ca812"
-```
-
-### `Url`
-
-It's also possible to add a URL `<link href="path/to/file.css" rel="stylesheet">` instead of inlining the CSS `{String}` with `<style></style>` tag.
-
-```js
-import url from 'file.css'
-```
-
-**webpack.config.js**
-```js
-{
- module: {
- rules: [
- {
- test: /\.css$/,
- use: [
- { loader: "style-loader/url" },
- { loader: "file-loader" }
- ]
- }
- ]
- }
-}
-```
-
-```html
-<link rel="stylesheet" href="path/to/file.css">
-```
-
-> :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`
-
-The `style-loader` injects the styles lazily making them useable on-demand via `style.use()` / `style.unuse()`
-
-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.
-
-<h2 align="center">Options</h2>
-
-|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 `<style></style>`|
-|**`transform`** |`{Function}`|`false`|Transform/Conditionally load CSS by passing a transform/condition function|
-|**`insertAt`**|`{String\|Object}`|`bottom`|Inserts `<style></style>` at the given position|
-|**`insertInto`**|`{String\|Function}`|`<head>`|Inserts `<style></style>` into the given position|
-|**`singleton`**|`{Boolean}`|`undefined`|Reuses a single `<style></style>` element, instead of adding/removing individual elements for each required module.|
-|**`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 `<style>` / `<link>` element.
-
-**component.js**
-```js
-import style from './file.css'
-```
-
-**webpack.config.js**
-```js
-{
- test: /\.css$/,
- use: [
- { loader: 'style-loader', options: { attrs: { id: 'id' } } }
- { loader: 'css-loader' }
- ]
-}
-```
-
-```html
-<style id="id"></style>
-```
-
-#### `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 `<style>` elements to the end of the style target, which is the `<head>` tag of the page unless specified by `insertInto`. This will cause CSS created by the loader to take priority over CSS already present in the target. To insert style elements at the beginning of the target, set this query parameter to 'top', e.g
-
-**webpack.config.js**
-```js
-{
- loader: 'style-loader',
- options: {
- insertAt: 'top'
- }
-}
-```
-
-A new `<style>` element can be inserted before a specific element by passing an object, e.g.
-
-**webpack.config.js**
-```js
-{
- loader: 'style-loader',
- options: {
- insertAt: {
- before: '#id'
- }
- }
-}
-```
-
-### `insertInto`
-By default, the style-loader inserts the `<style>` elements into the `<head>` tag of the page. If you want the tags to be inserted somewhere else you can specify a CSS selector for that element here. If you target an [IFrame](https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement) make sure you have sufficient access rights, the styles will be injected into the content document head.
-
-You can also pass function to override default behavior and insert styles in your container, e.g
-
-**webpack.config.js**
-```js
-{
- loader: 'style-loader',
- options: {
- insertInto: () => document.querySelector("#root"),
- }
-}
-```
-
-Using function you can insert the styles into a [ShadowRoot](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot), e.g
-
-**webpack.config.js**
-```js
-{
- loader: 'style-loader',
- options: {
- insertInto: () => document.querySelector("#root").shadowRoot,
- }
-}
-```
-
-### `singleton`
-
-If defined, the style-loader will reuse a single `<style></style>` element, instead of adding/removing individual elements for each required module.
-
-> ℹ️ This option is on by default in IE9, which has strict limitations on the number of style tags allowed on a page. You can enable or disable it with the singleton option.
-
-**webpack.config.js**
-```js
-{
- loader: 'style-loader',
- options: {
- singleton: true
- }
-}
-```
-
-### `sourceMap`
-
-Enable/Disable source map loading
-
-**webpack.config.js**
-```js
-{
- loader: 'style-loader',
- options: {
- sourceMap: true
- }
-}
-```
-
-### `convertToAbsoluteUrls`
-
-If convertToAbsoluteUrls and sourceMaps are both enabled, relative urls will be converted to absolute urls right before the css is injected into the page. This resolves [an issue](https://github.com/webpack/style-loader/pull/96) where relative resources fail to load when source maps are enabled. You can enable it with the convertToAbsoluteUrls option.
-
-**webpack.config.js**
-```js
-{
- loader: 'style-loader',
- options: {
- sourceMap: true,
- convertToAbsoluteUrls: true
- }
-}
-```
-
-<h2 align="center">Maintainers</h2>
-
-<table>
- <tbody>
- <tr>
- <td align="center">
- <a href="https://github.com/bebraw">
- <img width="150" height="150" src="https://github.com/bebraw.png?v=3&s=150">
- </br>
- Juho Vepsäläinen
- </a>
- </td>
- <td align="center">
- <a href="https://github.com/d3viant0ne">
- <img width="150" height="150" src="https://github.com/d3viant0ne.png?v=3&s=150">
- </br>
- Joshua Wiens
- </a>
- </td>
- <td align="center">
- <a href="https://github.com/sapegin">
- <img width="150" height="150" src="https://github.com/sapegin.png?v=3&s=150">
- </br>
- Artem Sapegin
- </a>
- </td>
- <td align="center">
- <a href="https://github.com/michael-ciniawsky">
- <img width="150" height="150" src="https://github.com/michael-ciniawsky.png?v=3&s=150">
- </br>
- Michael Ciniawsky
- </a>
- </td>
- <td align="center">
- <a href="https://github.com/evilebottnawi">
- <img width="150" height="150" src="https://github.com/evilebottnawi.png?v=3&s=150">
- </br>
- Alexander Krasnoyarov
- </a>
- </td>
- </tr>
- <tr>
- <td align="center">
- <a href="https://github.com/sokra">
- <img width="150" height="150" src="https://github.com/sokra.png?v=3&s=150">
- </br>
- Tobias Koppers
- </a>
- </td>
- <td align="center">
- <a href="https://github.com/SpaceK33z">
- <img width="150" height="150" src="https://github.com/SpaceK33z.png?v=3&s=150">
- </br>
- Kees Kluskens
- </a>
- </td>
- <tr>
- <tbody>
-</table>
-
-
-[npm]: https://img.shields.io/npm/v/style-loader.svg
-[npm-url]: https://npmjs.com/package/style-loader
-
-[node]: https://img.shields.io/node/v/style-loader.svg
-[node-url]: https://nodejs.org
-
-[deps]: https://david-dm.org/webpack/style-loader.svg
-[deps-url]: https://david-dm.org/webpack/file-loader
-
-[chat]: https://badges.gitter.im/webpack/webpack.svg
-[chat-url]: https://gitter.im/webpack/webpack
diff --git a/node_modules/style-loader/index.js b/node_modules/style-loader/index.js
deleted file mode 100644
index 7474e59..0000000
--- a/node_modules/style-loader/index.js
+++ /dev/null
@@ -1,96 +0,0 @@
-/*
- MIT License http://www.opensource.org/licenses/mit-license.php
- Author Tobias Koppers @sokra
-*/
-var path = require("path");
-
-var loaderUtils = require("loader-utils");
-var validateOptions = require('schema-utils');
-
-module.exports = function () {};
-
-module.exports.pitch = function (request) {
- if (this.cacheable) this.cacheable();
-
- var options = loaderUtils.getOptions(this) || {};
-
- validateOptions(require('./options.json'), options, 'Style Loader')
-
- options.hmr = typeof options.hmr === 'undefined' ? true : options.hmr;
-
- // The variable is needed, because the function should be inlined.
- // If is just stored it in options, JSON.stringify will quote
- // the function and it would be just a string at runtime
- var insertInto;
-
- if (typeof options.insertInto === "function") {
- insertInto = options.insertInto.toString();
- }
-
- // We need to check if it a string, or variable will be "undefined"
- // and the loader crashes
- if (typeof options.insertInto === "string") {
- insertInto = '"' + options.insertInto + '"';
- }
-
- var hmr = [
- // Hot Module Replacement,
- "if(module.hot) {",
- // When the styles change, update the <style> tags
- " module.hot.accept(" + loaderUtils.stringifyRequest(this, "!!" + request) + ", function() {",
- " var newContent = require(" + loaderUtils.stringifyRequest(this, "!!" + request) + ");",
- "",
- " if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];",
- "",
- " var locals = (function(a, b) {",
- " var key, idx = 0;",
- "",
- " for(key in a) {",
- " if(!b || a[key] !== b[key]) return false;",
- " idx++;",
- " }",
- "",
- " for(key in b) idx--;",
- "",
- " return idx === 0;",
- " }(content.locals, newContent.locals));",
- "",
- // This error is caught and not shown and causes a full reload
- " if(!locals) throw new Error('Aborting CSS HMR due to changed css-modules locals.');",
- "",
- " update(newContent);",
- " });",
- "",
- // When the module is disposed, remove the <style> tags
- " module.hot.dispose(function() { update(); });",
- "}"
- ].join("\n");
-
- return [
- // Style Loader
- // Adds CSS to the DOM by adding a <style> tag
- "",
- // Load styles
- "var content = require(" + loaderUtils.stringifyRequest(this, "!!" + request) + ");",
- "",
- "if(typeof content === 'string') content = [[module.id, content, '']];",
- "",
- // Transform styles",
- "var transform;",
- "var insertInto;",
- "",
- options.transform ? "transform = require(" + loaderUtils.stringifyRequest(this, "!" + path.resolve(options.transform)) + ");" : "",
- "",
- "var options = " + JSON.stringify(options),
- "",
- "options.transform = transform",
- "options.insertInto = " + insertInto + ";",
- "",
- // Add styles to the DOM
- "var update = require(" + loaderUtils.stringifyRequest(this, "!" + path.join(__dirname, "lib", "addStyles.js")) + ")(content, options);",
- "",
- "if(content.locals) module.exports = content.locals;",
- "",
- options.hmr ? hmr : ""
- ].join("\n");
-};
diff --git a/node_modules/style-loader/lib/addStyleUrl.js b/node_modules/style-loader/lib/addStyleUrl.js
deleted file mode 100644
index 581fecb..0000000
--- a/node_modules/style-loader/lib/addStyleUrl.js
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- MIT License http://www.opensource.org/licenses/mit-license.php
- Author Tobias Koppers @sokra
-*/
-
-function addAttrs (element, attrs) {
- Object.keys(attrs).forEach(function (key) {
- element.setAttribute(key, attrs[key]);
- });
-}
-
-module.exports = function addStyleUrl (url, options) {
- if (typeof DEBUG !== "undefined" && DEBUG) {
- if (typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment");
- }
-
- options = options || {};
-
- options.attrs = typeof options.attrs === "object" ? options.attrs : {};
-
- options.hmr = typeof options.hmr === 'undefined' ? true : options.hmr;
-
- var link = document.createElement("link");
-
- link.rel = "stylesheet";
- link.type = "text/css";
- link.href = url;
-
- addAttrs(link, options.attrs);
-
- var head = document.getElementsByTagName("head")[0];
-
- head.appendChild(link);
-
- if (options.hmr && module.hot) {
- return function(url) {
- if(typeof url === "string") {
- link.href = url;
- } else {
- head.removeChild(link);
- }
- };
- }
-}
diff --git a/node_modules/style-loader/lib/addStyles.js b/node_modules/style-loader/lib/addStyles.js
deleted file mode 100644
index 077a368..0000000
--- a/node_modules/style-loader/lib/addStyles.js
+++ /dev/null
@@ -1,398 +0,0 @@
-/*
- MIT License http://www.opensource.org/licenses/mit-license.php
- Author Tobias Koppers @sokra
-*/
-
-var stylesInDom = {};
-
-var memoize = function (fn) {
- var memo;
-
- return function () {
- if (typeof memo === "undefined") memo = fn.apply(this, arguments);
- return memo;
- };
-};
-
-var isOldIE = memoize(function () {
- // Test for IE <= 9 as proposed by Browserhacks
- // @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805
- // Tests for existence of standard globals is to allow style-loader
- // to operate correctly into non-standard environments
- // @see https://github.com/webpack-contrib/style-loader/issues/177
- return window && document && document.all && !window.atob;
-});
-
-var getTarget = function (target, parent) {
- if (parent){
- return parent.querySelector(target);
- }
- return document.querySelector(target);
-};
-
-var getElement = (function (fn) {
- var memo = {};
-
- return function(target, parent) {
- // If passing function in options, then use it for resolve "head" element.
- // Useful for Shadow Root style i.e
- // {
- // insertInto: function () { return document.querySelector("#foo").shadowRoot }
- // }
- if (typeof target === 'function') {
- return target();
- }
- if (typeof memo[target] === "undefined") {
- var styleTarget = getTarget.call(this, target, parent);
- // Special case to return head of iframe instead of iframe itself
- if (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {
- try {
- // This will throw an exception if access to iframe is blocked
- // due to cross-origin restrictions
- styleTarget = styleTarget.contentDocument.head;
- } catch(e) {
- styleTarget = null;
- }
- }
- memo[target] = styleTarget;
- }
- return memo[target]
- };
-})();
-
-var singleton = null;
-var singletonCounter = 0;
-var stylesInsertedAtTop = [];
-
-var fixUrls = require("./urls");
-
-module.exports = function(list, options) {
- if (typeof DEBUG !== "undefined" && DEBUG) {
- if (typeof document !== "object") throw new Error("The style-loader cannot be used in a non-browser environment");
- }
-
- options = options || {};
-
- options.attrs = typeof options.attrs === "object" ? options.attrs : {};
-
- // Force single-tag solution on IE6-9, which has a hard limit on the # of <style>
- // tags it will allow on a page
- if (!options.singleton && typeof options.singleton !== "boolean") options.singleton = isOldIE();
-
- // By default, add <style> tags to the <head> element
- if (!options.insertInto) options.insertInto = "head";
-
- // By default, add <style> tags to the bottom of the target
- if (!options.insertAt) options.insertAt = "bottom";
-
- var styles = listToStyles(list, options);
-
- addStylesToDom(styles, options);
-
- return function update (newList) {
- var mayRemove = [];
-
- for (var i = 0; i < styles.length; i++) {
- var item = styles[i];
- var domStyle = stylesInDom[item.id];
-
- domStyle.refs--;
- mayRemove.push(domStyle);
- }
-
- if(newList) {
- var newStyles = listToStyles(newList, options);
- addStylesToDom(newStyles, options);
- }
-
- for (var i = 0; i < mayRemove.length; i++) {
- var domStyle = mayRemove[i];
-
- if(domStyle.refs === 0) {
- for (var j = 0; j < domStyle.parts.length; j++) domStyle.parts[j]();
-
- delete stylesInDom[domStyle.id];
- }
- }
- };
-};
-
-function addStylesToDom (styles, options) {
- for (var i = 0; i < styles.length; i++) {
- var item = styles[i];
- var domStyle = stylesInDom[item.id];
-
- if(domStyle) {
- domStyle.refs++;
-
- for(var j = 0; j < domStyle.parts.length; j++) {
- domStyle.parts[j](item.parts[j]);
- }
-
- for(; j < item.parts.length; j++) {
- domStyle.parts.push(addStyle(item.parts[j], options));
- }
- } else {
- var parts = [];
-
- for(var j = 0; j < item.parts.length; j++) {
- parts.push(addStyle(item.parts[j], options));
- }
-
- stylesInDom[item.id] = {id: item.id, refs: 1, parts: parts};
- }
- }
-}
-
-function listToStyles (list, options) {
- var styles = [];
- var newStyles = {};
-
- for (var i = 0; i < list.length; i++) {
- var item = list[i];
- var id = options.base ? item[0] + options.base : item[0];
- var css = item[1];
- var media = item[2];
- var sourceMap = item[3];
- var part = {css: css, media: media, sourceMap: sourceMap};
-
- if(!newStyles[id]) styles.push(newStyles[id] = {id: id, parts: [part]});
- else newStyles[id].parts.push(part);
- }
-
- return styles;
-}
-
-function insertStyleElement (options, style) {
- var target = getElement(options.insertInto)
-
- if (!target) {
- throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");
- }
-
- var lastStyleElementInsertedAtTop = stylesInsertedAtTop[stylesInsertedAtTop.length - 1];
-
- if (options.insertAt === "top") {
- if (!lastStyleElementInsertedAtTop) {
- target.insertBefore(style, target.firstChild);
- } else if (lastStyleElementInsertedAtTop.nextSibling) {
- target.insertBefore(style, lastStyleElementInsertedAtTop.nextSibling);
- } else {
- target.appendChild(style);
- }
- stylesInsertedAtTop.push(style);
- } else if (options.insertAt === "bottom") {
- target.appendChild(style);
- } else if (typeof options.insertAt === "object" && options.insertAt.before) {
- var nextSibling = getElement(options.insertAt.before, target);
- target.insertBefore(style, nextSibling);
- } else {
- throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");
- }
-}
-
-function removeStyleElement (style) {
- if (style.parentNode === null) return false;
- style.parentNode.removeChild(style);
-
- var idx = stylesInsertedAtTop.indexOf(style);
- if(idx >= 0) {
- stylesInsertedAtTop.splice(idx, 1);
- }
-}
-
-function createStyleElement (options) {
- var style = document.createElement("style");
-
- if(options.attrs.type === undefined) {
- options.attrs.type = "text/css";
- }
-
- if(options.attrs.nonce === undefined) {
- var nonce = getNonce();
- if (nonce) {
- options.attrs.nonce = nonce;
- }
- }
-
- addAttrs(style, options.attrs);
- insertStyleElement(options, style);
-
- return style;
-}
-
-function createLinkElement (options) {
- var link = document.createElement("link");
-
- if(options.attrs.type === undefined) {
- options.attrs.type = "text/css";
- }
- options.attrs.rel = "stylesheet";
-
- addAttrs(link, options.attrs);
- insertStyleElement(options, link);
-
- return link;
-}
-
-function addAttrs (el, attrs) {
- Object.keys(attrs).forEach(function (key) {
- el.setAttribute(key, attrs[key]);
- });
-}
-
-function getNonce() {
- if (typeof __webpack_nonce__ === 'undefined') {
- return null;
- }
-
- return __webpack_nonce__;
-}
-
-function addStyle (obj, options) {
- var style, update, remove, result;
-
- // If a transform function was defined, run it on the css
- if (options.transform && obj.css) {
- result = options.transform(obj.css);
-
- if (result) {
- // If transform returns a value, use that instead of the original css.
- // This allows running runtime transformations on the css.
- obj.css = result;
- } else {
- // If the transform function returns a falsy value, don't add this css.
- // This allows conditional loading of css
- return function() {
- // noop
- };
- }
- }
-
- if (options.singleton) {
- var styleIndex = singletonCounter++;
-
- style = singleton || (singleton = createStyleElement(options));
-
- update = applyToSingletonTag.bind(null, style, styleIndex, false);
- remove = applyToSingletonTag.bind(null, style, styleIndex, true);
-
- } else if (
- obj.sourceMap &&
- typeof URL === "function" &&
- typeof URL.createObjectURL === "function" &&
- typeof URL.revokeObjectURL === "function" &&
- typeof Blob === "function" &&
- typeof btoa === "function"
- ) {
- style = createLinkElement(options);
- update = updateLink.bind(null, style, options);
- remove = function () {
- removeStyleElement(style);
-
- if(style.href) URL.revokeObjectURL(style.href);
- };
- } else {
- style = createStyleElement(options);
- update = applyToTag.bind(null, style);
- remove = function () {
- removeStyleElement(style);
- };
- }
-
- update(obj);
-
- return function updateStyle (newObj) {
- if (newObj) {
- if (
- newObj.css === obj.css &&
- newObj.media === obj.media &&
- newObj.sourceMap === obj.sourceMap
- ) {
- return;
- }
-
- update(obj = newObj);
- } else {
- remove();
- }
- };
-}
-
-var replaceText = (function () {
- var textStore = [];
-
- return function (index, replacement) {
- textStore[index] = replacement;
-
- return textStore.filter(Boolean).join('\n');
- };
-})();
-
-function applyToSingletonTag (style, index, remove, obj) {
- var css = remove ? "" : obj.css;
-
- if (style.styleSheet) {
- style.styleSheet.cssText = replaceText(index, css);
- } else {
- var cssNode = document.createTextNode(css);
- var childNodes = style.childNodes;
-
- if (childNodes[index]) style.removeChild(childNodes[index]);
-
- if (childNodes.length) {
- style.insertBefore(cssNode, childNodes[index]);
- } else {
- style.appendChild(cssNode);
- }
- }
-}
-
-function applyToTag (style, obj) {
- var css = obj.css;
- var media = obj.media;
-
- if(media) {
- style.setAttribute("media", media)
- }
-
- if(style.styleSheet) {
- style.styleSheet.cssText = css;
- } else {
- while(style.firstChild) {
- style.removeChild(style.firstChild);
- }
-
- style.appendChild(document.createTextNode(css));
- }
-}
-
-function updateLink (link, options, obj) {
- var css = obj.css;
- var sourceMap = obj.sourceMap;
-
- /*
- If convertToAbsoluteUrls isn't defined, but sourcemaps are enabled
- and there is no publicPath defined then lets turn convertToAbsoluteUrls
- on by default. Otherwise default to the convertToAbsoluteUrls option
- directly
- */
- var autoFixUrls = options.convertToAbsoluteUrls === undefined && sourceMap;
-
- if (options.convertToAbsoluteUrls || autoFixUrls) {
- css = fixUrls(css);
- }
-
- if (sourceMap) {
- // http://stackoverflow.com/a/26603875
- css += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))) + " */";
- }
-
- var blob = new Blob([css], { type: "text/css" });
-
- var oldSrc = link.href;
-
- link.href = URL.createObjectURL(blob);
-
- if(oldSrc) URL.revokeObjectURL(oldSrc);
-}
diff --git a/node_modules/style-loader/lib/urls.js b/node_modules/style-loader/lib/urls.js
deleted file mode 100644
index a2259ab..0000000
--- a/node_modules/style-loader/lib/urls.js
+++ /dev/null
@@ -1,89 +0,0 @@
-
-/**
- * When source maps are enabled, `style-loader` uses a link element with a data-uri to
- * embed the css on the page. This breaks all relative urls because now they are relative to a
- * bundle instead of the current page.
- *
- * One solution is to only use full urls, but that may be impossible.
- *
- * Instead, this function "fixes" the relative urls to be absolute according to the current page location.
- *
- * A rudimentary test suite is located at `test/fixUrls.js` and can be run via the `npm test` command.
- *
- */
-
-module.exports = function (css) {
- // get current location
- var location = typeof window !== "undefined" && window.location;
-
- if (!location) {
- throw new Error("fixUrls requires window.location");
- }
-
- // blank or null?
- if (!css || typeof css !== "string") {
- return css;
- }
-
- var baseUrl = location.protocol + "//" + location.host;
- var currentDir = baseUrl + location.pathname.replace(/\/[^\/]*$/, "/");
-
- // convert each url(...)
- /*
- This regular expression is just a way to recursively match brackets within
- a string.
-
- /url\s*\( = Match on the word "url" with any whitespace after it and then a parens
- ( = Start a capturing group
- (?: = Start a non-capturing group
- [^)(] = Match anything that isn't a parentheses
- | = OR
- \( = Match a start parentheses
- (?: = Start another non-capturing groups
- [^)(]+ = Match anything that isn't a parentheses
- | = OR
- \( = Match a start parentheses
- [^)(]* = Match anything that isn't a parentheses
- \) = Match a end parentheses
- ) = End Group
- *\) = Match anything and then a close parens
- ) = Close non-capturing group
- * = Match anything
- ) = Close capturing group
- \) = Match a close parens
-
- /gi = Get all matches, not the first. Be case insensitive.
- */
- var fixedCss = css.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi, function(fullMatch, origUrl) {
- // strip quotes (if they exist)
- var unquotedOrigUrl = origUrl
- .trim()
- .replace(/^"(.*)"$/, function(o, $1){ return $1; })
- .replace(/^'(.*)'$/, function(o, $1){ return $1; });
-
- // already a full url? no change
- if (/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(unquotedOrigUrl)) {
- return fullMatch;
- }
-
- // convert the url to a full url
- var newUrl;
-
- if (unquotedOrigUrl.indexOf("//") === 0) {
- //TODO: should we add protocol?
- newUrl = unquotedOrigUrl;
- } else if (unquotedOrigUrl.indexOf("/") === 0) {
- // path should be relative to the base url
- newUrl = baseUrl + unquotedOrigUrl; // already starts with '/'
- } else {
- // path should be relative to current directory
- newUrl = currentDir + unquotedOrigUrl.replace(/^\.\//, ""); // Strip leading './'
- }
-
- // send back the fixed url(...)
- return "url(" + JSON.stringify(newUrl) + ")";
- });
-
- // send back the fixed css
- return fixedCss;
-};
diff --git a/node_modules/style-loader/node_modules/schema-utils/CHANGELOG.md b/node_modules/style-loader/node_modules/schema-utils/CHANGELOG.md
deleted file mode 100644
index 9c0bfd4..0000000
--- a/node_modules/style-loader/node_modules/schema-utils/CHANGELOG.md
+++ /dev/null
@@ -1,124 +0,0 @@
-# Change Log
-
-All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
-
-<a name="0.4.7"></a>
-## [0.4.7](https://github.com/webpack-contrib/schema-utils/compare/v0.4.6...v0.4.7) (2018-08-07)
-
-
-### Bug Fixes
-
-* **src:** `node >= v4.0.0` support ([#32](https://github.com/webpack-contrib/schema-utils/issues/32)) ([cb13dd4](https://github.com/webpack-contrib/schema-utils/commit/cb13dd4))
-
-
-
-<a name="0.4.6"></a>
-## [0.4.6](https://github.com/webpack-contrib/schema-utils/compare/v0.4.5...v0.4.6) (2018-08-06)
-
-
-### Bug Fixes
-
-* **package:** remove lockfile ([#28](https://github.com/webpack-contrib/schema-utils/issues/28)) ([69f1a81](https://github.com/webpack-contrib/schema-utils/commit/69f1a81))
-* **package:** remove unnecessary `webpack` dependency ([#26](https://github.com/webpack-contrib/schema-utils/issues/26)) ([532eaa5](https://github.com/webpack-contrib/schema-utils/commit/532eaa5))
-
-
-
-<a name="0.4.5"></a>
-## [0.4.5](https://github.com/webpack-contrib/schema-utils/compare/v0.4.4...v0.4.5) (2018-02-13)
-
-
-### Bug Fixes
-
-* **CHANGELOG:** update broken links ([4483b9f](https://github.com/webpack-contrib/schema-utils/commit/4483b9f))
-* **package:** update broken links ([f2494ba](https://github.com/webpack-contrib/schema-utils/commit/f2494ba))
-
-
-
-<a name="0.4.4"></a>
-## [0.4.4](https://github.com/webpack-contrib/schema-utils/compare/v0.4.3...v0.4.4) (2018-02-13)
-
-
-### Bug Fixes
-
-* **package:** update `dependencies` ([#22](https://github.com/webpack-contrib/schema-utils/issues/22)) ([3aecac6](https://github.com/webpack-contrib/schema-utils/commit/3aecac6))
-
-
-
-<a name="0.4.3"></a>
-## [0.4.3](https://github.com/webpack-contrib/schema-utils/compare/v0.4.2...v0.4.3) (2017-12-14)
-
-
-### Bug Fixes
-
-* **validateOptions:** throw `err` instead of `process.exit(1)` ([#17](https://github.com/webpack-contrib/schema-utils/issues/17)) ([c595eda](https://github.com/webpack-contrib/schema-utils/commit/c595eda))
-* **ValidationError:** never return `this` in the ctor ([#16](https://github.com/webpack-contrib/schema-utils/issues/16)) ([c723791](https://github.com/webpack-contrib/schema-utils/commit/c723791))
-
-
-
-<a name="0.4.2"></a>
-## [0.4.2](https://github.com/webpack-contrib/schema-utils/compare/v0.4.1...v0.4.2) (2017-11-09)
-
-
-### Bug Fixes
-
-* **validateOptions:** catch `ValidationError` and handle it internally ([#15](https://github.com/webpack-contrib/schema-utils/issues/15)) ([9c5ef5e](https://github.com/webpack-contrib/schema-utils/commit/9c5ef5e))
-
-
-
-<a name="0.4.1"></a>
-## [0.4.1](https://github.com/webpack-contrib/schema-utils/compare/v0.4.0...v0.4.1) (2017-11-03)
-
-
-### Bug Fixes
-
-* **ValidationError:** use `Error.captureStackTrace` for `err.stack` handling ([#14](https://github.com/webpack-contrib/schema-utils/issues/14)) ([a6fb974](https://github.com/webpack-contrib/schema-utils/commit/a6fb974))
-
-
-
-<a name="0.4.0"></a>
-# [0.4.0](https://github.com/webpack-contrib/schema-utils/compare/v0.3.0...v0.4.0) (2017-10-28)
-
-
-### Features
-
-* add support for `typeof`, `instanceof` (`{Function\|RegExp}`) ([#10](https://github.com/webpack-contrib/schema-utils/issues/10)) ([9f01816](https://github.com/webpack-contrib/schema-utils/commit/9f01816))
-
-
-
-<a name="0.3.0"></a>
-# [0.3.0](https://github.com/webpack-contrib/schema-utils/compare/v0.2.1...v0.3.0) (2017-04-29)
-
-
-### Features
-
-* add ValidationError ([#8](https://github.com/webpack-contrib/schema-utils/issues/8)) ([d48f0fb](https://github.com/webpack-contrib/schema-utils/commit/d48f0fb))
-
-
-
-<a name="0.2.1"></a>
-## [0.2.1](https://github.com/webpack-contrib/schema-utils/compare/v0.2.0...v0.2.1) (2017-03-13)
-
-
-### Bug Fixes
-
-* Include .babelrc to `files` ([28f0363](https://github.com/webpack-contrib/schema-utils/commit/28f0363))
-* Include source to `files` ([43b0f2f](https://github.com/webpack-contrib/schema-utils/commit/43b0f2f))
-
-
-
-<a name="0.2.0"></a>
-# [0.2.0](https://github.com/webpack-contrib/schema-utils/compare/v0.1.0...v0.2.0) (2017-03-12)
-
-<a name="0.1.0"></a>
-# 0.1.0 (2017-03-07)
-
-
-### Features
-
-* **validations:** add validateOptions module ([ae9b47b](https://github.com/webpack-contrib/schema-utils/commit/ae9b47b))
-
-
-
-# Change Log
-
-All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
diff --git a/node_modules/style-loader/node_modules/schema-utils/LICENSE b/node_modules/style-loader/node_modules/schema-utils/LICENSE
deleted file mode 100644
index 8c11fc7..0000000
--- a/node_modules/style-loader/node_modules/schema-utils/LICENSE
+++ /dev/null
@@ -1,20 +0,0 @@
-Copyright JS Foundation and other contributors
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/node_modules/style-loader/node_modules/schema-utils/README.md b/node_modules/style-loader/node_modules/schema-utils/README.md
deleted file mode 100644
index 2c4d996..0000000
--- a/node_modules/style-loader/node_modules/schema-utils/README.md
+++ /dev/null
@@ -1,130 +0,0 @@
-[![npm][npm]][npm-url]
-[![node][node]][node-url]
-[![deps][deps]][deps-url]
-[![test][test]][test-url]
-[![coverage][cover]][cover-url]
-[![chat][chat]][chat-url]
-
-<div align="center">
- <a href="http://json-schema.org">
- <img width="160" height="160"
- src="https://raw.githubusercontent.com/webpack-contrib/schema-utils/master/docs/logo.png">
- </a>
- <a href="https://github.com/webpack/webpack">
- <img width="200" height="200"
- src="https://webpack.js.org/assets/icon-square-big.svg">
- </a>
- <h1>Schema Utils</h1>
-</div>
-
-<h2 align="center">Install</h2>
-
-```bash
-npm i schema-utils
-```
-
-<h2 align="center">Usage</h2>
-
-### `validateOptions`
-
-**schema.json**
-```js
-{
- "type": "object",
- "properties": {
- // Options...
- },
- "additionalProperties": false
-}
-```
-
-```js
-import schema from 'path/to/schema.json'
-import validateOptions from 'schema-utils'
-
-validateOptions(schema, options, 'Loader/Plugin Name')
-```
-
-<h2 align="center">Examples</h2>
-
-**schema.json**
-```json
-{
- "type": "object",
- "properties": {
- "name": {
- "type": "string"
- },
- "test": {
- "anyOf": [
- { "type": "array" },
- { "type": "string" },
- { "instanceof": "RegExp" }
- ]
- },
- "transform": {
- "instanceof": "Function"
- },
- "sourceMap": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
-}
-```
-
-### `Loader`
-
-```js
-import { getOptions } from 'loader-utils'
-import validateOptions from 'schema-utils'
-
-import schema from 'path/to/schema.json'
-
-function loader (src, map) {
- const options = getOptions(this) || {}
-
- validateOptions(schema, options, 'Loader Name')
-
- // Code...
-}
-```
-
-### `Plugin`
-
-```js
-import validateOptions from 'schema-utils'
-
-import schema from 'path/to/schema.json'
-
-class Plugin {
- constructor (options) {
- validateOptions(schema, options, 'Plugin Name')
-
- this.options = options
- }
-
- apply (compiler) {
- // Code...
- }
-}
-```
-
-
-[npm]: https://img.shields.io/npm/v/schema-utils.svg
-[npm-url]: https://npmjs.com/package/schema-utils
-
-[node]: https://img.shields.io/node/v/schema-utils.svg
-[node-url]: https://nodejs.org
-
-[deps]: https://david-dm.org/webpack-contrib/schema-utils.svg
-[deps-url]: https://david-dm.org/webpack-contrib/schema-utils
-
-[test]: http://img.shields.io/travis/webpack-contrib/schema-utils.svg
-[test-url]: https://travis-ci.org/webpack-contrib/schema-utils
-
-[cover]: https://codecov.io/gh/webpack-contrib/schema-utils/branch/master/graph/badge.svg
-[cover-url]: https://codecov.io/gh/webpack-contrib/schema-utils
-
-[chat]: https://img.shields.io/badge/gitter-webpack%2Fwebpack-brightgreen.svg
-[chat-url]: https://gitter.im/webpack/webpack
diff --git a/node_modules/style-loader/node_modules/schema-utils/package.json b/node_modules/style-loader/node_modules/schema-utils/package.json
deleted file mode 100644
index 29a133c..0000000
--- a/node_modules/style-loader/node_modules/schema-utils/package.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
- "_from": "schema-utils@^0.4.5",
- "_id": "schema-utils@0.4.7",
- "_inBundle": false,
- "_integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==",
- "_location": "/style-loader/schema-utils",
- "_phantomChildren": {},
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "schema-utils@^0.4.5",
- "name": "schema-utils",
- "escapedName": "schema-utils",
- "rawSpec": "^0.4.5",
- "saveSpec": null,
- "fetchSpec": "^0.4.5"
- },
- "_requiredBy": [
- "/style-loader"
- ],
- "_resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz",
- "_shasum": "ba74f597d2be2ea880131746ee17d0a093c68187",
- "_spec": "schema-utils@^0.4.5",
- "_where": "/home/pruss/Dev/3-minute-website/node_modules/style-loader",
- "author": {
- "name": "webpack Contrib",
- "url": "https://github.com/webpack-contrib"
- },
- "bugs": {
- "url": "https://github.com/webpack-contrib/schema-utils/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "ajv": "^6.1.0",
- "ajv-keywords": "^3.1.0"
- },
- "deprecated": false,
- "description": "webpack Validation Utils",
- "devDependencies": {
- "@commitlint/cli": "^7.0.0",
- "@commitlint/config-conventional": "^7.0.0",
- "@webpack-contrib/eslint-config-webpack": "^2.0.0",
- "del-cli": "^1.0.0",
- "eslint": "^5.0.0",
- "eslint-plugin-import": "^2.0.0",
- "eslint-plugin-prettier": "^2.0.0",
- "jest": "^21.0.0",
- "prettier": "^1.0.0",
- "standard-version": "^4.0.0"
- },
- "engines": {
- "node": ">= 4"
- },
- "files": [
- "src"
- ],
- "homepage": "https://github.com/webpack-contrib/schema-utils",
- "license": "MIT",
- "main": "src/index.js",
- "name": "schema-utils",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/webpack-contrib/schema-utils.git"
- },
- "scripts": {
- "clean": "del-cli coverage",
- "commits": "commitlint --from $(git rev-list --tags --max-count=1)",
- "lint": "eslint --cache src test",
- "release": "npm run commits && standard-version",
- "test": "jest --env node --verbose --coverage"
- },
- "version": "0.4.7"
-}
diff --git a/node_modules/style-loader/node_modules/schema-utils/src/ValidationError.js b/node_modules/style-loader/node_modules/schema-utils/src/ValidationError.js
deleted file mode 100644
index 21264b5..0000000
--- a/node_modules/style-loader/node_modules/schema-utils/src/ValidationError.js
+++ /dev/null
@@ -1,25 +0,0 @@
-/* eslint-disable
- strict
-*/
-
-'use strict';
-
-class ValidationError extends Error {
- constructor(errors, name) {
- super();
-
- this.name = 'ValidationError';
-
- this.message = `${name || ''} Invalid Options\n\n`;
-
- errors.forEach((err) => {
- this.message += `options${err.dataPath} ${err.message}\n`;
- });
-
- this.errors = errors;
-
- Error.captureStackTrace(this, this.constructor);
- }
-}
-
-module.exports = ValidationError;
diff --git a/node_modules/style-loader/node_modules/schema-utils/src/index.js b/node_modules/style-loader/node_modules/schema-utils/src/index.js
deleted file mode 100644
index 13108c2..0000000
--- a/node_modules/style-loader/node_modules/schema-utils/src/index.js
+++ /dev/null
@@ -1,9 +0,0 @@
-/* eslint-disable
- strict
-*/
-
-'use strict';
-
-const validateOptions = require('./validateOptions');
-
-module.exports = validateOptions;
diff --git a/node_modules/style-loader/node_modules/schema-utils/src/validateOptions.js b/node_modules/style-loader/node_modules/schema-utils/src/validateOptions.js
deleted file mode 100644
index f6d9f22..0000000
--- a/node_modules/style-loader/node_modules/schema-utils/src/validateOptions.js
+++ /dev/null
@@ -1,37 +0,0 @@
-/* eslint-disable
- strict,
- no-param-reassign
-*/
-
-'use strict';
-
-const fs = require('fs');
-const path = require('path');
-
-const Ajv = require('ajv');
-const ajvKeywords = require('ajv-keywords');
-
-const ValidationError = require('./ValidationError');
-
-const ajv = new Ajv({
- allErrors: true,
- useDefaults: true,
- errorDataPath: 'property',
-});
-
-ajvKeywords(ajv, ['instanceof', 'typeof']);
-
-const validateOptions = (schema, options, name) => {
- if (typeof schema === 'string') {
- schema = fs.readFileSync(path.resolve(schema), 'utf8');
- schema = JSON.parse(schema);
- }
-
- if (!ajv.validate(schema, options)) {
- throw new ValidationError(ajv.errors, name);
- }
-
- return true;
-};
-
-module.exports = validateOptions;
diff --git a/node_modules/style-loader/options.json b/node_modules/style-loader/options.json
deleted file mode 100644
index f5b445c..0000000
--- a/node_modules/style-loader/options.json
+++ /dev/null
@@ -1,37 +0,0 @@
-
-{
- "type": "object",
- "properties": {
- "hmr": {
- "type": "boolean"
- },
- "base": {
- "type": "number"
- },
- "attrs": {
- "type": "object"
- },
- "insertAt": {
- "type": ["string", "object"]
- },
- "insertInto": {
- "anyOf": [
- { "type": "string" },
- { "instanceof": "Function" }
- ]
- },
- "transform": {
- "type": "string"
- },
- "singleton": {
- "type": "boolean"
- },
- "sourceMap": {
- "type": "boolean"
- },
- "convertToAbsoluteUrls": {
- "type": "boolean"
- }
- },
- "additionalProperties": false
-}
diff --git a/node_modules/style-loader/package.json b/node_modules/style-loader/package.json
deleted file mode 100644
index 52a238b..0000000
--- a/node_modules/style-loader/package.json
+++ /dev/null
@@ -1,80 +0,0 @@
-{
- "_from": "style-loader@^0.22.1",
- "_id": "style-loader@0.22.1",
- "_inBundle": false,
- "_integrity": "sha512-WXUrLeinPIR1Oat3PfCDro7qTniwNTJqGqv1KcQiL3JR5PzrVLTyNsd9wTsPXG/qNCJ7lzR2NY/QDjFsP7nuSQ==",
- "_location": "/style-loader",
- "_phantomChildren": {
- "ajv": "6.12.6",
- "ajv-keywords": "3.5.2"
- },
- "_requested": {
- "type": "range",
- "registry": true,
- "raw": "style-loader@^0.22.1",
- "name": "style-loader",
- "escapedName": "style-loader",
- "rawSpec": "^0.22.1",
- "saveSpec": null,
- "fetchSpec": "^0.22.1"
- },
- "_requiredBy": [
- "#DEV:/"
- ],
- "_resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.22.1.tgz",
- "_shasum": "901ea28aac78fcc00c5075585ac07d7ef3f87a52",
- "_spec": "style-loader@^0.22.1",
- "_where": "/home/pruss/Dev/3-minute-website",
- "author": {
- "name": "Tobias Koppers @sokra"
- },
- "bugs": {
- "url": "https://github.com/webpack-contrib/style-loader/issues"
- },
- "bundleDependencies": false,
- "dependencies": {
- "loader-utils": "^1.1.0",
- "schema-utils": "^0.4.5"
- },
- "deprecated": false,
- "description": "style loader module for webpack",
- "devDependencies": {
- "css-loader": "^0.28.0",
- "file-loader": "^1.0.0",
- "istanbul": "^0.4.5",
- "jsdom": "^9.0.0",
- "memory-fs": "^0.4.0",
- "mocha": "^4.0.0",
- "nsp": "^3.2.1",
- "sinon": "^4.0.0",
- "standard-version": "^4.0.0",
- "webpack": "^2.0.0"
- },
- "engines": {
- "node": ">= 0.12.0"
- },
- "files": [
- "lib",
- "url.js",
- "index.js",
- "useable.js",
- "options.json"
- ],
- "homepage": "https://github.com/webpack-contrib/style-loader#readme",
- "license": "MIT",
- "main": "index.js",
- "name": "style-loader",
- "repository": {
- "type": "git",
- "url": "git+https://github.com/webpack-contrib/style-loader.git"
- },
- "scripts": {
- "ci:coverage": "npm run test:coverage",
- "ci:test": "npm run test",
- "release": "standard-version",
- "security": "nsp check",
- "test": "mocha",
- "test:coverage": "istanbul cover node_modules/mocha/bin/_mocha"
- },
- "version": "0.22.1"
-}
diff --git a/node_modules/style-loader/url.js b/node_modules/style-loader/url.js
deleted file mode 100644
index dba1645..0000000
--- a/node_modules/style-loader/url.js
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- MIT License http://www.opensource.org/licenses/mit-license.php
- Author Tobias Koppers @sokra
-*/
-var path = require('path');
-
-var loaderUtils = require('loader-utils');
-var validateOptions = require('schema-utils');
-
-module.exports = function () {};
-
-module.exports.pitch = function (request) {
- if (this.cacheable) this.cacheable();
-
- var options = loaderUtils.getOptions(this) || {};
-
- validateOptions(require('./options.json'), options, 'Style Loader (URL)');
-
- options.hmr = typeof options.hmr === 'undefined' ? true : options.hmr;
-
- var hmr = [
- // Hot Module Replacement
- "if(module.hot) {",
- " module.hot.accept(" + loaderUtils.stringifyRequest(this, "!!" + request) + ", function() {",
- " update(require(" + loaderUtils.stringifyRequest(this, "!!" + request) + "));",
- " });",
- "",
- " module.hot.dispose(function() { update(); });",
- "}"
- ].join("\n");
-
- return [
- // Adds some reference to a CSS file to the DOM by adding a <link> tag
- "var update = require(" + loaderUtils.stringifyRequest(this, "!" + path.join(__dirname, "lib", "addStyleUrl.js")) + ")(",
- " require(" + loaderUtils.stringifyRequest(this, "!!" + request) + ")",
- ", " + JSON.stringify(options) + ");",
- options.hmr ? hmr : ""
- ].join("\n");
-};
diff --git a/node_modules/style-loader/useable.js b/node_modules/style-loader/useable.js
deleted file mode 100644
index 0132005..0000000
--- a/node_modules/style-loader/useable.js
+++ /dev/null
@@ -1,72 +0,0 @@
-/*
- MIT License http://www.opensource.org/licenses/mit-license.php
- Author Tobias Koppers @sokra
-*/
-var path = require('path');
-
-var loaderUtils = require("loader-utils");
-var validateOptions = require('schema-utils');
-
-module.exports = function () {};
-
-module.exports.pitch = function (request) {
- if (this.cacheable) this.cacheable();
-
- var options = loaderUtils.getOptions(this) || {};
-
- validateOptions(require('./options.json'), options, 'Style Loader (Useable)');
-
- options.hmr = typeof options.hmr === 'undefined' ? true : options.hmr;
-
- var hmr = [
- // Hot Module Replacement
- "if(module.hot) {",
- " var lastRefs = module.hot.data && module.hot.data.refs || 0;",
- "",
- " if(lastRefs) {",
- " exports.ref();",
- " if(!content.locals) {",
- " refs = lastRefs;",
- " }",
- " }",
- "",
- " if(!content.locals) {",
- " module.hot.accept();",
- " }",
- "",
- " module.hot.dispose(function(data) {",
- " data.refs = content.locals ? 0 : refs;",
- "",
- " if(dispose) {",
- " dispose();",
- " }",
- " });",
- "}"
- ].join("\n");
-
- return [
- "var refs = 0;",
- "var dispose;",
- "var content = require(" + loaderUtils.stringifyRequest(this, "!!" + request) + ");",
- "",
- "if(typeof content === 'string') content = [[module.id, content, '']];",
- // Export CSS Modules
- "if(content.locals) exports.locals = content.locals;",
- "",
- "exports.use = exports.ref = function() {",
- " if(!(refs++)) {",
- " dispose = require(" + loaderUtils.stringifyRequest(this, "!" + path.join(__dirname, "lib", "addStyles.js")) + ")(content, " + JSON.stringify(options) + ");",
- " }",
- "",
- " return exports;",
- "};",
- "",
- "exports.unuse = exports.unref = function() {",
- " if(refs > 0 && !(--refs)) {",
- " dispose();",
- " dispose = null;",
- " }",
- "};",
- options.hmr ? hmr : ""
- ].join("\n");
-};