Hello community, here is the log from the commit of package nodejs-strip-ansi for openSUSE:Factory checked in at 2015-07-02 22:32:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/nodejs-strip-ansi (Old) and /work/SRC/openSUSE:Factory/.nodejs-strip-ansi.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "nodejs-strip-ansi" Changes: -------- --- /work/SRC/openSUSE:Factory/nodejs-strip-ansi/nodejs-strip-ansi.changes 2015-04-27 13:03:56.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.nodejs-strip-ansi.new/nodejs-strip-ansi.changes 2015-07-02 22:32:25.000000000 +0200 @@ -1,0 +2,5 @@ +Fri Apr 24 12:58:23 UTC 2015 - hvogel@suse.com + +- Update to version 2.0.1 + +------------------------------------------------------------------- Old: ---- strip-ansi-2.0.0.tgz New: ---- strip-ansi-2.0.1.tgz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ nodejs-strip-ansi.spec ++++++ --- /var/tmp/diff_new_pack.cco5Hf/_old 2015-07-02 22:32:25.000000000 +0200 +++ /var/tmp/diff_new_pack.cco5Hf/_new 2015-07-02 22:32:25.000000000 +0200 @@ -19,7 +19,7 @@ %define base_name strip-ansi Name: nodejs-strip-ansi -Version: 2.0.0 +Version: 2.0.1 Release: 0 Summary: Strip ANSI escape codes License: MIT ++++++ strip-ansi-2.0.0.tgz -> strip-ansi-2.0.1.tgz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/cli.js new/package/cli.js --- old/package/cli.js 2014-08-13 15:37:41.000000000 +0200 +++ new/package/cli.js 2015-01-16 19:44:56.000000000 +0100 @@ -34,12 +34,12 @@ return; } -if (process.stdin.isTTY) { - if (!input) { - help(); - return; - } +if (!input && process.stdin.isTTY) { + help(); + return; +} +if (input) { init(fs.readFileSync(input, 'utf8')); } else { process.stdin.setEncoding('utf8'); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json --- old/package/package.json 2014-08-13 15:37:54.000000000 +0200 +++ new/package/package.json 2015-01-16 19:46:05.000000000 +0100 @@ -1,6 +1,6 @@ { "name": "strip-ansi", - "version": "2.0.0", + "version": "2.0.1", "description": "Strip ANSI escape codes", "license": "MIT", "repository": "sindresorhus/strip-ansi", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/readme.md new/package/readme.md --- old/package/readme.md 2014-06-03 19:09:46.000000000 +0200 +++ new/package/readme.md 2014-08-13 15:43:55.000000000 +0200 @@ -15,7 +15,7 @@ ```js var stripAnsi = require('strip-ansi'); -stripAnsi('\x1b[4mcake\x1b[0m'); +stripAnsi('\u001b[4mcake\u001b[0m'); //=> 'cake' ``` @@ -29,12 +29,12 @@ ```sh $ strip-ansi --help -Usage - $ strip-ansi <input-file> > <output-file> - $ cat <input-file> | strip-ansi > <output-file> + Usage + strip-ansi <input-file> > <output-file> + cat <input-file> | strip-ansi > <output-file> -Example - $ strip-ansi unicorn.txt > unicorn-stripped.txt + Example + strip-ansi unicorn.txt > unicorn-stripped.txt ```