[Pkg-javascript-commits] [node-connect-static] 02/04: Imported Upstream version 1.2.2

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Sat Jul 26 21:38:31 UTC 2014


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

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

commit 20c5a6e84ba1418f6e7fbfdef6681c871b6d00eb
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Sat Jul 26 21:34:01 2014 +0000

    Imported Upstream version 1.2.2
---
 LICENSE      | 21 +++++++++++++++++++++
 README.md    |  1 +
 package.json |  6 +++---
 3 files changed, 25 insertions(+), 3 deletions(-)

diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..e57596d
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,21 @@
+Copyright (c) 2014 Andrew Kelley
+
+Permission is hereby granted, free of charge, to any person
+obtaining a copy of this software and associated documentation files
+(the "Software"), to deal in the Software without restriction,
+including without limitation the rights to use, copy, modify, merge,
+publish, distribute, sublicense, and/or sell copies of the Software,
+and to permit persons to whom the Software is furnished to do so,
+subject to the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/README.md b/README.md
index 22f3801..108d06d 100644
--- a/README.md
+++ b/README.md
@@ -34,6 +34,7 @@ var options = {
   },
 };
 createStatic(options, function(err, middleware) {
+  if (err) throw err;
   app.use('/', middleware);
 });
 ```
diff --git a/package.json b/package.json
index 2cb2096..388b9fe 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "connect-static",
-  "version": "1.2.1",
+  "version": "1.2.2",
   "description": "static file server middleware for connect. loads files once at startup and saves gzipped versions in memory",
   "main": "index.js",
   "scripts": {
@@ -17,9 +17,9 @@
   },
   "homepage": "https://github.com/andrewrk/connect-static",
   "dependencies": {
-    "bl": "~0.8.2",
+    "bl": "~0.9.0",
     "findit": "~2.0.0",
     "mime": "~1.2.11",
-    "pend": "~1.1.1"
+    "pend": "~1.1.2"
   }
 }

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



More information about the Pkg-javascript-commits mailing list