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

@cicada/render

Package Overview
Dependencies
Maintainers
1
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cicada/render - npm Package Compare versions

Comparing version 1.0.0-alpha6 to 1.0.0-alpha7

7

lib/createConnect.js

@@ -312,5 +312,7 @@ 'use strict';

key: 'componentWillReceiveProps',
value: function componentWillReceiveProps() {
value: function componentWillReceiveProps(nextProps) {
// 不接受 config 动态变化
throw new Error('connected component received new props, statePath: ' + this.getResolvedStatePath());
/* eslint-disable no-console */
console.warn('connected component should never received new props, statePath: ' + this.getResolvedStatePath(), this.props, nextProps);
/* eslint-enable no-console */
}

@@ -436,3 +438,2 @@ }, {

// TODO 考虑 Row.Col 的问题, identifier 没有 bind 的问题
(0, _assign2.default)(Wrapper, (0, _util.mapValues)(identifiers, createIdentifierComponent));

@@ -439,0 +440,0 @@ return Wrapper;

{
"name": "@cicada/render",
"version": "1.0.0-alpha6",
"version": "1.0.0-alpha7",
"main": "./lib/index.js",

@@ -5,0 +5,0 @@ "scripts": {

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