Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

css-modules-require-hook

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-modules-require-hook - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

9

dist/index.js

@@ -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);

3

package.json
{
"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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc