Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

bump to 0.3.3

  • Loading branch information...
commit 39da3b6a42376a4e34a78de771ad709e49b0fc27 1 parent e06de43
@springmeyer springmeyer authored
Showing with 5 additions and 5 deletions.
  1. +1 −1  package.json
  2. +2 −1  test/write.test.js
  3. +2 −3 wscript
View
2  package.json
@@ -1,6 +1,6 @@
{
"name" : "zipfile",
- "version" : "0.3.2",
+ "version" : "0.3.3",
"main" : "./lib/index.js",
"description" : "C++ library for handling zipfiles in node",
"keywords" : ["zipfile", "uncompress", "unzip", "zlib"],
View
3  test/write.test.js
@@ -4,6 +4,7 @@ var path = require('path');
var fs = require('fs');
var constants = require('constants');
var mkdirp = require('mkdirp');
+var existsSync = require('fs').existsSync || require('path').existsSync;
describe('Async Writes', function(){
@@ -49,7 +50,7 @@ describe('Sync Writes', function(){
var fd = fs.openSync(uncompressed, 'w');
fs.writeSync(fd, buffer, 0, buffer.length, null);
fs.closeSync(fd);
- assert.ok(path.existsSync(uncompressed));
+ assert.ok(existsSync(uncompressed));
done();
}
});
View
5 wscript
@@ -167,9 +167,8 @@ def build(bld):
bld.install_files('${PREFIX_NODE}/bin', bin_dir.ant_glob('*'), cwd=bin_dir, relative_trick=True, chmod=0755)
def clean_libzip(ctx):
- if not ctx.env.SHARED_LIBZIP:
- if os.path.exists('deps/%s' % BUNDLED_LIBZIP):
- rmtree('deps/%s' % BUNDLED_LIBZIP)
+ if os.path.exists('deps/%s' % BUNDLED_LIBZIP):
+ rmtree('deps/%s' % BUNDLED_LIBZIP)
def clean(bld):
pass # to avoid "Nothing to clean (project not configured)" error
Please sign in to comment.
Something went wrong with that request. Please try again.