Skip to content

Commit

Permalink
chore(build): bumping to version 1.16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rodneyrehm committed Sep 19, 2015
1 parent 24d7068 commit f406808
Show file tree
Hide file tree
Showing 11 changed files with 18 additions and 16 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

---

> **NOTE:** The npm package name changed to `urijs`
---

I always want to shoot myself in the head when looking at code like the following:

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

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.

How about a nice, clean and simple API for mutating URIs:
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:

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

## Changelog ##

### master (will be 1.16.1) ###
### 1.16.1 (September 19th 2015) ###

Package Management Cleanup - no changes to source code!

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "urijs",
"version": "1.16.0",
"version": "1.16.1",
"main": "src/URI.js",
"ignore": [
".*",
Expand Down
2 changes: 1 addition & 1 deletion build.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function build(files) {
output_format: "text",
output_info: "compiled_code"
}, function(data) {
var code = "/*! URI.js v1.16.0 http://medialize.github.io/URI.js/ */\n/* build contains: " + files.join(', ') + " */\n" + data;
var code = "/*! URI.js v1.16.1 http://medialize.github.io/URI.js/ */\n/* build contains: " + files.join(', ') + " */\n" + data;
$progress.hide();
$out.val(code).parent().show();
$out.prev().find('a').remove();
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "urijs",
"version": "1.16.0",
"version": "1.16.1",
"title": "URI.js - Mutating URLs",
"author": {
"name": "Rodney Rehm",
Expand Down
2 changes: 1 addition & 1 deletion src/IPv6.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* URI.js - Mutating URLs
* IPv6 Support
*
* Version: 1.16.0
* Version: 1.16.1
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
Expand Down
2 changes: 1 addition & 1 deletion src/SecondLevelDomains.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* URI.js - Mutating URLs
* Second Level Domain (SLD) Support
*
* Version: 1.16.0
* Version: 1.16.1
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
Expand Down
4 changes: 2 additions & 2 deletions src/URI.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* URI.js - Mutating URLs
*
* Version: 1.16.0
* Version: 1.16.1
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
Expand Down Expand Up @@ -72,7 +72,7 @@
return this;
}

URI.version = '1.16.0';
URI.version = '1.16.1';

var p = URI.prototype;
var hasOwn = Object.prototype.hasOwnProperty;
Expand Down
4 changes: 2 additions & 2 deletions src/URI.min.js

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

2 changes: 1 addition & 1 deletion src/URITemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* URI.js - Mutating URLs
* URI Template Support - http://tools.ietf.org/html/rfc6570
*
* Version: 1.16.0
* Version: 1.16.1
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/
Expand Down
2 changes: 1 addition & 1 deletion src/jquery.URI.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* URI.js - Mutating URLs
* jQuery Plugin
*
* Version: 1.16.0
* Version: 1.16.1
*
* Author: Rodney Rehm
* Web: http://medialize.github.io/URI.js/jquery-uri-plugin.html
Expand Down
2 changes: 1 addition & 1 deletion src/jquery.URI.min.js

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

0 comments on commit f406808

Please sign in to comment.