Comparing version 0.1.1 to 1.0.0
@@ -10,3 +10,3 @@ 'use strict'; | ||
this._url = new URI(urlStr, base); | ||
this._url = URI(urlStr, base).normalize(); | ||
@@ -35,3 +35,3 @@ if (!this._url.protocol()) { | ||
get host() { | ||
return this._url.host(); | ||
return this._url.clone().normalizeHostname().host(); | ||
}, | ||
@@ -99,3 +99,3 @@ | ||
get: function () { | ||
return this._url[property](); | ||
return this._url.clone().normalize()[property](); | ||
}, | ||
@@ -102,0 +102,0 @@ set: function (value) { |
{ | ||
"name": "dom-urls", | ||
"version": "0.1.1", | ||
"version": "1.0.0", | ||
"description": "DOM URLs for Node", | ||
@@ -34,8 +34,8 @@ "main": "index.js", | ||
"devDependencies": { | ||
"mocha": "~1.16.2", | ||
"chai": "~1.8.1" | ||
"chai": "^3.0.0", | ||
"mocha": "^2.2.5" | ||
}, | ||
"dependencies": { | ||
"URIjs": "~1.11.2" | ||
"URIjs": "^1.15.1" | ||
} | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
5510
4
1
+ AddedURIjs@1.16.1(transitive)
- RemovedURIjs@1.11.2(transitive)
UpdatedURIjs@^1.15.1