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

postcss-modules

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-modules - npm Package Compare versions

Comparing version 4.2.1 to 4.2.2

build/unquote/index.js

11

build/index.js

@@ -15,2 +15,6 @@ "use strict";

var _unquote = require("./unquote");
var _unquote2 = _interopRequireDefault(_unquote);
var _parser = require("./css-loader-core/parser");

@@ -114,7 +118,8 @@

const fetcher = function fetcher(file, relativeTo, depTrace) {
const resolvedResult = typeof opts.resolve === 'function' && opts.resolve(file);
const unquoteFile = (0, _unquote2.default)(file);
const resolvedResult = typeof opts.resolve === 'function' && opts.resolve(unquoteFile);
const resolvedFile = resolvedResult instanceof Promise ? resolvedResult : Promise.resolve(resolvedResult);
return resolvedFile.then(function (f = file) {
return loader.fetch.call(loader, f || file, relativeTo, depTrace);
return resolvedFile.then(function (f) {
return loader.fetch.call(loader, `"${f || unquoteFile}"`, relativeTo, depTrace);
});

@@ -121,0 +126,0 @@ };

# Changelog
## 4.2.2
- Fix the build
## 4.2.1

@@ -4,0 +8,0 @@

{
"name": "postcss-modules",
"version": "4.2.1",
"version": "4.2.2",
"description": "PostCSS plugin to use CSS Modules everywhere",

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