copymitter 8.1.0 → 9.0.0
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/ChangeLog +15 -0
- package/lib/copymitter.js +7 -5
- package/package.json +12 -11
package/ChangeLog
CHANGED
|
@@ -1,3 +1,18 @@
|
|
|
1
|
+
2024.05.06, v9.0.0
|
|
2
|
+
|
|
3
|
+
feature:
|
|
4
|
+
- c2a6aad package: drop support of node < 18
|
|
5
|
+
- a437d76 copymitter: redlint v3.14.1
|
|
6
|
+
- 52a9479 copymitter: eslint v9.2.0
|
|
7
|
+
- 96f7c54 copymitter: eslint-plugin-putout v22.6.1
|
|
8
|
+
- a3712c8 copymitter: madrun v10.0.1
|
|
9
|
+
- b809b30 copymitter: supertape v10.5.0
|
|
10
|
+
- 35f664b copymitter: putout v35.20.0
|
|
11
|
+
- 92930be copymitter: nodemon v3.1.0
|
|
12
|
+
- 3d9f16a copymitter: mkdirp v3.0.1
|
|
13
|
+
- 0b37a74 copymitter: c8 v9.1.0
|
|
14
|
+
- d4455bc copymitter: pullout v5.0.1
|
|
15
|
+
|
|
1
16
|
2023.08.09, v8.1.0
|
|
2
17
|
|
|
3
18
|
feature:
|
package/lib/copymitter.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const
|
|
4
|
-
const path = require('path');
|
|
5
|
-
const {readlink} = require('fs/promises');
|
|
6
|
-
const {inherits} = require('util');
|
|
7
|
-
const {EventEmitter} = require('events');
|
|
3
|
+
const process = require('node:process');
|
|
4
|
+
const path = require('node:path');
|
|
5
|
+
const {readlink} = require('node:fs/promises');
|
|
6
|
+
const {inherits} = require('node:util');
|
|
7
|
+
const {EventEmitter} = require('node:events');
|
|
8
8
|
|
|
9
9
|
const log = require('debug')('copymitter');
|
|
10
10
|
const through2 = require('through2');
|
|
@@ -21,6 +21,8 @@ const {
|
|
|
21
21
|
list,
|
|
22
22
|
} = require('redzip');
|
|
23
23
|
|
|
24
|
+
const isString = (a) => typeof a === 'string';
|
|
25
|
+
|
|
24
26
|
inherits(Copymitter, EventEmitter);
|
|
25
27
|
|
|
26
28
|
module.exports = (from, to, files) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "copymitter",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "copy files with emitter",
|
|
6
6
|
"main": "lib/copymitter.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"debug": "^4.0.1",
|
|
21
21
|
"findit2": "^2.2.3",
|
|
22
22
|
"fullstore": "^3.0.0",
|
|
23
|
-
"mkdirp": "^
|
|
23
|
+
"mkdirp": "^3.0.1",
|
|
24
24
|
"redzip": "^3.0.0",
|
|
25
25
|
"squad": "^3.0.0",
|
|
26
26
|
"through2": "^4.0.2",
|
|
@@ -29,17 +29,18 @@
|
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@iocmd/wait": "^2.1.0",
|
|
32
|
-
"c8": "^
|
|
33
|
-
"eslint": "^
|
|
32
|
+
"c8": "^9.1.0",
|
|
33
|
+
"eslint": "^9.2.0",
|
|
34
34
|
"eslint-plugin-node": "^11.0.0",
|
|
35
|
-
"eslint-plugin-putout": "^
|
|
36
|
-
"madrun": "^
|
|
35
|
+
"eslint-plugin-putout": "^22.6.1",
|
|
36
|
+
"madrun": "^10.0.1",
|
|
37
37
|
"mock-require": "^3.0.3",
|
|
38
|
-
"nodemon": "^
|
|
39
|
-
"pullout": "^
|
|
40
|
-
"putout": "^
|
|
38
|
+
"nodemon": "^3.1.0",
|
|
39
|
+
"pullout": "^5.0.1",
|
|
40
|
+
"putout": "^35.20.0",
|
|
41
|
+
"redlint": "^3.14.1",
|
|
41
42
|
"rimraf": "^5.0.1",
|
|
42
|
-
"supertape": "^
|
|
43
|
+
"supertape": "^10.5.0",
|
|
43
44
|
"try-catch": "^3.0.0"
|
|
44
45
|
},
|
|
45
46
|
"repository": {
|
|
@@ -54,7 +55,7 @@
|
|
|
54
55
|
"file"
|
|
55
56
|
],
|
|
56
57
|
"engines": {
|
|
57
|
-
"node": ">=
|
|
58
|
+
"node": ">=18"
|
|
58
59
|
},
|
|
59
60
|
"author": "coderaiser <mnemonic.enemy@gmail.com> (http://coderaiser.github.io/)",
|
|
60
61
|
"license": "MIT",
|