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

ember-redux

Package Overview
Dependencies
Maintainers
4
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ember-redux - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

16

addon/connect.js

@@ -11,3 +11,17 @@ import Component from '@ember/component';

if (WrappedComponent.hasOwnProperty('extend')) {
let emberObject = true;
if (gte('3.6.0')) {
emberObject = WrappedComponent.extend;
} else {
try {
WrappedComponent();
} catch(e) {
if (e && e.message.indexOf('constructor') > 0) {
emberObject = false;
}
}
}
if(WrappedComponent.hasOwnProperty('extend') || emberObject) {
return wrapEmberObject(stateToComputed, dispatchToActions, WrappedComponent);

@@ -14,0 +28,0 @@ } else {

ember-redux Changelog
==============================
4.0.2
-----
* [SECURITY]: updated merge to v1.2.1
([#183](https://github.com/ember-redux/ember-redux/pull/183))
* [COMPATIBILITY]: better support for EmberObject
([commit](https://github.com/ember-redux/ember-redux/commit/32c94ca20ce8cacb5886ae0b0d629cfd47ac1cf1))
4.0.1
-----
* [COMPATIBILITY]: added new shim for ember 3.6 class implementation
([#179](https://github.com/ember-redux/ember-redux/pull/179))
4.0.0

@@ -5,0 +20,0 @@ -----

8

package.json
{
"name": "ember-redux",
"version": "4.0.1",
"version": "4.0.2",
"description": "ember-cli addon that provides simple redux bindings for ember.js",

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

"broccoli-asset-rev": "^2.7.0",
"ember-cli": "~3.6.0",
"ember-cli": "~3.7.0",
"ember-cli-dependency-checker": "^2.0.0",

@@ -35,3 +35,3 @@ "ember-cli-eslint": "^4.2.1",

"ember-qunit": "^3.4.1",
"ember-qunit-assert-helpers": "^0.2.0",
"ember-qunit-assert-helpers": "^0.2.2",
"ember-redux-saga-shim": "^2.0.2",

@@ -41,3 +41,3 @@ "ember-redux-shim": "^4.0.1",

"ember-resolver": "^4.0.0",
"ember-source": "~3.6.0",
"ember-source": "~3.8.0",
"ember-symbol-observable": "^1.0.2",

@@ -44,0 +44,0 @@ "ember-try": "^0.2.23",

# Ember Redux
[![Travis][build-badge]][build] [![Code Climate][climate-badge]][climate] [![Score][score-badge]][score] [![npm package][npm-badge]][npm]
[![Travis][build-badge]][build] [![Code Climate][climate-badge]][climate] [![Score][score-badge]][score] [![Downloads][downloads-badge]][npm] [![npm package][npm-badge]][npm]

@@ -32,3 +32,3 @@ Predictable state management for ember apps

```js
import Ember from 'ember';
import Component from '@ember/component';
import hbs from 'htmlbars-inline-precompile';

@@ -47,3 +47,3 @@ import { connect } from 'ember-redux';

const UserListComponent = Ember.Component.extend({
const UserListComponent = Component.extend({
layout: hbs`

@@ -60,6 +60,6 @@ {{yield users (action "remove")}}

```js
import Ember from 'ember';
import Component from '@ember/component';
import hbs from 'htmlbars-inline-precompile';
const UserTableComponent = Ember.Component.extend({
const UserTableComponent = Component.extend({
layout: hbs`

@@ -113,4 +113,6 @@ {{#each users as |user|}}

[downloads-badge]: https://img.shields.io/npm/dm/ember-redux.svg
[redux]: https://github.com/reactjs/redux
[redux dev tools extension]: https://github.com/zalmoxisus/redux-devtools-extension

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