summaryrefslogtreecommitdiffstats
path: root/node_modules/url-parse-lax/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/url-parse-lax/index.js')
-rw-r--r--node_modules/url-parse-lax/index.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/node_modules/url-parse-lax/index.js b/node_modules/url-parse-lax/index.js
deleted file mode 100644
index f9c0c65..0000000
--- a/node_modules/url-parse-lax/index.js
+++ /dev/null
@@ -1,14 +0,0 @@
-'use strict';
-var url = require('url');
-var prependHttp = require('prepend-http');
-
-module.exports = function (x) {
- var withProtocol = prependHttp(x);
- var parsed = url.parse(withProtocol);
-
- if (withProtocol !== x) {
- parsed.protocol = null;
- }
-
- return parsed;
-};