[Pkg-javascript-commits] [rainloop] 24/38: Switched to system installations of raw-loader and style-loader. Removed Debian nodejs rename as it's no longer necessary.

Daniel Ring techwolf-guest at moszumanska.debian.org
Fri Dec 15 06:03:55 UTC 2017


This is an automated email from the git hooks/post-receive script.

techwolf-guest pushed a commit to branch master
in repository rainloop.

commit 35de32b82edbd9b27d5afe7ccc07df2902126efa
Author: Techwolf <dring at g33kworld.net>
Date:   Wed Sep 13 23:05:42 2017 -0700

    Switched to system installations of raw-loader and style-loader.
    Removed Debian nodejs rename as it's no longer necessary.
---
 debian/Makefile                        |   2 +-
 debian/control                         |   2 +
 debian/patches/build.patch             |  22 +-
 debian/patches/debian-nodejs.patch     |   9 -
 debian/patches/series                  |   1 -
 node_modules/style-loader/CHANGELOG.md |  94 --------
 node_modules/style-loader/LICENSE      |  20 --
 node_modules/style-loader/README.md    | 417 ---------------------------------
 node_modules/style-loader/index.js     |  48 ----
 node_modules/style-loader/package.json |  71 ------
 node_modules/style-loader/url.js       |  32 ---
 node_modules/style-loader/useable.js   |  56 -----
 12 files changed, 20 insertions(+), 754 deletions(-)

diff --git a/debian/Makefile b/debian/Makefile
index 56b4737..8f8d402 100644
--- a/debian/Makefile
+++ b/debian/Makefile
@@ -142,7 +142,7 @@ jsLibs: $(jsLibs)
 
 .PHONY: jsWebpack
 jsWebpack:
-	node_modules/.bin/webpack
+	webpack
 
 .PHONY: jsApp
 jsApp: | jsWebpack
diff --git a/debian/control b/debian/control
index 93939c1..55fa15d 100644
--- a/debian/control
+++ b/debian/control
@@ -9,6 +9,8 @@ Build-Depends:
  , node-less
  , node-uglify
  , node-json-loader
+ , node-raw-loader
+ , node-style-loader
  , libjs-jquery-mousewheel
  , libjs-jquery-lazyload
  , libjs-moment
diff --git a/debian/patches/build.patch b/debian/patches/build.patch
index 7538c7d..ee4fe7e 100644
--- a/debian/patches/build.patch
+++ b/debian/patches/build.patch
@@ -1,7 +1,7 @@
 Simplified build process to reduce dependencies.
 --- a/package.json
 +++ b/package.json
-@@ -53,48 +53,14 @@
+@@ -53,48 +53,12 @@
    ],
    "devDependencies": {
      "babel-core": "6.24.1",
@@ -42,13 +42,12 @@ Simplified build process to reduce dependencies.
 -    "json-loader": "0.5.4",
 -    "node-fs": "0.1.7",
 -    "node-notifier": "5.1.2",
-     "raw-loader": "0.5.1",
+-    "raw-loader": "0.5.1",
 -    "rimraf": "2.6.1",
 -    "run-sequence": "1.2.2",
-     "style-loader": "0.18.0",
--    "webpack": "2.5.1",
+-    "style-loader": "0.18.0",
+     "webpack": "2.5.1",
 -    "webpack-notifier": "1.5.0"
-+    "webpack": "2.5.1"
    }
  }
 --- a/webpack.config.builder.js
@@ -76,3 +75,16 @@ Simplified build process to reduce dependencies.
  		],
  		resolve: {
  			modules: [devPath, 'node_modules'],
+@@ -46,6 +39,12 @@
+ 				'ko$': __dirname  + '/dev/External/ko.js'
+ 			}
+ 		},
++		resolveLoader: {
++			alias: {
++				'raw-loader': '/usr/lib/nodejs/raw-loader',
++				'style-loader': '/usr/lib/nodejs/style-loader'
++			},
++		},
+ 		module: {
+ 			rules: [
+ 				{
diff --git a/debian/patches/debian-nodejs.patch b/debian/patches/debian-nodejs.patch
deleted file mode 100644
index d624496..0000000
--- a/debian/patches/debian-nodejs.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-Fix name of nodejs binary for Debian systems.
---- a/node_modules/webpack/bin/webpack.js
-+++ b/node_modules/webpack/bin/webpack.js
-@@ -1,4 +1,4 @@
--#!/usr/bin/env node
-+#!/usr/bin/env nodejs
- 
- /*
- 	MIT License http://www.opensource.org/licenses/mit-license.php
diff --git a/debian/patches/series b/debian/patches/series
index 3c74669..8460512 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
-debian-nodejs.patch
 bundled-libraries.patch
 disable-version-path.patch
 set-custom-data-path.patch
diff --git a/node_modules/style-loader/CHANGELOG.md b/node_modules/style-loader/CHANGELOG.md
deleted file mode 100644
index 9aa106a..0000000
--- a/node_modules/style-loader/CHANGELOG.md
+++ /dev/null
@@ -1,94 +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.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 84b0da5..0000000
--- a/node_modules/style-loader/README.md
+++ /dev/null
@@ -1,417 +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><style></code> tag</p>
-</div>
-
-<h2 align="center">Install</h2>
-
-```
-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 a 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 `convertToAbsolute [...]
-
-### `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.
-
-<h2 align="center">Options</h2>
-
-|Name|Type|Default|Description|
-|:--:|:--:|:-----:|:----------|
-|**`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}`|`bottom`|Inserts `<style></style>` at the given position|
-|**`insertInto`**|`{String}`|`<head>`|Inserts `<style></style>` into the given position|
-|**`sourceMap`**|`{Boolean}`|`false`|Enable/Disable Sourcemaps|
-|**`convertToAbsoluteUrls`**|`{Boolean}`|`false`|Coverts relative URLs to absolute urls, when source maps are enabled|
-
-### `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'
-  }
-}
-```
-
-### `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, e.g. into a [ShadowRoot](https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot), you can specify a CSS selector for that element here, e.g
-
-**webpack.config.js**
-```js
-{
-  loader: 'style-loader'
-  options: {
-    insertAt: '#host::shadow>#root'
-  }
-}
-```
-
-### `singleton`
-
-If defined, the style-loader will reuse a single `<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 c4aee97..0000000
--- a/node_modules/style-loader/index.js
+++ /dev/null
@@ -1,48 +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')
-
-	return [
-		"// style-loader: Adds some css to the DOM by adding a <style> tag",
-		"",
-		"// load the styles",
-		"var content = require(" + loaderUtils.stringifyRequest(this, "!!" + request) + ");",
-		"if(typeof content === 'string') content = [[module.id, content, '']];",
-		"// Prepare cssTransformation",
-		"var transform;",
-		options.transform ? "transform = require(" + loaderUtils.stringifyRequest(this, "!" + path.resolve(options.transform)) + ");" : "",
-		"var options = " + JSON.stringify(options),
-		"options.transform = transform",
-		"// add the 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;",
-		"// Hot Module Replacement",
-		"if(module.hot) {",
-		"	// When the styles change, update the <style> tags",
-		"	if(!content.locals) {",
-		"		module.hot.accept(" + loaderUtils.stringifyRequest(this, "!!" + request) + ", function() {",
-		"			var newContent = require(" + loaderUtils.stringifyRequest(this, "!!" + request) + ");",
-		"			if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];",
-		"			update(newContent);",
-		"		});",
-		"	}",
-		"	// When the module is disposed, remove the <style> tags",
-		"	module.hot.dispose(function() { update(); });",
-		"}"
-	].join("\n");
-};
diff --git a/node_modules/style-loader/package.json b/node_modules/style-loader/package.json
deleted file mode 100644
index f2621f7..0000000
--- a/node_modules/style-loader/package.json
+++ /dev/null
@@ -1,71 +0,0 @@
-{
-  "_from": "style-loader at 0.18.0",
-  "_id": "style-loader at 0.18.0",
-  "_inBundle": false,
-  "_integrity": "sha1-W3qJWGC9qWYobIu4D/1My68EEfU=",
-  "_location": "/style-loader",
-  "_phantomChildren": {},
-  "_requested": {
-    "type": "version",
-    "registry": true,
-    "raw": "style-loader at 0.18.0",
-    "name": "style-loader",
-    "escapedName": "style-loader",
-    "rawSpec": "0.18.0",
-    "saveSpec": null,
-    "fetchSpec": "0.18.0"
-  },
-  "_requiredBy": [
-    "#DEV:/"
-  ],
-  "_resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.18.0.tgz",
-  "_shasum": "5b7a895860bda966286c8bb80ffd4ccbaf0411f5",
-  "_spec": "style-loader at 0.18.0",
-  "_where": "/home/techwolf/rainloop-webmail",
-  "author": {
-    "name": "Tobias Koppers @sokra"
-  },
-  "bugs": {
-    "url": "https://github.com/webpack/style-loader/issues"
-  },
-  "bundleDependencies": false,
-  "dependencies": {
-    "loader-utils": "^1.0.2",
-    "schema-utils": "^0.3.0"
-  },
-  "deprecated": false,
-  "description": "style loader module for webpack",
-  "devDependencies": {
-    "css-loader": "^0.28.1",
-    "file-loader": "^0.11.1",
-    "jsdom": "^9.12.0",
-    "memory-fs": "^0.4.1",
-    "mocha": "^3.2.0",
-    "standard-version": "^4.0.0",
-    "webpack": "^2.2.1"
-  },
-  "engines": {
-    "node": ">= 0.12.0"
-  },
-  "files": [
-    "lib",
-    "url.js",
-    "index.js",
-    "useable.js",
-    "options.json"
-  ],
-  "homepage": "https://github.com/webpack/style-loader#readme",
-  "license": "MIT",
-  "main": "index.js",
-  "name": "style-loader",
-  "repository": {
-    "type": "git",
-    "url": "git+ssh://git@github.com/webpack/style-loader.git"
-  },
-  "scripts": {
-    "release": "yarn run standard-version",
-    "test": "mocha",
-    "travis:test": "yarn run test"
-  },
-  "version": "0.18.0"
-}
diff --git a/node_modules/style-loader/url.js b/node_modules/style-loader/url.js
deleted file mode 100644
index 49ec389..0000000
--- a/node_modules/style-loader/url.js
+++ /dev/null
@@ -1,32 +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)');
-
-	return [
-		"// style-loader: Adds some reference to a css file to the DOM by adding a <link> tag",
-		"var update = require(" + JSON.stringify("!" + path.join(__dirname, "lib", "addStyleUrl.js")) + ")(",
-		"\trequire(" + loaderUtils.stringifyRequest(this, "!!" + request) + ")",
-		", " + JSON.stringify(options) + ");",
-		"// Hot Module Replacement",
-		"if(module.hot) {",
-		"\tmodule.hot.accept(" + loaderUtils.stringifyRequest(this, "!!" + request) + ", function() {",
-		"\t\tupdate(require(" + loaderUtils.stringifyRequest(this, "!!" + request) + "));",
-		"\t});",
-		"\tmodule.hot.dispose(function() { update(); });",
-		"}"
-	].join("\n");
-};
diff --git a/node_modules/style-loader/useable.js b/node_modules/style-loader/useable.js
deleted file mode 100644
index 6fd6c98..0000000
--- a/node_modules/style-loader/useable.js
+++ /dev/null
@@ -1,56 +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)');
-
-	return [
-		"var refs = 0;",
-		"var dispose;",
-		"var content = require(" + loaderUtils.stringifyRequest(this, "!!" + request) + ");",
-		"if(typeof content === 'string') content = [[module.id, content, '']];",
-		"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;",
-		"	}",
-		"};",
-		"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");
-};

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/rainloop.git



More information about the Pkg-javascript-commits mailing list