onno-react
Advanced tools
Comparing version 0.4.4 to 0.4.5
@@ -94,6 +94,11 @@ "use strict" | ||
} | ||
renderers.forEach((fn) => | ||
KEYS.forEach((key) => { | ||
const keys = fn.options[key] | ||
if (keys) push.apply(composedOptions[key], keys) | ||
renderers.forEach((renderer) => | ||
KEYS.forEach((optionsKey) => { | ||
const composedKeys = composedOptions[optionsKey] | ||
const rendererKeys = renderer.options[optionsKey] | ||
if (rendererKeys) { | ||
rendererKeys.forEach((key) => { | ||
if (!composedKeys.includes(key)) composedKeys.push(key) | ||
}) | ||
} | ||
}) | ||
@@ -100,0 +105,0 @@ ) |
@@ -90,6 +90,11 @@ import { oneOfType, number, string, objectOf, arrayOf } from "prop-types" | ||
} | ||
renderers.forEach((fn) => | ||
KEYS.forEach((key) => { | ||
const keys = fn.options[key] | ||
if (keys) push.apply(composedOptions[key], keys) | ||
renderers.forEach((renderer) => | ||
KEYS.forEach((optionsKey) => { | ||
const composedKeys = composedOptions[optionsKey] | ||
const rendererKeys = renderer.options[optionsKey] | ||
if (rendererKeys) { | ||
rendererKeys.forEach((key) => { | ||
if (!composedKeys.includes(key)) composedKeys.push(key) | ||
}) | ||
} | ||
}) | ||
@@ -96,0 +101,0 @@ ) |
{ | ||
"name": "onno-react", | ||
"license": "MIT", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"homepage": "https://onnojs.com", | ||
@@ -30,6 +30,6 @@ "description": "Onno propTypes for React", | ||
"@types/prop-types": "15.7.1", | ||
"onno": "0.4.4", | ||
"onno": "0.4.5", | ||
"prop-types": "15.7.2" | ||
}, | ||
"gitHead": "4addb96e57bac9689264f2018a7c88577011212b" | ||
"gitHead": "82608cd1bc7d7419f432047fd4307fd37a12a2b6" | ||
} |
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
59097
2172
+ Addedonno@0.4.5(transitive)
- Removedonno@0.4.4(transitive)
Updatedonno@0.4.5