[Snyk] Upgrade redux from 4.0.0 to 4.0.5 #10
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade redux from 4.0.0 to 4.0.5.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.Release notes
Package name: redux
-
4.0.5 - 2019-12-24
- Clear current listeners on store unsubscribe (#3475 by @dmitrysteblyuk)
- Fix for combineReducers when replaceReducers removes a reducer (#3490 by @anubhavgupta)
- TypeScript: Add strict type inference overload for combineReducers (#3484 by @ChrisAckerman)
- TypeScript: Preloaded state is now selectively partial (instead of deeply partial) (#3485 by @ChrisAckerman)
-
4.0.4 - 2019-07-10
-
4.0.3 - 2019-07-09
- Reverts the change to
-
4.0.2 - 2019-07-09
- Iterate in combineReducers using
- Fix
- Add types for Observable interface (#3067 by @pinyin)
- Make reducer optional in JSDocs (#3408 by @pingfengafei)
- Infer action types from
-
4.0.1 - 2018-10-13
- Update mixed NODE_ENV message for Webpack 4 (4a215fb by @timdorr)
- Add unpkg field to package.json (#3003 by @andrewbridge)
- Use same return type for both StoreCreator signatures (#2985 by @reklawnos)
- Mark StoreCreator's preloadedState argument as optional (#3080 by @srittau)
- Add ES browser build (#3143 by @TimvdLippe)
- Throw an error if createStore is passed several enhancers (#3151 by @selbekk)
- Upgrade to Babel 7 (b9ee1cf by @timdorr)
-
4.0.0 - 2018-04-17
- Tons of docs updates. Thanks @markerikson and the Redux community for all your PRs!
- Make middleware API dispatch pass through all call arguments (#2560 by @Asvarox)
- Refactor applyMiddleware to reduce confusion around createStore args (#2201 by @jimbolla)
- Make bindActionCreators transparently pass
- Remove @Private flag on AnyAction type definition (#2510 by @alexmngn)
- Fixed quote types inconsistency in a warning message (#2297 by @Andarist)
- Move ActionTypes to a private export (b62248b by @timdorr)
- Throw if getState, subscribe, or unsubscribe called while dispatching (including inside a reducer) (#1569 by @mjw56)
- Warn when dispatching during Middleware setup (#1485 by @timdorr)
- Mapped type for combineReducers in index.d.ts (#2182 by @mkusher)
- Remove legacy jsnext entry (#2284 by @TrySound)
- Revamp TypeScript typing with more type safety (#2563 by @pelotom)
- Fix TS definitions test for new Dispatch typing (#2674 by @pelotom)
- Add DeepPartial type for preloaded state (#2679 by @aikoven)
- Bundle cjs and es formats (#2358 by @TrySound)
- REPLACE action for replaceReducers (#2673 by @timdorr)
- Update build to use babel-preset-env (#2696 by @hmillison)
- Optimize dispatch plain object check (#2599 by @timdorr)
- Update TypeScript typings (#2773 by @aikoven)
- Added prettier formatting (#2676 by @adityavohra7)
- Add a sideEffects: false flag for Webpack 4 (#2865 by @timdorr)
- Fix missed case in "observe" type check (#2919 by @zerobias)
from redux GitHub release notesThis release includes a memory leak fix, and a fix for removing reducers with replaceReducer and combineReducers.
There are also some TypeScript changes, which require version 3.5 or higher. This also removes our
DeepPartialtype, which wasn't intended to be a public API. If you need this type, you can find an equivalent of likely higher quality in theutility-typespackage.Speaking of TypeScript, we are done with converting the code to TypeScript on
masterand are looking to get some TS improvements in before launching 5.0. If you're interested in helping, feel free to submit a PR with anything you'd like to contribute.Changes
This is a republish of 4.0.3 with an updated version of Babel to fix #3468
Changes
This is a quick revert of a change to our typings that broke compatibility. Apologies for the problems.
Also, if you are experiencing type errors related to
[Symbol.observable], please ensure you have the same version of redux installed for all your dependencies withnpm ls redux.Changes
combineReducers' type parameters (#3467 by @timdorr)This is a very minor release with some nice improvements to our TypeScript type definitions. Enjoy!
Changes
for in(#3371 by @pvorona)DeepPartialtype (#3369 by @OliverJAsh)combineReducers(#3411 by @appden)A very minor release. We've upgraded to Babel 7 internally and now provide a
.mjsfile which you can import cleanly into browsers that support ES modules natively. Enjoy!Changes
Redux 4 is here! 🎉
If you're a React user, this is going to be a lot like going from 15 to 16. Not a lot of user-facing changes, but some interesting improvements under the hood.
The major changes (#1342) are around our TypeScript definitions, bundled CommonJS and ES builds, throwing if you subscribe or getState from a reducer, and a bunch of other smaller things. The full changes are listed below.
Enjoy!
Changes
this(#2641 by @Parakleta)Commit messages
Package name: redux
Compare
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs