Skip to content
This repository has been archived by the owner on Jan 12, 2023. It is now read-only.

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
joshbDev committed Jan 22, 2020
1 parent 0e9dcef commit e3b0744
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion examples/build/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -33005,7 +33005,7 @@ function stateToParams(initialState, currentState, location) {
isDefault = (typeof currentItemState === 'undefined' ? 'undefined' : _typeof(currentItemState)) === 'object' ? (0, _helpers.isEqual)(initialValue, currentItemState) : currentItemState === initialValue;
}
// if it is default or doesn't exist don't make a query parameter
if ((!currentItemState && !options.serialize || isDefault) && !options.setAsEmptyItem) {
if ((!(typeof currentItemState === 'undefined' ? 'undefined' : _typeof(currentItemState)) === "undefined" && !options.serialize || isDefault) && !options.setAsEmptyItem) {
return prev;
}
// otherwise, check if there is a serialize function
Expand Down
2 changes: 1 addition & 1 deletion examples/build/bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/stateToParams.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function stateToParams(initialState, currentState, location) {
isDefault = (typeof currentItemState === 'undefined' ? 'undefined' : _typeof(currentItemState)) === 'object' ? (0, _helpers.isEqual)(initialValue, currentItemState) : currentItemState === initialValue;
}
// if it is default or doesn't exist don't make a query parameter
if ((!currentItemState && !options.serialize || isDefault) && !options.setAsEmptyItem) {
if ((!(typeof currentItemState === 'undefined' ? 'undefined' : _typeof(currentItemState)) === "undefined" && !options.serialize || isDefault) && !options.setAsEmptyItem) {
return prev;
}
// otherwise, check if there is a serialize function
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"description": "Utilities for reading & writing Redux store state to & from the URL",
"main": "lib/index.js",
"author": "Josh Blaney <joshb@spotify.com> and Dan Delany <dand@spotify.com>",
"version": "2.6.0",
"version": "2.7.0",
"scripts": {
"dev": "webpack-dev-server --config webpack.config.dev.js",
"build-examples": "BABEL_ENV=production webpack --config webpack.config.base.js",
Expand Down

0 comments on commit e3b0744

Please sign in to comment.