[Pkg-javascript-commits] [node-jade] 06/10: Add dependency on node-rimraf.

Jelmer Vernooij jelmer at moszumanska.debian.org
Sun Jul 3 18:02:40 UTC 2016


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

jelmer pushed a commit to branch 0.11-packaging
in repository node-jade.

commit 853d021ed4a0e505c4a848794cbe6d115422b5ac
Author: Jelmer Vernooij <jelmer at jelmer.uk>
Date:   Sun Jul 3 16:42:59 2016 +0000

    Add dependency on node-rimraf.
---
 bin/jade.js      | 2 +-
 debian/changelog | 1 +
 debian/control   | 1 +
 lib/compiler.js  | 2 +-
 lib/index.js     | 2 +-
 5 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/bin/jade.js b/bin/jade.js
index a2c509f..fdf391b 100755
--- a/bin/jade.js
+++ b/bin/jade.js
@@ -1,4 +1,4 @@
-#!/usr/bin/env node
+#!/usr/bin/nodejs
 
 /**
  * Module dependencies.
diff --git a/debian/changelog b/debian/changelog
index bf74cc9..f2885f4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,6 +15,7 @@ node-jade (1.11.0-1) UNRELEASED; urgency=medium
   * New upstream release.
   * Patch 0001_fix_nodejs_shebang.path: Refresh.
   * Patch 0000_import_void-elements.patch: refresh.
+  * Add dependency on node-rimraf.
 
  -- Jelmer Vernooij <jelmer at debian.org>  Sun, 03 Jul 2016 16:36:55 +0000
 
diff --git a/debian/control b/debian/control
index 3d4232f..7d5f2ad 100644
--- a/debian/control
+++ b/debian/control
@@ -13,6 +13,7 @@ Build-Depends:
  , node-mkdirp
  , node-commander
  , node-constantinople
+ , node-rimraf
  , node-with
  , mocha
  , node-should
diff --git a/lib/compiler.js b/lib/compiler.js
index 6dff5e3..bf1cd44 100644
--- a/lib/compiler.js
+++ b/lib/compiler.js
@@ -5,7 +5,7 @@ var filters = require('./filters');
 var doctypes = require('./doctypes');
 var runtime = require('./runtime');
 var utils = require('./utils');
-var selfClosing = require('void-elements');
+var selfClosing = require('./voidElements');
 var parseJSExpression = require('character-parser').parseMax;
 var constantinople = require('constantinople');
 
diff --git a/lib/index.js b/lib/index.js
index 7d734e5..d689d79 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -24,7 +24,7 @@ var Parser = require('./parser')
 
 // FIXME: either stop exporting selfClosing in v2 or export the new object
 // form
-exports.selfClosing = Object.keys(require('void-elements'));
+exports.selfClosing = Object.keys(require('voidElements'));
 
 /**
  * Default supported doctypes.

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



More information about the Pkg-javascript-commits mailing list