[Pkg-javascript-commits] [node-tap-mocha-reporter] 136/137: merge patched into master

Bastien Roucariès rouca at moszumanska.debian.org
Thu Sep 7 09:49:33 UTC 2017


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

rouca pushed a commit to branch master
in repository node-tap-mocha-reporter.

commit ad6e877ec7316a92a433d8e26c51c2ac0645d5bb
Merge: 695f24a 8293b27
Author: Bastien ROUCARIÈS <roucaries.bastien at gmail.com>
Date:   Thu Sep 7 11:43:17 2017 +0200

    merge patched into master

 debian/.git-dpm                                         |  4 ++--
 debian/patches/0002-Remove-depends-unicode-length.patch | 15 +++++++--------
 debian/patches/0003-Support-a-help-option.patch         |  2 +-
 package.json                                            |  3 ++-
 4 files changed, 12 insertions(+), 12 deletions(-)

diff --cc debian/.git-dpm
index 076c29b,0000000..e98da5e
mode 100644,000000..100644
--- a/debian/.git-dpm
+++ b/debian/.git-dpm
@@@ -1,8 -1,0 +1,8 @@@
 +# see git-dpm(1) from git-dpm package
- a464a8deb8923943f27f49ba9084155074d19712
- a464a8deb8923943f27f49ba9084155074d19712
++8293b270de18a2dfe067c3916e2e221c0f6c12f4
++8293b270de18a2dfe067c3916e2e221c0f6c12f4
 +53e3b9e5adee4456fa850592cf7241797bc125e2
 +53e3b9e5adee4456fa850592cf7241797bc125e2
 +node-tap-mocha-reporter_3.0.6.orig.tar.gz
 +b3ac9908f45905ef7b69fbfa1e27ca50e549c384
 +38824
diff --cc debian/patches/0002-Remove-depends-unicode-length.patch
index 37367de,0000000..6509136
mode 100644,000000..100644
--- a/debian/patches/0002-Remove-depends-unicode-length.patch
+++ b/debian/patches/0002-Remove-depends-unicode-length.patch
@@@ -1,43 -1,0 +1,42 @@@
- From fd66fd147563cd9d6b26a87112cef9247645e9e2 Mon Sep 17 00:00:00 2001
++From df89e61e2fa641bb182f5cf17daca7afbba88a57 Mon Sep 17 00:00:00 2001
 +From: =?UTF-8?q?Bastien=20ROUCARI=C3=88S?= <roucaries.bastien at gmail.com>
 +Date: Mon, 21 Aug 2017 23:10:30 +0200
 +Subject: Remove depends unicode-length
 +
 +Not totally correct but it will change something only for 14 characters.
 +
 +Will revise when unicode-length will be packaged
 +
 +Forwarded: no
 +---
 + lib/reporters/classic.js | 3 ++-
-  package.json             | 3 +--
-  2 files changed, 3 insertions(+), 3 deletions(-)
++ package.json             | 2 +-
++ 2 files changed, 3 insertions(+), 2 deletions(-)
 +
 +diff --git a/lib/reporters/classic.js b/lib/reporters/classic.js
 +index 2545227..d87fec3 100644
 +--- a/lib/reporters/classic.js
 ++++ b/lib/reporters/classic.js
 +@@ -9,7 +9,8 @@ var Base = require('./base')
 +   , ms = require('../ms.js')
 +   , diff = require('diff')
 +   , utils = require('../utils.js')
 +-  , uclen = require('unicode-length').get
 ++  , stripAnsi = require('strip-ansi')
 ++  , uclen = function(str) { return stripAnsi(str).length }
 +   , colorSupport = require('supports-color')
 + 
 + function repeat (n, c) {
 +diff --git a/package.json b/package.json
- index d5d9dea..05e9204 100644
++index d5d9dea..be2a296 100644
 +--- a/package.json
 ++++ b/package.json
- @@ -23,8 +23,7 @@
-      "escape-string-regexp": "^1.0.3",
++@@ -24,7 +24,7 @@
 +     "glob": "^7.0.5",
 +     "js-yaml": "^3.3.1",
- -    "tap-parser": "^5.1.0",
++     "tap-parser": "^5.1.0",
 +-    "unicode-length": "^1.0.0"
- +    "tap-parser": "^5.1.0"
+++    "strip-ansi" : "^3.0.0"
 +   },
 +   "devDependencies": {
 +     "tap": "^6.2.0"
diff --cc debian/patches/0003-Support-a-help-option.patch
index 6fe053c,0000000..6e28c8a
mode 100644,000000..100644
--- a/debian/patches/0003-Support-a-help-option.patch
+++ b/debian/patches/0003-Support-a-help-option.patch
@@@ -1,24 -1,0 +1,24 @@@
- From a464a8deb8923943f27f49ba9084155074d19712 Mon Sep 17 00:00:00 2001
++From 8293b270de18a2dfe067c3916e2e221c0f6c12f4 Mon Sep 17 00:00:00 2001
 +From: =?UTF-8?q?Bastien=20ROUCARI=C3=88S?= <roucaries.bastien at gmail.com>
 +Date: Tue, 22 Aug 2017 14:46:56 +0200
 +Subject: Support a --help option
 +
 +forwarded: yes, https://github.com/lyroyce/mocha-tap-reporter/issues/5
 +bug: https://github.com/lyroyce/mocha-tap-reporter/issues/5
 +---
 + index.js | 2 +-
 + 1 file changed, 1 insertion(+), 1 deletion(-)
 +
 +diff --git a/index.js b/index.js
 +index 46c5663..8b2fc07 100755
 +--- a/index.js
 ++++ b/index.js
 +@@ -99,7 +99,7 @@ reporter.  (Note that some reporters write to files instead of stdout.)
 + 
 + if (require.main === module) {
 +   var type = process.argv[2]
 +-  if (!type)
 ++  if (!type || type == '--help' || type == '-h')
 +     return usage()
 + 
 +   process.stdin.pipe(new Formatter(type))

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



More information about the Pkg-javascript-commits mailing list