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

@umijs/babel-plugin-auto-css-modules

Package Overview
Dependencies
Maintainers
14
Versions
217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@umijs/babel-plugin-auto-css-modules - npm Package Compare versions

Comparing version 3.5.5 to 3.5.6

2

lib/index.js

@@ -65,3 +65,3 @@ "use strict";

if (_utils().t.isAwaitExpression(node.init) && _utils().t.isCallExpression(node.init.argument) && _utils().t.isImport(node.init.argument.callee) && node.init.argument.arguments.length === 1 && _utils().t.isStringLiteral(node.init.argument.arguments[0])) {
if (_utils().t.isAwaitExpression(node.init) && _utils().t.isCallExpression(node.init.argument) && _utils().t.isImport(node.init.argument.callee) && node.init.argument.arguments.length === 1 && _utils().t.isStringLiteral(node.init.argument.arguments[0]) && CSS_EXT_NAMES.includes((0, _path().extname)(node.init.argument.arguments[0].value))) {
node.init.argument.arguments[0].value = `${node.init.argument.arguments[0].value}?${opts.flag || 'modules'}`;

@@ -68,0 +68,0 @@ }

{
"name": "@umijs/babel-plugin-auto-css-modules",
"version": "3.5.5",
"version": "3.5.6",
"description": "@umijs/babel-plugin-auto-css-modules",

@@ -27,7 +27,7 @@ "main": "lib/index.js",

"dependencies": {
"@umijs/utils": "3.5.5"
"@umijs/utils": "3.5.6"
},
"devDependencies": {
"@umijs/deps": "3.5.5"
"@umijs/deps": "3.5.6"
}
}
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