onno-react
Advanced tools
Comparing version 0.5.4 to 0.6.0
@@ -165,6 +165,4 @@ "use strict" | ||
function omit(options) { | ||
const propsKeys = options.propsKeys || ["theme"] | ||
if (!propsKeys.includes("theme")) propsKeys.push("theme") | ||
return filter({ | ||
propsKeys, | ||
propsKeys: options.propsKeys, | ||
renderers: options.renderers, | ||
@@ -171,0 +169,0 @@ initial: (props) => Object.assign({}, props), |
@@ -161,6 +161,4 @@ import { oneOfType, number, string, objectOf, arrayOf } from "prop-types" | ||
function omit(options) { | ||
const propsKeys = options.propsKeys || ["theme"] | ||
if (!propsKeys.includes("theme")) propsKeys.push("theme") | ||
return filter({ | ||
propsKeys, | ||
propsKeys: options.propsKeys, | ||
renderers: options.renderers, | ||
@@ -167,0 +165,0 @@ initial: (props) => Object.assign({}, props), |
{ | ||
"name": "onno-react", | ||
"license": "MIT", | ||
"version": "0.5.4", | ||
"version": "0.6.0", | ||
"homepage": "https://onnojs.com", | ||
@@ -30,6 +30,6 @@ "description": "Onno propTypes for React", | ||
"@types/prop-types": "15.7.1", | ||
"onno": "0.5.4", | ||
"onno": "0.6.0", | ||
"prop-types": "15.7.2" | ||
}, | ||
"gitHead": "ec06cad8206dcca01624ecfb1708fb4917adf593" | ||
"gitHead": "7b2461c415e9a8a902515f82bf734805d7b4aa6d" | ||
} |
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
59481
2204
+ Addedonno@0.6.0(transitive)
- Removedonno@0.5.4(transitive)
Updatedonno@0.6.0