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

@shopify/react-compose

Package Overview
Dependencies
Maintainers
19
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shopify/react-compose - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

2

build/ts/index.d.ts

@@ -6,3 +6,3 @@ import React from 'react';

export declare type WrappingFunction = (Component: ReactComponent<any>) => ReactComponent<any>;
export default function compose<Props>(...wrappingFunctions: WrappingFunction[]): <ComposedProps, C>(OriginalComponent: (React.ComponentClass<ComposedProps, any> & C) | (React.FunctionComponent<ComposedProps> & C)) => (React.ComponentClass<Props, any> & Pick<(React.ComponentClass<ComposedProps, any> & C) | (React.FunctionComponent<ComposedProps> & C), "defaultProps" | Exclude<keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"displayName" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"getDerivedStateFromProps" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"childContextTypes" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"contextType" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"contextTypes" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"propTypes" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"defaultProps" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"getDerivedStateFromError" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<keyof C & "displayName", "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<keyof C & "contextTypes", "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<keyof C & "propTypes", "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<keyof C & "defaultProps", "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes">>) | (React.FunctionComponent<Props> & Pick<(React.ComponentClass<ComposedProps, any> & C) | (React.FunctionComponent<ComposedProps> & C), "defaultProps" | Exclude<keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"displayName" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"getDerivedStateFromProps" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"childContextTypes" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"contextType" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"contextTypes" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"propTypes" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"defaultProps" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<"getDerivedStateFromError" & keyof C, "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<keyof C & "displayName", "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<keyof C & "contextTypes", "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<keyof C & "propTypes", "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes"> | Exclude<keyof C & "defaultProps", "displayName" | "getDerivedStateFromProps" | "getDerivedStateFromErrors" | "childContextTypes" | "contextType" | "contextTypes" | "getDefaultProps" | "propTypes">>);
export default function compose<Props>(...wrappingFunctions: WrappingFunction[]): <ComposedProps, C>(OriginalComponent: ReactComponent<ComposedProps> & C) => ReactComponent<Props> & NonReactStatics<ReactComponent<ComposedProps> & C>;
//# sourceMappingURL=index.d.ts.map
{
"name": "@shopify/react-compose",
"version": "2.1.2",
"version": "2.1.3",
"license": "MIT",

@@ -26,3 +26,3 @@ "description": "Cleanly compose multiple component enhancers together with minimal fuss",

"dependencies": {
"@shopify/useful-types": "^3.0.3",
"@shopify/useful-types": "^3.0.4",
"hoist-non-react-statics": "^3.0.1"

@@ -35,4 +35,5 @@ },

"files": [
"build/*",
"build/",
"!build/*.tsbuildinfo",
"!build/ts/**/tests/",
"index.js",

@@ -52,3 +53,3 @@ "index.mjs",

},
"gitHead": "798d03d90b914be7bcd43092910840fb7d58866f"
"gitHead": "80f3bf1a062fa2d432e63fe797716f9c0b226195"
}

Sorry, the diff of this file is not supported yet

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