Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

onno-react

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onno-react - npm Package Compare versions

Comparing version 0.4.4 to 0.4.5

13

cjs/index.js

@@ -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"
}
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