New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

css-path-loader

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-path-loader - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

README.md

2

index.js
module.exports = function (source, map) {
this.cacheable && this.cacheable()
var namespace = this.resourcePath.replace(/[\W\w]+(?=src\b)/, '').replace(/\.scss/, '')
var namespace = this.resourcePath.replace(/[\W\w]+(?=src\b)/, '').replace(/\.(scss|less)/, '')

@@ -5,0 +5,0 @@ var nameArray = namespace.split('/')

{
"name": "css-path-loader",
"version": "0.1.0",
"version": "0.1.1",
"description": "auto add path namespace for every component",

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