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

void-css

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

void-css - npm Package Compare versions

Comparing version 1.0.19 to 1.0.20

2

package.json
{
"name": "void-css",
"version": "1.0.19",
"version": "1.0.20",
"description": "A JIT & statically compiled CSS processor",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -48,2 +48,3 @@ import Context, { Token } from "../context";

const shiftBy = compress ? "" : ctx.config.indentationStyle;
function createScope(branch: Rule, _i: number): string {

@@ -50,0 +51,0 @@ let css = "";

@@ -66,2 +66,3 @@ "use strict";

const globals = (0, tokens_1.renameTokens)(globalTokens, resolvedType);
console.log(resolvedType, token.match + "", ctx.css);
switch (resolvedType) {

@@ -68,0 +69,0 @@ case "skip":

@@ -82,3 +82,3 @@ import { whiteSpace, Match, currentSelector, classNameInitiator, selectorName, idInitiator, wildcard, selectorChild, selectorCombinator, selectorSeparator, styleScope, renameToken, attributeSelectorCloseWithoutOperator, attributeSelectorModifier, attributeSelectorSingleQuoteInitiator, attributeSelectorDoubleQuoteInitiator, attributeSelectorSingleQuoteBody, attributeSelectorDoubleQuoteBody, attributeSelectorClose, attributeSelectorInitiator, styleScopeEnd, propertyName, valueSemiColon, propertyColon, propertyValueWithSemiColon, propertyValueWithoutSemiColon, TokenMatcher, inlineComment, renameTokens, blockComment, atSymbol, nestedAtRuleName, nestedAtRule, endStyleSheet, whiteSpaceOrNothing, exportClassName, colon, pseudoSelector, rootSelector, notOperatorParenthesis, notOperator, notOperatorParenthesisEnd, keyframes, requiredWhiteSpace, keyframesSpecialNames, keyframesSelector, kf, atKeyframes } from "../tokens";

const globals = renameTokens(globalTokens, resolvedType);
console.log(resolvedType, token.match + "", ctx.css)
switch (resolvedType) {

@@ -85,0 +85,0 @@ case "skip":

@@ -147,3 +147,3 @@ "use strict";

attributes: ["keyframes"],
match: input.match(/^\d+%|to|from/i),
match: input.match(/^\d+%|^to|^from/i),
};

@@ -150,0 +150,0 @@ }

@@ -149,3 +149,3 @@ export type Domains = "selector" | "style" | "void" | "flow";

attributes: ["keyframes"],
match: input.match(/^\d+%|to|from/i),
match: input.match(/^\d+%|^to|^from/i),
}

@@ -152,0 +152,0 @@ }

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