forked from webpack/webpack
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request webpack#4955 from webpack/dep/update-loaders
update loader dependencies
- Loading branch information
Showing
5 changed files
with
82 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
var fs = require("fs"); | ||
var path = require("path"); | ||
module.exports = fs.readFileSync(path.join(path.dirname(__filename), "stylesheet.css"), "utf-8") + "\n.generated { color: red; }"; | ||
module.exports = function() { | ||
return { | ||
code: fs.readFileSync(path.join(path.dirname(__filename), "stylesheet.css"), "utf-8") + "\n.generated { color: red; }" | ||
}; | ||
}; |
4 changes: 2 additions & 2 deletions
4
test/configCases/loaders/issue-3320/node_modules/any-loader.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,31 @@ | ||
Hash: 7e5cb63b7ac6537cf830018a511be5ab8bf1e17b | ||
Hash: a3f5cb0c4f2d75d79214074bc8c917dae9eb215a | ||
Child | ||
Hash: 7e5cb63b7ac6537cf830 | ||
Hash: a3f5cb0c4f2d75d79214 | ||
Time: Xms | ||
Asset Size Chunks Chunk Names | ||
5a21b890f95ec575ba49.js 2.62 kB 0 [emitted] main | ||
c815cf440254d4f3bba4e7041db00a28.css 26 bytes 0 [emitted] main | ||
[0] (webpack)/test/statsCases/separate-css-bundle/a/index.js 23 bytes {0} [built] | ||
[1] (webpack)/test/statsCases/separate-css-bundle/a/file.css 41 bytes {0} [built] | ||
[2] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/a/file.css 190 bytes [built] | ||
[3] (webpack)/node_modules/css-loader/lib/css-base.js 1.46 kB [built] | ||
[4] (webpack)/node_modules/style-loader/addStyles.js 6.91 kB [built] | ||
[2] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/a/file.css 199 bytes [built] | ||
[3] (webpack)/node_modules/css-loader/lib/css-base.js 2.26 kB [built] | ||
[4] (webpack)/node_modules/style-loader/lib/addStyles.js 8.66 kB [built] | ||
[5] (webpack)/node_modules/style-loader/lib/urls.js 3.01 kB [built] | ||
Child extract-text-webpack-plugin: | ||
[0] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/a/file.css 190 bytes {0} [built] | ||
[1] (webpack)/node_modules/css-loader/lib/css-base.js 1.46 kB {0} [built] | ||
[0] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/a/file.css 199 bytes {0} [built] | ||
[1] (webpack)/node_modules/css-loader/lib/css-base.js 2.26 kB {0} [built] | ||
Child | ||
Hash: 018a511be5ab8bf1e17b | ||
Hash: 074bc8c917dae9eb215a | ||
Time: Xms | ||
Asset Size Chunks Chunk Names | ||
5a21b890f95ec575ba49.js 2.62 kB 0 [emitted] main | ||
a3f385680aef7a9bb2a517699532cc34.css 28 bytes 0 [emitted] main | ||
[0] (webpack)/test/statsCases/separate-css-bundle/b/index.js 23 bytes {0} [built] | ||
[1] (webpack)/test/statsCases/separate-css-bundle/b/file.css 41 bytes {0} [built] | ||
[2] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/b/file.css 192 bytes [built] | ||
[3] (webpack)/node_modules/css-loader/lib/css-base.js 1.46 kB [built] | ||
[4] (webpack)/node_modules/style-loader/addStyles.js 6.91 kB [built] | ||
[2] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/b/file.css 201 bytes [built] | ||
[3] (webpack)/node_modules/css-loader/lib/css-base.js 2.26 kB [built] | ||
[4] (webpack)/node_modules/style-loader/lib/addStyles.js 8.66 kB [built] | ||
[5] (webpack)/node_modules/style-loader/lib/urls.js 3.01 kB [built] | ||
Child extract-text-webpack-plugin: | ||
[0] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/b/file.css 192 bytes {0} [built] | ||
[1] (webpack)/node_modules/css-loader/lib/css-base.js 1.46 kB {0} [built] | ||
[0] (webpack)/node_modules/css-loader!(webpack)/test/statsCases/separate-css-bundle/b/file.css 201 bytes {0} [built] | ||
[1] (webpack)/node_modules/css-loader/lib/css-base.js 2.26 kB {0} [built] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,7 +73,7 @@ ajv@^4.11.2, ajv@^4.7.0, ajv@^4.9.1: | |
co "^4.6.0" | ||
json-stable-stringify "^1.0.1" | ||
|
||
ajv@^5.1.5: | ||
ajv@^5.0.0, ajv@^5.1.5: | ||
version "5.1.5" | ||
resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.1.5.tgz#8734931b601f00d4feef7c65738d77d1b65d1f68" | ||
dependencies: | ||
|
@@ -586,6 +586,10 @@ clone@^1.0.2: | |
version "1.0.2" | ||
resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.2.tgz#260b7a99ebb1edfe247538175f783243cb19d149" | ||
|
||
clone@^2.1.1: | ||
version "2.1.1" | ||
resolved "https://registry.yarnpkg.com/clone/-/clone-2.1.1.tgz#d217d1e961118e3ac9a4b8bba3285553bf647cdb" | ||
|
||
co@^4.6.0: | ||
version "4.6.0" | ||
resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" | ||
|
@@ -828,35 +832,28 @@ [email protected]: | |
version "0.0.4" | ||
resolved "https://registry.yarnpkg.com/css-color-names/-/css-color-names-0.0.4.tgz#808adc2e79cf84738069b646cb20ec27beb629e0" | ||
|
||
css-loader@~0.25.0: | ||
version "0.25.0" | ||
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.25.0.tgz#c3febc8ce28f4c83576b6b13707f47f90c390223" | ||
css-loader@^0.28.3: | ||
version "0.28.3" | ||
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-0.28.3.tgz#9fd5e0b8c405b6df927ba1103887015d360640ce" | ||
dependencies: | ||
babel-code-frame "^6.11.0" | ||
css-selector-tokenizer "^0.6.0" | ||
css-selector-tokenizer "^0.7.0" | ||
cssnano ">=2.6.1 <4" | ||
loader-utils "~0.2.2" | ||
lodash.camelcase "^3.0.1" | ||
loader-utils "^1.0.2" | ||
lodash.camelcase "^4.3.0" | ||
object-assign "^4.0.1" | ||
postcss "^5.0.6" | ||
postcss-modules-extract-imports "^1.0.0" | ||
postcss-modules-local-by-default "^1.0.1" | ||
postcss-modules-scope "^1.0.0" | ||
postcss-modules-values "^1.1.0" | ||
source-list-map "^0.1.4" | ||
postcss-value-parser "^3.3.0" | ||
source-list-map "^0.1.7" | ||
|
||
[email protected]: | ||
version "1.0.4" | ||
resolved "https://registry.yarnpkg.com/css-parse/-/css-parse-1.0.4.tgz#38b0503fbf9da9f54e9c1dbda60e145c77117bdd" | ||
|
||
css-selector-tokenizer@^0.6.0: | ||
version "0.6.0" | ||
resolved "https://registry.yarnpkg.com/css-selector-tokenizer/-/css-selector-tokenizer-0.6.0.tgz#6445f582c7930d241dcc5007a43d6fcb8f073152" | ||
dependencies: | ||
cssesc "^0.1.0" | ||
fastparse "^1.1.1" | ||
regexpu-core "^1.0.0" | ||
|
||
css-selector-tokenizer@^0.7.0: | ||
version "0.7.0" | ||
resolved "https://registry.yarnpkg.com/css-selector-tokenizer/-/css-selector-tokenizer-0.7.0.tgz#e6988474ae8c953477bf5e7efecfceccd9cf4c86" | ||
|
@@ -1417,11 +1414,11 @@ file-entry-cache@^2.0.0: | |
flat-cache "^1.2.1" | ||
object-assign "^4.0.1" | ||
|
||
file-loader@~0.9.0: | ||
version "0.9.0" | ||
resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-0.9.0.tgz#1d2daddd424ce6d1b07cfe3f79731bed3617ab42" | ||
file-loader@^0.11.1: | ||
version "0.11.1" | ||
resolved "https://registry.yarnpkg.com/file-loader/-/file-loader-0.11.1.tgz#6b328ee1234a729e4e47d36375dd6d35c0e1db84" | ||
dependencies: | ||
loader-utils "~0.2.5" | ||
loader-utils "^1.0.2" | ||
|
||
filename-regex@^2.0.0: | ||
version "2.0.1" | ||
|
@@ -2218,11 +2215,13 @@ [email protected], [email protected]: | |
version "0.0.10" | ||
resolved "https://registry.yarnpkg.com/lcov-parse/-/lcov-parse-0.0.10.tgz#1b0b8ff9ac9c7889250582b70b71315d9da6d9a3" | ||
|
||
less-loader@^2.0.0: | ||
version "2.2.3" | ||
resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-2.2.3.tgz#b6d8f8139c8493df09d992a93a00734b08f84528" | ||
less-loader@^4.0.3: | ||
version "4.0.3" | ||
resolved "https://registry.yarnpkg.com/less-loader/-/less-loader-4.0.3.tgz#d1e6462ca2f090c11248455e14b8dda4616d0521" | ||
dependencies: | ||
loader-utils "^0.2.5" | ||
clone "^2.1.1" | ||
loader-utils "^1.1.0" | ||
pify "^2.3.0" | ||
|
||
less@^2.5.1: | ||
version "2.7.2" | ||
|
@@ -2258,22 +2257,22 @@ loader-runner@^2.3.0: | |
version "2.3.0" | ||
resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-2.3.0.tgz#f482aea82d543e07921700d5a46ef26fdac6b8a2" | ||
|
||
loader-utils@0.2.x, loader-utils@^0.2.16, loader-utils@^0.2.5, loader-utils@~0.2.2, loader-utils@~0.2.5: | ||
version "0.2.17" | ||
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348" | ||
loader-utils@^1.0.2, loader-utils@^1.1.0: | ||
version "1.1.0" | ||
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.1.0.tgz#c98aef488bcceda2ffb5e2de646d6a754429f5cd" | ||
dependencies: | ||
big.js "^3.1.3" | ||
emojis-list "^2.0.0" | ||
json5 "^0.5.0" | ||
object-assign "^4.0.1" | ||
|
||
loader-utils@^1.0.2: | ||
version "1.1.0" | ||
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.1.0.tgz#c98aef488bcceda2ffb5e2de646d6a754429f5cd" | ||
loader-utils@~0.2.5: | ||
version "0.2.17" | ||
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-0.2.17.tgz#f86e6374d43205a6e6c60e9196f17c0299bfb348" | ||
dependencies: | ||
big.js "^3.1.3" | ||
emojis-list "^2.0.0" | ||
json5 "^0.5.0" | ||
object-assign "^4.0.1" | ||
|
||
lodash._baseassign@^3.0.0: | ||
version "3.2.0" | ||
|
@@ -2290,13 +2289,6 @@ lodash._basecreate@^3.0.0: | |
version "3.0.3" | ||
resolved "https://registry.yarnpkg.com/lodash._basecreate/-/lodash._basecreate-3.0.3.tgz#1bc661614daa7fc311b7d03bf16806a0213cf821" | ||
|
||
lodash._createcompounder@^3.0.0: | ||
version "3.0.0" | ||
resolved "https://registry.yarnpkg.com/lodash._createcompounder/-/lodash._createcompounder-3.0.0.tgz#5dd2cb55372d6e70e0e2392fb2304d6631091075" | ||
dependencies: | ||
lodash.deburr "^3.0.0" | ||
lodash.words "^3.0.0" | ||
|
||
lodash._getnative@^3.0.0: | ||
version "3.9.1" | ||
resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" | ||
|
@@ -2305,15 +2297,9 @@ lodash._isiterateecall@^3.0.0: | |
version "3.0.9" | ||
resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" | ||
|
||
lodash._root@^3.0.0: | ||
version "3.0.1" | ||
resolved "https://registry.yarnpkg.com/lodash._root/-/lodash._root-3.0.1.tgz#fba1c4524c19ee9a5f8136b4609f017cf4ded692" | ||
|
||
lodash.camelcase@^3.0.1: | ||
version "3.0.1" | ||
resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-3.0.1.tgz#932c8b87f8a4377897c67197533282f97aeac298" | ||
dependencies: | ||
lodash._createcompounder "^3.0.0" | ||
lodash.camelcase@^4.3.0: | ||
version "4.3.0" | ||
resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" | ||
|
||
[email protected]: | ||
version "3.1.1" | ||
|
@@ -2323,12 +2309,6 @@ [email protected]: | |
lodash._basecreate "^3.0.0" | ||
lodash._isiterateecall "^3.0.0" | ||
|
||
lodash.deburr@^3.0.0: | ||
version "3.2.0" | ||
resolved "https://registry.yarnpkg.com/lodash.deburr/-/lodash.deburr-3.2.0.tgz#6da8f54334a366a7cf4c4c76ef8d80aa1b365ed5" | ||
dependencies: | ||
lodash._root "^3.0.0" | ||
|
||
lodash.isarguments@^3.0.0: | ||
version "3.1.0" | ||
resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" | ||
|
@@ -2353,12 +2333,6 @@ lodash.uniq@^4.5.0: | |
version "4.5.0" | ||
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" | ||
|
||
lodash.words@^3.0.0: | ||
version "3.2.0" | ||
resolved "https://registry.yarnpkg.com/lodash.words/-/lodash.words-3.2.0.tgz#4e2a8649bc08745b17c695b1a3ce8fee596623b3" | ||
dependencies: | ||
lodash._root "^3.0.0" | ||
|
||
lodash@^3.10.0: | ||
version "3.10.1" | ||
resolved "https://registry.yarnpkg.com/lodash/-/lodash-3.10.1.tgz#5bf45e8e49ba4189e17d482789dfd15bd140b7b6" | ||
|
@@ -2855,7 +2829,7 @@ performance-now@^0.2.0: | |
version "0.2.0" | ||
resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-0.2.0.tgz#33ef30c5c77d4ea21c5a53869d91b56d8f2555e5" | ||
|
||
pify@^2.0.0: | ||
pify@^2.0.0, pify@^2.3.0: | ||
version "2.3.0" | ||
resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" | ||
|
||
|
@@ -3569,6 +3543,12 @@ sax@~1.2.1: | |
version "1.2.2" | ||
resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.2.tgz#fd8631a23bc7826bef5d871bdb87378c95647828" | ||
|
||
schema-utils@^0.3.0: | ||
version "0.3.0" | ||
resolved "https://registry.yarnpkg.com/schema-utils/-/schema-utils-0.3.0.tgz#f5877222ce3e931edae039f17eb3716e7137f8cf" | ||
dependencies: | ||
ajv "^5.0.0" | ||
|
||
script-loader@~0.7.0: | ||
version "0.7.0" | ||
resolved "https://registry.yarnpkg.com/script-loader/-/script-loader-0.7.0.tgz#685dc7e7069e0dee7a92674f0ebc5b0f55baa5ec" | ||
|
@@ -3738,7 +3718,7 @@ sort-keys@^1.0.0: | |
dependencies: | ||
is-plain-obj "^1.0.0" | ||
|
||
source-list-map@^0.1.4, source-list-map@~0.1.7: | ||
source-list-map@^0.1.7, source-list-map@~0.1.7: | ||
version "0.1.8" | ||
resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-0.1.8.tgz#c550b2ab5427f6b3f21f5afead88c4f5587b2106" | ||
|
||
|
@@ -3891,11 +3871,12 @@ strip-json-comments@~2.0.1: | |
version "2.0.1" | ||
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" | ||
|
||
style-loader@~0.13.0: | ||
version "0.13.2" | ||
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.13.2.tgz#74533384cf698c7104c7951150b49717adc2f3bb" | ||
style-loader@^0.18.1: | ||
version "0.18.1" | ||
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-0.18.1.tgz#6afca8953c842830e5e2dc84796309880a97f7e8" | ||
dependencies: | ||
loader-utils "^1.0.2" | ||
schema-utils "^0.3.0" | ||
|
||
subcommand@^2.0.3: | ||
version "2.1.0" | ||
|
@@ -4158,11 +4139,11 @@ uuid@^3.0.0: | |
version "3.0.1" | ||
resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.0.1.tgz#6544bba2dfda8c1cf17e629a3a305e2bb1fee6c1" | ||
|
||
val-loader@~0.5.0: | ||
version "0.5.1" | ||
resolved "https://registry.yarnpkg.com/val-loader/-/val-loader-0.5.1.tgz#a20f9d63e4be036f86f4ee4bdcb2a103b85884e7" | ||
val-loader@^1.0.2: | ||
version "1.0.2" | ||
resolved "https://registry.yarnpkg.com/val-loader/-/val-loader-1.0.2.tgz#7909198093b37cba0a96bf4f6d29de970d099d3d" | ||
dependencies: | ||
loader-utils "^1.0.2" | ||
loader-utils "^1.1.0" | ||
|
||
validate-npm-package-license@^3.0.1: | ||
version "3.0.1" | ||
|
@@ -4269,11 +4250,11 @@ wordwrap@^1.0.0, wordwrap@~1.0.0: | |
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" | ||
|
||
worker-loader@~0.7.0: | ||
version "0.7.1" | ||
resolved "https://registry.yarnpkg.com/worker-loader/-/worker-loader-0.7.1.tgz#91ffd2e2fbf76921a43e8ca3766d12e9537f5d70" | ||
worker-loader@^0.8.0: | ||
version "0.8.0" | ||
resolved "https://registry.yarnpkg.com/worker-loader/-/worker-loader-0.8.0.tgz#13582960dcd7d700dc829d3fd252a7561696167e" | ||
dependencies: | ||
loader-utils "0.2.x" | ||
loader-utils "^1.0.2" | ||
|
||
wrap-ansi@^2.0.0: | ||
version "2.1.0" | ||
|