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

connect-alt

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-alt - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

11

CHANGELOG.md

@@ -1,3 +0,8 @@

### v1.0.7
### v1.0.9
* add static prop to DecoratedComponent
* revert refs to DecoratedComponent
### v1.0.8
* provide a way to access to the DecoratedComponent instance (d64b703)

@@ -7,2 +12,6 @@ * copy correct displayName from decorated component (7e87b60)

## v1.0.7
* re-revert custom `takeSnapshot`
## v1.0.6

@@ -9,0 +18,0 @@

8

dist/main.js

@@ -95,5 +95,3 @@ 'use strict';

return _react2['default'].createElement(DecoratedComponent, _extends({
ref: 'decoratedComponent'
}, this.props, customProps));
return _react2['default'].createElement(DecoratedComponent, _extends({}, this.props, customProps));
}

@@ -108,2 +106,6 @@ }], [{

enumerable: true
}, {
key: 'decoratedComponent',
value: DecoratedComponent,
enumerable: true
}]);

@@ -110,0 +112,0 @@

{
"name": "connect-alt",
"version": "1.0.8",
"version": "1.0.9",
"description": "Decorator for passing Altjs store state through props",

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

@@ -20,2 +20,3 @@ import React, { PropTypes } from 'react';

static displayName = `Connect(${getDisplayName(DecoratedComponent)})`
static decoratedComponent = DecoratedComponent

@@ -55,8 +56,3 @@ state = { customProps: reducer(this.takeSnapshot()) };

const { customProps } = this.state;
return (
<DecoratedComponent
ref='decoratedComponent'
{ ...this.props }
{ ...customProps } />
);
return (<DecoratedComponent { ...this.props } { ...customProps } />);
}

@@ -63,0 +59,0 @@ }

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