Skip to content

Commit

Permalink
Release 0.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Apr 2, 2013
1 parent c5bdaf4 commit 5f5dd26
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
6 changes: 6 additions & 0 deletions History.md
@@ -1,4 +1,10 @@

0.14.0 / 2013-04-02
==================

* add client-side basic auth
* fix retaining of .set() header field case

0.13.0 / 2013-03-13
==================

Expand Down
15 changes: 4 additions & 11 deletions build/build.js
@@ -1,12 +1,5 @@
;(function(){


/**
* hasOwnProperty.
*/

var has = Object.prototype.hasOwnProperty;

/**
* Require the given path.
*
Expand Down Expand Up @@ -83,10 +76,10 @@ require.resolve = function(path) {

for (var i = 0; i < paths.length; i++) {
var path = paths[i];
if (has.call(require.modules, path)) return path;
if (require.modules.hasOwnProperty(path)) return path;
}

if (has.call(require.aliases, index)) {
if (require.aliases.hasOwnProperty(index)) {
return require.aliases[index];
}
};
Expand Down Expand Up @@ -140,7 +133,7 @@ require.register = function(path, definition) {
*/

require.alias = function(from, to) {
if (!has.call(require.modules, from)) {
if (!require.modules.hasOwnProperty(from)) {
throw new Error('Failed to alias "' + from + '", it does not exist');
}
require.aliases[to] = from;
Expand Down Expand Up @@ -202,7 +195,7 @@ require.relative = function(parent) {
*/

localRequire.exists = function(path) {
return has.call(require.modules, localRequire.resolve(path));
return require.modules.hasOwnProperty(localRequire.resolve(path));
};

return localRequire;
Expand Down
2 changes: 1 addition & 1 deletion component.json
Expand Up @@ -2,7 +2,7 @@
"name": "superagent",
"repo": "visionmedia/superagent",
"description": "awesome http requests",
"version": "0.13.0",
"version": "0.14.0",
"keywords": [
"http",
"ajax",
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "superagent",
"version": "0.13.0",
"version": "0.14.0",
"description": "elegant & feature rich browser / node HTTP with a fluent API",
"keywords": [
"http",
Expand Down

0 comments on commit 5f5dd26

Please sign in to comment.