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.7 to 1.0.8

4

dist/index.js

@@ -134,3 +134,3 @@ 'use strict';

var rootRelativePath = _path.sep + (0, _path.relative)(rootDir, filename);
var CSSSource = preProcess((0, _fs.readFileSync)(filename, 'utf8'));
var CSSSource = preProcess((0, _fs.readFileSync)(filename, 'utf8'), filename);

@@ -148,3 +148,3 @@ var lazyResult = (0, _postcss2['default'])(plugins.concat(new _parser2['default']({ fetch: fetch, filename: filename, trace: trace }))).process(CSSSource, (0, _lodashAssign2['default'])(lazyResultOpts, { from: rootRelativePath }));

if (postProcess) {
postProcess(lazyResult.css);
postProcess(lazyResult.css, filename);
}

@@ -151,0 +151,0 @@

{
"name": "css-modules-require-hook",
"version": "1.0.7",
"version": "1.0.8",
"description": "A require hook to compile CSS Modules on the fly",

@@ -5,0 +5,0 @@ "main": "index.js",

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