Comparing version 0.7.2 to 0.7.3
@@ -0,1 +1,4 @@ | ||
## v0.7.3 | ||
* Removed the npm purging functionality [#57](https://github.com/SaltwaterC/aws2js/pull/57). | ||
## v0.7.2 | ||
@@ -2,0 +5,0 @@ * Using the s3.put() String Request Body Handler may silently result in truncated data due to inconsistent use of the default 'utf8' encoding [#55](https://github.com/SaltwaterC/aws2js/issues/55), [#56](https://github.com/SaltwaterC/aws2js/pull/56). Updated the documentation to reflect this default. |
@@ -21,1 +21,2 @@ ## aws2js contributors, in order of first contribution | ||
* [Matt Monson](https://github.com/mattmonson) - fixed the inconsistent use of the default 'utf8' encoding for the String Request Body Handler of the s3.put() method. | ||
* [Stephen Lynn](https://github.com/lynns) - removed the npm purging code that breaks npm rebuild on environments like Heroku. |
@@ -32,14 +32,7 @@ // wrapper for supporting multiple backends for XML and MIME | ||
mime: false | ||
} | ||
}; | ||
// cleanup the installation and write the dependency bits | ||
var cleanup = function () { | ||
// write the dependencies file in order to idicate to the internals which modules to use | ||
var finish = function () { | ||
if (finished.xml && finished.mime) { | ||
// remove the bootstrapped npm for local installations | ||
if (npm.config.get('global') === false) { | ||
console.log('Removing the bootstrapped npm.'); | ||
npm.commands.uninstall(['npm']); | ||
} | ||
// write the dependencies file in order to idicate to the internals which modules to use | ||
console.log('Finished to install the dependencies. XML: %s; MIME: %s.', xmlMod, mimeMod); | ||
@@ -56,3 +49,3 @@ var ws = fs.createWriteStream('lib/dependencies.js'); | ||
finished.xml = true; | ||
cleanup(); | ||
finish(); | ||
}); | ||
@@ -62,4 +55,4 @@ | ||
finished.mime = true; | ||
cleanup(); | ||
finish(); | ||
}); | ||
}); |
{ | ||
"name": "aws2js", | ||
"main": "./lib/aws.js", | ||
"version": "0.7.2", | ||
"version": "0.7.3", | ||
"description": "AWS (Amazon Web Services) APIs client implementation for node.js", | ||
@@ -83,2 +83,6 @@ "scripts": { | ||
"url": "https://github.com/mattmonson" | ||
}, | ||
{ | ||
"name": "Stephen Lynn", | ||
"url": "https://github.com/lynns" | ||
} | ||
@@ -85,0 +89,0 @@ ], |
137842
3585