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

stylis-rule-sheet

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stylis-rule-sheet - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

8

index.js

@@ -20,3 +20,3 @@ (function (factory) {

return function ruleSheet (context, content, selectors, parents, line, column, length, at, depth) {
return function ruleSheet (context, content, selectors, parents, line, column, length, ns, depth, at) {
switch (context) {

@@ -31,3 +31,3 @@ // property

case 2:
if (at === 0)
if (ns === 0)
return content + delimiter

@@ -37,3 +37,3 @@ break

case 3:
switch (at) {
switch (ns) {
// @font-face, @page

@@ -44,3 +44,3 @@ case 102:

default:
return content + (depth === 0 ? delimiter : '')
return content + (at === 0 ? delimiter : '')
}

@@ -47,0 +47,0 @@ case -2:

@@ -5,3 +5,3 @@ {

"description": "stylis plugin to extract individual rules to use with insertRule API",
"version": "0.0.8",
"version": "0.0.9",
"homepage": "https://github.com/thysultan/stylis.js",

@@ -8,0 +8,0 @@ "license": "MIT",

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