@folklore/hooks
Advanced tools
Comparing version 0.0.43 to 0.0.44
@@ -1404,3 +1404,3 @@ 'use strict'; | ||
const match = url.match(regExp); | ||
return match && match[7].length === 11 ? match[7] : null; | ||
return match !== null ? match[7] : null; | ||
} | ||
@@ -1407,0 +1407,0 @@ } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; |
@@ -1393,3 +1393,3 @@ import raf from 'raf'; | ||
const match = url.match(regExp); | ||
return match && match[7].length === 11 ? match[7] : null; | ||
return match !== null ? match[7] : null; | ||
} | ||
@@ -1396,0 +1396,0 @@ } = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}; |
{ | ||
"name": "@folklore/hooks", | ||
"version": "0.0.43", | ||
"version": "0.0.44", | ||
"description": "React hooks", | ||
@@ -52,3 +52,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "72c8c36208e3f4adb397321866cf9a8e606cf130", | ||
"gitHead": "d17ece8ec14646ba798b01cc8e022d4b8f6bc9f1", | ||
"dependencies": { | ||
@@ -55,0 +55,0 @@ "@folklore/events": "^0.0.5", |
109054