1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
Description: Replace the dependency on onetime with once.
Forwarded: not-needed
Author: Paolo Greppi <paolo.greppi@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');
-module.exports = onetime(function () {
+module.exports = once(function () {
exitHook(function () {
process.stdout.write('\u001b[?25h');
});
|