@styled-system/theme-get
Advanced tools
Comparing version 5.0.0-alpha.0 to 5.0.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.__esModule = true; | ||
exports["default"] = exports.themeGet = void 0; | ||
@@ -10,4 +8,7 @@ | ||
var themeGet = function themeGet(path) { | ||
var fallback = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null; | ||
var themeGet = function themeGet(path, fallback) { | ||
if (fallback === void 0) { | ||
fallback = null; | ||
} | ||
return function (props) { | ||
@@ -14,0 +15,0 @@ return (0, _core.get)(props.theme, path, fallback); |
{ | ||
"name": "@styled-system/theme-get", | ||
"version": "5.0.0-alpha.0", | ||
"version": "5.0.0", | ||
"main": "dist/index.js", | ||
"module": "dist/index.esm.js", | ||
"author": "Brent Jackson <jxnblk@gmail.com>", | ||
"license": "MIT", | ||
"scripts": { | ||
"prepare": "babel src -d dist" | ||
}, | ||
"dependencies": { | ||
"@styled-system/core": "^5.0.0-alpha.0" | ||
"@styled-system/core": "^5.0.0" | ||
}, | ||
"gitHead": "5357d5b7338f1236054dcd026bb27d8ca6a8e146", | ||
"gitHead": "e67157cfd0222c355826adf5ad271534653c00df", | ||
"publishConfig": { | ||
@@ -15,0 +13,0 @@ "access": "public" |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
2800
6
47
Updated@styled-system/core@^5.0.0