Skip to content

Commit

Permalink
v3.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenvachon committed Sep 9, 2016
1 parent 2b314e8 commit 6ddd89e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 20 deletions.
2 changes: 1 addition & 1 deletion browser/requestqueue.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 3 additions & 17 deletions lib/getHostKey.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,8 @@
"use strict";
var isBrowser = require("is-browser");
var broquire = require("broquire")(require);
var isString = require("is-string");
var parseDomain,_require,URL;



if (isBrowser === true)
{
parseDomain = function(){ return null };
URL = window.URL;
}
else
{
// Avoid including libs with browserify
_require = eval("require");
parseDomain = _require("parse-domain");
URL = _require("whatwg-url").URL;
}
var parseDomain = broquire("parse-domain", function(){ return null });
var URL = broquire("whatwg-url", "window").URL;



Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "limited-request-queue",
"description": "Interactively manage concurrency for outbound requests.",
"version": "3.0.3",
"version": "3.0.4",
"license": "MIT",
"author": "Steven Vachon <[email protected]> (https://www.svachon.com/)",
"main": "lib",
"repository": "stevenvachon/limited-request-queue",
"dependencies": {
"is-browser": "^2.0.1",
"broquire": "^1.0.0",
"is-string": "^1.0.4",
"parse-domain": "~0.2.1",
"whatwg-url": "^3.0.0"
Expand Down

0 comments on commit 6ddd89e

Please sign in to comment.