[Pkg-javascript-commits] [node-static] 86/151: Bumped version number to 6.0.3

Tonnerre Lombard tonnerre-guest at moszumanska.debian.org
Tue Jan 7 23:18:00 UTC 2014


This is an automated email from the git hooks/post-receive script.

tonnerre-guest pushed a commit to branch master
in repository node-static.

commit 32e6837163dc0c64e6cdcdef8fec13b7c823dfe9
Author: Pablo Cantero <pablo at pablocantero.com>
Date:   Sun Oct 14 00:09:32 2012 -0300

    Bumped version number to 6.0.3
---
 lib/node-static.js      | 2 +-
 lib/node-static/mime.js | 2 +-
 lib/node-static/util.js | 6 +++---
 package.json            | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/lib/node-static.js b/lib/node-static.js
index a3453e1..3c59066 100644
--- a/lib/node-static.js
+++ b/lib/node-static.js
@@ -5,7 +5,7 @@ var fs     = require('fs')
   , url    = require('url')
   , path   = require('path');
 
-exports.version = [0, 6, 0];
+exports.version = [0, 6, 3];
 
 var mime = require('./node-static/mime');
 var util = require('./node-static/util');
diff --git a/lib/node-static/mime.js b/lib/node-static/mime.js
index dc2f79b..47240d9 100644
--- a/lib/node-static/mime.js
+++ b/lib/node-static/mime.js
@@ -1,4 +1,4 @@
-this.contentTypes = {
+exports.contentTypes = {
   "aiff": "audio/x-aiff",
   "arj": "application/x-arj-compressed",
   "asf": "video/x-ms-asf",
diff --git a/lib/node-static/util.js b/lib/node-static/util.js
index 8dd8e04..02de548 100644
--- a/lib/node-static/util.js
+++ b/lib/node-static/util.js
@@ -1,7 +1,7 @@
-var fs = require('fs'),
-    path = require('path');
+var fs   = require('fs')
+  , path = require('path');
 
-this.mstat = function (dir, files, callback) {
+exports.mstat = function (dir, files, callback) {
     (function mstat(files, stats) {
         var file = files.shift();
 
diff --git a/package.json b/package.json
index 5c3650c..b4c31a6 100644
--- a/package.json
+++ b/package.json
@@ -30,7 +30,7 @@
     "request": "latest",
     "vows": "latest"
   },
-  "version" : "0.6.2",
+  "version" : "0.6.3",
   "engines" : { "node": ">= 0.4.1" }
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-static.git



More information about the Pkg-javascript-commits mailing list