[Pkg-javascript-commits] [node-restore-cursor] 03/05: New upstream release; refresh patch
Paolo Greppi
paolog-guest at moszumanska.debian.org
Mon Oct 30 11:49:34 UTC 2017
This is an automated email from the git hooks/post-receive script.
paolog-guest pushed a commit to branch master
in repository node-restore-cursor.
commit 69e221a86d4dc0e37f5248db5fee949528be5db3
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date: Mon Oct 30 12:41:03 2017 +0100
New upstream release; refresh patch
---
debian/changelog | 7 +++++++
debian/patches/00-onetime.diff | 17 ++++++++---------
2 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index e2f9187..2b02c05 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+node-restore-cursor (2.0.0-1) UNRELEASED; urgency=medium
+
+ * New upstream release
+ * Refresh patch
+
+ -- Paolo Greppi <paolo.greppi at libpf.com> Mon, 30 Oct 2017 12:40:13 +0100
+
node-restore-cursor (1.0.1-1) unstable; urgency=low
* Initial release (Closes: #849145)
diff --git a/debian/patches/00-onetime.diff b/debian/patches/00-onetime.diff
index e622c45..a1b7f9e 100644
--- a/debian/patches/00-onetime.diff
+++ b/debian/patches/00-onetime.diff
@@ -2,18 +2,17 @@ Description: Replace the dependency on onetime with once.
Forwarded: not-needed
Author: Paolo Greppi <paolo.greppi at libpf.com>
-Index: node-restore-cursor/index.js
===================================================================
--- node-restore-cursor.orig/index.js
+++ node-restore-cursor/index.js
@@ -1,8 +1,8 @@
'use strict';
--var onetime = require('onetime');
-+var once = require('once');
- var exitHook = require('exit-hook');
+-const onetime = require('onetime');
++const once = require('once');
+ const signalExit = require('signal-exit');
--module.exports = onetime(function () {
-+module.exports = once(function () {
- exitHook(function () {
- process.stdout.write('\u001b[?25h');
- });
+-module.exports = onetime(() => {
++module.exports = once(() => {
+ signalExit(() => {
+ process.stderr.write('\u001b[?25h');
+ }, {alwaysLast: true});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-restore-cursor.git
More information about the Pkg-javascript-commits
mailing list