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

@cicada/render

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cicada/render - npm Package Compare versions

Comparing version

to
1.0.0-alpha7

@@ -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": {