Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mesh-envoy-component

Package Overview
Dependencies
Maintainers
1
Versions
203
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mesh-envoy-component - npm Package Compare versions

Comparing version 1.0.16 to 1.0.17

47

dist/dist.js

@@ -1,2 +0,2 @@

import { EMPTY_OBJ, ERROR_MSG, Lifecycle, NO_OP, isArray, isFunction, isInvalid, isNullOrUndef, isStringOrNumber, throwError } from 'mesh-envoy-shared';
import { EMPTY_OBJ, ERROR_MSG, Lifecycle, NO_OP, isArray, isFunction, isNullOrUndef, isStringOrNumber, throwError } from 'mesh-envoy-shared';

@@ -70,5 +70,3 @@ var classCallCheck = function (instance, Constructor) {

if (isInvalid(nextInput)) {
// TODO: createVoidVNode
} else if (nextInput === NO_OP) {
if (nextInput === NO_OP) {
nextInput = component._lastInput;

@@ -89,5 +87,3 @@ didUpdate = false;

var vNode = component._vNode;
// const parentDom = (lastInput.elm && lastInput.elm.parentNode) || (lastInput.elm = vNode.elm)
// component._lastInput = nextInput
if (didUpdate) {

@@ -114,3 +110,2 @@ var subLifecycle = component._lifecycle;

component.componentDidUpdate(props, prevState);
// TODO: after update
}

@@ -122,3 +117,2 @@

componentToDOMNodeMap && componentToDOMNodeMap.set(component, dom);
// updateParentComponentVNodes(vNode, dom)
}

@@ -183,3 +177,3 @@

writable: true,
value: false
value: true
});

@@ -196,7 +190,2 @@ Object.defineProperty(this, '_deferSetState', {

});
Object.defineProperty(this, '_syncSetState', {
enumerable: true,
writable: true,
value: true
});
Object.defineProperty(this, '_pendingState', {

@@ -220,3 +209,3 @@ enumerable: true,

writable: true,
value: true
value: false
});

@@ -233,7 +222,2 @@ Object.defineProperty(this, '_lifecycle', {

});
Object.defineProperty(this, '_patch', {
enumerable: true,
writable: true,
value: null
});
Object.defineProperty(this, '_childNodes', {

@@ -265,7 +249,7 @@ enumerable: true,

if (!this._ignoreSetState) {
queueStateChanges(this, newState, callback, this._syncSetState);
queueStateChanges(this, newState, callback, false);
}
} else {
if (process.env.NODE_ENV !== 'production') {
throwError('cannot update state via setState() in componentWillUpdate().');
throwError('cannot update state via setState() in componentWillUpdate() or Constructor.');
}

@@ -282,8 +266,6 @@ throwError();

if (!this._blockSetState) {
if (!this._ignoreSetState) {
queueStateChanges(this, newState, null, true);
}
queueStateChanges(this, newState, null, true);
} else {
if (process.env.NODE_ENV !== 'production') {
throwError('cannot update state via setState() in componentWillUpdate().');
throwError('cannot update state via setStateSync() in componentWillUpdate() or Constructor.');
}

@@ -319,2 +301,5 @@ throwError();

value: function componentWillUnmount() {}
}, {
key: 'componentDidMount',
value: function componentDidMount() {}

@@ -327,2 +312,8 @@ /* eslint-enable no-unused-vars */

}, {
key: 'excutePatchQueue',
value: function excutePatchQueue() {}
}, {
key: '_patch',
value: function _patch() {}
}, {
key: '_undateComponent',

@@ -361,8 +352,4 @@ value: function _undateComponent(prevState, nextState, prevProps, nextProps, context, force, fromSetState) {

// TODO: beforeRender call
var render = this.render(nextProps, nextState, context);
// TODO: afterRender call
return render;

@@ -369,0 +356,0 @@ }

{
"name": "mesh-envoy-component",
"version": "1.0.16",
"version": "1.0.17",
"description": "",

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

"scripts": {
"dev": "nodemon --ignore dist build.js",
"build": "node ./build.js",
"flow": "flow",
"test": "BABEL_ENV=test jest"
"test": "BABEL_ENV=test jest --watch"
},

@@ -20,7 +21,8 @@ "keywords": [],

"dependencies": {
"mesh-envoy-shared": "^1.0.7",
"mesh-envoy": "^1.0.16"
"mesh-envoy": "^1.0.17",
"mesh-envoy-shared": "^1.0.17"
},
"devDependencies": {
"babel-eslint": "^7.1.1",
"babel-jest": "^19.0.0",
"babel-plugin-transform-class-properties": "^6.23.0",

@@ -36,5 +38,8 @@ "babel-plugin-transform-flow-strip-types": "^6.22.0",

"transformIgnorePatterns": [
"node_modules/(?!mesh-envoy-shared)"
]
"node_modules/"
],
"moduleNameMapper": {
"mesh-envoy-shared": "<rootDir>/node_modules/mesh-envoy-shared/dist/dist.js"
}
}
}
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