New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

jss-preset-default

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jss-preset-default - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

4

dist/jss-preset-default.js

@@ -7,5 +7,5 @@ (function webpackUniversalModuleDefinition(root, factory) {

else if(typeof exports === 'object')
exports["jssCamelCase"] = factory();
exports["jssPreset"] = factory();
else
root["jssCamelCase"] = factory();
root["jssPreset"] = factory();
})(this, function() {

@@ -12,0 +12,0 @@ return /******/ (function(modules) { // webpackBootstrap

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

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.jssCamelCase=t():e.jssCamelCase=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(1),i=n(o),u=r(2),a=n(u),d=r(3),p=n(d),s=r(4),l=n(s),f=r(6),c=n(f),x=r(12),g=n(x);t["default"]=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return{plugins:[(0,i["default"])(e.extend),(0,a["default"])(e.nested),(0,p["default"])(e.camelCase),(0,l["default"])(e.defaultUnit),(0,c["default"])(e.vendorPrefixer),(0,g["default"])(e.propsSort)]}}},function(e,t){"use strict";function r(e,t,o){if("string"==typeof o.extend){if(e.options&&e.options.sheet){var i=e.options.sheet.getRule(o.extend);i&&(i===e?n("A rule tries to extend itself \r\n"+e.toString()):r(e,t,i.originalStyle))}}else if(Array.isArray(o.extend))for(var u=0;u<o.extend.length;u++)r(e,t,o.extend[u]);else for(var a in o.extend)"extend"===a?r(e,t,o.extend.extend):t[a]=o.extend[a];for(var d in o)"extend"!==d&&(t[d]=o[d]);return t}Object.defineProperty(t,"__esModule",{value:!0});var n=console.warn.bind(console);t["default"]=function(){return function(e){e.style&&e.style.extend&&(e.style=r(e,{},e.style))}}},function(e,t){"use strict";function r(e){return function(t,r){var n=e.getRule(r);return n?n.selector:(i("JSS: could not find the referenced rule "+r+"."),r)}}function n(){return function(e){if("regular"===e.type){var t=e.options,n=t.sheet,i=t.jss,d=t.parent,p=n||i,s=void 0,l=void 0;d&&"conditional"===d.type&&(p=d);for(var f in e.style)if("&"===f[0]){s||(s=o({},e.options,{named:!1})),l||(l=r(p));var c=f.replace(u,e.selector).replace(a,l);p.createRule(c,e.style[f],s),delete e.style[f]}}}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t["default"]=n;var i=console.warn.bind(console),u=/&/g,a=/\$(\w+)/g},function(e,t){"use strict";function r(e){return"-"+e.toLowerCase()}function n(e){var t={};for(var n in e){var i=e[n];n=n.replace(o,r),t[n]=i}return t}Object.defineProperty(t,"__esModule",{value:!0});var o=/([A-Z])/g;t["default"]=function(){return function(e){var t=e.style;if(t)if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=n(t[r]);else e.style=n(t)}}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,r){var n=t;switch(t.constructor){case Object:for(var u in t)t[u]=o(u,t[u],r);break;case Array:for(var a=0;a<t.length;a++)t[a]=o(e,t[a],r);break;case Number:n=i(e,t,r)}return n}function i(e,t,r){return"number"==typeof t&&0!==t&&(t+=r[e]||d["default"][e]||""),t}function u(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return function(t){var r=t.style,n=t.type;if(r&&"regular"===n)for(var i in r)r[i]=o(i,r[i],e)}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=u;var a=r(5),d=n(a)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={"animation-delay":"ms","animation-duration":"ms","background-position-x":"px","background-position-y":"px","background-size":"px",border:"px","border-bottom":"px","border-bottom-left-radius":"px","border-bottom-right-radius":"px","border-bottom-width":"px","border-left":"px","border-left-width":"px","border-radius":"px","border-right":"px","border-right-width":"px","border-spacing":"px","border-top":"px","border-top-left-radius":"px","border-top-right-radius":"px","border-top-width":"px","border-width":"px","border-after-width":"px","border-before-width":"px","border-end-width":"px","border-horizontal-spacing":"px","border-start-width":"px","border-vertical-spacing":"px",bottom:"px","column-gap":"px","column-rule":"px","column-rule-width":"px","column-width":"px","flex-basis":"px","font-size":"px","font-size-delta":"px",height:"px",left:"px","letter-spacing":"px","logical-height":"px","logical-width":"px",margin:"px","margin-after":"px","margin-before":"px","margin-bottom":"px","margin-left":"px","margin-right":"px","margin-top":"px","max-height":"px","max-width":"px","margin-end":"px","margin-start":"px","mask-position-x":"px","mask-position-y":"px","mask-size":"px","max-logical-height":"px","max-logical-width":"px","min-height":"px","min-width":"px","min-logical-height":"px","min-logical-width":"px",motion:"px","motion-offset":"px",outline:"px","outline-offset":"px","outline-width":"px",padding:"px","padding-bottom":"px","padding-left":"px","padding-right":"px","padding-top":"px","padding-after":"px","padding-before":"px","padding-end":"px","padding-start":"px","perspective-origin-x":"%","perspective-origin-y":"%",perspective:"px",right:"px","shape-margin":"px",size:"px","text-indent":"px","text-stroke":"px","text-stroke-width":"px",top:"px","transform-origin":"%","transform-origin-x":"%","transform-origin-y":"%","transform-origin-z":"%","transition-delay":"ms","transition-duration":"ms","vertical-align":"px",width:"px","word-spacing":"px"}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function o(){return function(e){if("keyframe"===e.type)return void(e.selector="@"+u.prefix.css+e.selector.substr(1));if("regular"===e.type)for(var t in e.style){var r=e.style[t],n=!1,o=u.supportedProperty(t);o&&o!==t&&(n=!0);var i=!1,a=u.supportedValue(o,r);a&&a!==r&&(i=!0),(n||i)&&(n&&delete e.style[t],e.style[o||t]=a||r)}}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=r(7),u=n(i)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.supportedValue=t.supportedProperty=t.prefix=void 0;var o=r(8),i=n(o),u=r(9),a=n(u),d=r(11),p=n(d);t["default"]={prefix:i["default"],supportedProperty:a["default"],supportedValue:p["default"]},/**
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.jssPreset=t():e.jssPreset=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(1),i=n(o),u=r(2),a=n(u),d=r(3),p=n(d),s=r(4),l=n(s),f=r(6),c=n(f),x=r(12),g=n(x);t["default"]=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return{plugins:[(0,i["default"])(e.extend),(0,a["default"])(e.nested),(0,p["default"])(e.camelCase),(0,l["default"])(e.defaultUnit),(0,c["default"])(e.vendorPrefixer),(0,g["default"])(e.propsSort)]}}},function(e,t){"use strict";function r(e,t,o){if("string"==typeof o.extend){if(e.options&&e.options.sheet){var i=e.options.sheet.getRule(o.extend);i&&(i===e?n("A rule tries to extend itself \r\n"+e.toString()):r(e,t,i.originalStyle))}}else if(Array.isArray(o.extend))for(var u=0;u<o.extend.length;u++)r(e,t,o.extend[u]);else for(var a in o.extend)"extend"===a?r(e,t,o.extend.extend):t[a]=o.extend[a];for(var d in o)"extend"!==d&&(t[d]=o[d]);return t}Object.defineProperty(t,"__esModule",{value:!0});var n=console.warn.bind(console);t["default"]=function(){return function(e){e.style&&e.style.extend&&(e.style=r(e,{},e.style))}}},function(e,t){"use strict";function r(e){return function(t,r){var n=e.getRule(r);return n?n.selector:(i("JSS: could not find the referenced rule "+r+"."),r)}}function n(){return function(e){if("regular"===e.type){var t=e.options,n=t.sheet,i=t.jss,d=t.parent,p=n||i,s=void 0,l=void 0;d&&"conditional"===d.type&&(p=d);for(var f in e.style)if("&"===f[0]){s||(s=o({},e.options,{named:!1})),l||(l=r(p));var c=f.replace(u,e.selector).replace(a,l);p.createRule(c,e.style[f],s),delete e.style[f]}}}}Object.defineProperty(t,"__esModule",{value:!0});var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};t["default"]=n;var i=console.warn.bind(console),u=/&/g,a=/\$(\w+)/g},function(e,t){"use strict";function r(e){return"-"+e.toLowerCase()}function n(e){var t={};for(var n in e){var i=e[n];n=n.replace(o,r),t[n]=i}return t}Object.defineProperty(t,"__esModule",{value:!0});var o=/([A-Z])/g;t["default"]=function(){return function(e){var t=e.style;if(t)if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]=n(t[r]);else e.style=n(t)}}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,r){var n=t;switch(t.constructor){case Object:for(var u in t)t[u]=o(u,t[u],r);break;case Array:for(var a=0;a<t.length;a++)t[a]=o(e,t[a],r);break;case Number:n=i(e,t,r)}return n}function i(e,t,r){return"number"==typeof t&&0!==t&&(t+=r[e]||d["default"][e]||""),t}function u(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return function(t){var r=t.style,n=t.type;if(r&&"regular"===n)for(var i in r)r[i]=o(i,r[i],e)}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=u;var a=r(5),d=n(a)},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t["default"]={"animation-delay":"ms","animation-duration":"ms","background-position-x":"px","background-position-y":"px","background-size":"px",border:"px","border-bottom":"px","border-bottom-left-radius":"px","border-bottom-right-radius":"px","border-bottom-width":"px","border-left":"px","border-left-width":"px","border-radius":"px","border-right":"px","border-right-width":"px","border-spacing":"px","border-top":"px","border-top-left-radius":"px","border-top-right-radius":"px","border-top-width":"px","border-width":"px","border-after-width":"px","border-before-width":"px","border-end-width":"px","border-horizontal-spacing":"px","border-start-width":"px","border-vertical-spacing":"px",bottom:"px","column-gap":"px","column-rule":"px","column-rule-width":"px","column-width":"px","flex-basis":"px","font-size":"px","font-size-delta":"px",height:"px",left:"px","letter-spacing":"px","logical-height":"px","logical-width":"px",margin:"px","margin-after":"px","margin-before":"px","margin-bottom":"px","margin-left":"px","margin-right":"px","margin-top":"px","max-height":"px","max-width":"px","margin-end":"px","margin-start":"px","mask-position-x":"px","mask-position-y":"px","mask-size":"px","max-logical-height":"px","max-logical-width":"px","min-height":"px","min-width":"px","min-logical-height":"px","min-logical-width":"px",motion:"px","motion-offset":"px",outline:"px","outline-offset":"px","outline-width":"px",padding:"px","padding-bottom":"px","padding-left":"px","padding-right":"px","padding-top":"px","padding-after":"px","padding-before":"px","padding-end":"px","padding-start":"px","perspective-origin-x":"%","perspective-origin-y":"%",perspective:"px",right:"px","shape-margin":"px",size:"px","text-indent":"px","text-stroke":"px","text-stroke-width":"px",top:"px","transform-origin":"%","transform-origin-x":"%","transform-origin-y":"%","transform-origin-z":"%","transition-delay":"ms","transition-duration":"ms","vertical-align":"px",width:"px","word-spacing":"px"}},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t["default"]=e,t}function o(){return function(e){if("keyframe"===e.type)return void(e.selector="@"+u.prefix.css+e.selector.substr(1));if("regular"===e.type)for(var t in e.style){var r=e.style[t],n=!1,o=u.supportedProperty(t);o&&o!==t&&(n=!0);var i=!1,a=u.supportedValue(o,r);a&&a!==r&&(i=!0),(n||i)&&(n&&delete e.style[t],e.style[o||t]=a||r)}}}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=o;var i=r(7),u=n(i)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0}),t.supportedValue=t.supportedProperty=t.prefix=void 0;var o=r(8),i=n(o),u=r(9),a=n(u),d=r(11),p=n(d);t["default"]={prefix:i["default"],supportedProperty:a["default"],supportedValue:p["default"]},/**
* CSS Vendor prefix detection and property feature testing.

@@ -3,0 +3,0 @@ *

@@ -0,3 +1,7 @@

## 0.1.1 / 2016-08-07
- fix webpack config
## 0.1.0 / 2016-08-06
- first release
{
"name": "jss-preset-default",
"description": "Default preset for JSS with selected plugins.",
"version": "0.1.0",
"version": "0.1.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Oleg Slobodskoi",

@@ -19,3 +19,3 @@ 'use strict'

output: {
library: 'jssCamelCase',
library: 'jssPreset',
libraryTarget: 'umd'

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