Socket
Socket
Sign inDemoInstall

css-modules-loader-core

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-modules-loader-core - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

5

lib/file-system-loader.js

@@ -60,4 +60,5 @@ 'use strict';

return new Promise(function (resolve, reject) {
var rootRelativePath = _path2['default'].resolve(_path2['default'].dirname(relativeTo), newPath),
fileRelativePath = _this.root + rootRelativePath;
var relativeDir = _path2['default'].dirname(relativeTo),
rootRelativePath = _path2['default'].resolve(relativeDir, newPath),
fileRelativePath = _path2['default'].resolve(_path2['default'].join(_this.root, relativeDir), newPath);

@@ -64,0 +65,0 @@ _fs2['default'].readFile(fileRelativePath, 'utf-8', function (err, source) {

2

package.json
{
"name": "css-modules-loader-core",
"version": "0.0.6",
"version": "0.0.7",
"description": "A loader-agnostic CSS Modules implementation, based on PostCSS",

@@ -5,0 +5,0 @@ "main": "lib/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