mini-url
Advanced tools
Comparing version 2.1.8 to 2.1.9
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var get_loc_1 = require("get-loc"); | ||
var window_var_1 = require("window-var"); | ||
var get_win_1 = require("get-win"); | ||
var parts_1 = require("./parts"); | ||
var vendors = ["ms", "moz", "webkit", "o"]; | ||
var URL = tryVendors(window_var_1.get(), "URL"); | ||
var URL = tryVendors(get_win_1.get(), "URL"); | ||
exports.URL = URL; | ||
@@ -14,3 +14,3 @@ // Check if browser supports native url parser. | ||
catch (e) { | ||
var document_1 = window_var_1.get().document; | ||
var document_1 = get_win_1.get().document; | ||
// istanbul ignore next | ||
@@ -17,0 +17,0 @@ if (!document_1) { |
{ | ||
"name": "mini-url", | ||
"description": "Lightweight isomorphic url parser.", | ||
"version": "2.1.8", | ||
"version": "2.1.9", | ||
"author": "Dylan Piercey <pierceydylan@gmail.com>", | ||
@@ -11,8 +11,8 @@ "browser": { | ||
"dependencies": { | ||
"get-loc": "^2.0.5", | ||
"window-var": "^1.0.11" | ||
"get-loc": "^2.0.6", | ||
"get-win": "^1.0.1" | ||
}, | ||
"devDependencies": { | ||
"@types/mocha": "^2.2.43", | ||
"@types/node": "^8.0.34", | ||
"@types/node": "^8.0.46", | ||
"coveralls": "^3.0.0", | ||
@@ -22,3 +22,3 @@ "husky": "^0.14.3", | ||
"jsdom-global": "^3.0.2", | ||
"lint-staged": "^4.2.3", | ||
"lint-staged": "^4.3.0", | ||
"mocha": "^4.0.1", | ||
@@ -28,4 +28,4 @@ "nyc": "^11.2.1", | ||
"ts-node": "^3.3.0", | ||
"tslint": "^5.7.0", | ||
"tslint-config-prettier": "^1.5.0", | ||
"tslint": "^5.8.0", | ||
"tslint-config-prettier": "^1.6.0", | ||
"typescript": "^2.5.3" | ||
@@ -32,0 +32,0 @@ }, |
Sorry, the diff of this file is not supported yet
17042
+ Addedget-win@^1.0.1
- Removedwindow-var@^1.0.11
- Removedwindow-var@1.0.11(transitive)
Updatedget-loc@^2.0.6