New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

react-curry

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-curry - npm Package Compare versions

Comparing version 1.1.7 to 1.1.8

2

lib2/index.js

@@ -17,4 +17,4 @@ 'use strict';

return function (props) {
return typeof ComponentOrElementName === 'string' ? _react2.default.createElement(ComponentOrElementName, (0, _ramda.mergeDeepLeft)(preProps, props)) : _react2.default.createElement(ComponentOrElementName, (0, _ramda.mergeDeepLeft)(preProps, props));
return typeof ComponentOrElementName === 'string' ? _react2.default.createElement(ComponentOrElementName, (0, _ramda.mergeDeepRight)(preProps, props)) : _react2.default.createElement(ComponentOrElementName, (0, _ramda.mergeDeepRight)(preProps, props));
};
};
{
"name": "react-curry",
"version": "1.1.7",
"version": "1.1.8",
"description": "react stateless component curry",

@@ -5,0 +5,0 @@ "main": "./lib2/index.js",

import React from 'react';
import { mergeDeepLeft } from 'ramda';
import { mergeDeepRight } from 'ramda';
export default (ComponentOrElementName, preProps) => (props) =>
export default (ComponentOrElementName, preProps) => props =>
(typeof ComponentOrElementName === 'string')
? React.createElement(ComponentOrElementName, mergeDeepLeft(preProps, props))
: <ComponentOrElementName {...mergeDeepLeft(preProps, props)} />
? React.createElement(ComponentOrElementName, mergeDeepRight(preProps, props))
: <ComponentOrElementName {...mergeDeepRight(preProps, props)} />
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