@umijs/utils 4.0.0-beta.7 → 4.0.0-rc.2
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/compiled/axios/index.d.ts +29 -14
- package/compiled/axios/index.js +1 -1
- package/compiled/chalk/LICENSE +1 -1
- package/compiled/chalk/index.js +1 -1
- package/compiled/chalk/package.json +1 -1
- package/compiled/chalk/source/index.d.ts +318 -0
- package/compiled/chalk/source/vendor/supports-color/index.d.ts +55 -0
- package/compiled/color/color-convert/conversions.d.ts +87 -87
- package/compiled/color/color-convert/index.d.ts +75 -60
- package/compiled/color/color-convert/route.d.ts +271 -271
- package/compiled/color/index.d.ts +118 -121
- package/compiled/color/index.js +1 -1
- package/compiled/color/package.json +1 -4
- package/compiled/debug/LICENSE +10 -9
- package/compiled/debug/index.js +1 -1
- package/compiled/debug/package.json +1 -1
- package/compiled/execa/index.d.ts +467 -445
- package/compiled/execa/index.js +1 -1
- package/compiled/globby/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
- package/compiled/globby/@nodelib/fs.scandir/out/index.d.ts +12 -0
- package/compiled/globby/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
- package/compiled/globby/@nodelib/fs.scandir/out/settings.d.ts +20 -0
- package/compiled/globby/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
- package/compiled/globby/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
- package/compiled/globby/@nodelib/fs.stat/out/index.d.ts +12 -0
- package/compiled/globby/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
- package/compiled/globby/@nodelib/fs.stat/out/settings.d.ts +16 -0
- package/compiled/globby/@nodelib/fs.stat/out/types/index.d.ts +4 -0
- package/compiled/globby/@nodelib/fs.walk/out/index.d.ts +14 -0
- package/compiled/globby/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
- package/compiled/globby/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
- package/compiled/globby/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
- package/compiled/globby/@nodelib/fs.walk/out/settings.d.ts +30 -0
- package/compiled/globby/@nodelib/fs.walk/out/types/index.d.ts +8 -0
- package/compiled/globby/LICENSE +9 -0
- package/compiled/globby/fast-glob/out/index.d.ts +27 -0
- package/compiled/globby/fast-glob/out/managers/tasks.d.ts +22 -0
- package/compiled/globby/fast-glob/out/settings.d.ts +164 -0
- package/compiled/globby/fast-glob/out/types/index.d.ts +31 -0
- package/compiled/globby/index.d.ts +206 -0
- package/compiled/globby/index.js +37 -0
- package/compiled/globby/package.json +1 -0
- package/compiled/pirates/LICENSE +21 -0
- package/compiled/pirates/index.d.ts +82 -0
- package/compiled/pirates/index.js +1 -0
- package/compiled/pirates/package.json +1 -0
- package/compiled/pkg-up/LICENSE +1 -1
- package/compiled/pkg-up/index.d.ts +55 -44
- package/compiled/pkg-up/index.js +1 -1
- package/compiled/pkg-up/package.json +1 -1
- package/compiled/prettier/index.d.ts +568 -679
- package/compiled/prettier/index.js +62 -274
- package/compiled/prettier/package.json +1 -5
- package/compiled/resolve/index.js +1 -1
- package/compiled/strip-ansi/LICENSE +1 -1
- package/compiled/strip-ansi/index.d.ts +2 -4
- package/compiled/strip-ansi/index.js +1 -1
- package/compiled/strip-ansi/package.json +1 -1
- package/compiled/yargs-parser/index.js +1 -1
- package/dist/getCorejsVersion.d.ts +1 -0
- package/dist/getCorejsVersion.js +11 -0
- package/dist/index.d.ts +5 -3
- package/dist/index.js +6 -5
- package/dist/installDeps.js +20 -4
- package/dist/isStyleFile.d.ts +5 -0
- package/dist/isStyleFile.js +16 -0
- package/dist/logger.d.ts +8 -6
- package/dist/logger.js +8 -1
- package/dist/register.js +22 -22
- package/dist/tryPaths.d.ts +1 -0
- package/dist/tryPaths.js +11 -0
- package/package.json +32 -31
package/package.json
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/utils",
|
|
3
|
-
"version": "4.0.0-
|
|
3
|
+
"version": "4.0.0-rc.2",
|
|
4
|
+
"homepage": "https://github.com/umijs/umi-next/tree/master/packages/utils#readme",
|
|
5
|
+
"bugs": "https://github.com/umijs/umi-next/issues",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/umijs/umi-next"
|
|
9
|
+
},
|
|
10
|
+
"license": "MIT",
|
|
4
11
|
"main": "dist/index.js",
|
|
5
12
|
"types": "dist/index.d.ts",
|
|
6
13
|
"files": [
|
|
@@ -12,57 +19,49 @@
|
|
|
12
19
|
"build:deps": "pnpm esno ../../scripts/bundleDeps.ts",
|
|
13
20
|
"dev": "pnpm build -- --watch"
|
|
14
21
|
},
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "https://github.com/umijs/umi-next"
|
|
18
|
-
},
|
|
19
|
-
"authors": [
|
|
20
|
-
"chencheng <sorrycc@gmail.com> (https://github.com/sorrycc)"
|
|
21
|
-
],
|
|
22
|
-
"license": "MIT",
|
|
23
|
-
"bugs": "https://github.com/umijs/umi-next/issues",
|
|
24
|
-
"homepage": "https://github.com/umijs/umi-next/tree/master/packages/utils#readme",
|
|
25
|
-
"publishConfig": {
|
|
26
|
-
"access": "public"
|
|
27
|
-
},
|
|
28
22
|
"dependencies": {
|
|
29
|
-
"chokidar": "3.5.
|
|
30
|
-
"clipboardy": "2.3.0"
|
|
23
|
+
"chokidar": "3.5.3"
|
|
31
24
|
},
|
|
32
25
|
"devDependencies": {
|
|
33
|
-
"@types/color": "3.0.
|
|
26
|
+
"@types/color": "3.0.3",
|
|
34
27
|
"@types/cross-spawn": "6.0.2",
|
|
35
28
|
"@types/debug": "4.1.7",
|
|
36
|
-
"@types/lodash": "4.14.
|
|
29
|
+
"@types/lodash": "4.14.178",
|
|
37
30
|
"@types/mustache": "4.1.2",
|
|
38
31
|
"@types/prompts": "^2.0.14",
|
|
39
32
|
"@types/rimraf": "3.0.2",
|
|
40
33
|
"@types/semver": "7.3.9",
|
|
41
34
|
"address": "1.1.2",
|
|
42
|
-
"axios": "0.
|
|
43
|
-
"chalk": "
|
|
35
|
+
"axios": "0.26.0",
|
|
36
|
+
"chalk": "5.0.0",
|
|
44
37
|
"cheerio": "1.0.0-rc.10",
|
|
45
|
-
"color": "4.
|
|
38
|
+
"color": "4.2.1",
|
|
46
39
|
"cross-spawn": "7.0.3",
|
|
47
|
-
"debug": "4.3.
|
|
40
|
+
"debug": "4.3.3",
|
|
48
41
|
"deepmerge": "4.2.2",
|
|
49
|
-
"execa": "
|
|
42
|
+
"execa": "6.1.0",
|
|
50
43
|
"fs-extra": "10.0.0",
|
|
51
44
|
"glob": "7.2.0",
|
|
52
|
-
"globby": "11.0.4",
|
|
53
45
|
"import-lazy": "4.0.0",
|
|
54
46
|
"lodash": "4.17.21",
|
|
55
47
|
"mustache": "4.2.0",
|
|
56
|
-
"
|
|
48
|
+
"pirates": "4.0.5",
|
|
49
|
+
"pkg-up": "4.0.0",
|
|
57
50
|
"portfinder": "1.0.28",
|
|
58
|
-
"prettier": "2.
|
|
51
|
+
"prettier": "2.5.1",
|
|
59
52
|
"prompts": "2.4.2",
|
|
60
|
-
"resolve": "1.
|
|
53
|
+
"resolve": "1.22.0",
|
|
61
54
|
"rimraf": "3.0.2",
|
|
62
55
|
"semver": "7.3.5",
|
|
63
|
-
"strip-ansi": "
|
|
64
|
-
"yargs-parser": "
|
|
56
|
+
"strip-ansi": "7.0.1",
|
|
57
|
+
"yargs-parser": "21.0.0"
|
|
65
58
|
},
|
|
59
|
+
"publishConfig": {
|
|
60
|
+
"access": "public"
|
|
61
|
+
},
|
|
62
|
+
"authors": [
|
|
63
|
+
"chencheng <sorrycc@gmail.com> (https://github.com/sorrycc)"
|
|
64
|
+
],
|
|
66
65
|
"compiledConfig": {
|
|
67
66
|
"deps": [
|
|
68
67
|
"address",
|
|
@@ -87,7 +86,8 @@
|
|
|
87
86
|
"resolve",
|
|
88
87
|
"semver",
|
|
89
88
|
"strip-ansi",
|
|
90
|
-
"yargs-parser"
|
|
89
|
+
"yargs-parser",
|
|
90
|
+
"pirates"
|
|
91
91
|
],
|
|
92
92
|
"externals": {
|
|
93
93
|
"address": "$$LOCAL",
|
|
@@ -107,7 +107,8 @@
|
|
|
107
107
|
"resolve": "$$LOCAL",
|
|
108
108
|
"semver": "$$LOCAL",
|
|
109
109
|
"strip-ansi": "$$LOCAL",
|
|
110
|
-
"yargs-parser": "$$LOCAL"
|
|
110
|
+
"yargs-parser": "$$LOCAL",
|
|
111
|
+
"pirates": "$$LOCAL"
|
|
111
112
|
}
|
|
112
113
|
}
|
|
113
114
|
}
|