openSUSE Commits
Threads by month
- ----- 2025 -----
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
July 2015
- 1 participants
- 1368 discussions
Hello community,
here is the log from the commit of package nodejs-proto-list for openSUSE:Factory checked in at 2015-07-02 22:34:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-proto-list (Old)
and /work/SRC/openSUSE:Factory/.nodejs-proto-list.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-proto-list"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-proto-list/nodejs-proto-list.changes 2015-04-27 13:02:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-proto-list.new/nodejs-proto-list.changes 2015-07-02 22:34:12.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jun 5 19:33:34 UTC 2015 - i(a)marguerite.su
+
+- update version 1.2.4
+
+-------------------------------------------------------------------
Old:
----
proto-list-1.2.3.tgz
New:
----
proto-list-1.2.4.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-proto-list.spec ++++++
--- /var/tmp/diff_new_pack.N4Gt0i/_old 2015-07-02 22:34:13.000000000 +0200
+++ /var/tmp/diff_new_pack.N4Gt0i/_new 2015-07-02 22:34:13.000000000 +0200
@@ -19,7 +19,7 @@
%define base_name proto-list
Name: nodejs-proto-list
-Version: 1.2.3
+Version: 1.2.4
Release: 0
Summary: A utility for managing a prototype chain
License: MIT
++++++ proto-list-1.2.3.tgz -> proto-list-1.2.4.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/LICENSE new/package/LICENSE
--- old/package/LICENSE 2011-08-07 06:14:38.000000000 +0200
+++ new/package/LICENSE 2015-05-21 02:58:26.000000000 +0200
@@ -1,23 +1,15 @@
-Copyright 2009, 2010, 2011 Isaac Z. Schlueter.
-All rights reserved.
+The ISC License
-Permission is hereby granted, free of charge, to any person
-obtaining a copy of this software and associated documentation
-files (the "Software"), to deal in the Software without
-restriction, including without limitation the rights to use,
-copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the
-Software is furnished to do so, subject to the following
-conditions:
+Copyright (c) Isaac Z. Schlueter and Contributors
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
-OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
-HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
-WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
-FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-OTHER DEALINGS IN THE SOFTWARE.
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json 2014-06-11 00:02:00.000000000 +0200
+++ new/package/package.json 2015-05-21 02:58:27.000000000 +0200
@@ -1,6 +1,6 @@
{
"name": "proto-list",
- "version": "1.2.3",
+ "version": "1.2.4",
"description": "A utility for managing a prototype chain",
"main": "./proto-list.js",
"author": "Isaac Z. Schlueter <i(a)izs.me> (http://blog.izs.me/)",
@@ -11,10 +11,7 @@
"type": "git",
"url": "https://github.com/isaacs/proto-list"
},
- "license": {
- "type": "MIT",
- "url": "https://github.com/isaacs/proto-list/blob/master/LICENSE"
- },
+ "license": "ISC",
"devDependencies": {
"tap": "0"
}
1
0
Hello community,
here is the log from the commit of package nodejs-mkdirp for openSUSE:Factory checked in at 2015-07-02 22:33:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-mkdirp (Old)
and /work/SRC/openSUSE:Factory/.nodejs-mkdirp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-mkdirp"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-mkdirp/nodejs-mkdirp.changes 2015-04-27 13:01:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-mkdirp.new/nodejs-mkdirp.changes 2015-07-02 22:34:00.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jun 5 19:12:55 UTC 2015 - i(a)marguerite.su
+
+- update version 0.5.1
+- drop mkdirp-deps.diff
+
+-------------------------------------------------------------------
Old:
----
mkdirp-0.5.0.tgz
mkdirp-deps.diff
New:
----
mkdirp-0.5.1.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-mkdirp.spec ++++++
--- /var/tmp/diff_new_pack.CoUzpY/_old 2015-07-02 22:34:00.000000000 +0200
+++ /var/tmp/diff_new_pack.CoUzpY/_new 2015-07-02 22:34:00.000000000 +0200
@@ -19,14 +19,13 @@
%define base_name mkdirp
Name: nodejs-mkdirp
-Version: 0.5.0
+Version: 0.5.1
Release: 0
Summary: Create Directory for Node.js
License: MIT
Group: Development/Libraries/Other
Url: https://github.com/substack/node-mkdirp
Source: %{base_name}-%{version}.tgz
-Patch: mkdirp-deps.diff
BuildRequires: nodejs-packaging
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@@ -38,7 +37,6 @@
%prep
%setup -q -n package
-%patch -p1
%build
++++++ mkdirp-0.5.0.tgz -> mkdirp-0.5.1.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/.npmignore new/package/.npmignore
--- old/package/.npmignore 2011-09-10 07:36:52.000000000 +0200
+++ new/package/.npmignore 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-node_modules/
-npm-debug.log
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/.travis.yml new/package/.travis.yml
--- old/package/.travis.yml 2014-04-23 00:21:05.000000000 +0200
+++ new/package/.travis.yml 2015-05-14 04:01:06.000000000 +0200
@@ -1,5 +1,8 @@
language: node_js
node_js:
- - 0.6
- - 0.8
+ - "0.8"
- "0.10"
+ - "0.12"
+ - "iojs"
+before_install:
+ - npm install -g npm(a)~1.4.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/index.js new/package/index.js
--- old/package/index.js 2014-05-06 04:23:01.000000000 +0200
+++ new/package/index.js 2015-05-14 04:31:34.000000000 +0200
@@ -1,5 +1,6 @@
var path = require('path');
var fs = require('fs');
+var _0777 = parseInt('0777', 8);
module.exports = mkdirP.mkdirp = mkdirP.mkdirP = mkdirP;
@@ -16,7 +17,7 @@
var xfs = opts.fs || fs;
if (mode === undefined) {
- mode = 0777 & (~process.umask());
+ mode = _0777 & (~process.umask());
}
if (!made) made = null;
@@ -60,7 +61,7 @@
var xfs = opts.fs || fs;
if (mode === undefined) {
- mode = 0777 & (~process.umask());
+ mode = _0777 & (~process.umask());
}
if (!made) made = null;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json 2014-05-06 04:28:08.000000000 +0200
+++ new/package/package.json 2015-05-14 04:31:37.000000000 +0200
@@ -1,9 +1,9 @@
{
"name": "mkdirp",
"description": "Recursively mkdir, like `mkdir -p`",
- "version": "0.5.0",
+ "version": "0.5.1",
"author": "James Halliday <mail(a)substack.net> (http://substack.net)",
- "main": "./index",
+ "main": "index.js",
"keywords": [
"mkdir",
"directory"
@@ -19,8 +19,8 @@
"minimist": "0.0.8"
},
"devDependencies": {
- "tap": "~0.4.0",
- "mock-fs": "~2.2.0"
+ "tap": "1",
+ "mock-fs": "2 >=2.7.0"
},
"bin": "bin/cmd.js",
"license": "MIT"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/chmod.js new/package/test/chmod.js
--- old/package/test/chmod.js 2012-03-31 09:42:54.000000000 +0200
+++ new/package/test/chmod.js 2015-05-14 03:59:55.000000000 +0200
@@ -2,6 +2,9 @@
var path = require('path');
var fs = require('fs');
var test = require('tap').test;
+var _0777 = parseInt('0777', 8);
+var _0755 = parseInt('0755', 8);
+var _0744 = parseInt('0744', 8);
var ps = [ '', 'tmp' ];
@@ -13,20 +16,20 @@
var file = ps.join('/');
test('chmod-pre', function (t) {
- var mode = 0744
+ var mode = _0744
mkdirp(file, mode, function (er) {
t.ifError(er, 'should not error');
fs.stat(file, function (er, stat) {
t.ifError(er, 'should exist');
t.ok(stat && stat.isDirectory(), 'should be directory');
- t.equal(stat && stat.mode & 0777, mode, 'should be 0744');
+ t.equal(stat && stat.mode & _0777, mode, 'should be 0744');
t.end();
});
});
});
test('chmod', function (t) {
- var mode = 0755
+ var mode = _0755
mkdirp(file, mode, function (er) {
t.ifError(er, 'should not error');
fs.stat(file, function (er, stat) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/clobber.js new/package/test/clobber.js
--- old/package/test/clobber.js 2012-03-31 09:42:54.000000000 +0200
+++ new/package/test/clobber.js 2015-05-14 03:59:55.000000000 +0200
@@ -2,6 +2,7 @@
var path = require('path');
var fs = require('fs');
var test = require('tap').test;
+var _0755 = parseInt('0755', 8);
var ps = [ '', 'tmp' ];
@@ -29,7 +30,7 @@
test('clobber', function (t) {
t.plan(2);
- mkdirp(file, 0755, function (err) {
+ mkdirp(file, _0755, function (err) {
t.ok(err);
t.equal(err.code, 'ENOTDIR');
t.end();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/mkdirp.js new/package/test/mkdirp.js
--- old/package/test/mkdirp.js 2014-05-06 04:10:52.000000000 +0200
+++ new/package/test/mkdirp.js 2015-05-14 03:59:55.000000000 +0200
@@ -3,6 +3,8 @@
var fs = require('fs');
var exists = fs.exists || path.exists;
var test = require('tap').test;
+var _0777 = parseInt('0777', 8);
+var _0755 = parseInt('0755', 8);
test('woo', function (t) {
t.plan(5);
@@ -12,13 +14,13 @@
var file = '/tmp/' + [x,y,z].join('/');
- mkdirp(file, 0755, function (err) {
+ mkdirp(file, _0755, function (err) {
t.ifError(err);
exists(file, function (ex) {
t.ok(ex, 'file created');
fs.stat(file, function (err, stat) {
t.ifError(err);
- t.equal(stat.mode & 0777, 0755);
+ t.equal(stat.mode & _0777, _0755);
t.ok(stat.isDirectory(), 'target not a directory');
})
})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/opts_fs.js new/package/test/opts_fs.js
--- old/package/test/opts_fs.js 2014-05-06 04:18:34.000000000 +0200
+++ new/package/test/opts_fs.js 2015-05-14 03:59:55.000000000 +0200
@@ -2,6 +2,8 @@
var path = require('path');
var test = require('tap').test;
var mockfs = require('mock-fs');
+var _0777 = parseInt('0777', 8);
+var _0755 = parseInt('0755', 8);
test('opts.fs', function (t) {
t.plan(5);
@@ -13,13 +15,13 @@
var file = '/beep/boop/' + [x,y,z].join('/');
var xfs = mockfs.fs();
- mkdirp(file, { fs: xfs, mode: 0755 }, function (err) {
+ mkdirp(file, { fs: xfs, mode: _0755 }, function (err) {
t.ifError(err);
xfs.exists(file, function (ex) {
t.ok(ex, 'created file');
xfs.stat(file, function (err, stat) {
t.ifError(err);
- t.equal(stat.mode & 0777, 0755);
+ t.equal(stat.mode & _0777, _0755);
t.ok(stat.isDirectory(), 'target not a directory');
});
});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/opts_fs_sync.js new/package/test/opts_fs_sync.js
--- old/package/test/opts_fs_sync.js 2014-05-06 04:22:47.000000000 +0200
+++ new/package/test/opts_fs_sync.js 2015-05-14 03:59:55.000000000 +0200
@@ -2,6 +2,8 @@
var path = require('path');
var test = require('tap').test;
var mockfs = require('mock-fs');
+var _0777 = parseInt('0777', 8);
+var _0755 = parseInt('0755', 8);
test('opts.fs sync', function (t) {
t.plan(4);
@@ -13,12 +15,12 @@
var file = '/beep/boop/' + [x,y,z].join('/');
var xfs = mockfs.fs();
- mkdirp.sync(file, { fs: xfs, mode: 0755 });
+ mkdirp.sync(file, { fs: xfs, mode: _0755 });
xfs.exists(file, function (ex) {
t.ok(ex, 'created file');
xfs.stat(file, function (err, stat) {
t.ifError(err);
- t.equal(stat.mode & 0777, 0755);
+ t.equal(stat.mode & _0777, _0755);
t.ok(stat.isDirectory(), 'target not a directory');
});
});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/perm.js new/package/test/perm.js
--- old/package/test/perm.js 2014-05-06 04:11:46.000000000 +0200
+++ new/package/test/perm.js 2015-05-14 03:59:55.000000000 +0200
@@ -3,18 +3,20 @@
var fs = require('fs');
var exists = fs.exists || path.exists;
var test = require('tap').test;
+var _0777 = parseInt('0777', 8);
+var _0755 = parseInt('0755', 8);
test('async perm', function (t) {
t.plan(5);
var file = '/tmp/' + (Math.random() * (1<<30)).toString(16);
- mkdirp(file, 0755, function (err) {
+ mkdirp(file, _0755, function (err) {
t.ifError(err);
exists(file, function (ex) {
t.ok(ex, 'file created');
fs.stat(file, function (err, stat) {
t.ifError(err);
- t.equal(stat.mode & 0777, 0755);
+ t.equal(stat.mode & _0777, _0755);
t.ok(stat.isDirectory(), 'target not a directory');
})
})
@@ -22,7 +24,7 @@
});
test('async root perm', function (t) {
- mkdirp('/tmp', 0755, function (err) {
+ mkdirp('/tmp', _0755, function (err) {
if (err) t.fail(err);
t.end();
});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/perm_sync.js new/package/test/perm_sync.js
--- old/package/test/perm_sync.js 2014-05-06 04:13:04.000000000 +0200
+++ new/package/test/perm_sync.js 2015-05-14 03:59:55.000000000 +0200
@@ -3,17 +3,19 @@
var fs = require('fs');
var exists = fs.exists || path.exists;
var test = require('tap').test;
+var _0777 = parseInt('0777', 8);
+var _0755 = parseInt('0755', 8);
test('sync perm', function (t) {
t.plan(4);
var file = '/tmp/' + (Math.random() * (1<<30)).toString(16) + '.json';
- mkdirp.sync(file, 0755);
+ mkdirp.sync(file, _0755);
exists(file, function (ex) {
t.ok(ex, 'file created');
fs.stat(file, function (err, stat) {
t.ifError(err);
- t.equal(stat.mode & 0777, 0755);
+ t.equal(stat.mode & _0777, _0755);
t.ok(stat.isDirectory(), 'target not a directory');
});
});
@@ -23,7 +25,7 @@
t.plan(3);
var file = '/tmp';
- mkdirp.sync(file, 0755);
+ mkdirp.sync(file, _0755);
exists(file, function (ex) {
t.ok(ex, 'file created');
fs.stat(file, function (err, stat) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/race.js new/package/test/race.js
--- old/package/test/race.js 2014-05-06 04:14:38.000000000 +0200
+++ new/package/test/race.js 2015-05-14 03:59:55.000000000 +0200
@@ -3,9 +3,11 @@
var fs = require('fs');
var exists = fs.exists || path.exists;
var test = require('tap').test;
+var _0777 = parseInt('0777', 8);
+var _0755 = parseInt('0755', 8);
test('race', function (t) {
- t.plan(6);
+ t.plan(10);
var ps = [ '', 'tmp' ];
for (var i = 0; i < 25; i++) {
@@ -15,24 +17,19 @@
var file = ps.join('/');
var res = 2;
- mk(file, function () {
- if (--res === 0) t.end();
- });
+ mk(file);
- mk(file, function () {
- if (--res === 0) t.end();
- });
+ mk(file);
function mk (file, cb) {
- mkdirp(file, 0755, function (err) {
+ mkdirp(file, _0755, function (err) {
t.ifError(err);
exists(file, function (ex) {
t.ok(ex, 'file created');
fs.stat(file, function (err, stat) {
t.ifError(err);
- t.equal(stat.mode & 0777, 0755);
+ t.equal(stat.mode & _0777, _0755);
t.ok(stat.isDirectory(), 'target not a directory');
- if (cb) cb();
});
})
});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/rel.js new/package/test/rel.js
--- old/package/test/rel.js 2014-05-06 04:15:31.000000000 +0200
+++ new/package/test/rel.js 2015-05-14 03:59:55.000000000 +0200
@@ -3,6 +3,8 @@
var fs = require('fs');
var exists = fs.exists || path.exists;
var test = require('tap').test;
+var _0777 = parseInt('0777', 8);
+var _0755 = parseInt('0755', 8);
test('rel', function (t) {
t.plan(5);
@@ -15,14 +17,14 @@
var file = [x,y,z].join('/');
- mkdirp(file, 0755, function (err) {
+ mkdirp(file, _0755, function (err) {
t.ifError(err);
exists(file, function (ex) {
t.ok(ex, 'file created');
fs.stat(file, function (err, stat) {
t.ifError(err);
process.chdir(cwd);
- t.equal(stat.mode & 0777, 0755);
+ t.equal(stat.mode & _0777, _0755);
t.ok(stat.isDirectory(), 'target not a directory');
})
})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/root.js new/package/test/root.js
--- old/package/test/root.js 2012-06-05 17:53:46.000000000 +0200
+++ new/package/test/root.js 2015-05-14 03:59:55.000000000 +0200
@@ -2,12 +2,13 @@
var path = require('path');
var fs = require('fs');
var test = require('tap').test;
+var _0755 = parseInt('0755', 8);
test('root', function (t) {
// '/' on unix, 'c:/' on windows.
var file = path.resolve('/');
- mkdirp(file, 0755, function (err) {
+ mkdirp(file, _0755, function (err) {
if (err) throw err
fs.stat(file, function (er, stat) {
if (er) throw er
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/sync.js new/package/test/sync.js
--- old/package/test/sync.js 2014-05-06 04:16:10.000000000 +0200
+++ new/package/test/sync.js 2015-05-14 03:59:55.000000000 +0200
@@ -3,6 +3,8 @@
var fs = require('fs');
var exists = fs.exists || path.exists;
var test = require('tap').test;
+var _0777 = parseInt('0777', 8);
+var _0755 = parseInt('0755', 8);
test('sync', function (t) {
t.plan(4);
@@ -13,7 +15,7 @@
var file = '/tmp/' + [x,y,z].join('/');
try {
- mkdirp.sync(file, 0755);
+ mkdirp.sync(file, _0755);
} catch (err) {
t.fail(err);
return t.end();
@@ -23,7 +25,7 @@
t.ok(ex, 'file created');
fs.stat(file, function (err, stat) {
t.ifError(err);
- t.equal(stat.mode & 0777, 0755);
+ t.equal(stat.mode & _0777, _0755);
t.ok(stat.isDirectory(), 'target not a directory');
});
});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/umask.js new/package/test/umask.js
--- old/package/test/umask.js 2014-05-06 04:16:53.000000000 +0200
+++ new/package/test/umask.js 2015-05-14 03:59:55.000000000 +0200
@@ -3,6 +3,8 @@
var fs = require('fs');
var exists = fs.exists || path.exists;
var test = require('tap').test;
+var _0777 = parseInt('0777', 8);
+var _0755 = parseInt('0755', 8);
test('implicit mode from umask', function (t) {
t.plan(5);
@@ -18,7 +20,7 @@
t.ok(ex, 'file created');
fs.stat(file, function (err, stat) {
t.ifError(err);
- t.equal(stat.mode & 0777, 0777 & (~process.umask()));
+ t.equal(stat.mode & _0777, _0777 & (~process.umask()));
t.ok(stat.isDirectory(), 'target not a directory');
});
})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/umask_sync.js new/package/test/umask_sync.js
--- old/package/test/umask_sync.js 2014-05-06 04:17:43.000000000 +0200
+++ new/package/test/umask_sync.js 2015-05-14 03:59:55.000000000 +0200
@@ -3,6 +3,8 @@
var fs = require('fs');
var exists = fs.exists || path.exists;
var test = require('tap').test;
+var _0777 = parseInt('0777', 8);
+var _0755 = parseInt('0755', 8);
test('umask sync modes', function (t) {
t.plan(4);
@@ -23,7 +25,7 @@
t.ok(ex, 'file created');
fs.stat(file, function (err, stat) {
t.ifError(err);
- t.equal(stat.mode & 0777, (0777 & (~process.umask())));
+ t.equal(stat.mode & _0777, (_0777 & (~process.umask())));
t.ok(stat.isDirectory(), 'target not a directory');
});
});
1
0
Hello community,
here is the log from the commit of package nodejs-graceful-fs for openSUSE:Factory checked in at 2015-07-02 22:33:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-graceful-fs (Old)
and /work/SRC/openSUSE:Factory/.nodejs-graceful-fs.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-graceful-fs"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-graceful-fs/nodejs-graceful-fs.changes 2015-04-27 13:01:16.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-graceful-fs.new/nodejs-graceful-fs.changes 2015-07-02 22:33:55.000000000 +0200
@@ -1,0 +2,10 @@
+Fri Jun 5 19:18:12 UTC 2015 - i(a)marguerite.su
+
+- update version 3.0.8
+
+-------------------------------------------------------------------
+Fri Apr 24 12:12:36 UTC 2015 - hvogel(a)suse.com
+
+- Update to version 3.0.6
+
+-------------------------------------------------------------------
Old:
----
graceful-fs-3.0.2.tgz
New:
----
graceful-fs-3.0.8.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-graceful-fs.spec ++++++
--- /var/tmp/diff_new_pack.5jfvIJ/_old 2015-07-02 22:33:55.000000000 +0200
+++ /var/tmp/diff_new_pack.5jfvIJ/_new 2015-07-02 22:33:55.000000000 +0200
@@ -19,7 +19,7 @@
%define base_name graceful-fs
Name: nodejs-graceful-fs
-Version: 3.0.2
+Version: 3.0.8
Release: 0
Summary: fs with incremental backoff on EMFILE
License: BSD-2-Clause
++++++ graceful-fs-3.0.2.tgz -> graceful-fs-3.0.8.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/LICENSE new/package/LICENSE
--- old/package/LICENSE 2013-05-27 06:05:36.000000000 +0200
+++ new/package/LICENSE 2015-05-19 03:38:14.000000000 +0200
@@ -1,27 +1,15 @@
-Copyright (c) Isaac Z. Schlueter ("Author")
-All rights reserved.
+The ISC License
-The BSD License
+Copyright (c) Isaac Z. Schlueter and Contributors
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
-BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
-BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
-OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
-IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/fs.js new/package/fs.js
--- old/package/fs.js 2014-06-06 08:56:00.000000000 +0200
+++ new/package/fs.js 2014-11-19 00:54:38.000000000 +0100
@@ -8,4 +8,4 @@
var src = pre + process.binding('natives').fs + post
var vm = require('vm')
var fn = vm.runInThisContext(src)
-return fn(exports, require, module, __filename, __dirname)
+fn(exports, require, module, __filename, __dirname)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/graceful-fs.js new/package/graceful-fs.js
--- old/package/graceful-fs.js 2014-06-02 02:33:26.000000000 +0200
+++ new/package/graceful-fs.js 2015-06-01 07:03:12.000000000 +0200
@@ -128,7 +128,7 @@
var tryAgain = false
if (er) {
var code = er.code
- var tryAgain = code === "EMFILE"
+ var tryAgain = code === "EMFILE" || code === "ENFILE"
if (process.platform === "win32")
tryAgain = tryAgain || code === "OK"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json 2014-06-11 00:54:52.000000000 +0200
+++ new/package/package.json 2015-06-01 07:07:52.000000000 +0200
@@ -2,7 +2,7 @@
"author": "Isaac Z. Schlueter <i(a)izs.me> (http://blog.izs.me)",
"name": "graceful-fs",
"description": "A drop-in replacement for fs, making various improvements.",
- "version": "3.0.2",
+ "version": "3.0.8",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/node-graceful-fs.git"
@@ -33,5 +33,10 @@
"EPERM",
"EACCESS"
],
- "license": "BSD"
+ "license": "ISC",
+ "devDependencies": {
+ "mkdirp": "^0.5.0",
+ "rimraf": "^2.2.8",
+ "tap": "^1.2.0"
+ }
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/polyfills.js new/package/polyfills.js
--- old/package/polyfills.js 2014-06-11 00:54:09.000000000 +0200
+++ new/package/polyfills.js 2015-03-11 22:28:42.000000000 +0100
@@ -214,7 +214,7 @@
&& Date.now() - start < 1000) {
return rename_(from, to, CB)
}
- cb(er)
+ if(cb) cb(er)
})
}
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/max-open.js new/package/test/max-open.js
--- old/package/test/max-open.js 1970-01-01 01:00:00.000000000 +0100
+++ new/package/test/max-open.js 2015-06-01 07:06:11.000000000 +0200
@@ -0,0 +1,69 @@
+var test = require('tap').test
+var fs = require('../')
+
+test('open lots of stuff', function (t) {
+ // Get around EBADF from libuv by making sure that stderr is opened
+ // Otherwise Darwin will refuse to give us a FD for stderr!
+ process.stderr.write('')
+
+ // How many parallel open()'s to do
+ var n = 1024
+ var opens = 0
+ var fds = []
+ var going = true
+ var closing = false
+ var doneCalled = 0
+
+ for (var i = 0; i < n; i++) {
+ go()
+ }
+
+ function go() {
+ opens++
+ fs.open(__filename, 'r', function (er, fd) {
+ if (er) throw er
+ fds.push(fd)
+ if (going) go()
+ })
+ }
+
+ // should hit ulimit pretty fast
+ setTimeout(function () {
+ going = false
+ t.equal(opens - fds.length, n)
+ done()
+ }, 100)
+
+
+ function done () {
+ if (closing) return
+ doneCalled++
+
+ if (fds.length === 0) {
+ console.error('done called %d times', doneCalled)
+ // First because of the timeout
+ // Then to close the fd's opened afterwards
+ // Then this time, to complete.
+ // Might take multiple passes, depending on CPU speed
+ // and ulimit, but at least 3 in every case.
+ t.ok(doneCalled >= 2)
+ return t.end()
+ }
+
+ closing = true
+ setTimeout(function () {
+ // console.error('do closing again')
+ closing = false
+ done()
+ }, 100)
+
+ // console.error('closing time')
+ var closes = fds.slice(0)
+ fds.length = 0
+ closes.forEach(function (fd) {
+ fs.close(fd, function (er) {
+ if (er) throw er
+ })
+ })
+ }
+})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/readdir-sort.js new/package/test/readdir-sort.js
--- old/package/test/readdir-sort.js 2014-06-02 02:31:04.000000000 +0200
+++ new/package/test/readdir-sort.js 2014-11-18 06:17:22.000000000 +0100
@@ -14,7 +14,6 @@
g.readdir("whatevers", function (er, files) {
if (er)
throw er
- console.error(files)
t.same(files, [ "a", "b", "z" ])
t.end()
})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/test/write-then-read.js new/package/test/write-then-read.js
--- old/package/test/write-then-read.js 1970-01-01 01:00:00.000000000 +0100
+++ new/package/test/write-then-read.js 2015-06-01 07:06:16.000000000 +0200
@@ -0,0 +1,47 @@
+var fs = require('../');
+var rimraf = require('rimraf');
+var mkdirp = require('mkdirp');
+var test = require('tap').test;
+var p = require('path').resolve(__dirname, 'files');
+
+process.chdir(__dirname)
+
+// Make sure to reserve the stderr fd
+process.stderr.write('');
+
+var num = 4097;
+var paths = new Array(num);
+
+test('make files', function (t) {
+ rimraf.sync(p);
+ mkdirp.sync(p);
+
+ for (var i = 0; i < num; ++i) {
+ paths[i] = 'files/file-' + i;
+ fs.writeFileSync(paths[i], 'content');
+ }
+
+ t.end();
+})
+
+test('read files', function (t) {
+ // now read them
+ var done = 0;
+ for (var i = 0; i < num; ++i) {
+ fs.readFile(paths[i], function(err, data) {
+ if (err)
+ throw err;
+
+ ++done;
+ if (done === num) {
+ t.pass('success');
+ t.end()
+ }
+ });
+ }
+});
+
+test('cleanup', function (t) {
+ rimraf.sync(p);
+ t.end();
+});
1
0
Hello community,
here is the log from the commit of package nodejs-defaults for openSUSE:Factory checked in at 2015-07-02 22:33:47
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-defaults (Old)
and /work/SRC/openSUSE:Factory/.nodejs-defaults.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-defaults"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-defaults/nodejs-defaults.changes 2015-04-27 13:00:50.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-defaults.new/nodejs-defaults.changes 2015-07-02 22:33:47.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jun 5 19:25:46 UTC 2015 - i(a)marguerite.su
+
+- update version 1.0.2
+
+-------------------------------------------------------------------
Old:
----
defaults-1.0.0.tgz
New:
----
defaults-1.0.2.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-defaults.spec ++++++
--- /var/tmp/diff_new_pack.5FVFyz/_old 2015-07-02 22:33:48.000000000 +0200
+++ /var/tmp/diff_new_pack.5FVFyz/_new 2015-07-02 22:33:48.000000000 +0200
@@ -19,7 +19,7 @@
%define base_name defaults
Name: nodejs-defaults
-Version: 1.0.0
+Version: 1.0.2
Release: 0
Summary: A simple one level options merge utility
License: MIT
++++++ defaults-1.0.0.tgz -> defaults-1.0.2.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/LICENSE new/package/LICENSE
--- old/package/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/package/LICENSE 2015-03-15 04:20:38.000000000 +0100
@@ -0,0 +1,21 @@
+The MIT License (MIT)
+
+Copyright (c) 2015 Elijah Insua
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/README.md new/package/README.md
--- old/package/README.md 2013-02-03 03:21:25.000000000 +0100
+++ new/package/README.md 2015-03-15 04:24:17.000000000 +0100
@@ -40,4 +40,4 @@
## license
-MIT
\ No newline at end of file
+[MIT](LICENSE)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json 2013-02-03 03:22:45.000000000 +0100
+++ new/package/package.json 2015-03-15 04:29:33.000000000 +0100
@@ -1,6 +1,6 @@
{
"name": "defaults",
- "version": "1.0.0",
+ "version": "1.0.2",
"description": "merge single level defaults over a config object",
"main": "index.js",
"scripts": {
@@ -20,7 +20,7 @@
"dependencies": {
"clone": "~0.1.5"
},
- "devDependencies" :{
+ "devDependencies": {
"tap": "~0.4.0"
}
}
1
0
Hello community,
here is the log from the commit of package nodejs-config-chain for openSUSE:Factory checked in at 2015-07-02 22:33:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-config-chain (Old)
and /work/SRC/openSUSE:Factory/.nodejs-config-chain.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-config-chain"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-config-chain/nodejs-config-chain.changes 2015-04-27 13:00:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-config-chain.new/nodejs-config-chain.changes 2015-07-02 22:33:42.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jun 5 19:31:10 UTC 2015 - i(a)marguerite.su
+
+- update version 1.1.9
+
+-------------------------------------------------------------------
Old:
----
config-chain-1.1.8.tgz
New:
----
config-chain-1.1.9.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-config-chain.spec ++++++
--- /var/tmp/diff_new_pack.emnDR4/_old 2015-07-02 22:33:43.000000000 +0200
+++ /var/tmp/diff_new_pack.emnDR4/_new 2015-07-02 22:33:43.000000000 +0200
@@ -19,7 +19,7 @@
%define base_name config-chain
Name: nodejs-config-chain
-Version: 1.1.8
+Version: 1.1.9
Release: 0
Summary: Node.js configuration loader
License: MIT
++++++ config-chain-1.1.8.tgz -> config-chain-1.1.9.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json 2013-09-20 13:48:49.000000000 +0200
+++ new/package/package.json 2014-11-04 10:10:20.000000000 +0100
@@ -1,6 +1,12 @@
{
"name": "config-chain",
- "version": "1.1.8",
+ "version": "1.1.9",
+ "licenses": [
+ {
+ "type": "MIT",
+ "url": "https://raw.githubusercontent.com/dominictarr/config-chain/master/LICENCE"
+ }
+ ],
"description": "HANDLE CONFIGURATION ONCE AND FOR ALL",
"homepage": "http://github.com/dominictarr/config-chain",
"repository": {
1
0
Hello community,
here is the log from the commit of package nodejs-columnify for openSUSE:Factory checked in at 2015-07-02 22:33:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-columnify (Old)
and /work/SRC/openSUSE:Factory/.nodejs-columnify.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-columnify"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-columnify/nodejs-columnify.changes 2015-04-27 13:00:34.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-columnify.new/nodejs-columnify.changes 2015-07-02 22:33:35.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Apr 24 11:58:29 UTC 2015 - hvogel(a)suse.com
+
+- Update to version 1.5.1
+- drop columnify-deps.diff, not needed anymore
+
+-------------------------------------------------------------------
Old:
----
columnify-1.2.1.tgz
columnify-deps.diff
New:
----
columnify-1.5.1.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-columnify.spec ++++++
--- /var/tmp/diff_new_pack.smI9kk/_old 2015-07-02 22:33:35.000000000 +0200
+++ /var/tmp/diff_new_pack.smI9kk/_new 2015-07-02 22:33:35.000000000 +0200
@@ -19,14 +19,13 @@
%define base_name columnify
Name: nodejs-columnify
-Version: 1.2.1
+Version: 1.5.1
Release: 0
Summary: Render data in text columns, supports in-column text-wrap
License: MIT
Group: Development/Languages/Other
Url: https://github.com/timoxley/columnify
Source: http://registry.npmjs.org/%{base_name}/-/%{base_name}-%{version}.tgz
-Patch: columnify-deps.diff
BuildRequires: nodejs-packaging
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
@@ -40,7 +39,6 @@
%prep
%setup -q -n package
-%patch -p1
%build
++++++ columnify-1.2.1.tgz -> columnify-1.5.1.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/Makefile new/package/Makefile
--- old/package/Makefile 1970-01-01 01:00:00.000000000 +0100
+++ new/package/Makefile 2015-03-06 12:33:21.000000000 +0100
@@ -0,0 +1,9 @@
+
+all: columnify.js
+
+prepublish: all
+
+columnify.js: index.js package.json
+ babel index.js > columnify.js
+
+.PHONY: all prepublish
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/Readme.md new/package/Readme.md
--- old/package/Readme.md 2014-08-11 05:25:58.000000000 +0200
+++ new/package/Readme.md 2015-04-08 06:47:50.000000000 +0200
@@ -1,6 +1,13 @@
# columnify
-[![Build Status](https://travis-ci.org/timoxley/columnify.png?branch=master)](https:…
+[![NPM](https://nodei.co/npm/columnify.png?downloads=true&downloadRank=true&stars=true&chrome)](https://nodei.co/npm-dl/columnify/)
+[![NPM](https://nodei.co/npm-dl/columnify.png?months=3&height=3&chrome)](https://nodei.co/npm/columnify/)
+
+[![Build Status](https://img.shields.io/travis/timoxley/columnify.svg?style=flat)](h…
+[![NPM Version](https://img.shields.io/npm/v/columnify.svg?style=flat)](https://np…
+[![License](http://img.shields.io/npm/l/columnify.svg?style=flat)](LICENSE)
+[![Dependency Status](https://david-dm.org/timoxley/columnify.svg)](https://david-dm.org/…
+[![devDependency Status](https://david-dm.org/timoxley/columnify/dev-status.svg)](https://da…
Create text-based columns suitable for console output from objects or
arrays of objects.
@@ -36,7 +43,6 @@
Objects are converted to a list of key/value pairs:
```javascript
-
var data = {
"commander(a)0.6.1": 1,
"minimatch(a)0.2.14": 3,
@@ -100,15 +106,58 @@
module2 0.2.0
```
-### Wrapping Column Cells
+### Filtering & Ordering Columns
+
+By default, all properties are converted into columns, whether or not
+they exist on every object or not.
-You can define the maximum width before wrapping for individual cells in
-columns. Minimum width is also supported. Wrapping will happen at word
-boundaries. Empty cells or those which do not fill the max/min width
-will be padded with spaces.
+To explicitly specify which columns to include, and in which order,
+supply a "columns" or "include" array ("include" is just an alias).
```javascript
+var data = [{
+ name: 'module1',
+ description: 'some description',
+ version: '0.0.1',
+}, {
+ name: 'module2',
+ description: 'another description',
+ version: '0.2.0',
+}]
+
+var columns = columnify(data, {
+ columns: ['name', 'version']
+})
+
+console.log(columns)
+```
+#### Output:
+```
+NAME VERSION
+module1 0.0.1
+module2 0.2.0
+```
+
+## Global and Per Column Options
+You can set a number of options at a global level (ie. for all columns) or on a per column basis.
+
+Set options on a per column basis by using the `config` option to specify individual columns:
+
+```javascript
+var columns = columnify(data, {
+ optionName: optionValue,
+ config: {
+ columnName: {optionName: optionValue},
+ columnName: {optionName: optionValue},
+ }
+})
+```
+
+### Maximum and Minimum Column Widths
+As with all options, you can define the `maxWidth` and `minWidth` globally, or for specified columns. By default, wrapping will happen at word boundaries. Empty cells or those which do not fill the `minWidth` will be padded with spaces.
+
+```javascript
var columns = columnify([{
name: 'mod1',
description: 'some description which happens to be far larger than the max',
@@ -117,24 +166,41 @@
name: 'module-two',
description: 'another description larger than the max',
version: '0.2.0',
+}], {
+ minWidth: 20,
+ config: {
+ description: {maxWidth: 30}
+ }
})
console.log(columns)
```
+
#### Output:
```
-NAME DESCRIPTION VERSION
-mod1 some description which happens 0.0.1
- to be far larger than the max
-module-two another description larger 0.2.0
- than the max
+NAME DESCRIPTION VERSION
+mod1 some description which happens 0.0.1
+ to be far larger than the max
+module-two another description larger 0.2.0
+ than the max
```
-### Truncating Column Cells
+#### Maximum Line Width
+
+You can set a hard maximum line width using the `maxLineWidth` option.
+Beyond this value data is unceremoniously truncated with no truncation
+marker.
+
+This can either be a number or 'auto' to set the value to the width of
+stdout.
+
+Setting this value to 'auto' prevent TTY-imposed line-wrapping when
+lines exceed the screen width.
+
+#### Truncating Column Cells Instead of Wrapping
You can disable wrapping and instead truncate content at the maximum
-column width. Truncation respects word boundaries. A truncation marker,
-`…` will appear next to the last word in any truncated line.
+column width by using the `truncate` option. Truncation respects word boundaries. A truncation marker, `…`, will appear next to the last word in any truncated line.
```javascript
var columns = columnify(data, {
@@ -155,43 +221,9 @@
module-two another description… 0.2.0
```
-### Filtering & Ordering Columns
-
-By default, all properties are converted into columns, whether or not
-they exist on every object or not.
-
-To explicitly specify which columns to include, and in which order,
-supply a "columns" or "include" array ("include" is just an alias).
-
-```javascript
-var data = [{
- name: 'module1',
- description: 'some description',
- version: '0.0.1',
-}, {
- name: 'module2',
- description: 'another description',
- version: '0.2.0',
-}]
-
-var columns = columnify(data, {
- columns: ['name', 'version'] // note description not included
-})
-
-console.log(columns)
-```
-
-#### Output:
-```
-NAME VERSION
-module1 0.0.1
-module2 0.2.0
-```
-
-
-## Other Configuration Options
### Align Right/Center
+You can set the alignment of the column data by using the `align` option.
```js
var data = {
@@ -211,10 +243,12 @@
debug(a)0.8.1 1
```
-Align Center works in a similar way.
+`align: 'center'` works in a similar way.
+
+### Padding Character
-### Padding
+Set a character to fill whitespace within columns with the `paddingChr` option.
```js
var data = {
@@ -232,7 +266,7 @@
veryVeryVeryVeryVeryLongKey shortVal...................
```
-### Preserve existing newlines
+### Preserve Existing Newlines
By default, `columnify` sanitises text by replacing any occurance of 1 or more whitespace characters with a single space.
@@ -284,7 +318,7 @@
### Custom Truncation Marker
You can change the truncation marker to something other than the default
-`…`.
+`…` by using the `truncateMarker` option.
```javascript
var columns = columnify(data, {
@@ -309,10 +343,9 @@
### Custom Column Splitter
If your columns need some bling, you can split columns with custom
-characters.
+characters by using the `columnSplitter` option.
```javascript
-
var columns = columnify(data, {
columnSplitter: ' | '
})
@@ -326,6 +359,57 @@
module-two | another description larger than the max | 0.2.0
```
+### Control Header Display
+
+Control whether column headers are displayed by using the `showHeaders` option.
+
+```javascript
+var columns = columnify(data, {
+ showHeaders: false
+})
+```
+
+This also works well for hiding a single column header, like an `id` column:
+```javascript
+var columns = columnify(data, {
+ config: {
+ id: { showHeaders: false }
+ }
+})
+```
+
+### Transforming Column Data and Headers
+If you need to modify the presentation of column content or heading content there are two useful options for doing that: `dataTransform` and `headerTransform`. Both of these take a function and need to return a valid string.
+
+```javascript
+var columns = columnify([{
+ name: 'mod1',
+ description: 'SOME DESCRIPTION TEXT.'
+}, {
+ name: 'module-two',
+ description: 'SOME SLIGHTLY LONGER DESCRIPTION TEXT.'
+}], {
+ dataTransform: function(data) {
+ return data.toLowerCase()
+ },
+ config: {
+ name: {
+ headingTransform: function(heading) {
+ heading = "module " + heading
+ return "*" + heading.toUpperCase() + "*"
+ }
+ }
+ }
+})
+```
+#### Output:
+```
+*MODULE NAME* DESCRIPTION
+mod1 some description text.
+module-two some slightly longer description text.
+```
+
+
## Multibyte Character Support
`columnify` uses [mycoboco/wcwidth.js](https://github.com/mycoboco/wcwidth.js) to calculate length of multibyte characters:
@@ -362,6 +446,25 @@
这是一个很长的名字的模块 这真的是一个描述的内容这个描述很长 0.3.3
```
+## Contributions
+
+```
+ project : columnify
+ repo age : 1 year, 2 months
+ active : 32 days
+ commits : 120
+ files : 54
+ authors :
+ 90 Tim Oxley 75.0%
+ 8 Tim 6.7%
+ 7 Arjun Mehta 5.8%
+ 6 Dany 5.0%
+ 5 Wei Gao 4.2%
+ 2 Dany Shaanan 1.7%
+ 1 Seth Miller 0.8%
+ 1 Isaac Z. Schlueter 0.8%
+```
+
## License
MIT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/columnify.js new/package/columnify.js
--- old/package/columnify.js 1970-01-01 01:00:00.000000000 +0100
+++ new/package/columnify.js 2015-04-08 06:58:04.000000000 +0200
@@ -0,0 +1,309 @@
+'use strict';
+
+var _toConsumableArray = function (arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) arr2[i] = arr[i]; return arr2; } else { return Array.from(arr); } };
+
+var wcwidth = require('./width');
+
+var _require = require('./utils');
+
+var padRight = _require.padRight;
+var padCenter = _require.padCenter;
+var padLeft = _require.padLeft;
+var splitIntoLines = _require.splitIntoLines;
+var splitLongWords = _require.splitLongWords;
+var truncateString = _require.truncateString;
+
+var DEFAULT_HEADING_TRANSFORM = function DEFAULT_HEADING_TRANSFORM(key) {
+ return key.toUpperCase();
+};
+
+var DEFAULT_DATA_TRANSFORM = function DEFAULT_DATA_TRANSFORM(cell, column, index) {
+ return cell;
+};
+
+var DEFAULTS = Object.freeze({
+ maxWidth: Infinity,
+ minWidth: 0,
+ columnSplitter: ' ',
+ truncate: false,
+ truncateMarker: '…',
+ preserveNewLines: false,
+ paddingChr: ' ',
+ showHeaders: true,
+ headingTransform: DEFAULT_HEADING_TRANSFORM,
+ dataTransform: DEFAULT_DATA_TRANSFORM
+});
+
+module.exports = function (items) {
+ var options = arguments[1] === undefined ? {} : arguments[1];
+
+ var columnConfigs = options.config || {};
+ delete options.config; // remove config so doesn't appear on every column.
+
+ var maxLineWidth = options.maxLineWidth || Infinity;
+ if (maxLineWidth === 'auto') maxLineWidth = process.stdout.columns || Infinity;
+ delete options.maxLineWidth; // this is a line control option, don't pass it to column
+
+ // Option defaults inheritance:
+ // options.config[columnName] => options => DEFAULTS
+ options = mixin({}, DEFAULTS, options);
+
+ options.config = options.config || Object.create(null);
+
+ options.spacing = options.spacing || '\n'; // probably useless
+ options.preserveNewLines = !!options.preserveNewLines;
+ options.showHeaders = !!options.showHeaders;
+ options.columns = options.columns || options.include; // alias include/columns, prefer columns if supplied
+ var columnNames = options.columns || []; // optional user-supplied columns to include
+
+ items = toArray(items, columnNames);
+
+ // if not suppled column names, automatically determine columns from data keys
+ if (!columnNames.length) {
+ items.forEach(function (item) {
+ for (var columnName in item) {
+ if (columnNames.indexOf(columnName) === -1) columnNames.push(columnName);
+ }
+ });
+ }
+
+ // initialize column defaults (each column inherits from options.config)
+ var columns = columnNames.reduce(function (columns, columnName) {
+ var column = Object.create(options);
+ columns[columnName] = mixin(column, columnConfigs[columnName]);
+ return columns;
+ }, Object.create(null));
+
+ // sanitize column settings
+ columnNames.forEach(function (columnName) {
+ var column = columns[columnName];
+ column.name = columnName;
+ column.maxWidth = Math.ceil(column.maxWidth);
+ column.minWidth = Math.ceil(column.minWidth);
+ column.truncate = !!column.truncate;
+ column.align = column.align || 'left';
+ });
+
+ // sanitize data
+ items = items.map(function (item) {
+ var result = Object.create(null);
+ columnNames.forEach(function (columnName) {
+ // null/undefined -> ''
+ result[columnName] = item[columnName] != null ? item[columnName] : '';
+ // toString everything
+ result[columnName] = '' + result[columnName];
+ if (columns[columnName].preserveNewLines) {
+ // merge non-newline whitespace chars
+ result[columnName] = result[columnName].replace(/[^\S\n]/gmi, ' ');
+ } else {
+ // merge all whitespace chars
+ result[columnName] = result[columnName].replace(/\s/gmi, ' ');
+ }
+ });
+ return result;
+ });
+
+ // transform data cells
+ columnNames.forEach(function (columnName) {
+ var column = columns[columnName];
+ items = items.map(function (item, index) {
+ var col = Object.create(column);
+ item[columnName] = column.dataTransform(item[columnName], col, index);
+
+ var changedKeys = Object.keys(col);
+ // disable default heading transform if we wrote to column.name
+ if (changedKeys.indexOf('name') !== -1) {
+ if (column.headingTransform !== DEFAULT_HEADING_TRANSFORM) return;
+ column.headingTransform = function (heading) {
+ return heading;
+ };
+ }
+ changedKeys.forEach(function (key) {
+ return column[key] = col[key];
+ });
+ return item;
+ });
+ });
+
+ // add headers
+ var headers = {};
+ if (options.showHeaders) {
+ columnNames.forEach(function (columnName) {
+ var column = columns[columnName];
+
+ if (!column.showHeaders) {
+ headers[columnName] = '';
+ return;
+ }
+
+ headers[columnName] = column.headingTransform(column.name);
+ });
+ items.unshift(headers);
+ }
+ // get actual max-width between min & max
+ // based on length of data in columns
+ columnNames.forEach(function (columnName) {
+ var column = columns[columnName];
+ column.width = items.map(function (item) {
+ return item[columnName];
+ }).reduce(function (min, cur) {
+ return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))));
+ }, 0);
+ });
+
+ // split long words so they can break onto multiple lines
+ columnNames.forEach(function (columnName) {
+ var column = columns[columnName];
+ items = items.map(function (item) {
+ item[columnName] = splitLongWords(item[columnName], column.width, column.truncateMarker);
+ return item;
+ });
+ });
+
+ // wrap long lines. each item is now an array of lines.
+ columnNames.forEach(function (columnName) {
+ var column = columns[columnName];
+ items = items.map(function (item, index) {
+ var cell = item[columnName];
+ item[columnName] = splitIntoLines(cell, column.width);
+
+ // if truncating required, only include first line + add truncation char
+ if (column.truncate && item[columnName].length > 1) {
+ item[columnName] = splitIntoLines(cell, column.width - wcwidth(column.truncateMarker));
+ var firstLine = item[columnName][0];
+ if (!endsWith(firstLine, column.truncateMarker)) item[columnName][0] += column.truncateMarker;
+ item[columnName] = item[columnName].slice(0, 1);
+ }
+ return item;
+ });
+ });
+
+ // recalculate column widths from truncated output/lines
+ columnNames.forEach(function (columnName) {
+ var column = columns[columnName];
+ column.width = items.map(function (item) {
+ return item[columnName].reduce(function (min, cur) {
+ return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))));
+ }, 0);
+ }).reduce(function (min, cur) {
+ return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, cur)));
+ }, 0);
+ });
+
+ var rows = createRows(items, columns, columnNames, options.paddingChr); // merge lines into rows
+ // conceive output
+ return rows.reduce(function (output, row) {
+ return output.concat(row.reduce(function (rowOut, line) {
+ return rowOut.concat(line.join(options.columnSplitter));
+ }, []));
+ }, []).map(function (line) {
+ return truncateString(line, maxLineWidth);
+ }).join(options.spacing);
+};
+
+/**
+ * Convert wrapped lines into rows with padded values.
+ *
+ * @param Array items data to process
+ * @param Array columns column width settings for wrapping
+ * @param Array columnNames column ordering
+ * @return Array items wrapped in arrays, corresponding to lines
+ */
+
+function createRows(items, columns, columnNames, paddingChr) {
+ return items.map(function (item) {
+ var row = [];
+ var numLines = 0;
+ columnNames.forEach(function (columnName) {
+ numLines = Math.max(numLines, item[columnName].length);
+ });
+
+ var _loop = function (i) {
+ row[i] = row[i] || [];
+ columnNames.forEach(function (columnName) {
+ var column = columns[columnName];
+ var val = item[columnName][i] || ''; // || '' ensures empty columns get padded
+ if (column.align === 'right') row[i].push(padLeft(val, column.width, paddingChr));else if (column.align === 'center' || column.align === 'centre') row[i].push(padCenter(val, column.width, paddingChr));else row[i].push(padRight(val, column.width, paddingChr));
+ });
+ };
+
+ // combine matching lines of each rows
+ for (var i = 0; i < numLines; i++) {
+ _loop(i);
+ }
+ return row;
+ });
+}
+
+/**
+ * Object.assign
+ *
+ * @return Object Object with properties mixed in.
+ */
+
+function mixin() {
+ for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
+ args[_key] = arguments[_key];
+ }
+
+ if (Object.assign) {
+ return Object.assign.apply(Object, _toConsumableArray(args));
+ }return ObjectAssign.apply(undefined, _toConsumableArray(args));
+}
+
+function ObjectAssign(target, firstSource) {
+ 'use strict';
+ if (target === undefined || target === null) throw new TypeError('Cannot convert first argument to object');
+
+ var to = Object(target);
+
+ var hasPendingException = false;
+ var pendingException;
+
+ for (var i = 1; i < arguments.length; i++) {
+ var nextSource = arguments[i];
+ if (nextSource === undefined || nextSource === null) continue;
+
+ var keysArray = Object.keys(Object(nextSource));
+ for (var nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex++) {
+ var nextKey = keysArray[nextIndex];
+ try {
+ var desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);
+ if (desc !== undefined && desc.enumerable) to[nextKey] = nextSource[nextKey];
+ } catch (e) {
+ if (!hasPendingException) {
+ hasPendingException = true;
+ pendingException = e;
+ }
+ }
+ }
+
+ if (hasPendingException) throw pendingException;
+ }
+ return to;
+}
+
+/**
+ * Adapted from String.prototype.endsWith polyfill.
+ */
+
+function endsWith(target, searchString, position) {
+ position = position || target.length;
+ position = position - searchString.length;
+ var lastIndex = target.lastIndexOf(searchString);
+ return lastIndex !== -1 && lastIndex === position;
+}
+
+function toArray(items, columnNames) {
+ if (Array.isArray(items)) {
+ return items;
+ }var rows = [];
+ for (var key in items) {
+ var item = {};
+ item[columnNames[0] || 'key'] = key;
+ item[columnNames[1] || 'value'] = items[key];
+ rows.push(item);
+ }
+ return rows;
+}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/index.js new/package/index.js
--- old/package/index.js 2014-08-11 05:25:58.000000000 +0200
+++ new/package/index.js 2015-04-08 06:47:50.000000000 +0200
@@ -1,15 +1,20 @@
"use strict"
-var wcwidth = require('./width')
-var utils = require('./utils')
-var padRight = utils.padRight
-var padCenter = utils.padCenter
-var padLeft = utils.padLeft
-var splitIntoLines = utils.splitIntoLines
-var splitLongWords = utils.splitLongWords
-var truncateString = utils.truncateString
+const wcwidth = require('./width')
+const {
+ padRight,
+ padCenter,
+ padLeft,
+ splitIntoLines,
+ splitLongWords,
+ truncateString
+} = require('./utils')
-var DEFAULTS = {
+const DEFAULT_HEADING_TRANSFORM = key => key.toUpperCase()
+
+const DEFAULT_DATA_TRANSFORM = (cell, column, index) => cell
+
+const DEFAULTS = Object.freeze({
maxWidth: Infinity,
minWidth: 0,
columnSplitter: ' ',
@@ -18,65 +23,63 @@
preserveNewLines: false,
paddingChr: ' ',
showHeaders: true,
- headingTransform: function(key) {
- return key.toUpperCase()
- },
- dataTransform: function(cell, column, index) {
- return cell
- }
-}
+ headingTransform: DEFAULT_HEADING_TRANSFORM,
+ dataTransform: DEFAULT_DATA_TRANSFORM
+})
-module.exports = function(items, options) {
+module.exports = function(items, options = {}) {
- options = options || {}
-
- var columnConfigs = options.config || {}
+ let columnConfigs = options.config || {}
delete options.config // remove config so doesn't appear on every column.
- var maxLineWidth = options.maxLineWidth || Infinity
+ let maxLineWidth = options.maxLineWidth || Infinity
+ if (maxLineWidth === 'auto') maxLineWidth = process.stdout.columns || Infinity
delete options.maxLineWidth // this is a line control option, don't pass it to column
// Option defaults inheritance:
// options.config[columnName] => options => DEFAULTS
- options = mixin(options, DEFAULTS)
+ options = mixin({}, DEFAULTS, options)
+
options.config = options.config || Object.create(null)
options.spacing = options.spacing || '\n' // probably useless
options.preserveNewLines = !!options.preserveNewLines
options.showHeaders = !!options.showHeaders;
options.columns = options.columns || options.include // alias include/columns, prefer columns if supplied
- var columnNames = options.columns || [] // optional user-supplied columns to include
+ let columnNames = options.columns || [] // optional user-supplied columns to include
items = toArray(items, columnNames)
// if not suppled column names, automatically determine columns from data keys
if (!columnNames.length) {
items.forEach(function(item) {
- for (var columnName in item) {
+ for (let columnName in item) {
if (columnNames.indexOf(columnName) === -1) columnNames.push(columnName)
}
})
}
// initialize column defaults (each column inherits from options.config)
- var columns = columnNames.reduce(function(columns, columnName) {
- var column = Object.create(options)
+ let columns = columnNames.reduce((columns, columnName) => {
+ let column = Object.create(options)
columns[columnName] = mixin(column, columnConfigs[columnName])
return columns
}, Object.create(null))
// sanitize column settings
- columnNames.forEach(function(columnName) {
- var column = columns[columnName]
+ columnNames.forEach(columnName => {
+ let column = columns[columnName]
+ column.name = columnName
column.maxWidth = Math.ceil(column.maxWidth)
column.minWidth = Math.ceil(column.minWidth)
column.truncate = !!column.truncate
+ column.align = column.align || 'left'
})
// sanitize data
- items = items.map(function(item) {
- var result = Object.create(null)
- columnNames.forEach(function(columnName) {
+ items = items.map(item => {
+ let result = Object.create(null)
+ columnNames.forEach(columnName => {
// null/undefined -> ''
result[columnName] = item[columnName] != null ? item[columnName] : ''
// toString everything
@@ -93,83 +96,98 @@
})
// transform data cells
- columnNames.forEach(function(columnName) {
- var column = columns[columnName]
- items = items.map(function(item, index) {
- item[columnName] = column.dataTransform(item[columnName], column, index)
+ columnNames.forEach(columnName => {
+ let column = columns[columnName]
+ items = items.map((item, index) => {
+ let col = Object.create(column)
+ item[columnName] = column.dataTransform(item[columnName], col, index)
+
+ let changedKeys = Object.keys(col)
+ // disable default heading transform if we wrote to column.name
+ if (changedKeys.indexOf('name') !== -1) {
+ if (column.headingTransform !== DEFAULT_HEADING_TRANSFORM) return
+ column.headingTransform = heading => heading
+ }
+ changedKeys.forEach(key => column[key] = col[key])
return item
})
})
// add headers
- var headers = {}
+ let headers = {}
if(options.showHeaders) {
- columnNames.forEach(function(columnName) {
- var column = columns[columnName]
- headers[columnName] = column.headingTransform(columnName)
+ columnNames.forEach(columnName => {
+ let column = columns[columnName]
+
+ if(!column.showHeaders){
+ headers[columnName] = '';
+ return;
+ }
+
+ headers[columnName] = column.headingTransform(column.name)
})
items.unshift(headers)
}
// get actual max-width between min & max
// based on length of data in columns
- columnNames.forEach(function(columnName) {
- var column = columns[columnName]
- column.width = items.map(function(item) {
- return item[columnName]
- }).reduce(function(min, cur) {
+ columnNames.forEach(columnName => {
+ let column = columns[columnName]
+ column.width = items
+ .map(item => item[columnName])
+ .reduce((min, cur) => {
return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))))
}, 0)
})
// split long words so they can break onto multiple lines
- columnNames.forEach(function(columnName) {
- var column = columns[columnName]
- items = items.map(function(item) {
+ columnNames.forEach(columnName => {
+ let column = columns[columnName]
+ items = items.map(item => {
item[columnName] = splitLongWords(item[columnName], column.width, column.truncateMarker)
return item
})
})
// wrap long lines. each item is now an array of lines.
- columnNames.forEach(function(columnName) {
- var column = columns[columnName]
- items = items.map(function(item, index) {
- var cell = item[columnName]
+ columnNames.forEach(columnName => {
+ let column = columns[columnName]
+ items = items.map((item, index) => {
+ let cell = item[columnName]
item[columnName] = splitIntoLines(cell, column.width)
// if truncating required, only include first line + add truncation char
if (column.truncate && item[columnName].length > 1) {
- item[columnName] = splitIntoLines(cell, column.width - wcwidth(column.truncateMarker))
- var firstLine = item[columnName][0]
- if (!endsWith(firstLine, column.truncateMarker)) item[columnName][0] += column.truncateMarker
- item[columnName] = item[columnName].slice(0, 1)
+ item[columnName] = splitIntoLines(cell, column.width - wcwidth(column.truncateMarker))
+ let firstLine = item[columnName][0]
+ if (!endsWith(firstLine, column.truncateMarker)) item[columnName][0] += column.truncateMarker
+ item[columnName] = item[columnName].slice(0, 1)
}
return item
})
})
// recalculate column widths from truncated output/lines
- columnNames.forEach(function(columnName) {
- var column = columns[columnName]
- column.width = items.map(function(item) {
- return item[columnName].reduce(function(min, cur) {
+ columnNames.forEach(columnName => {
+ let column = columns[columnName]
+ column.width = items.map(item => {
+ return item[columnName].reduce((min, cur) => {
return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, wcwidth(cur))))
}, 0)
- }).reduce(function(min, cur) {
+ }).reduce((min, cur) => {
return Math.max(min, Math.min(column.maxWidth, Math.max(column.minWidth, cur)))
}, 0)
})
- var rows = createRows(items, columns, columnNames, options.paddingChr) // merge lines into rows
+ let rows = createRows(items, columns, columnNames, options.paddingChr) // merge lines into rows
// conceive output
- return rows.reduce(function(output, row) {
- return output.concat(row.reduce(function(rowOut, line) {
+ return rows.reduce((output, row) => {
+ return output.concat(row.reduce((rowOut, line) => {
return rowOut.concat(line.join(options.columnSplitter))
}, []))
- }, []).map(function(line) {
- return truncateString(line, maxLineWidth)
- }).join(options.spacing)
+ }, [])
+ .map(line => truncateString(line, maxLineWidth))
+ .join(options.spacing)
}
/**
@@ -182,20 +200,20 @@
*/
function createRows(items, columns, columnNames, paddingChr) {
- return items.map(function(item) {
- var row = []
- var numLines = 0
- columnNames.forEach(function(columnName) {
+ return items.map(item => {
+ let row = []
+ let numLines = 0
+ columnNames.forEach(columnName => {
numLines = Math.max(numLines, item[columnName].length)
})
// combine matching lines of each rows
- for (var i = 0; i < numLines; i++) {
+ for (let i = 0; i < numLines; i++) {
row[i] = row[i] || []
- columnNames.forEach(function(columnName) {
- var column = columns[columnName]
- var val = item[columnName][i] || '' // || '' ensures empty columns get padded
- if (column.align == 'right') row[i].push(padLeft(val, column.width, paddingChr))
- else if (column.align == 'center') row[i].push(padCenter(val, column.width, paddingChr))
+ columnNames.forEach(columnName => {
+ let column = columns[columnName]
+ let val = item[columnName][i] || '' // || '' ensures empty columns get padded
+ if (column.align === 'right') row[i].push(padLeft(val, column.width, paddingChr))
+ else if (column.align === 'center' || column.align === 'centre') row[i].push(padCenter(val, column.width, paddingChr))
else row[i].push(padRight(val, column.width, paddingChr))
})
}
@@ -204,22 +222,50 @@
}
/**
- * Generic source->target mixin.
- * Copy properties from `source` into `target` if target doesn't have them.
- * Destructive. Modifies `target`.
+ * Object.assign
*
- * @param target Object target for mixin properties.
- * @param source Object source of mixin properties.
- * @return Object `target` after mixin applied.
+ * @return Object Object with properties mixed in.
*/
-function mixin(target, source) {
- source = source || {}
- for (var key in source) {
- if (target.hasOwnProperty(key)) continue
- target[key] = source[key]
+function mixin(...args) {
+ if (Object.assign) return Object.assign(...args)
+ return ObjectAssign(...args)
+}
+
+function ObjectAssign(target, firstSource) {
+ "use strict";
+ if (target === undefined || target === null)
+ throw new TypeError("Cannot convert first argument to object");
+
+ var to = Object(target);
+
+ var hasPendingException = false;
+ var pendingException;
+
+ for (var i = 1; i < arguments.length; i++) {
+ var nextSource = arguments[i];
+ if (nextSource === undefined || nextSource === null)
+ continue;
+
+ var keysArray = Object.keys(Object(nextSource));
+ for (var nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex++) {
+ var nextKey = keysArray[nextIndex];
+ try {
+ var desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);
+ if (desc !== undefined && desc.enumerable)
+ to[nextKey] = nextSource[nextKey];
+ } catch (e) {
+ if (!hasPendingException) {
+ hasPendingException = true;
+ pendingException = e;
+ }
+ }
+ }
+
+ if (hasPendingException)
+ throw pendingException;
}
- return target
+ return to;
}
/**
@@ -229,16 +275,16 @@
function endsWith(target, searchString, position) {
position = position || target.length;
position = position - searchString.length;
- var lastIndex = target.lastIndexOf(searchString);
+ let lastIndex = target.lastIndexOf(searchString);
return lastIndex !== -1 && lastIndex === position;
}
function toArray(items, columnNames) {
if (Array.isArray(items)) return items
- var rows = []
- for (var key in items) {
- var item = {}
+ let rows = []
+ for (let key in items) {
+ let item = {}
item[columnNames[0] || 'key'] = key
item[columnNames[1] || 'value'] = items[key]
rows.push(item)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json 2014-08-11 06:22:47.000000000 +0200
+++ new/package/package.json 2015-04-08 06:57:48.000000000 +0200
@@ -1,18 +1,21 @@
{
"name": "columnify",
- "version": "1.2.1",
- "description": "Render data in text columns, supports in-column text-wrap.",
- "main": "index.js",
+ "version": "1.5.1",
+ "description": "Render data in text columns. supports in-column text-wrap.",
+ "main": "columnify.js",
"scripts": {
"pretest": "npm prune",
- "test": "faucet"
+ "test": "make prepublish && tape test/*.js | tap-spec",
+ "bench": "npm test && node bench",
+ "prepublish": "make prepublish"
},
"author": "Tim Oxley",
"license": "MIT",
"devDependencies": {
- "chalk": "^0.4.0",
- "faucet": "0.0.1",
- "tape": "~2.12.3"
+ "babel": "^5.0.10",
+ "chalk": "^1.0.0",
+ "tap-spec": "^3.0.0",
+ "tape": "^4.0.0"
},
"repository": {
"type": "git",
@@ -32,7 +35,7 @@
},
"homepage": "https://github.com/timoxley/columnify",
"dependencies": {
- "strip-ansi": "^1.0.0",
+ "strip-ansi": "^2.0.1",
"wcwidth": "^1.0.0"
},
"directories": {
1
0
Hello community,
here is the log from the commit of package nodejs-dezalgo for openSUSE:Factory checked in at 2015-07-02 22:33:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-dezalgo (Old)
and /work/SRC/openSUSE:Factory/.nodejs-dezalgo.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-dezalgo"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-dezalgo/nodejs-dezalgo.changes 2015-04-27 13:00:53.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-dezalgo.new/nodejs-dezalgo.changes 2015-07-02 22:33:29.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jun 5 18:32:58 UTC 2015 - i(a)marguerite.su
+
+- update version 1.0.2
+
+-------------------------------------------------------------------
Old:
----
dezalgo-1.0.1.tgz
New:
----
dezalgo-1.0.2.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-dezalgo.spec ++++++
--- /var/tmp/diff_new_pack.AnvHeQ/_old 2015-07-02 22:33:29.000000000 +0200
+++ /var/tmp/diff_new_pack.AnvHeQ/_new 2015-07-02 22:33:29.000000000 +0200
@@ -19,7 +19,7 @@
%define base_name dezalgo
Name: nodejs-dezalgo
-Version: 1.0.1
+Version: 1.0.2
Release: 0
Summary: Node.js async helper
License: ISC
++++++ dezalgo-1.0.1.tgz -> dezalgo-1.0.2.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/LICENSE new/package/LICENSE
--- old/package/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/package/LICENSE 2015-05-21 20:28:02.000000000 +0200
@@ -0,0 +1,15 @@
+The ISC License
+
+Copyright (c) Isaac Z. Schlueter and Contributors
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json 2014-09-19 01:18:00.000000000 +0200
+++ new/package/package.json 2015-05-21 20:28:07.000000000 +0200
@@ -1,6 +1,6 @@
{
"name": "dezalgo",
- "version": "1.0.1",
+ "version": "1.0.2",
"description": "Contain async insanity so that the dark pony lord doesn't eat souls",
"main": "dezalgo.js",
"directories": {
1
0
Hello community,
here is the log from the commit of package nodejs-chownr for openSUSE:Factory checked in at 2015-07-02 22:33:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-chownr (Old)
and /work/SRC/openSUSE:Factory/.nodejs-chownr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-chownr"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-chownr/nodejs-chownr.changes 2015-04-27 13:00:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-chownr.new/nodejs-chownr.changes 2015-07-02 22:33:22.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jun 5 18:48:30 UTC 2015 - i(a)marguerite.su
+
+- update version 0.0.2
+
+-------------------------------------------------------------------
Old:
----
chownr-0.0.1.tgz
New:
----
chownr-0.0.2.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-chownr.spec ++++++
--- /var/tmp/diff_new_pack.gGGtNK/_old 2015-07-02 22:33:23.000000000 +0200
+++ /var/tmp/diff_new_pack.gGGtNK/_new 2015-07-02 22:33:23.000000000 +0200
@@ -19,7 +19,7 @@
%define base_name chownr
Name: nodejs-chownr
-Version: 0.0.1
+Version: 0.0.2
Release: 0
Summary: Recursive chown for node.js
License: BSD-2-Clause
++++++ chownr-0.0.1.tgz -> chownr-0.0.2.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/LICENSE new/package/LICENSE
--- old/package/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/package/LICENSE 2015-05-20 09:03:52.000000000 +0200
@@ -0,0 +1,15 @@
+The ISC License
+
+Copyright (c) Isaac Z. Schlueter and Contributors
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json 2012-06-04 06:01:14.000000000 +0200
+++ new/package/package.json 2015-05-20 09:03:53.000000000 +0200
@@ -2,7 +2,7 @@
"author": "Isaac Z. Schlueter <i(a)izs.me> (http://blog.izs.me/)",
"name": "chownr",
"description": "like `chown -R`",
- "version": "0.0.1",
+ "version": "0.0.2",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/chownr.git"
@@ -16,5 +16,5 @@
"scripts": {
"test": "tap test/*.js"
},
- "license": "BSD"
+ "license": "ISC"
}
1
0
Hello community,
here is the log from the commit of package nodejs-chmodr for openSUSE:Factory checked in at 2015-07-02 22:33:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-chmodr (Old)
and /work/SRC/openSUSE:Factory/.nodejs-chmodr.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-chmodr"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-chmodr/nodejs-chmodr.changes 2015-04-27 13:00:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-chmodr.new/nodejs-chmodr.changes 2015-07-02 22:33:17.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jun 5 18:46:13 UTC 2015 - i(a)marguerite.su
+
+- update version 0.1.1
+
+-------------------------------------------------------------------
Old:
----
chmodr-0.1.0.tgz
New:
----
chmodr-0.1.1.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-chmodr.spec ++++++
--- /var/tmp/diff_new_pack.wccyFz/_old 2015-07-02 22:33:17.000000000 +0200
+++ /var/tmp/diff_new_pack.wccyFz/_new 2015-07-02 22:33:17.000000000 +0200
@@ -19,7 +19,7 @@
%define base_name chmodr
Name: nodejs-chmodr
-Version: 0.1.0
+Version: 0.1.1
Release: 0
Summary: Recursive chmod for node.js
License: BSD-2-Clause
++++++ chmodr-0.1.0.tgz -> chmodr-0.1.1.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/LICENSE new/package/LICENSE
--- old/package/LICENSE 2012-08-05 04:34:39.000000000 +0200
+++ new/package/LICENSE 2015-05-20 09:03:38.000000000 +0200
@@ -1,27 +1,15 @@
-Copyright (c) Isaac Z. Schlueter ("Author")
-All rights reserved.
+The ISC License
-The BSD License
+Copyright (c) Isaac Z. Schlueter and Contributors
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
-1. Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.
-
-2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
-BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
-BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
-WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
-OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
-IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json 2013-03-07 00:00:42.000000000 +0100
+++ new/package/package.json 2015-05-20 09:03:39.000000000 +0200
@@ -2,7 +2,7 @@
"author": "Isaac Z. Schlueter <i(a)izs.me> (http://blog.izs.me/)",
"name": "chmodr",
"description": "like `chmod -R`",
- "version": "0.1.0",
+ "version": "0.1.1",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/chmodr.git"
@@ -16,5 +16,5 @@
"scripts": {
"test": "tap test/*.js"
},
- "license": "BSD"
+ "license": "ISC"
}
1
0
Hello community,
here is the log from the commit of package nodejs-block-stream for openSUSE:Factory checked in at 2015-07-02 22:33:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nodejs-block-stream (Old)
and /work/SRC/openSUSE:Factory/.nodejs-block-stream.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "nodejs-block-stream"
Changes:
--------
--- /work/SRC/openSUSE:Factory/nodejs-block-stream/nodejs-block-stream.changes 2015-04-27 13:00:11.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-block-stream.new/nodejs-block-stream.changes 2015-07-02 22:33:10.000000000 +0200
@@ -1,0 +2,5 @@
+Fri Jun 5 18:42:12 UTC 2015 - i(a)marguerite.su
+
+- update version 0.0.8
+
+-------------------------------------------------------------------
Old:
----
block-stream-0.0.7.tgz
New:
----
block-stream-0.0.8.tgz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ nodejs-block-stream.spec ++++++
--- /var/tmp/diff_new_pack.l1LG8q/_old 2015-07-02 22:33:11.000000000 +0200
+++ /var/tmp/diff_new_pack.l1LG8q/_new 2015-07-02 22:33:11.000000000 +0200
@@ -19,7 +19,7 @@
%define base_name block-stream
Name: nodejs-block-stream
-Version: 0.0.7
+Version: 0.0.8
Release: 0
Summary: Output data in blocks for node.js
License: BSD-2-Clause
++++++ block-stream-0.0.7.tgz -> block-stream-0.0.8.tgz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/LICENSE new/package/LICENSE
--- old/package/LICENSE 1970-01-01 01:00:00.000000000 +0100
+++ new/package/LICENSE 2015-05-20 09:03:08.000000000 +0200
@@ -0,0 +1,15 @@
+The ISC License
+
+Copyright (c) Isaac Z. Schlueter and Contributors
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted, provided that the above
+copyright notice and this permission notice appear in all copies.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
+IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json 2013-07-24 05:33:30.000000000 +0200
+++ new/package/package.json 2015-05-20 09:03:08.000000000 +0200
@@ -2,7 +2,7 @@
"author": "Isaac Z. Schlueter <i(a)izs.me> (http://blog.izs.me/)",
"name": "block-stream",
"description": "a stream of blocks",
- "version": "0.0.7",
+ "version": "0.0.8",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/block-stream.git"
@@ -20,5 +20,5 @@
"scripts": {
"test": "tap test/"
},
- "license": "BSD"
+ "license": "ISC"
}
1
0