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

jss-plugin-nested

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jss-plugin-nested - npm Package Compare versions

Comparing version 10.0.0-alpha.10 to 10.0.0-alpha.11

6

dist/jss-plugin-nested.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
typeof define === 'function' && define.amd ? define(['exports'], factory) :
(factory((global.jssPluginNested = {})));
}(this, (function (exports) { 'use strict';
(global = global || self, factory(global.jssPluginNested = {}));
}(this, function (exports) { 'use strict';

@@ -149,3 +149,3 @@ function _extends() {

})));
}));
//# sourceMappingURL=jss-plugin-nested.js.map

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

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t(e.jssPluginNested={})}(this,function(e){"use strict";function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var l=/\s*,\s*/g,a=/&/g,g=/\$([\w-]+)/g;e.default=function(){function c(r,o){return function(e,t){var n=r.getRule(t)||o&&o.getRule(t);return n?(n=n).selector:t}}function d(e,t){for(var n=t.split(l),r=e.split(l),o="",i=0;i<n.length;i++)for(var u=n[i],f=0;f<r.length;f++){var s=r[f];o&&(o+=", "),o+=-1!==s.indexOf("&")?s.replace(a,u):u+" "+s}return o}function p(e,t,n){if(n)return v({},n,{index:n.index+1});var r=e.options.nestingLevel;return r=void 0===r?1:r+1,v({},e.options,{nestingLevel:r,index:t.indexOf(e)+1})}return{onProcessStyle:function(e,t,n){if("style"!==t.type)return e;var r,o,i=t,u=i.options.parent;for(var f in e){var s=-1!==f.indexOf("&"),l="@"===f[0];if(s||l){if(r=p(i,u,r),s){var a=d(f,i.selector);o||(o=c(u,n)),a=a.replace(g,o),u.addRule(a,e[f],v({},r,{selector:a}))}else l&&u.addRule(f,{},r).addRule(i.key,e[f],{selector:i.selector});delete e[f]}}return e}}},Object.defineProperty(e,"__esModule",{value:!0})});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).jssPluginNested={})}(this,function(e){"use strict";function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var n=/\s*,\s*/g,r=/&/g,o=/\$([\w-]+)/g;e.default=function(){function e(e,t){return function(n,r){var o=e.getRule(r)||t&&t.getRule(r);return o?(o=o).selector:r}}function i(e,t){for(var o=t.split(n),i=e.split(n),f="",s=0;s<o.length;s++)for(var u=o[s],l=0;l<i.length;l++){var a=i[l];f&&(f+=", "),f+=-1!==a.indexOf("&")?a.replace(r,u):u+" "+a}return f}function f(e,n,r){if(r)return t({},r,{index:r.index+1});var o=e.options.nestingLevel;return o=void 0===o?1:o+1,t({},e.options,{nestingLevel:o,index:n.indexOf(e)+1})}return{onProcessStyle:function(n,r,s){if("style"!==r.type)return n;var u,l,a=r,c=a.options.parent;for(var d in n){var p=-1!==d.indexOf("&"),v="@"===d[0];if(p||v){if(u=f(a,c,u),p){var g=i(d,a.selector);l||(l=e(c,s)),g=g.replace(o,l),c.addRule(g,n[d],t({},u,{selector:g}))}else v&&c.addRule(d,{},u).addRule(a.key,n[d],{selector:a.selector});delete n[d]}}return n}}},Object.defineProperty(e,"__esModule",{value:!0})});
{
"name": "jss-plugin-nested",
"description": "JSS plugin that enables support for nested selectors",
"version": "10.0.0-alpha.10",
"version": "10.0.0-alpha.11",
"license": "MIT",

@@ -41,10 +41,10 @@ "homepage": "https://cssinjs.org/jss-nested",

"devDependencies": {
"jss-plugin-rule-value-function": "10.0.0-alpha.10"
"jss-plugin-rule-value-function": "10.0.0-alpha.11"
},
"dependencies": {
"@babel/runtime": "^7.0.0",
"jss": "10.0.0-alpha.10",
"@babel/runtime": "^7.3.1",
"jss": "10.0.0-alpha.11",
"tiny-warning": "^1.0.2"
},
"gitHead": "953234ad4e69b2f3d00fb9d683fba24865d2c4dd"
"gitHead": "79343bda7df92609218aea1c9907297051cfc6ed"
}

@@ -12,3 +12,3 @@ # jss-plugin-nested

See our website [jss-plugin-nested](https://cssinjs.org/jss-plugin-nested?v=v10.0.0-alpha.10) for more information.
See our website [jss-plugin-nested](https://cssinjs.org/jss-plugin-nested?v=v10.0.0-alpha.11) for more information.

@@ -15,0 +15,0 @@ ## Install

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