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

@cerebral/angularjs

Package Overview
Dependencies
Maintainers
5
Versions
270
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cerebral/angularjs - npm Package Compare versions

Comparing version 4.0.0-1521140905511 to 4.0.0-1525724201307

14

lib/module.js

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

Object.assign(_this.props, nextProps);
Object.assign(_this.ctrl, _this.view.getProps(nextProps, false));
_this.view.render(nextProps, function (componentProps) {
Object.assign(_this.ctrl, componentProps);
}, false);
_this.scope.safeApply();

@@ -70,3 +72,5 @@ };

};
Object.assign(_this.ctrl, _this.view.getProps(_this.props, false));
_this.view.render(_this.props, function (componentProps) {
Object.assign(_this.ctrl, componentProps);
}, false);
};

@@ -78,4 +82,8 @@ }

value: function onUpdate(stateChanges, force) {
var _this2 = this;
this.view.updateFromState(stateChanges, this.props, force);
Object.assign(this.ctrl, this.view.getProps(this.props, false));
this.view.render(this.props, function (componentProps) {
Object.assign(_this2.ctrl, componentProps);
}, false);
this.scope.safeApply();

@@ -82,0 +90,0 @@ }

{
"name": "@cerebral/angularjs",
"version": "4.0.0-1521140905511",
"version": "4.0.0-1525724201307",
"description": "Angularjs view for Cerebral",

@@ -17,3 +17,3 @@ "main": "index.js",

"dependencies": {
"cerebral": "^5.0.0-1521140905511"
"cerebral": "^5.0.0-1525724201307"
},

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

@@ -10,2 +10,3 @@ # @cerebral/angularjs

## Config
```js

@@ -39,2 +40,3 @@ import angular from 'angular'

## connect
```js

@@ -69,2 +71,3 @@ import angular from 'angular'

You can call connect in the following ways:
```js

@@ -71,0 +74,0 @@ connect(dependencies)

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