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

@twreporter/redux

Package Overview
Dependencies
Maintainers
6
Versions
183
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twreporter/redux - npm Package Compare versions

Comparing version 6.0.0-rc.0 to 6.0.0-rc.1

37

CHANGELOG.md

@@ -6,2 +6,39 @@ # Change Log

# [6.0.0-rc.1](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/redux@6.0.0-rc.0...@twreporter/redux@6.0.0-rc.1) (2020-01-13)
### Code Refactoring
- **redux:** consolidate first layer properties of actions ([d350196](https://github.com/twreporter/twreporter-npm-packages/commit/d3501963721347accd93caf45b3252eb3b7cddb3))
- **redux:** refactor src/actions/error-action-creators.js ([0521b7e](https://github.com/twreporter/twreporter-npm-packages/commit/0521b7e102972f406ab1303885e521622f3799a1))
- **redux:** reject action if error occurs ([11d7d48](https://github.com/twreporter/twreporter-npm-packages/commit/11d7d4860d44e5f5cf5c083a825f881a77f534fa))
- **redux:** resolves with success action rather than undefined ([cc4aa6d](https://github.com/twreporter/twreporter-npm-packages/commit/cc4aa6df85c92a4dda5dd4ede5fa0addc16a8e26))
### BREAKING CHANGES
- **redux:** action object structure should be
{
type: actionType,
payload: {
// stuff should be handled by reducers
// is put here.
}
}
* dispatch dataAlreadyExists, noMoreDataToFetch,
lastActionIsStillProcessing actions
* update unit tests
- **redux:** - if data already exists, resolves with { type: types.dataAlreadyExists }
* if no more data, resolves with { type: types.noMoreItemsToFetch }
* if last request is processing, resolves with { type:
types.lastActionIsStillProcessing }
- **redux:** action will resolve with success action
and reject with fail action.
Application code should catch action error,
otherwise, it occurs Promise rejection not handled error.
- **redux:** change plain error object to Error instance
# [6.0.0-rc.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/redux@5.0.8...@twreporter/redux@6.0.0-rc.0) (2020-01-08)

@@ -8,0 +45,0 @@

4

package.json
{
"name": "@twreporter/redux",
"version": "6.0.0-rc.0",
"version": "6.0.0-rc.1",
"description": "redux actions and reducers for twreporter website",

@@ -44,3 +44,3 @@ "repository": "https://github.com/twreporter/twreporter-npm-packages.git",

],
"gitHead": "59b29de620efb594a44b2846b4f2042ff7cbf85e"
"gitHead": "ac9055f528dd78efdf015d6bfe8a063598d086c8"
}
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