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

sheetify

Package Overview
Dependencies
Maintainers
4
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sheetify - npm Package Compare versions

Comparing version 6.1.1 to 6.2.0

2

package.json
{
"name": "sheetify",
"version": "6.1.1",
"version": "6.2.0",
"description": "Modular CSS bundler",

@@ -5,0 +5,0 @@ "repository": "stackcss/sheetify",

@@ -138,7 +138,14 @@ const cssResolve = require('style-resolve').sync

if (val.css) return handleCss(val)
fs.readFile(val.filename, 'utf8', function (err, css) {
if (err) return done(err)
val.css = css
if (/\.js$/.test(val.filename)) {
delete require.cache[require.resolve(val.filename)]
val.css = require(val.filename)
handleCss(val)
})
} else {
fs.readFile(val.filename, 'utf8', function (err, css) {
if (err) return done(err)
val.css = css
handleCss(val)
})
}

@@ -145,0 +152,0 @@ function handleCss (val) {

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