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

sheetify

Package Overview
Dependencies
Maintainers
3
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.0.1 to 6.0.2

3

package.json
{
"name": "sheetify",
"version": "6.0.1",
"version": "6.0.2",
"description": "Modular CSS bundler",

@@ -44,2 +44,3 @@ "repository": "stackcss/sheetify",

"dependency-check": "^2.5.1",
"domify": "^1.4.0",
"from2-string": "^1.1.0",

@@ -46,0 +47,0 @@ "istanbul": "^0.4.5",

@@ -8,2 +8,10 @@ const sf = require('sheetify')

`
var foo = {}
foo.bar = sf`
:host .hello, :host .world {
transform: translate(0, 0);
}
`
console.log(prefix)

@@ -31,3 +31,3 @@ const browserify = require('browserify')

const str = buf.toString('utf8')
this.push(str.replace(/sheetify\/insert/, 'insert-css'))
this.push(str.replace(/sheetify\/insert/g, 'insert-css'))
next()

@@ -34,0 +34,0 @@ })

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

if (node.callee.name !== mname) return
var pathOpts = { basedir: path.dirname(filename) }
try {
var resolvePath = cssResolve(node.arguments[0].value, {
basedir: path.dirname(filename)
})
self.emit('file', resolvePath)
var resolvePath = cssResolve(node.arguments[0].value, pathOpts)
} catch (err) {

@@ -120,3 +118,5 @@ return self.emit('error', err)

const iOpts = (node.arguments[1])
self.emit('file', resolvePath)
const iOpts = node.arguments[1]
? xtend(opts, staticEval(node.arguments[1]))

@@ -154,3 +154,5 @@ : opts

const lolSemicolon = (val.node.parent.type === 'VariableDeclarator')
const parentNodeType = val.node.parent.type
const lolSemicolon = parentNodeType === 'VariableDeclarator' ||
parentNodeType === 'AssignmentExpression'
? ''

@@ -157,0 +159,0 @@ : ';'

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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