Socket
Socket
Sign inDemoInstall

bss

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bss - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

51

bss.js

@@ -181,3 +181,3 @@ (function (global, factory) {

function hyphenToCamelCase(hyphen) {
return hyphen.slice(hyphen.charAt(0) === '-' && hyphen.charAt(1) !== '-' ? 1 : 0).replace(/-([a-z])/g, function(match) {
return hyphen.slice(hyphen.charAt(0) === '-' ? 1 : 0).replace(/-([a-z])/g, function(match) {
return match[1].toUpperCase()

@@ -229,3 +229,9 @@ })

return (vendorRegex.test(prop) ? '-' : '')
+ camelCaseToHyphen(prop) + ':' + value + ';'
+ (prop.charAt(0) === '-' && prop.charAt(1) === '-'
? prop
: camelCaseToHyphen(prop)
)
+ ':'
+ value
+ ';'
}

@@ -325,2 +331,5 @@

setProp('$keyframes', keyframes);
setProp('$media', $media);
setProp('$import', $import);
setProp('$nest', $nest);
setProp('getSheet', getSheet);

@@ -378,3 +387,3 @@ setProp('helper', helper);

setProp('$media', function Media(value, style) {
function $media(value, style) {
if (value)

@@ -384,5 +393,12 @@ { add(this.style, '@media ' + value, parse(style)); }

return chain(this)
});
}
setProp('$nest', function Nest(value, style) {
function $import(value) {
if (value)
{ insert('@import ' + value + ';', 0); }
return chain(this)
}
function $nest(value, style) {
var this$1 = this;

@@ -396,3 +412,3 @@

return chain(this)
});
}

@@ -482,13 +498,20 @@ pseudos.forEach(function (name) { return setProp('$' + hyphenToCamelCase(name.replace(/:/g, '')), function Pseudo(value, b) {

var tokens = line.split(/[:\s]/)
, key = hyphenToCamelCase(tokens.shift().trim());
var tokens = line.match(/[^:\s]+/g);
prev = shorts[key] || key;
if (!tokens)
{ return acc }
if (key in helper) {
typeof helper[key] === 'function'
? assign(acc, helper[key].apply(helper, tokens.filter(function (a) { return a; }).map(function (a) { return a.trim(); })).style)
: assign(acc, helper[key]);
var key = tokens.shift()
, prop = key.charAt(0) === '-' && key.charAt(1) === '-'
? key
: hyphenToCamelCase(key);
prev = shorts[prop] || prop;
if (prop in helper) {
typeof helper[prop] === 'function'
? assign(acc, helper[prop].apply(helper, tokens).style)
: assign(acc, helper[prop]);
} else if (tokens.length > 0) {
add(acc, prev, tokens.filter(function (a) { return a; }).reduce(function (acc, t) { return acc + addPx(prev, t.trim()) + ' '; }, '').trim());
add(acc, prev, tokens.reduce(function (acc, t) { return acc + addPx(prev, t) + ' '; }, '').trim());
}

@@ -495,0 +518,0 @@

@@ -1,2 +0,2 @@

!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.b=e()}(this,function(){"use strict";var i={ai:"alignItems",b:"bottom",bc:"backgroundColor",br:"borderRadius",bs:"boxShadow",c:"color",d:"display",f:"float",fd:"flexDirection",ff:"fontFamily",fs:"fontSize",h:"height",jc:"justifyContent",l:"left",lh:"lineHeight",ls:"letterSpacing",m:"margin",mb:"marginBottom",ml:"marginLeft",mr:"marginRight",mt:"marginTop",o:"opacity",p:"padding",pb:"paddingBottom",pl:"paddingLeft",pr:"paddingRight",pt:"paddingTop",r:"right",t:"top",ta:"textAlign",td:"textDecoration",tt:"textTransform",w:"width"},a=["float"].concat(Object.keys(function t(e){return e.hasOwnProperty("width")?e:t(Object.getPrototypeOf(e))}(document.documentElement.style)).filter(function(t){return-1===t.indexOf("-")&&"length"!==t}));var t=function(e,n){return void 0===n&&(n={}),function(t){return t in n?n[t]:n[t]=e(t)}};function c(t,e,n){if(!(e in t))return t[e]=n;t._fallback||Object.defineProperty(t,"_fallback",{configurable:!0,value:Object.create(null,{})}),c(t._fallback,e,n)}var o=Object.create(null,{}),l=Object.create(null,{}),f=/^(o|O|ms|MS|Ms|moz|Moz|webkit|Webkit|WebKit)([A-Z])/,n=t(function(t){var e=document.createElement("div");try{return e.style[t]="1px",e.style.setProperty(t,"1px"),"1px"===e.style[t].slice(-3)?"px":""}catch(t){return""}},{flex:""});function u(t,e){for(var n in e._fallback&&(t._fallback?u(t._fallback,e._fallback):Object.defineProperty(t,"_fallback",{value:e._fallback})),e)e.hasOwnProperty(n)&&(t[n]=e[n])}function s(t){return t.slice("-"===t.charAt(0)&&"-"!==t.charAt(1)?1:0).replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})}var h=/,(?=(?:(?:[^"]*"){2})*[^"]*$)/;function p(i){return Object.keys(i).reduce(function(t,e){return t+(r=i[n=e],(f.test(n)?"-":"")+n.replace(/([A-Z])/g,"-$1").toLowerCase()+":"+r+";");var n,r},"")+(i._fallback?p(i._fallback):"")}function d(t,e){return e in l?l[e]:y(t,e)}function y(t,e){return e+(isNaN(e)?"":n(t))}var e=window.document,r=e&&e.createElement("style");r&&e.head.appendChild(r);var b=r&&r.sheet,g=!1,m=Object.create(null,{}),v=[],j=0,k="b"+("000"+(46656*Math.random()|0).toString(36)).slice(-3)+("000"+(46656*Math.random()|0).toString(36)).slice(-3);function O(t,e){if(v.push(t),g)return r.textContent=v.join("\n");b&&b.insertRule(t,1<arguments.length?e:b.cssRules.length)}function x(t){var e=JSON.stringify(t);if(e in m)return m[e];for(var n=function e(n,r){void 0===r&&(r="");var i={},a=[];return n._fallback&&Object.defineProperty(i,"_fallback",{configurable:!0,value:n._fallback}),Object.keys(n).forEach(function(t){"@"===t.charAt(0)?a.push(t+"{"+e(n[t])+"}"):"object"==typeof n[t]?a=a.concat(e(n[t],r+t)):i[t]=n[t]}),Object.keys(i).length&&a.unshift((" "===r.charAt(0)?"":".$")+".$"+r+"{"+p(i)+"}"),a}(t),r=k+ ++j,i=0;i<n.length;i++)O(n[i].replace(/\.\$/g,"."+r));return m[e]=r}var A=Object.create(null);function w(t,e){var n=P(w);return u(n.style,R.apply(null,arguments)),n}function _(t,e){Object.defineProperty(w,t,{configurable:!0,value:e})}function P(t){var e=Object.create(w,{style:{value:t.style,enumerable:!0}});return t===w&&(w.style={}),e}function $(e){return function(t){return t||0===t?0<arguments.length&&c(this.style,e,1===arguments.length?d(e,t):Array.prototype.slice.call(arguments).map(function(t){return y(e,t)}).join(" ")):delete this.style[e],P(this)}}function E(e,n){if(1===arguments.length)return Object.keys(e).forEach(function(t){return E(t,e[t])});delete w[e],"object"==typeof n?(E[e]=R(n),Object.defineProperty(w,e,{configurable:!0,get:function(){return u(this.style,R(n)),P(this)}})):(E[e]=n,Object.defineProperty(w,e,{configurable:!0,value:function(){var t=n.apply(null,arguments);return u(this.style,t.style),P(this)}}))}function C(t){var e,n=(e=t).charAt(0)+(e.match(/([A-Z])/g)||[]).join("").toLowerCase(),r=i[n]&&i[n]!==t?t:n;return A[r]=t,r}Object.defineProperty(w,"valueOf",{configurable:!0,writable:!0,value:function(){return"."+this.class}}),w.style={},_("setDebug",function(t){g=t}),_("$keyframes",function(n){var t=Object.keys(n).reduce(function(t,e){return t+e+"{"+p(R(n[e]))+"}"},"");if(t in M)return M[t];var e=k+L++;return O("@keyframes "+(M[t]=e)+"{"+t+"}"),e}),_("getSheet",function(){var t=v.join("");return v=[],m=Object.create(null,{}),j=0,t}),_("helper",E),_("css",function e(n,t){if(1===arguments.length)return Object.keys(n).forEach(function(t){return e(t,n[t])});O(n+"{"+p(R(t))+"}",0)}),_("classPrefix",k),a.forEach(function(t){var e,n=t.match(f);if(n){var r=(e=t.replace(f,"$2")).charAt(0).toLowerCase()+e.slice(1);if(-1===a.indexOf(r))return"flexDirection"===r&&(l.flex="-"+n[1].toLowerCase()+"-flex"),_(r,$(o[r]=t)),void _(C(r),w[r])}_(t,$(t)),_(C(t),w[t])}),_("content",function(t){return this.style.content='"'+t+'"',P(this)}),Object.defineProperty(w,"class",{set:function(t){this.__class=t},get:function(){return this.__class||x(this.style)}}),_("$media",function(t,e){return t&&c(this.style,"@media "+t,R(e)),P(this)}),_("$nest",function(e,n){var r=this;return 1===arguments.length?Object.keys(e).forEach(function(t){return r.$nest(t,e[t])}):e&&e.split(h).map(function(t){return t.trim()}).forEach(function(t){return c(r.style,(":"===t.charAt(0)?"":" ")+t,R(n))}),P(this)}),[":active",":any",":checked",":default",":disabled",":empty",":enabled",":first",":first-child",":first-of-type",":fullscreen",":focus",":hover",":indeterminate",":in-range",":invalid",":last-child",":last-of-type",":left",":link",":only-child",":only-of-type",":optional",":out-of-range",":read-only",":read-write",":required",":right",":root",":scope",":target",":valid",":visited",":dir",":lang",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type","::after","::before","::first-letter","::first-line","::selection","::backdrop","::placeholder","::marker","::spelling-error","::grammar-error"].forEach(function(n){return _("$"+s(n.replace(/:/g,"")),function(t,e){return(t||e)&&c(this.style,n+(e?"("+t+")":""),R(e||t)),P(this)})}),w.helper("$animate",function(t,e){return w.animation(w.$keyframes(e)+" "+t)});var S=t(function(t){var i,a="";return t.trim().split(/;|\n/).reduce(function(t,e){if(e=a+e.trim(),a=","===e.charAt(e.length-1)?e:"")return t;if(","===e.charAt(0))return t[i]+=e,t;var n=e.split(/[:\s]/),r=s(n.shift().trim());return i=A[r]||r,r in E?u(t,"function"==typeof E[r]?E[r].apply(E,n.filter(function(t){return t}).map(function(t){return t.trim()})).style:E[r]):0<n.length&&c(t,i,n.filter(function(t){return t}).reduce(function(t,e){return t+y(i,e.trim())+" "},"").trim()),t},{})}),L=0,M={};function R(t,e){var n,r;return"string"==typeof t?"string"==typeof e||"number"==typeof e?((n={})[t]=e,n):S(t):Array.isArray(t)&&Array.isArray(t.raw)?(t={raw:t},S(String.raw.apply(null,arguments))):t.style||(r=t,Object.keys(r).reduce(function(t,e){var n=r[e];return(n||0===n||""===n)&&("content"===e&&'"'!==n.charAt(0)?t[e]='"'+n+'"':t[e in o?o[e]:e]=d(e,n)),t},{}))}return w});
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.b=e()}(this,function(){"use strict";var i={ai:"alignItems",b:"bottom",bc:"backgroundColor",br:"borderRadius",bs:"boxShadow",c:"color",d:"display",f:"float",fd:"flexDirection",ff:"fontFamily",fs:"fontSize",h:"height",jc:"justifyContent",l:"left",lh:"lineHeight",ls:"letterSpacing",m:"margin",mb:"marginBottom",ml:"marginLeft",mr:"marginRight",mt:"marginTop",o:"opacity",p:"padding",pb:"paddingBottom",pl:"paddingLeft",pr:"paddingRight",pt:"paddingTop",r:"right",t:"top",ta:"textAlign",td:"textDecoration",tt:"textTransform",w:"width"},a=["float"].concat(Object.keys(function t(e){return e.hasOwnProperty("width")?e:t(Object.getPrototypeOf(e))}(document.documentElement.style)).filter(function(t){return-1===t.indexOf("-")&&"length"!==t}));var t=function(e,r){return void 0===r&&(r={}),function(t){return t in r?r[t]:r[t]=e(t)}};function o(t,e,r){if(!(e in t))return t[e]=r;t._fallback||Object.defineProperty(t,"_fallback",{configurable:!0,value:Object.create(null,{})}),o(t._fallback,e,r)}var c=Object.create(null,{}),l=Object.create(null,{}),f=/^(o|O|ms|MS|Ms|moz|Moz|webkit|Webkit|WebKit)([A-Z])/,r=t(function(t){var e=document.createElement("div");try{return e.style[t]="1px",e.style.setProperty(t,"1px"),"1px"===e.style[t].slice(-3)?"px":""}catch(t){return""}},{flex:""});function u(t,e){for(var r in e._fallback&&(t._fallback?u(t._fallback,e._fallback):Object.defineProperty(t,"_fallback",{value:e._fallback})),e)e.hasOwnProperty(r)&&(t[r]=e[r])}function s(t){return t.slice("-"===t.charAt(0)?1:0).replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})}var h=/,(?=(?:(?:[^"]*"){2})*[^"]*$)/;function p(i){return Object.keys(i).reduce(function(t,e){return t+(n=i[r=e],(f.test(r)?"-":"")+("-"===r.charAt(0)&&"-"===r.charAt(1)?r:r.replace(/([A-Z])/g,"-$1").toLowerCase())+":"+n+";");var r,n},"")+(i._fallback?p(i._fallback):"")}function d(t,e){return e in l?l[e]:y(t,e)}function y(t,e){return e+(isNaN(e)?"":r(t))}var e=window.document,n=e&&e.createElement("style");n&&e.head.appendChild(n);var b=n&&n.sheet,g=!1,m=Object.create(null,{}),v=[],j=0,k="b"+("000"+(46656*Math.random()|0).toString(36)).slice(-3)+("000"+(46656*Math.random()|0).toString(36)).slice(-3);function O(t,e){if(v.push(t),g)return n.textContent=v.join("\n");b&&b.insertRule(t,1<arguments.length?e:b.cssRules.length)}function A(t){var e=JSON.stringify(t);if(e in m)return m[e];for(var r=function e(r,n){void 0===n&&(n="");var i={},a=[];return r._fallback&&Object.defineProperty(i,"_fallback",{configurable:!0,value:r._fallback}),Object.keys(r).forEach(function(t){"@"===t.charAt(0)?a.push(t+"{"+e(r[t])+"}"):"object"==typeof r[t]?a=a.concat(e(r[t],n+t)):i[t]=r[t]}),Object.keys(i).length&&a.unshift((" "===n.charAt(0)?"":".$")+".$"+n+"{"+p(i)+"}"),a}(t),n=k+ ++j,i=0;i<r.length;i++)O(r[i].replace(/\.\$/g,"."+n));return m[e]=n}var x=Object.create(null);function w(t,e){var r=$(w);return u(r.style,R.apply(null,arguments)),r}function _(t,e){Object.defineProperty(w,t,{configurable:!0,value:e})}function $(t){var e=Object.create(w,{style:{value:t.style,enumerable:!0}});return t===w&&(w.style={}),e}function P(e){return function(t){return t||0===t?0<arguments.length&&o(this.style,e,1===arguments.length?d(e,t):Array.prototype.slice.call(arguments).map(function(t){return y(e,t)}).join(" ")):delete this.style[e],$(this)}}function E(e,r){if(1===arguments.length)return Object.keys(e).forEach(function(t){return E(t,e[t])});delete w[e],"object"==typeof r?(E[e]=R(r),Object.defineProperty(w,e,{configurable:!0,get:function(){return u(this.style,R(r)),$(this)}})):(E[e]=r,Object.defineProperty(w,e,{configurable:!0,value:function(){var t=r.apply(null,arguments);return u(this.style,t.style),$(this)}}))}function C(t){var e,r=(e=t).charAt(0)+(e.match(/([A-Z])/g)||[]).join("").toLowerCase(),n=i[r]&&i[r]!==t?t:r;return x[n]=t,n}Object.defineProperty(w,"valueOf",{configurable:!0,writable:!0,value:function(){return"."+this.class}}),w.style={},_("setDebug",function(t){g=t}),_("$keyframes",function(r){var t=Object.keys(r).reduce(function(t,e){return t+e+"{"+p(R(r[e]))+"}"},"");if(t in M)return M[t];var e=k+L++;return O("@keyframes "+(M[t]=e)+"{"+t+"}"),e}),_("$media",function(t,e){t&&o(this.style,"@media "+t,R(e));return $(this)}),_("$import",function(t){t&&O("@import "+t+";",0);return $(this)}),_("$nest",function(e,r){var n=this;1===arguments.length?Object.keys(e).forEach(function(t){return n.$nest(t,e[t])}):e&&e.split(h).map(function(t){return t.trim()}).forEach(function(t){return o(n.style,(":"===t.charAt(0)?"":" ")+t,R(r))});return $(this)}),_("getSheet",function(){var t=v.join("");return v=[],m=Object.create(null,{}),j=0,t}),_("helper",E),_("css",function e(r,t){if(1===arguments.length)return Object.keys(r).forEach(function(t){return e(t,r[t])});O(r+"{"+p(R(t))+"}",0)}),_("classPrefix",k),a.forEach(function(t){var e,r=t.match(f);if(r){var n=(e=t.replace(f,"$2")).charAt(0).toLowerCase()+e.slice(1);if(-1===a.indexOf(n))return"flexDirection"===n&&(l.flex="-"+r[1].toLowerCase()+"-flex"),_(n,P(c[n]=t)),void _(C(n),w[n])}_(t,P(t)),_(C(t),w[t])}),_("content",function(t){return this.style.content='"'+t+'"',$(this)}),Object.defineProperty(w,"class",{set:function(t){this.__class=t},get:function(){return this.__class||A(this.style)}}),[":active",":any",":checked",":default",":disabled",":empty",":enabled",":first",":first-child",":first-of-type",":fullscreen",":focus",":hover",":indeterminate",":in-range",":invalid",":last-child",":last-of-type",":left",":link",":only-child",":only-of-type",":optional",":out-of-range",":read-only",":read-write",":required",":right",":root",":scope",":target",":valid",":visited",":dir",":lang",":not",":nth-child",":nth-last-child",":nth-last-of-type",":nth-of-type","::after","::before","::first-letter","::first-line","::selection","::backdrop","::placeholder","::marker","::spelling-error","::grammar-error"].forEach(function(r){return _("$"+s(r.replace(/:/g,"")),function(t,e){return(t||e)&&o(this.style,r+(e?"("+t+")":""),R(e||t)),$(this)})}),w.helper("$animate",function(t,e){return w.animation(w.$keyframes(e)+" "+t)});var S=t(function(t){var a,c="";return t.trim().split(/;|\n/).reduce(function(t,e){if(e=c+e.trim(),c=","===e.charAt(e.length-1)?e:"")return t;if(","===e.charAt(0))return t[a]+=e,t;var r=e.match(/[^:\s]+/g);if(!r)return t;var n=r.shift(),i="-"===n.charAt(0)&&"-"===n.charAt(1)?n:s(n);return a=x[i]||i,i in E?u(t,"function"==typeof E[i]?E[i].apply(E,r).style:E[i]):0<r.length&&o(t,a,r.reduce(function(t,e){return t+y(a,e)+" "},"").trim()),t},{})}),L=0,M={};function R(t,e){var r,n;return"string"==typeof t?"string"==typeof e||"number"==typeof e?((r={})[t]=e,r):S(t):Array.isArray(t)&&Array.isArray(t.raw)?(t={raw:t},S(String.raw.apply(null,arguments))):t.style||(n=t,Object.keys(n).reduce(function(t,e){var r=n[e];return(r||0===r||""===r)&&("content"===e&&'"'!==r.charAt(0)?t[e]='"'+r+'"':t[e in c?c[e]:e]=d(e,r)),t},{}))}return w});
//# sourceMappingURL=bss.min.js.map
## [Unreleased]
## 1.2.3 -
Add `b.$import` for `@import` support
Fix uppercase letter support for css variables
## 1.2.2 -

@@ -4,0 +8,0 @@ Fix `b.css` regression

@@ -58,2 +58,5 @@ import pseudos from './pseudos'

setProp('$keyframes', keyframes)
setProp('$media', $media)
setProp('$import', $import)
setProp('$nest', $nest)
setProp('getSheet', getSheet)

@@ -111,3 +114,3 @@ setProp('helper', helper)

setProp('$media', function Media(value, style) {
function $media(value, style) {
if (value)

@@ -117,5 +120,12 @@ add(this.style, '@media ' + value, parse(style))

return chain(this)
})
}
setProp('$nest', function Nest(value, style) {
function $import(value) {
if (value)
insert('@import ' + value + ';', 0)
return chain(this)
}
function $nest(value, style) {
if (arguments.length === 1)

@@ -127,3 +137,3 @@ Object.keys(value).forEach(x => this.$nest(x, value[x]))

return chain(this)
})
}

@@ -215,13 +225,20 @@ pseudos.forEach(name =>

const tokens = line.split(/[:\s]/)
, key = hyphenToCamelCase(tokens.shift().trim())
const tokens = line.match(/[^:\s]+/g)
prev = shorts[key] || key
if (!tokens)
return acc
if (key in helper) {
typeof helper[key] === 'function'
? assign(acc, helper[key](...tokens.filter(a => a).map(a => a.trim())).style)
: assign(acc, helper[key])
const key = tokens.shift()
, prop = key.charAt(0) === '-' && key.charAt(1) === '-'
? key
: hyphenToCamelCase(key)
prev = shorts[prop] || prop
if (prop in helper) {
typeof helper[prop] === 'function'
? assign(acc, helper[prop](...tokens).style)
: assign(acc, helper[prop])
} else if (tokens.length > 0) {
add(acc, prev, tokens.filter(a => a).reduce((acc, t) => acc + addPx(prev, t.trim()) + ' ', '').trim())
add(acc, prev, tokens.reduce((acc, t) => acc + addPx(prev, t) + ' ', '').trim())
}

@@ -228,0 +245,0 @@

@@ -79,3 +79,3 @@ export const cssProperties = ['float'].concat(Object.keys(

export function hyphenToCamelCase(hyphen) {
return hyphen.slice(hyphen.charAt(0) === '-' && hyphen.charAt(1) !== '-' ? 1 : 0).replace(/-([a-z])/g, function(match) {
return hyphen.slice(hyphen.charAt(0) === '-' ? 1 : 0).replace(/-([a-z])/g, function(match) {
return match[1].toUpperCase()

@@ -130,3 +130,9 @@ })

return (vendorRegex.test(prop) ? '-' : '')
+ camelCaseToHyphen(prop) + ':' + value + ';'
+ (prop.charAt(0) === '-' && prop.charAt(1) === '-'
? prop
: camelCaseToHyphen(prop)
)
+ ':'
+ value
+ ';'
}

@@ -133,0 +139,0 @@

{
"name": "bss",
"version": "1.2.2",
"version": "1.2.3",
"description": "Better Style Sheets",

@@ -9,3 +9,3 @@ "main": "bss.js",

"test": "TEST=true npm run build && ospec",
"prepublish": "npm run build",
"prepublishOnly": "npm run build",
"build": "rollup -c"

@@ -12,0 +12,0 @@ },

@@ -109,4 +109,4 @@ const o = require('ospec')

o('allows css variables', function() {
const cls = b('--primary white').class
o(b.getSheet()).equals(`.${cls}.${cls}{--primary:white;}`)
const cls = b('--primaryColor white').class
o(b.getSheet()).equals(`.${cls}.${cls}{--primaryColor:white;}`)
})

@@ -198,3 +198,2 @@

const sheet = b.getSheet()
console.log(cls, sheet)
o(sheet).equals(`@keyframes ${cls}{from{background-color:black;}}.${cls}.${cls}{animation:${cls} 1s;}`)

@@ -201,0 +200,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