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.0 to 0.4.1

8

cjs/index.js

@@ -64,2 +64,7 @@ "use strict"

}
function merge(array, initial = {}) {
return array.reduce((acc, val) => {
return isArray(val) ? merge(val, initial) : Object.assign(acc, val)
}, initial)
}

@@ -107,5 +112,2 @@ const KEYS = ["propsKeys", "styleKeys", "themeKeys"]

function merge(styles) {
return styles.reduce((o, s) => Object.assign(o, s), {})
}
function interpolate(options) {

@@ -112,0 +114,0 @@ let { name, renderers } = options

@@ -60,2 +60,7 @@ import { oneOfType, number, string, objectOf, arrayOf } from "prop-types"

}
function merge(array, initial = {}) {
return array.reduce((acc, val) => {
return isArray(val) ? merge(val, initial) : Object.assign(acc, val)
}, initial)
}

@@ -103,5 +108,2 @@ const KEYS = ["propsKeys", "styleKeys", "themeKeys"]

function merge(styles) {
return styles.reduce((o, s) => Object.assign(o, s), {})
}
function interpolate(options) {

@@ -108,0 +110,0 @@ let { name, renderers } = options

{
"name": "onno-react",
"license": "MIT",
"version": "0.4.0",
"version": "0.4.1",
"homepage": "https://onnojs.com",

@@ -30,6 +30,6 @@ "description": "Onno propTypes for React",

"@types/prop-types": "15.7.1",
"onno": "0.4.0",
"onno": "0.4.1",
"prop-types": "15.7.2"
},
"gitHead": "29c8a0cb54ab74ad59cf4e2284f72fe97ef4d526"
"gitHead": "c1c97a224a30ea71b2d6ae8a78a05d68ebf41c3a"
}
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