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

css-to-string-loader

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-to-string-loader - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

10

index.js

@@ -10,3 +10,3 @@ var loaderUtils = require('loader-utils');

return [
"// css-to-text-loader: transforms styles from css-loader to a string output",
"// css-to-string-loader: transforms styles from css-loader to a string output",
"",

@@ -17,7 +17,7 @@ "// Get the styles",

"if (typeof styles === 'string') {",
"// Return an existing string",
"module.exports = styles;",
" // Return an existing string",
" module.exports = styles;",
"} else {",
"// Call the custom toString method from css-loader module",
"module.exports = styles.toString();",
" // Call the custom toString method from css-loader module",
" module.exports = styles.toString();",
"}"

@@ -24,0 +24,0 @@ ].join('\n');

{
"name": "css-to-string-loader",
"version": "0.1.0",
"version": "0.1.1",
"description": "Webpack loader to convert the output of the css-loader back to a string",

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