Skip to content

Commit f406808

Browse files
committed
chore(build): bumping to version 1.16.1
1 parent 24d7068 commit f406808

File tree

11 files changed

+18
-16
lines changed

11 files changed

+18
-16
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88

99
---
1010

11+
> **NOTE:** The npm package name changed to `urijs`
12+
13+
---
14+
1115
I always want to shoot myself in the head when looking at code like the following:
1216

1317
```javascript
@@ -17,9 +21,7 @@ var separator = url.indexOf('?') > -1 ? '&' : '?';
1721
url += separator + encodeURIComponent("foo") + "=" + encodeURIComponent("bar");
1822
```
1923

20-
I still can't believe javascript - the f**ing backbone-language of the web - doesn't offer an API for mutating URLs. Browsers (Firefox) don't expose the `Location` object (the structure behind window.location). Yes, one could think of [decomposed IDL attributes](http://www.whatwg.org/specs/web-apps/current-work/multipage/urls.html#url-decomposition-idl-attributes) as a native URL management library. But it relies on the DOM element <a>, it's slow and doesn't offer any convenience at all.
21-
22-
How about a nice, clean and simple API for mutating URIs:
24+
Things are looking up with [URL](https://developer.mozilla.org/en/docs/Web/API/URL) and the [URL spec](http://url.spec.whatwg.org/) but until we can safely rely on that API, have a look at URI.js for a clean and simple API for mutating URIs:
2325

2426
```javascript
2527
var url = new URI("http://example.org/foo?bar=baz");
@@ -238,7 +240,7 @@ URI.js is published under the [MIT license](http://www.opensource.org/licenses/m
238240

239241
## Changelog ##
240242

241-
### master (will be 1.16.1) ###
243+
### 1.16.1 (September 19th 2015) ###
242244

243245
Package Management Cleanup - no changes to source code!
244246

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "urijs",
3-
"version": "1.16.0",
3+
"version": "1.16.1",
44
"main": "src/URI.js",
55
"ignore": [
66
".*",

build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function build(files) {
2929
output_format: "text",
3030
output_info: "compiled_code"
3131
}, function(data) {
32-
var code = "/*! URI.js v1.16.0 http://medialize.github.io/URI.js/ */\n/* build contains: " + files.join(', ') + " */\n" + data;
32+
var code = "/*! URI.js v1.16.1 http://medialize.github.io/URI.js/ */\n/* build contains: " + files.join(', ') + " */\n" + data;
3333
$progress.hide();
3434
$out.val(code).parent().show();
3535
$out.prev().find('a').remove();

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "urijs",
3-
"version": "1.16.0",
3+
"version": "1.16.1",
44
"title": "URI.js - Mutating URLs",
55
"author": {
66
"name": "Rodney Rehm",

src/IPv6.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* URI.js - Mutating URLs
33
* IPv6 Support
44
*
5-
* Version: 1.16.0
5+
* Version: 1.16.1
66
*
77
* Author: Rodney Rehm
88
* Web: http://medialize.github.io/URI.js/

src/SecondLevelDomains.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* URI.js - Mutating URLs
33
* Second Level Domain (SLD) Support
44
*
5-
* Version: 1.16.0
5+
* Version: 1.16.1
66
*
77
* Author: Rodney Rehm
88
* Web: http://medialize.github.io/URI.js/

src/URI.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* URI.js - Mutating URLs
33
*
4-
* Version: 1.16.0
4+
* Version: 1.16.1
55
*
66
* Author: Rodney Rehm
77
* Web: http://medialize.github.io/URI.js/
@@ -72,7 +72,7 @@
7272
return this;
7373
}
7474

75-
URI.version = '1.16.0';
75+
URI.version = '1.16.1';
7676

7777
var p = URI.prototype;
7878
var hasOwn = Object.prototype.hasOwnProperty;

src/URI.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/URITemplate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* URI.js - Mutating URLs
33
* URI Template Support - http://tools.ietf.org/html/rfc6570
44
*
5-
* Version: 1.16.0
5+
* Version: 1.16.1
66
*
77
* Author: Rodney Rehm
88
* Web: http://medialize.github.io/URI.js/

src/jquery.URI.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* URI.js - Mutating URLs
33
* jQuery Plugin
44
*
5-
* Version: 1.16.0
5+
* Version: 1.16.1
66
*
77
* Author: Rodney Rehm
88
* Web: http://medialize.github.io/URI.js/jquery-uri-plugin.html

src/jquery.URI.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)