is-url-http
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -0,1 +1,7 @@ | ||
## <small>2.0.1 (2020-02-05)</small> | ||
* Revert "build: remove browser shim" ([e9851c2](https://github.com/Kikobeats/is-url-http/commit/e9851c2)) | ||
## 2.0.0 (2020-02-03) | ||
@@ -2,0 +8,0 @@ |
'use strict' | ||
const { URL } = require('url') | ||
const URL = global.window ? window.URL : require('url').URL | ||
const urlRegex = require('url-regex')({ exact: true }) | ||
@@ -5,0 +5,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://nicedoc.io/Kikobeats/is-url-http", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"main": "index.js", | ||
@@ -8,0 +8,0 @@ "author": { |
7160