Hello community,
here is the log from the commit of package nodejs-rimraf for openSUSE:Factory
checked in at 2015-08-05 06:51:11
Comparing /work/SRC/openSUSE:Factory/nodejs-rimraf (Old)
and /work/SRC/openSUSE:Factory/.nodejs-rimraf.new (New)
Package is nodejs-rimraf
Changes:
--- /work/SRC/openSUSE:Factory/nodejs-rimraf/nodejs-rimraf.changes
2015-07-14 17:45:22.0 +0200
+++ /work/SRC/openSUSE:Factory/.nodejs-rimraf.new/nodejs-rimraf.changes
2015-08-05 06:51:13.0 +0200
@@ -1,0 +2,5 @@
+Wed Jul 29 13:51:10 UTC 2015 - i...@marguerite.su
+
+- update version 2.4.2
+
+---
Old:
rimraf-2.3.4.tgz
New:
rimraf-2.4.2.tgz
Other differences:
--
++ nodejs-rimraf.spec ++
--- /var/tmp/diff_new_pack.hbxCGW/_old 2015-08-05 06:51:13.0 +0200
+++ /var/tmp/diff_new_pack.hbxCGW/_new 2015-08-05 06:51:13.0 +0200
@@ -19,7 +19,7 @@
%define base_name rimraf
Name: nodejs-rimraf
-Version:2.3.4
+Version:2.4.2
Release:0
Summary:A rm -rf util for nodejs
License:MIT
@@ -37,7 +37,6 @@
%prep
%setup -q -n package
-%nodejs_fixdep glob '5.0'
%build
++ rimraf-2.3.4.tgz - rimraf-2.4.2.tgz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/package/README.md new/package/README.md
--- old/package/README.md 2015-03-04 00:19:39.0 +0100
+++ new/package/README.md 2015-07-19 23:37:46.0 +0200
@@ -1,3 +1,5 @@
+[![Build
Status](https://travis-ci.org/isaacs/rimraf.svg?branch=master)](https://travis-ci.org/isaacs/rimraf)
[![Dependency
Status](https://david-dm.org/isaacs/rimraf.svg)](https://david-dm.org/isaacs/rimraf)
[![devDependency
Status](https://david-dm.org/isaacs/rimraf/dev-status.svg)](https://david-dm.org/isaacs/rimraf#info=devDependencies)
+
The [UNIX command](http://en.wikipedia.org/wiki/Rm_(Unix)) `rm -rf` for node.
Install with `npm install rimraf`, or just drop rimraf.js somewhere.
@@ -28,7 +30,7 @@
## CLI
If installed with `npm install rimraf -g` it can be used as a global
-command `rimraf path` which is useful for cross platform support.
+command `rimraf path [path ...]` which is useful for cross platform
support.
## mkdirp
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/package/bin.js new/package/bin.js
--- old/package/bin.js 2013-06-21 16:49:16.0 +0200
+++ new/package/bin.js 2015-06-30 20:01:34.0 +0200
@@ -18,7 +18,7 @@
if (help || args.length === 0) {
// If they didn't ask for help, then this is not a success
var log = help ? console.log : console.error
- log('Usage: rimraf path')
+ log('Usage: rimraf path [path ...]')
log('')
log(' Deletes all files and folders at path recursively.')
log('')
@@ -26,8 +26,15 @@
log('')
log(' -h, --helpDisplay this usage info')
process.exit(help ? 0 : 1)
-} else {
- args.forEach(function(arg) {
-rimraf.sync(arg)
+} else
+ go(0)
+
+function go (n) {
+ if (n = args.length)
+return
+ rimraf(args[n], function (er) {
+if (er)
+ throw er
+go(n+1)
})
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/package/package.json new/package/package.json
--- old/package/package.json2015-05-19 03:37:28.0 +0200
+++ new/package/package.json2015-07-19 23:44:03.0 +0200
@@ -1,22 +1,26 @@
{
name: rimraf,
- version: 2.3.4,
+ version: 2.4.2,
main: rimraf.js,
description: A deep deletion module for node (like `rm -rf`),
author: Isaac Z. Schlueter i...@izs.me (http://blog.izs.me/),
license: ISC,
repository: git://github.com/isaacs/rimraf.git,
scripts: {
-test: cd test bash run.sh
+test: tap test/*.js
},
bin: ./bin.js,
dependencies: {
-glob: ^4.4.2
+glob: ^5.0.14
},
files: [
-bin.js,
-rimraf.js,
LICENSE,
-README.md
- ]
+README.md,
+bin.js,
+rimraf.js
+ ],
+ devDependencies: {
+mkdirp: ^0.5.1,
+tap: ^1.3.1
+ }
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/package/rimraf.js new/package/rimraf.js
--- old/package/rimraf.js 2015-04-30 16:19:01.0 +0200
+++ new/package/rimraf.js 2015-07-19 23:35:41.0 +0200
@@ -35,6 +35,7 @@
options.maxBusyTries = options.maxBusyTries || 3
options.emfileWait = options.emfileWait || 1000
+ options.disableGlob = options.disableGlob || false
}
function rimraf (p, options, cb) {
@@ -55,7 +56,7 @@
var errState = null
var n = 0
- if (!glob.hasMagic(p))
+ if (options.disableGlob ||