Socket
Socket
Sign inDemoInstall

bss

Package Overview
Dependencies
0
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.1 to 1.2.2

223

bss.js

@@ -7,2 +7,95 @@ (function (global, factory) {

var pseudos = [
':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',
// With value
':dir',
':lang',
':not',
':nth-child',
':nth-last-child',
':nth-last-of-type',
':nth-of-type',
// Elements
'::after',
'::before',
'::first-letter',
'::first-line',
'::selection',
'::backdrop',
'::placeholder',
'::marker',
'::spelling-error',
'::grammar-error'
];
var popular = {
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'
};
var cssProperties = ['float'].concat(Object.keys(

@@ -170,2 +263,3 @@ findWidth(document.documentElement.style)

classes = Object.create(null, {});
count = 0;
return content

@@ -203,112 +297,2 @@ }

var count$1 = 0;
var keyframeCache = {};
function keyframes(props) {
var content = Object.keys(props).reduce(function (acc, key) { return acc + key + '{' + props[key].style || props[key] + '}'; }
, '');
if (content in keyframeCache)
{ return keyframeCache[content] }
var name = classPrefix + ++count$1;
keyframeCache[content] = name;
insert('@keyframes ' + name + '{' + content + '}');
return name
}
var pseudos = [
':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',
// With value
':dir',
':lang',
':not',
':nth-child',
':nth-last-child',
':nth-last-of-type',
':nth-of-type',
// Elements
'::after',
'::before',
'::first-letter',
'::first-line',
'::selection',
'::backdrop',
'::placeholder',
'::marker',
'::spelling-error',
'::grammar-error'
];
var popular = {
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'
};
var shorts = Object.create(null);

@@ -438,3 +422,3 @@

insert(selector + '{' + parse(style) + '}', 0);
insert(selector + '{' + stylesToCss(parse(style)) + '}', 0);
}

@@ -513,2 +497,19 @@

var count$1 = 0;
var keyframeCache = {};
function keyframes(props) {
var content = Object.keys(props).reduce(function (acc, key) { return acc + key + '{' + stylesToCss(parse(props[key])) + '}'; }
, '');
if (content in keyframeCache)
{ return keyframeCache[content] }
var name = classPrefix + count$1++;
keyframeCache[content] = name;
insert('@keyframes ' + name + '{' + content + '}');
return name
}
function parse(input, value) {

@@ -515,0 +516,0 @@ var obj;

@@ -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=["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 a=Object.create(null,{}),o=Object.create(null,{}),l=/^(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 f(t,e){for(var n in e._fallback&&(t._fallback?f(t._fallback,e._fallback):Object.defineProperty(t,"_fallback",{value:e._fallback})),e)e.hasOwnProperty(n)&&(t[n]=e[n])}function u(t){return t.slice("-"===t.charAt(0)&&"-"!==t.charAt(1)?1:0).replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})}function s(e,n){void 0===n&&(n="");var r={},i=[];return e._fallback&&Object.defineProperty(r,"_fallback",{configurable:!0,value:e._fallback}),Object.keys(e).forEach(function(t){"@"===t.charAt(0)?i.push(t+"{"+s(e[t])+"}"):"object"==typeof e[t]?i=i.concat(s(e[t],n+t)):r[t]=e[t]}),Object.keys(r).length&&i.unshift((" "===n.charAt(0)?"":".$")+".$"+n+"{"+function t(i){return Object.keys(i).reduce(function(t,e){return t+(r=i[n=e],(l.test(n)?"-":"")+n.replace(/([A-Z])/g,"-$1").toLowerCase()+":"+r+";");var n,r},"")+(i._fallback?t(i._fallback):"")}(r)+"}"),i}var h=/,(?=(?:(?:[^"]*"){2})*[^"]*$)/;function p(t,e){return e in o?o[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 d=r&&r.sheet,b=!1,g=Object.create(null,{}),m=[],v=0,j="b"+("000"+(46656*Math.random()|0).toString(36)).slice(-3)+("000"+(46656*Math.random()|0).toString(36)).slice(-3);function k(t,e){if(m.push(t),b)return r.textContent=m.join("\n");d&&d.insertRule(t,1<arguments.length?e:d.cssRules.length)}var O=0,x={};var A={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"},w=Object.create(null);function _(t,e){var n=$(_);return f(n.style,M.apply(null,arguments)),n}function P(t,e){Object.defineProperty(_,t,{configurable:!0,value:e})}function $(t){var e=Object.create(_,{style:{value:t.style,enumerable:!0}});return t===_&&(_.style={}),e}function E(e){return function(t){return t||0===t?0<arguments.length&&c(this.style,e,1===arguments.length?p(e,t):Array.prototype.slice.call(arguments).map(function(t){return y(e,t)}).join(" ")):delete this.style[e],$(this)}}function C(e,n){if(1===arguments.length)return Object.keys(e).forEach(function(t){return C(t,e[t])});delete _[e],"object"==typeof n?(C[e]=M(n),Object.defineProperty(_,e,{configurable:!0,get:function(){return f(this.style,M(n)),$(this)}})):(C[e]=n,Object.defineProperty(_,e,{configurable:!0,value:function(){var t=n.apply(null,arguments);return f(this.style,t.style),$(this)}}))}function S(t){var e,n=(e=t).charAt(0)+(e.match(/([A-Z])/g)||[]).join("").toLowerCase(),r=A[n]&&A[n]!==t?t:n;return w[r]=t,r}Object.defineProperty(_,"valueOf",{configurable:!0,writable:!0,value:function(){return"."+this.class}}),_.style={},P("setDebug",function(t){b=t}),P("$keyframes",function(n){var t=Object.keys(n).reduce(function(t,e){return t+e+"{"+n[e].style||n[e]+"}"},"");if(t in x)return x[t];var e=j+ ++O;return k("@keyframes "+(x[t]=e)+"{"+t+"}"),e}),P("getSheet",function(){var t=m.join("");return m=[],g=Object.create(null,{}),t}),P("helper",C),P("css",function e(n,t){if(1===arguments.length)return Object.keys(n).forEach(function(t){return e(t,n[t])});k(n+"{"+M(t)+"}",0)}),P("classPrefix",j),i.forEach(function(t){var e,n=t.match(l);if(n){var r=(e=t.replace(l,"$2")).charAt(0).toLowerCase()+e.slice(1);if(-1===i.indexOf(r))return"flexDirection"===r&&(o.flex="-"+n[1].toLowerCase()+"-flex"),P(r,E(a[r]=t)),void P(S(r),_[r])}P(t,E(t)),P(S(t),_[t])}),P("content",function(t){return this.style.content='"'+t+'"',$(this)}),Object.defineProperty(_,"class",{set:function(t){this.__class=t},get:function(){return this.__class||function(t){var e=JSON.stringify(t);if(e in g)return g[e];for(var n=s(t),r=j+ ++v,i=0;i<n.length;i++)k(n[i].replace(/\.\$/g,"."+r));return g[e]=r}(this.style)}}),P("$media",function(t,e){return t&&c(this.style,"@media "+t,M(e)),$(this)}),P("$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,M(n))}),$(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 P("$"+u(n.replace(/:/g,"")),function(t,e){return(t||e)&&c(this.style,n+(e?"("+t+")":""),M(e||t)),$(this)})}),_.helper("$animate",function(t,e){return _.animation(_.$keyframes(e)+" "+t)});var L=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=u(n.shift().trim());return i=w[r]||r,r in C?f(t,"function"==typeof C[r]?C[r].apply(C,n.filter(function(t){return t}).map(function(t){return t.trim()})).style:C[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},{})});function M(t,e){var n,r;return"string"==typeof t?"string"==typeof e||"number"==typeof e?((n={})[t]=e,n):L(t):Array.isArray(t)&&Array.isArray(t.raw)?(t={raw:t},L(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 a?a[e]:e]=p(e,n)),t},{}))}return _});
!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});
//# sourceMappingURL=bss.min.js.map
## [Unreleased]
## 1.2.2 -
Fix `b.css` regression
Fix `b.$keyframes` and `b.$animate`
## 1.2.1 -

@@ -4,0 +8,0 @@ Support helpers in strings

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

import keyframes from './keyframes'
import pseudos from './pseudos'

@@ -19,2 +18,3 @@ import popular from './popular'

cssProperties,
stylesToCss,
vendorRegex,

@@ -154,3 +154,3 @@ formatValue,

insert(selector + '{' + parse(style) + '}', 0)
insert(selector + '{' + stylesToCss(parse(style)) + '}', 0)
}

@@ -230,2 +230,20 @@

let count = 0
const keyframeCache = {}
function keyframes(props) {
const content = Object.keys(props).reduce((acc, key) =>
acc + key + '{' + stylesToCss(parse(props[key])) + '}'
, '')
if (content in keyframeCache)
return keyframeCache[content]
const name = classPrefix + count++
keyframeCache[content] = name
insert('@keyframes ' + name + '{' + content + '}')
return name
}
function parse(input, value) {

@@ -232,0 +250,0 @@ if (typeof input === 'string') {

@@ -26,2 +26,3 @@ import {

classes = Object.create(null, {})
count = 0
return content

@@ -28,0 +29,0 @@ }

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

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

@@ -31,2 +31,3 @@ const o = require('ospec')

style: {
animation: '',
display: '',

@@ -180,2 +181,23 @@ backgroundColor: '',

o('$css', function() {
b.css('html', 'background blue')
o(b.getSheet()).equals('html{background:blue;}')
})
o('$keyframes', function() {
const anim = b.$keyframes({
from: 'bc red'
})
o(b.getSheet()).equals(`@keyframes ${anim}{from{background-color:red;}}`)
})
o('$animate', function() {
const cls = b.$animate('1s', {
from: 'bc black'
}).class
const sheet = b.getSheet()
console.log(cls, sheet)
o(sheet).equals(`@keyframes ${cls}{from{background-color:black;}}.${cls}.${cls}{animation:${cls} 1s;}`)
})
o('Override valueOf', function() {

@@ -182,0 +204,0 @@ const newValueOf = function() {

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc