@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.
Files changed (72) hide show
  1. package/compiled/axios/index.d.ts +29 -14
  2. package/compiled/axios/index.js +1 -1
  3. package/compiled/chalk/LICENSE +1 -1
  4. package/compiled/chalk/index.js +1 -1
  5. package/compiled/chalk/package.json +1 -1
  6. package/compiled/chalk/source/index.d.ts +318 -0
  7. package/compiled/chalk/source/vendor/supports-color/index.d.ts +55 -0
  8. package/compiled/color/color-convert/conversions.d.ts +87 -87
  9. package/compiled/color/color-convert/index.d.ts +75 -60
  10. package/compiled/color/color-convert/route.d.ts +271 -271
  11. package/compiled/color/index.d.ts +118 -121
  12. package/compiled/color/index.js +1 -1
  13. package/compiled/color/package.json +1 -4
  14. package/compiled/debug/LICENSE +10 -9
  15. package/compiled/debug/index.js +1 -1
  16. package/compiled/debug/package.json +1 -1
  17. package/compiled/execa/index.d.ts +467 -445
  18. package/compiled/execa/index.js +1 -1
  19. package/compiled/globby/@nodelib/fs.scandir/out/adapters/fs.d.ts +20 -0
  20. package/compiled/globby/@nodelib/fs.scandir/out/index.d.ts +12 -0
  21. package/compiled/globby/@nodelib/fs.scandir/out/providers/async.d.ts +7 -0
  22. package/compiled/globby/@nodelib/fs.scandir/out/settings.d.ts +20 -0
  23. package/compiled/globby/@nodelib/fs.scandir/out/types/index.d.ts +20 -0
  24. package/compiled/globby/@nodelib/fs.stat/out/adapters/fs.d.ts +13 -0
  25. package/compiled/globby/@nodelib/fs.stat/out/index.d.ts +12 -0
  26. package/compiled/globby/@nodelib/fs.stat/out/providers/async.d.ts +4 -0
  27. package/compiled/globby/@nodelib/fs.stat/out/settings.d.ts +16 -0
  28. package/compiled/globby/@nodelib/fs.stat/out/types/index.d.ts +4 -0
  29. package/compiled/globby/@nodelib/fs.walk/out/index.d.ts +14 -0
  30. package/compiled/globby/@nodelib/fs.walk/out/providers/async.d.ts +12 -0
  31. package/compiled/globby/@nodelib/fs.walk/out/readers/async.d.ts +30 -0
  32. package/compiled/globby/@nodelib/fs.walk/out/readers/reader.d.ts +6 -0
  33. package/compiled/globby/@nodelib/fs.walk/out/settings.d.ts +30 -0
  34. package/compiled/globby/@nodelib/fs.walk/out/types/index.d.ts +8 -0
  35. package/compiled/globby/LICENSE +9 -0
  36. package/compiled/globby/fast-glob/out/index.d.ts +27 -0
  37. package/compiled/globby/fast-glob/out/managers/tasks.d.ts +22 -0
  38. package/compiled/globby/fast-glob/out/settings.d.ts +164 -0
  39. package/compiled/globby/fast-glob/out/types/index.d.ts +31 -0
  40. package/compiled/globby/index.d.ts +206 -0
  41. package/compiled/globby/index.js +37 -0
  42. package/compiled/globby/package.json +1 -0
  43. package/compiled/pirates/LICENSE +21 -0
  44. package/compiled/pirates/index.d.ts +82 -0
  45. package/compiled/pirates/index.js +1 -0
  46. package/compiled/pirates/package.json +1 -0
  47. package/compiled/pkg-up/LICENSE +1 -1
  48. package/compiled/pkg-up/index.d.ts +55 -44
  49. package/compiled/pkg-up/index.js +1 -1
  50. package/compiled/pkg-up/package.json +1 -1
  51. package/compiled/prettier/index.d.ts +568 -679
  52. package/compiled/prettier/index.js +62 -274
  53. package/compiled/prettier/package.json +1 -5
  54. package/compiled/resolve/index.js +1 -1
  55. package/compiled/strip-ansi/LICENSE +1 -1
  56. package/compiled/strip-ansi/index.d.ts +2 -4
  57. package/compiled/strip-ansi/index.js +1 -1
  58. package/compiled/strip-ansi/package.json +1 -1
  59. package/compiled/yargs-parser/index.js +1 -1
  60. package/dist/getCorejsVersion.d.ts +1 -0
  61. package/dist/getCorejsVersion.js +11 -0
  62. package/dist/index.d.ts +5 -3
  63. package/dist/index.js +6 -5
  64. package/dist/installDeps.js +20 -4
  65. package/dist/isStyleFile.d.ts +5 -0
  66. package/dist/isStyleFile.js +16 -0
  67. package/dist/logger.d.ts +8 -6
  68. package/dist/logger.js +8 -1
  69. package/dist/register.js +22 -22
  70. package/dist/tryPaths.d.ts +1 -0
  71. package/dist/tryPaths.js +11 -0
  72. 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-beta.7",
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.2",
30
- "clipboardy": "2.3.0"
23
+ "chokidar": "3.5.3"
31
24
  },
32
25
  "devDependencies": {
33
- "@types/color": "3.0.2",
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.176",
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.23.0",
43
- "chalk": "4.1.2",
35
+ "axios": "0.26.0",
36
+ "chalk": "5.0.0",
44
37
  "cheerio": "1.0.0-rc.10",
45
- "color": "4.0.1",
38
+ "color": "4.2.1",
46
39
  "cross-spawn": "7.0.3",
47
- "debug": "4.3.2",
40
+ "debug": "4.3.3",
48
41
  "deepmerge": "4.2.2",
49
- "execa": "5.1.1",
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
- "pkg-up": "3.1.0",
48
+ "pirates": "4.0.5",
49
+ "pkg-up": "4.0.0",
57
50
  "portfinder": "1.0.28",
58
- "prettier": "2.4.1",
51
+ "prettier": "2.5.1",
59
52
  "prompts": "2.4.2",
60
- "resolve": "1.20.0",
53
+ "resolve": "1.22.0",
61
54
  "rimraf": "3.0.2",
62
55
  "semver": "7.3.5",
63
- "strip-ansi": "6.0.1",
64
- "yargs-parser": "20.2.9"
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
  }