@styled-system/css
Advanced tools
Comparing version 2.0.3 to 2.0.4
@@ -6,3 +6,3 @@ "use strict"; | ||
}); | ||
exports["default"] = exports.css = exports.responsive = void 0; | ||
exports["default"] = exports.css = exports.responsive = exports.get = void 0; | ||
@@ -38,2 +38,3 @@ function _typeof(obj) { if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } | ||
exports.get = get; | ||
var defaultBreakpoints = [40, 52, 64].map(function (n) { | ||
@@ -40,0 +41,0 @@ return n + 'em'; |
// based on https://github.com/developit/dlv | ||
const get = (obj, key = '', def, p, undef) => { | ||
export const get = (obj, key = '', def, p, undef) => { | ||
key = key.split ? key.split('.') : [key] | ||
@@ -4,0 +4,0 @@ for (p = 0; p < key.length; p++) { |
{ | ||
"name": "@styled-system/css", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13753
343