Comparing version 1.12.0 to 1.12.1
{ | ||
"name": "URIjs", | ||
"version": "1.12.0", | ||
"version": "1.12.1", | ||
"title": "URI.js - Mutating URLs", | ||
@@ -58,3 +58,5 @@ "author": { | ||
"src/URITemplate.js", | ||
"src/jquery.URI.js" | ||
"src/jquery.URI.js", | ||
"src/URI.min.js", | ||
"src/jquery.URI.min.js" | ||
], | ||
@@ -75,3 +77,13 @@ | ||
] | ||
} | ||
}, | ||
"npmName": "URIjs", | ||
"npmFileMap": [ | ||
{ | ||
"basePath": "/src/", | ||
"files": [ | ||
"*.js" | ||
] | ||
} | ||
] | ||
} |
@@ -209,2 +209,3 @@ # URI.js # | ||
* [Public Suffix](http://mxr.mozilla.org/mozilla-central/source/netwerk/dns/effective_tld_names.dat?raw=1) - second level domain names | ||
* [uri-collection](https://github.com/scivey/uri-collection) - underscore based utility for working with many URIs | ||
@@ -230,2 +231,7 @@ ## Authors ## | ||
### 1.12.1 (March 8th 2014) ### | ||
* fixing [`.encodeQuery()`](http://medialize.github.io/URI.js/docs.html#static-encodeQuery) and [`.decodeQuery()`](http://medialize.github.io/URI.js/docs.html#static-decodeQuery) to respect [`URI.escapeQuerySpace`](http://medialize.github.io/URI.js/docs.html#setting-escapeQuerySpace) - ([Issue #137](https://github.com/medialize/URI.js/issues/137)) | ||
* fixing fragment plugins to return URI for simpler loading - ([Issue #139](https://github.com/medialize/URI.js/issues/139)) | ||
### 1.12.0 (January 23rd 2014) ### | ||
@@ -232,0 +238,0 @@ |
@@ -5,3 +5,3 @@ /*! | ||
* | ||
* Version: 1.12.0 | ||
* Version: 1.12.1 | ||
* | ||
@@ -8,0 +8,0 @@ * Author: Rodney Rehm |
@@ -5,3 +5,3 @@ /*! | ||
* | ||
* Version: 1.12.0 | ||
* Version: 1.12.1 | ||
* | ||
@@ -8,0 +8,0 @@ * Author: Rodney Rehm |
@@ -5,3 +5,3 @@ /*! | ||
* | ||
* Version: 1.12.0 | ||
* Version: 1.12.1 | ||
* | ||
@@ -8,0 +8,0 @@ * Author: Rodney Rehm |
/*! | ||
* URI.js - Mutating URLs | ||
* | ||
* Version: 1.12.0 | ||
* Version: 1.12.1 | ||
* | ||
@@ -56,3 +56,3 @@ * Author: Rodney Rehm | ||
URI.version = '1.12.0'; | ||
URI.version = '1.12.1'; | ||
@@ -322,2 +322,6 @@ var p = URI.prototype; | ||
var escaped = URI.encode(string + ""); | ||
if (escapeQuerySpace === undefined) { | ||
escapeQuerySpace = URI.escapeQuerySpace; | ||
} | ||
return escapeQuerySpace ? escaped.replace(/%20/g, '+') : escaped; | ||
@@ -327,2 +331,6 @@ }; | ||
string += ""; | ||
if (escapeQuerySpace === undefined) { | ||
escapeQuerySpace = URI.escapeQuerySpace; | ||
} | ||
try { | ||
@@ -329,0 +337,0 @@ return URI.decode(escapeQuerySpace ? string.replace(/\+/g, '%20') : string); |
@@ -5,3 +5,3 @@ /*! | ||
* | ||
* Version: 1.12.0 | ||
* Version: 1.12.1 | ||
* | ||
@@ -8,0 +8,0 @@ * Author: Rodney Rehm |
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
185017
10
3377
456
3