From 9ed71245f693323a3c10a7c49fe8603999c14b03 Mon Sep 17 00:00:00 2001 From: adon Date: Fri, 3 Jul 2015 10:47:01 +0800 Subject: [PATCH] upgrade to secure-handlebars v1.1 --- Gruntfile.js | 4 ++-- package.json | 20 ++++++++++++-------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 85d1f32..5d5e54c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -26,8 +26,8 @@ module.exports = function(grunt) { } }, clean: { - all: ['xunit.xml', 'artifacts', 'coverage', 'node_modules'], - buildResidues: ['xunit.xml', 'artifacts', 'coverage'] + all: ['coverage', 'node_modules'], + buildResidues: ['coverage'] } }); diff --git a/package.json b/package.json index ee5330a..29760a6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "express-secure-handlebars", - "version": "2.0.2", + "version": "2.0.3", "licenses": [ { "type": "BSD", @@ -21,9 +21,13 @@ "keywords": [ "context", "parser", - "html5", "handlebars", - "express" + "express", + "xss", + "cross-site scripting", + "contextual escaping", + "output escaping", + "security" ], "scripts": { "hint": "grunt jshint", @@ -34,18 +38,18 @@ "dependencies": { "express-handlebars": "^2.0.1", "handlebars": "^3.0.3", - "secure-handlebars": "^1.0.0", - "xss-filters": "^1.2.0" + "secure-handlebars": "^1.1.0", + "xss-filters": "^1.2.2" }, "devDependencies": { - "express": "^4.12.*", - "supertest": "^0.15.0", "expect.js": "^0.3.1", + "express": "^4.12.*", "grunt": "^0.4.5", "grunt-cli": "0.1.*", "grunt-contrib-clean": "^0.6.0", "grunt-contrib-jshint": "^0.11.0", - "grunt-mocha-istanbul": "^2.3.0" + "grunt-mocha-istanbul": "^2.3.0", + "supertest": "^0.15.0" }, "main": "./src/express-secure-handlebars.js", "bugs": {