@e-mc/file-manager 0.13.2 → 0.13.3

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.
Files changed (3) hide show
  1. package/README.md +10 -10
  2. package/index.js +2 -2
  3. package/package.json +10 -10
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  ## Interface
11
11
 
12
- * [View Source](https://www.unpkg.com/@e-mc/types@0.13.2/lib/index.d.ts)
12
+ * [View Source](https://www.unpkg.com/@e-mc/types@0.13.3/lib/index.d.ts)
13
13
 
14
14
  ```typescript
15
15
  import type { ChecksumValue, DataSource, IncrementalMatch, TaskAction } from "./squared";
@@ -296,15 +296,15 @@ NOTE: **FileManager** is a sub-class of [Host](https://www.npmjs.com/package/@e-
296
296
 
297
297
  ## References
298
298
 
299
- - https://www.unpkg.com/@e-mc/types@0.13.2/lib/squared.d.ts
300
- - https://www.unpkg.com/@e-mc/types@0.13.2/lib/asset.d.ts
301
- - https://www.unpkg.com/@e-mc/types@0.13.2/lib/core.d.ts
302
- - https://www.unpkg.com/@e-mc/types@0.13.2/lib/filemanager.d.ts
303
- - https://www.unpkg.com/@e-mc/types@0.13.2/lib/logger.d.ts
304
- - https://www.unpkg.com/@e-mc/types@0.13.2/lib/module.d.ts
305
- - https://www.unpkg.com/@e-mc/types@0.13.2/lib/node.d.ts
306
- - https://www.unpkg.com/@e-mc/types@0.13.2/lib/request.d.ts
307
- - https://www.unpkg.com/@e-mc/types@0.13.2/lib/settings.d.ts
299
+ - https://www.unpkg.com/@e-mc/types@0.13.3/lib/squared.d.ts
300
+ - https://www.unpkg.com/@e-mc/types@0.13.3/lib/asset.d.ts
301
+ - https://www.unpkg.com/@e-mc/types@0.13.3/lib/core.d.ts
302
+ - https://www.unpkg.com/@e-mc/types@0.13.3/lib/filemanager.d.ts
303
+ - https://www.unpkg.com/@e-mc/types@0.13.3/lib/logger.d.ts
304
+ - https://www.unpkg.com/@e-mc/types@0.13.3/lib/module.d.ts
305
+ - https://www.unpkg.com/@e-mc/types@0.13.3/lib/node.d.ts
306
+ - https://www.unpkg.com/@e-mc/types@0.13.3/lib/request.d.ts
307
+ - https://www.unpkg.com/@e-mc/types@0.13.3/lib/settings.d.ts
308
308
 
309
309
  * https://www.npmjs.com/package/@types/node
310
310
 
package/index.js CHANGED
@@ -360,7 +360,7 @@ async function doVerifyChecksum(root, from, options, nested) {
360
360
  const filename = path.basename(from);
361
361
  const files = [];
362
362
  from = joinRoot ? path.join(root, filename) : path.resolve(from);
363
- recurseDir(files, [root], { ignore: [...mapPosix(ignore), from], ignoreRoot: mapPosix(ignoreRoot), sortBy, recursive });
363
+ recurseDir(files, [root], { ignore: mapPosix([...ignore, from]), ignoreRoot: mapPosix(ignoreRoot), sortBy, recursive });
364
364
  const items = fs.readFileSync(from, 'utf8').split('\n').map(item => {
365
365
  const index = item.indexOf(' ');
366
366
  return [item.substring(0, index), path.join(root, item.substring(index + 1))];
@@ -1466,7 +1466,7 @@ class FileManager extends core_1.Host {
1466
1466
  try {
1467
1467
  const filename = path.basename(to);
1468
1468
  to = joinRoot ? path.join(root, to) : path.resolve(to);
1469
- recurseDir(result, [root], { ignore: [...mapPosix(ignore), to], ignoreRoot: mapPosix(ignoreRoot), sortBy, recursive });
1469
+ recurseDir(result, [root], { ignore: mapPosix([...ignore, to]), ignoreRoot: mapPosix(ignoreRoot), sortBy, recursive });
1470
1470
  const output = [];
1471
1471
  for (const pathname of result = filterPaths(root, result, options)) {
1472
1472
  if (recursive === 1 && path.basename(pathname) === filename) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-mc/file-manager",
3
- "version": "0.13.2",
3
+ "version": "0.13.3",
4
4
  "description": "FileManager constructor for E-mc.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -19,15 +19,15 @@
19
19
  "license": "BSD-3-Clause",
20
20
  "homepage": "https://github.com/anpham6/e-mc#readme",
21
21
  "dependencies": {
22
- "@e-mc/cloud": "0.13.2",
23
- "@e-mc/compress": "0.13.2",
24
- "@e-mc/core": "0.13.2",
25
- "@e-mc/document": "0.13.2",
26
- "@e-mc/image": "0.13.2",
27
- "@e-mc/request": "0.13.2",
28
- "@e-mc/task": "0.13.2",
29
- "@e-mc/types": "0.13.2",
30
- "@e-mc/watch": "0.13.2",
22
+ "@e-mc/cloud": "0.13.3",
23
+ "@e-mc/compress": "0.13.3",
24
+ "@e-mc/core": "0.13.3",
25
+ "@e-mc/document": "0.13.3",
26
+ "@e-mc/image": "0.13.3",
27
+ "@e-mc/request": "0.13.3",
28
+ "@e-mc/task": "0.13.3",
29
+ "@e-mc/types": "0.13.3",
30
+ "@e-mc/watch": "0.13.3",
31
31
  "chalk": "4.1.2",
32
32
  "diff": "^8.0.2",
33
33
  "picomatch": "^4.0.3"