css-modules-require-hook
Advanced tools
Comparing version 1.0.8 to 1.0.9
@@ -10,2 +10,6 @@ 'use strict'; | ||
var _debug = require('debug'); | ||
var _debug2 = _interopRequireDefault(_debug); | ||
var _hook = require('./hook'); | ||
@@ -53,2 +57,5 @@ | ||
var debugFetch = (0, _debug2['default'])('css-modules:fetch'); | ||
var debugSetup = (0, _debug2['default'])('css-modules:setup'); | ||
// cache | ||
@@ -80,2 +87,3 @@ var importNr = 0; | ||
debugSetup(opts); | ||
// clearing cache | ||
@@ -136,2 +144,3 @@ importNr = 0; | ||
debugFetch(filename); | ||
var rootRelativePath = _path.sep + (0, _path.relative)(rootDir, filename); | ||
@@ -138,0 +147,0 @@ var CSSSource = preProcess((0, _fs.readFileSync)(filename, 'utf8'), filename); |
{ | ||
"name": "css-modules-require-hook", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "A require hook to compile CSS Modules on the fly", | ||
@@ -10,2 +10,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"debug": "^2.2.0", | ||
"lodash.assign": "^3.2.0", | ||
@@ -12,0 +13,0 @@ "lodash.identity": "^3.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
102302
644
11
+ Addeddebug@^2.2.0
+ Addeddebug@2.6.9(transitive)
+ Addedms@2.0.0(transitive)