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 3.0.0-rc.12 to 3.0.0-rc.13

11

dist/bss.esm.js

@@ -92,5 +92,4 @@ var el = typeof document !== 'undefined' && document.createElement('div'); // eslint-disable-line

var doc = typeof document !== 'undefined' && window.document // eslint-disable-line
, validChar = function (c, ci) { return ci ? function (x) { return c.indexOf(x.toLowerCase()) > -1; } : function (x) { return c.indexOf(x) > -1; }; }
, isProp = validChar('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-')
, isClass = validChar('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_', true)
, validChar = function (c) { return function (x) { return c.indexOf(x) > -1; }; }
, isIdentifier = validChar('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_')
, isQuote = validChar('\'"')

@@ -255,3 +254,3 @@ , isValueSep = validChar(' ,)')

for (var i = 0; i < s.length; i++) {
if (i > 0 && name && !isClass(s[i])) {
if (i > 0 && name && !isIdentifier(s[i])) {
x = s.slice(1, i) + '-' + x;

@@ -351,5 +350,5 @@ name = false;

x.prop = x.out[x.out.length - 1][0];
} else if (!x.value && x.prop === null && isProp(v)) {
} else if (!x.value && x.prop === null && isIdentifier(v)) {
x.prop = i;
} else if (isNumber(x.prop) && !x.propEnd && !isProp(v)) {
} else if (isNumber(x.prop) && !x.propEnd && !isIdentifier(v)) {
x.propEnd = i;

@@ -356,0 +355,0 @@ } else if (isNumber(x.propEnd) && !isNumber(x.value) && v !== ' ' && v !== '\n' && v !== ':') {

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
(global = global || self, global.b = factory());
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.b = factory());
}(this, (function () { 'use strict';

@@ -98,5 +98,4 @@

var doc = typeof document !== 'undefined' && window.document // eslint-disable-line
, validChar = function (c, ci) { return ci ? function (x) { return c.indexOf(x.toLowerCase()) > -1; } : function (x) { return c.indexOf(x) > -1; }; }
, isProp = validChar('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-')
, isClass = validChar('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_', true)
, validChar = function (c) { return function (x) { return c.indexOf(x) > -1; }; }
, isIdentifier = validChar('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_')
, isQuote = validChar('\'"')

@@ -261,3 +260,3 @@ , isValueSep = validChar(' ,)')

for (var i = 0; i < s.length; i++) {
if (i > 0 && name && !isClass(s[i])) {
if (i > 0 && name && !isIdentifier(s[i])) {
x = s.slice(1, i) + '-' + x;

@@ -357,5 +356,5 @@ name = false;

x.prop = x.out[x.out.length - 1][0];
} else if (!x.value && x.prop === null && isProp(v)) {
} else if (!x.value && x.prop === null && isIdentifier(v)) {
x.prop = i;
} else if (isNumber(x.prop) && !x.propEnd && !isProp(v)) {
} else if (isNumber(x.prop) && !x.propEnd && !isIdentifier(v)) {
x.propEnd = i;

@@ -362,0 +361,0 @@ } else if (isNumber(x.propEnd) && !isNumber(x.value) && v !== ' ' && v !== '\n' && v !== ':') {

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

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).b=t()}(this,(function(){"use strict";var e="undefined"!=typeof document&&document.createElement("div"),t={flex:0,border:1,transform:1,"line-height":0,"box-shadow":1,"border-top":1,"border-left":1,"border-right":1,"border-bottom":1};function n(n){if("-"===n[0]&&"-"===n[1]||n in t)return t[n];try{return e.style[n]="1px",e.style.setProperty(n,"1px"),t[n]="1px"===e.style[n].slice(-3)}catch(e){return t[n]=!1}}var r=/^(o|O|ms|MS|Ms|moz|Moz|webkit|Webkit|WebKit)([A-Z])/,o=function(e){return e.replace(/(\B[A-Z])/g,"-$1").toLowerCase()},i=function(e){return e?e.hasOwnProperty("width")?e:i(Object.getPrototypeOf(e)):{}},u=["float"].concat(Object.keys("undefined"==typeof document?{}:i(document.documentElement.style))).filter((function(e,t,n){return-1===e.indexOf("-")&&"length"!==e&&n.indexOf(e)===t})).map((function(e){return e.match(r)?"-"+o(e):o(e)})).sort(),l=function(e,t){var n;return Object.assign(e,((n={})[t.split("-").map((function(e){return e[0]})).join("")]=t,n))},c=Object.assign(u.reduce(l,{}),["align-items","bottom","background-color","border-radius","box-shadow","background-image","color","display","float","flex-direction","font-family","font-size","height","justify-content","left","line-height","letter-spacing","margin","margin-bottom","margin-left","margin-right","margin-top","opacity","padding","padding-bottom","padding-left","padding-right","padding-top","right","top","text-align","text-decoration","text-transform","width"].reduce(l,{}));function s(e){return c[e]||e}var a="undefined"!=typeof document&&window.document,f=function(e,t){return t?function(t){return e.indexOf(t.toLowerCase())>-1}:function(t){return e.indexOf(t)>-1}},p=f("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-"),d=f("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_",!0),g=f("'\""),h=f(" ,)"),m=function(e){return"number"==typeof e},b=Object.create(null,{}),v=Object.create(null,{});function x(e){void 0===e&&(e={});var t=e.style;void 0===t&&(t=a&&a.querySelector&&(a.querySelector(".bss_style")||a.createElement("style")));var r=e.prefix;void 0===r&&(r=t&&t.getAttribute("id")||"bss"+("000000"+(Math.random()*Math.pow(36,6)|0).toString(36)).slice(-6));var o=e.append;void 0===o&&(o=!0);var i={},l={},c=[],f=[],v=y();return v.count=0,v.rules=t&&t.textContent&&t.textContent.split(v.prefix+"{}")||[],v.debug=!1,v.prefix=r,v.properties=u,v.at=function(e){return f.unshift("function"==typeof e?e:function(t){return e[t.slice(1)]||t})},v.prop=function(e){return c.unshift(e)},v.create=y,v.ssr=function(){return'<style class="bss_style" id="'+v.prefix+'">'+v.rules.join(v.prefix+"{}")+"</style>"},v.global=function(){var e=v.apply(v,arguments);w(e.content.replace(/@import[^;]*;/g,O).trim(),"__global").forEach((function(e){return O(e.replace(/\.__global/g,"").trim())}))},v.prop((function(e){if(-1===u.indexOf(e)){if(b[e])return v.debug&&console.log(e,"prefixed to",b[e]),b[e];v.debug&&0!==e.indexOf("--")&&console.log(e,"not found")}return e})),v.prop(s),t&&(t.id=v.prefix),v;function x(){if(this.className)return this.className;this.className=v.prefix+ ++v.count;var e=w(this.content.trim(),this.className);return e.forEach(O),e.name}function y(e){return function(t){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];for(var o=(e||"")+t[0],u=1;u<t.length;u++){var l=n[u-1];o+=(l&&l.toString===x?l.content:Array.isArray(l)?l.map((function(e){return e.content||e})).join("\n"):l)+t[u]}if(o in i)return i[o];var c=y("\n"+o+"\n");return c.toString=c.valueOf=x,c.content=o,i[o]=c,c}}function O(e){o&&(t&&a.head&&a.head.appendChild(t),o=!1);var n=0===e.indexOf("@import")?0:v.rules.length;if(v.debug&&t)0===n?v.rules.unshift(e):v.rules.push(e),t.textContent=v.rules.map(j).join("\n");else if(t&&t.sheet)try{t.sheet.insertRule(e,n),0===n?v.rules.unshift(e):v.rules.push(e)}catch(e){v.debug&&console.log("Ignored error:",e)}else 0===n?v.rules.unshift(e):v.rules.push(e)}function j(e){return e.replace(/{/g," {\n").replace(/([;{])\n*/g,"$1\n ").replace(/(.*):(.*);/g,"$1: $2;").replace(/[\s]*}/g,"\n}\n").replace(/,\s*/g,", ").replace(/@.*{[\s\S]*?}[\s]*}/g,(function(e){return e.split("\n").reduce((function(e,t,n,r){return e+(n<r.length-1?"\n":"")+(n>1&&n<r.length-2?" ":"")+t}),"")})).trim().replace("}\n\n}","}\n}")}function w(e,t){for(var n=[],r={prop:null,propEnd:null,value:null,out:[],strict:null,comma:0,end:0,quote:!1},o=[],i=!1,u=!1,c=!1,s=!1,a=0;a<e.length;a++)if(a>0&&s&&!d(e[a])&&(t=e.slice(1,a)+"-"+t,s=!1),s||0===a&&"."===e[a])s=!0;else if(k(e,a,e[a],r),"}"===e[a]||a===e.length-1){if(E(i||u||c||n,a,t,r,o),i&&!o.length){var p=i.selector,g=u||c||n;i=i.join(""),l[i]?g[g.length-1]=g[g.length-1].slice(0,-13)+l[i].slice(10)+";}":g.unshift((l[i]=p)+"{"+i+"}"),i=!1}u&&!o.length&&((c||n).push("@font-face"===u.selector?u.selector+u.join(""):u.selector+"{"+u.join("")+"}"),u=!1),c&&!o.length&&(n.push(c.selector+"{"+c.join("")+"}"),c=!1),o.pop()}else if("{"===e[a]){var h=e.slice(r.end,a).trim().replace(/,[\s]*/,",& ");0===h.indexOf("animation")&&r.out.push(["animation",h.slice(10)+" "+t]),E(i||u||c||n,a,t,r,o),r.prop=r.value=r.propEnd=r.strict=null,0===h.indexOf("@supports")?c=Object.assign([],{selector:h}):"@"===h[0]?u=Object.assign([],{selector:f.reduce((function(e,t){return t(e)}),h.trim())}):0===h.indexOf("animation")?i=Object.assign([],{selector:"@keyframes "+t}):i?o.splice(0,o.length,h):o.push(h)}return n.name=t,n}function E(e,t,n,r,o){var i=r.out.length&&r.out.map((function(e){return e.join(":")})).join(";"),u=o.length&&":"!==o[0][0],l=!e.selector||0!==e.selector.indexOf("@keyframes ");i&&e.push((o.length&&"&"===o[0][0]||!l?"":(u?"":"."+n)+"."+n+(u?" ":""))+(l?o.join(" ").replace(/&/g,"."+n).replace(/ :/g,":"):o.join(" ").replace(/&/g,""))+"{"+i+";}"),r.end=t+1,r.out=[]}function k(e,t,r,o){o.value||null===o.prop||o.strict||":"!==r||(o.strict=!0),!o.value&&null!==o.prop&&o.out.length&&","===r?(o.value=o.comma,o.prop=o.out[o.out.length-1][0]):!o.value&&null===o.prop&&p(r)?o.prop=t:!m(o.prop)||o.propEnd||p(r)?m(o.propEnd)&&!m(o.value)&&" "!==r&&"\n"!==r&&":"!==r&&(o.value=t):o.propEnd=t,function(e,t,r,o){o.value&&g(r)&&(o.quote=!o.quote);o.quote||null===o.prop||t!==e.length-1&&";"!==e[t+1]&&"}"!==e[t+1]&&(o.strict||","===e[t-1]||"\n"!==r)||(o.out.push(function(e,t,r){if(r.strict)return[e,t];e=c.reduce((function(e,t){return t(e)}),e.trim());for(var o="",i=0,u="px",l=0;l<t.length;l++){if(h(t[l])||l===t.length-1){var s=t.slice(i,l+1).trim();o+=(u&&n(e)?s.replace(/(^|[( ,])([-0-9.]+)([ ,)]|$)/g,"$1$2"+u+"$3").trim():s)+(","===t[l]?"":" "),i=l+1}"("!==t[l]&&")"!==t[l-1]||(u=0===t.slice(i,l).indexOf("translate")?"px":0===t.slice(i,l).indexOf("rotate")?"deg":"")}return[e,o.trim().replace(/[\n ]+/g," ")]}(e.slice(o.prop,o.propEnd),e.slice(o.value,t+1).trim(),o)),o.end=t+(";"===e[t+1]?2:1),o.comma=o.value,o.value=o.prop=o.propEnd=o.strict=null)}(e,t,r,o)}}u.forEach((function(e){var t=e.match(/-(ms|o|webkit|moz)-/g);if(t){var n=e.replace(/-(ms|o|webkit|moz)-/,"");if(-1===u.indexOf(n))return"flexDirection"===n&&(v.flex="-"+t[1].toLowerCase()+"-flex"),void(b[n]=e)}}));var y=x();return y.create=x,y}));
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).b=t()}(this,(function(){"use strict";var e="undefined"!=typeof document&&document.createElement("div"),t={flex:0,border:1,transform:1,"line-height":0,"box-shadow":1,"border-top":1,"border-left":1,"border-right":1,"border-bottom":1};function n(n){if("-"===n[0]&&"-"===n[1]||n in t)return t[n];try{return e.style[n]="1px",e.style.setProperty(n,"1px"),t[n]="1px"===e.style[n].slice(-3)}catch(e){return t[n]=!1}}var r=/^(o|O|ms|MS|Ms|moz|Moz|webkit|Webkit|WebKit)([A-Z])/,o=function(e){return e.replace(/(\B[A-Z])/g,"-$1").toLowerCase()},i=function(e){return e?e.hasOwnProperty("width")?e:i(Object.getPrototypeOf(e)):{}},l=["float"].concat(Object.keys("undefined"==typeof document?{}:i(document.documentElement.style))).filter((function(e,t,n){return-1===e.indexOf("-")&&"length"!==e&&n.indexOf(e)===t})).map((function(e){return e.match(r)?"-"+o(e):o(e)})).sort(),u=function(e,t){var n;return Object.assign(e,((n={})[t.split("-").map((function(e){return e[0]})).join("")]=t,n))},c=Object.assign(l.reduce(u,{}),["align-items","bottom","background-color","border-radius","box-shadow","background-image","color","display","float","flex-direction","font-family","font-size","height","justify-content","left","line-height","letter-spacing","margin","margin-bottom","margin-left","margin-right","margin-top","opacity","padding","padding-bottom","padding-left","padding-right","padding-top","right","top","text-align","text-decoration","text-transform","width"].reduce(u,{}));function s(e){return c[e]||e}var a="undefined"!=typeof document&&window.document,f=function(e){return function(t){return e.indexOf(t)>-1}},p=f("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_"),d=f("'\""),g=f(" ,)"),h=function(e){return"number"==typeof e},m=Object.create(null,{}),b=Object.create(null,{});function v(e){void 0===e&&(e={});var t=e.style;void 0===t&&(t=a&&a.querySelector&&(a.querySelector(".bss_style")||a.createElement("style")));var r=e.prefix;void 0===r&&(r=t&&t.getAttribute("id")||"bss"+("000000"+(Math.random()*Math.pow(36,6)|0).toString(36)).slice(-6));var o=e.append;void 0===o&&(o=!0);var i={},u={},c=[],f=[],b=x();return b.count=0,b.rules=t&&t.textContent&&t.textContent.split(b.prefix+"{}")||[],b.debug=!1,b.prefix=r,b.properties=l,b.at=function(e){return f.unshift("function"==typeof e?e:function(t){return e[t.slice(1)]||t})},b.prop=function(e){return c.unshift(e)},b.create=x,b.ssr=function(){return'<style class="bss_style" id="'+b.prefix+'">'+b.rules.join(b.prefix+"{}")+"</style>"},b.global=function(){var e=b.apply(b,arguments);j(e.content.replace(/@import[^;]*;/g,y).trim(),"__global").forEach((function(e){return y(e.replace(/\.__global/g,"").trim())}))},b.prop((function(e){if(-1===l.indexOf(e)){if(m[e])return b.debug&&console.log(e,"prefixed to",m[e]),m[e];b.debug&&0!==e.indexOf("--")&&console.log(e,"not found")}return e})),b.prop(s),t&&(t.id=b.prefix),b;function v(){if(this.className)return this.className;this.className=b.prefix+ ++b.count;var e=j(this.content.trim(),this.className);return e.forEach(y),e.name}function x(e){return function(t){for(var n=[],r=arguments.length-1;r-- >0;)n[r]=arguments[r+1];for(var o=(e||"")+t[0],l=1;l<t.length;l++){var u=n[l-1];o+=(u&&u.toString===v?u.content:Array.isArray(u)?u.map((function(e){return e.content||e})).join("\n"):u)+t[l]}if(o in i)return i[o];var c=x("\n"+o+"\n");return c.toString=c.valueOf=v,c.content=o,i[o]=c,c}}function y(e){o&&(t&&a.head&&a.head.appendChild(t),o=!1);var n=0===e.indexOf("@import")?0:b.rules.length;if(b.debug&&t)0===n?b.rules.unshift(e):b.rules.push(e),t.textContent=b.rules.map(O).join("\n");else if(t&&t.sheet)try{t.sheet.insertRule(e,n),0===n?b.rules.unshift(e):b.rules.push(e)}catch(e){b.debug&&console.log("Ignored error:",e)}else 0===n?b.rules.unshift(e):b.rules.push(e)}function O(e){return e.replace(/{/g," {\n").replace(/([;{])\n*/g,"$1\n ").replace(/(.*):(.*);/g,"$1: $2;").replace(/[\s]*}/g,"\n}\n").replace(/,\s*/g,", ").replace(/@.*{[\s\S]*?}[\s]*}/g,(function(e){return e.split("\n").reduce((function(e,t,n,r){return e+(n<r.length-1?"\n":"")+(n>1&&n<r.length-2?" ":"")+t}),"")})).trim().replace("}\n\n}","}\n}")}function j(e,t){for(var n=[],r={prop:null,propEnd:null,value:null,out:[],strict:null,comma:0,end:0,quote:!1},o=[],i=!1,l=!1,c=!1,s=!1,a=0;a<e.length;a++)if(a>0&&s&&!p(e[a])&&(t=e.slice(1,a)+"-"+t,s=!1),s||0===a&&"."===e[a])s=!0;else if(E(e,a,e[a],r),"}"===e[a]||a===e.length-1){if(w(i||l||c||n,a,t,r,o),i&&!o.length){var d=i.selector,g=l||c||n;i=i.join(""),u[i]?g[g.length-1]=g[g.length-1].slice(0,-13)+u[i].slice(10)+";}":g.unshift((u[i]=d)+"{"+i+"}"),i=!1}l&&!o.length&&((c||n).push("@font-face"===l.selector?l.selector+l.join(""):l.selector+"{"+l.join("")+"}"),l=!1),c&&!o.length&&(n.push(c.selector+"{"+c.join("")+"}"),c=!1),o.pop()}else if("{"===e[a]){var h=e.slice(r.end,a).trim().replace(/,[\s]*/,",& ");0===h.indexOf("animation")&&r.out.push(["animation",h.slice(10)+" "+t]),w(i||l||c||n,a,t,r,o),r.prop=r.value=r.propEnd=r.strict=null,0===h.indexOf("@supports")?c=Object.assign([],{selector:h}):"@"===h[0]?l=Object.assign([],{selector:f.reduce((function(e,t){return t(e)}),h.trim())}):0===h.indexOf("animation")?i=Object.assign([],{selector:"@keyframes "+t}):i?o.splice(0,o.length,h):o.push(h)}return n.name=t,n}function w(e,t,n,r,o){var i=r.out.length&&r.out.map((function(e){return e.join(":")})).join(";"),l=o.length&&":"!==o[0][0],u=!e.selector||0!==e.selector.indexOf("@keyframes ");i&&e.push((o.length&&"&"===o[0][0]||!u?"":(l?"":"."+n)+"."+n+(l?" ":""))+(u?o.join(" ").replace(/&/g,"."+n).replace(/ :/g,":"):o.join(" ").replace(/&/g,""))+"{"+i+";}"),r.end=t+1,r.out=[]}function E(e,t,r,o){o.value||null===o.prop||o.strict||":"!==r||(o.strict=!0),!o.value&&null!==o.prop&&o.out.length&&","===r?(o.value=o.comma,o.prop=o.out[o.out.length-1][0]):!o.value&&null===o.prop&&p(r)?o.prop=t:!h(o.prop)||o.propEnd||p(r)?h(o.propEnd)&&!h(o.value)&&" "!==r&&"\n"!==r&&":"!==r&&(o.value=t):o.propEnd=t,function(e,t,r,o){o.value&&d(r)&&(o.quote=!o.quote);o.quote||null===o.prop||t!==e.length-1&&";"!==e[t+1]&&"}"!==e[t+1]&&(o.strict||","===e[t-1]||"\n"!==r)||(o.out.push(function(e,t,r){if(r.strict)return[e,t];e=c.reduce((function(e,t){return t(e)}),e.trim());for(var o="",i=0,l="px",u=0;u<t.length;u++){if(g(t[u])||u===t.length-1){var s=t.slice(i,u+1).trim();o+=(l&&n(e)?s.replace(/(^|[( ,])([-0-9.]+)([ ,)]|$)/g,"$1$2"+l+"$3").trim():s)+(","===t[u]?"":" "),i=u+1}"("!==t[u]&&")"!==t[u-1]||(l=0===t.slice(i,u).indexOf("translate")?"px":0===t.slice(i,u).indexOf("rotate")?"deg":"")}return[e,o.trim().replace(/[\n ]+/g," ")]}(e.slice(o.prop,o.propEnd),e.slice(o.value,t+1).trim(),o)),o.end=t+(";"===e[t+1]?2:1),o.comma=o.value,o.value=o.prop=o.propEnd=o.strict=null)}(e,t,r,o)}}l.forEach((function(e){var t=e.match(/-(ms|o|webkit|moz)-/g);if(t){var n=e.replace(/-(ms|o|webkit|moz)-/,"");if(-1===l.indexOf(n))return"flexDirection"===n&&(b.flex="-"+t[1].toLowerCase()+"-flex"),void(m[n]=e)}}));var x=v();return x.create=v,x}));
//# sourceMappingURL=bss.min.js.map

@@ -6,5 +6,4 @@ import px from './px.js'

const doc = typeof document !== 'undefined' && window.document // eslint-disable-line
, validChar = (c, ci) => ci ? x => c.indexOf(x.toLowerCase()) > -1 : x => c.indexOf(x) > -1
, isProp = validChar('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-')
, isClass = validChar('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_', true)
, validChar = (c) => (x) => c.indexOf(x) > -1
, isIdentifier = validChar('abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_')
, isQuote = validChar('\'"')

@@ -168,3 +167,3 @@ , isValueSep = validChar(' ,)')

for (let i = 0; i < s.length; i++) {
if (i > 0 && name && !isClass(s[i])) {
if (i > 0 && name && !isIdentifier(s[i])) {
x = s.slice(1, i) + '-' + x

@@ -271,5 +270,5 @@ name = false

x.prop = x.out[x.out.length - 1][0]
} else if (!x.value && x.prop === null && isProp(v)) {
} else if (!x.value && x.prop === null && isIdentifier(v)) {
x.prop = i
} else if (isNumber(x.prop) && !x.propEnd && !isProp(v)) {
} else if (isNumber(x.prop) && !x.propEnd && !isIdentifier(v)) {
x.propEnd = i

@@ -276,0 +275,0 @@ } else if (isNumber(x.propEnd) && !isNumber(x.value) && v !== ' ' && v !== '\n' && v !== ':') {

{
"name": "bss",
"version": "3.0.0-rc.12",
"version": "3.0.0-rc.13",
"description": "Better Style Sheets",

@@ -21,7 +21,7 @@ "main": "dist/bss.js",

"devDependencies": {
"rollup": "2.6.1",
"rollup": "2.26.11",
"rollup-plugin-buble": "0.19.8",
"rollup-plugin-filesize": "7.0.0",
"rollup-plugin-terser": "5.3.0"
"rollup-plugin-filesize": "9.0.2",
"rollup-plugin-terser": "7.0.2"
}
}

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc