rimraf 2.3.3 → 2.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +12 -20
- package/package.json +2 -5
- package/rimraf.js +1 -0
package/LICENSE
CHANGED
|
@@ -1,23 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
All rights reserved.
|
|
1
|
+
The ISC License
|
|
3
2
|
|
|
4
|
-
|
|
5
|
-
obtaining a copy of this software and associated documentation
|
|
6
|
-
files (the "Software"), to deal in the Software without
|
|
7
|
-
restriction, including without limitation the rights to use,
|
|
8
|
-
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the
|
|
10
|
-
Software is furnished to do so, subject to the following
|
|
11
|
-
conditions:
|
|
3
|
+
Copyright (c) Isaac Z. Schlueter and Contributors
|
|
12
4
|
|
|
13
|
-
|
|
14
|
-
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted, provided that the above
|
|
7
|
+
copyright notice and this permission notice appear in all copies.
|
|
15
8
|
|
|
16
|
-
THE SOFTWARE IS PROVIDED "AS IS"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
OTHER DEALINGS IN THE SOFTWARE.
|
|
9
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
10
|
+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
11
|
+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
12
|
+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
13
|
+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
14
|
+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
|
|
15
|
+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
package/package.json
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rimraf",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4",
|
|
4
4
|
"main": "rimraf.js",
|
|
5
5
|
"description": "A deep deletion module for node (like `rm -rf`)",
|
|
6
6
|
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
|
|
7
|
-
"license":
|
|
8
|
-
"type": "MIT",
|
|
9
|
-
"url": "https://github.com/isaacs/rimraf/raw/master/LICENSE"
|
|
10
|
-
},
|
|
7
|
+
"license": "ISC",
|
|
11
8
|
"repository": "git://github.com/isaacs/rimraf.git",
|
|
12
9
|
"scripts": {
|
|
13
10
|
"test": "cd test && bash run.sh"
|
package/rimraf.js
CHANGED
|
@@ -258,6 +258,7 @@ function rimrafSync (p, options) {
|
|
|
258
258
|
assert(p, 'rimraf: missing path')
|
|
259
259
|
assert.equal(typeof p, 'string', 'rimraf: path should be a string')
|
|
260
260
|
assert(options, 'rimraf: missing options')
|
|
261
|
+
assert.equal(typeof options, 'object', 'rimraf: options should be object')
|
|
261
262
|
|
|
262
263
|
var results
|
|
263
264
|
|