Skip to content

Commit 42e8f47

Browse files
authored
Version v1.4.2 (prescottprue#164)
* Fixes an issue that when attempting to query on Windows in Internet Explorer would cause error with message "isNan is not a method of Number"
1 parent 45d9d0b commit 42e8f47

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-redux-firebase",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"description": "Redux integration for Firebase. Comes with a Higher Order Component for use with React.",
55
"browser": "dist/react-redux-firebase.js",
66
"main": "lib/index.js",

src/utils/query.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
import { actionTypes } from '../constants'
2+
import { isNaN } from 'lodash'
23

34
const { UNSET_LISTENER } = actionTypes
45

56
const tryParseToNumber = (value) => {
67
const result = Number(value)
7-
if (Number.isNaN(result)) {
8+
if (isNaN(result)) {
89
return value
910
}
1011
return result

0 commit comments

Comments
 (0)