@vuepress/utils 2.0.0-beta.15 → 2.0.0-beta.21

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/lib/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import * as debug from 'debug';
2
2
  import * as chalk from 'chalk';
3
- import * as fs from 'fs-extra';
4
3
  import * as globby from 'globby';
5
4
  import * as ora from 'ora';
6
- import * as path from 'upath';
7
5
  import hash = require('hash-sum');
8
- export { debug, chalk, fs, globby, hash, ora, path };
6
+ export { debug, chalk, globby, hash, ora };
7
+ export * as fs from 'fs-extra';
8
+ export * as path from 'upath';
9
9
  export * from './hasExportDefault';
10
10
  export * from './logger';
11
11
  export * from './renderHead';
package/lib/index.js CHANGED
@@ -10,21 +10,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
10
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
11
  };
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
- exports.path = exports.ora = exports.hash = exports.globby = exports.fs = exports.chalk = exports.debug = void 0;
13
+ exports.path = exports.fs = exports.ora = exports.hash = exports.globby = exports.chalk = exports.debug = void 0;
14
14
  const debug = require("debug");
15
15
  exports.debug = debug;
16
16
  const chalk = require("chalk");
17
17
  exports.chalk = chalk;
18
- const fs = require("fs-extra");
19
- exports.fs = fs;
20
18
  const globby = require("globby");
21
19
  exports.globby = globby;
22
20
  const ora = require("ora");
23
21
  exports.ora = ora;
24
- const path = require("upath");
25
- exports.path = path;
26
22
  const hash = require("hash-sum");
27
23
  exports.hash = hash;
24
+ exports.fs = require("fs-extra");
25
+ exports.path = require("upath");
28
26
  __exportStar(require("./hasExportDefault"), exports);
29
27
  __exportStar(require("./logger"), exports);
30
28
  __exportStar(require("./renderHead"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/utils",
3
- "version": "2.0.0-beta.15",
3
+ "version": "2.0.0-beta.21",
4
4
  "description": "Utils package of VuePress",
5
5
  "keywords": [
6
6
  "vuepress",
@@ -26,20 +26,20 @@
26
26
  "clean": "rimraf lib *.tsbuildinfo"
27
27
  },
28
28
  "dependencies": {
29
- "@types/debug": "^4.1.5",
29
+ "@types/debug": "^4.1.6",
30
30
  "@types/fs-extra": "^9.0.11",
31
31
  "@types/hash-sum": "^1.0.0",
32
- "@vuepress/shared": "2.0.0-beta.7",
32
+ "@vuepress/shared": "2.0.0-beta.21",
33
33
  "chalk": "^4.1.1",
34
34
  "debug": "^4.3.1",
35
35
  "fs-extra": "^10.0.0",
36
- "globby": "^11.0.3",
36
+ "globby": "^11.0.4",
37
37
  "hash-sum": "^2.0.0",
38
- "ora": "^5.4.0",
38
+ "ora": "^5.4.1",
39
39
  "upath": "^2.0.1"
40
40
  },
41
41
  "publishConfig": {
42
42
  "access": "public"
43
43
  },
44
- "gitHead": "b796eac6cc6379c996ac576e10d5bf46e33cfb99"
44
+ "gitHead": "75cba56b201fd4124e6cfbf5d0baa913063c9b40"
45
45
  }
package/CHANGELOG.md DELETED
@@ -1,164 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- # [2.0.0-beta.15](https://github.com/vuepress/vuepress-next/compare/v2.0.0-beta.14...v2.0.0-beta.15) (2021-05-27)
7
-
8
- **Note:** Version bump only for package @vuepress/utils
9
-
10
-
11
-
12
-
13
-
14
- # [2.0.0-beta.11](https://github.com/vuepress/vuepress-next/compare/v2.0.0-beta.10...v2.0.0-beta.11) (2021-04-28)
15
-
16
- **Note:** Version bump only for package @vuepress/utils
17
-
18
-
19
-
20
-
21
-
22
- # [2.0.0-beta.8](https://github.com/vuepress/vuepress-next/compare/v2.0.0-beta.7...v2.0.0-beta.8) (2021-04-11)
23
-
24
-
25
- ### Features
26
-
27
- * **utils:** add logger.createError method ([0c198d7](https://github.com/vuepress/vuepress-next/commit/0c198d7f9e122828b37a2db670048cfc2ce20e81))
28
-
29
-
30
-
31
-
32
-
33
- # [2.0.0-beta.7](https://github.com/vuepress/vuepress-next/compare/v2.0.0-beta.6...v2.0.0-beta.7) (2021-04-09)
34
-
35
- **Note:** Version bump only for package @vuepress/utils
36
-
37
-
38
-
39
-
40
-
41
- # [2.0.0-beta.5](https://github.com/vuepress/vuepress-next/compare/v2.0.0-beta.4...v2.0.0-beta.5) (2021-03-26)
42
-
43
- **Note:** Version bump only for package @vuepress/utils
44
-
45
-
46
-
47
-
48
-
49
- # [2.0.0-beta.4](https://github.com/vuepress/vuepress-next/compare/v2.0.0-beta.3...v2.0.0-beta.4) (2021-03-20)
50
-
51
- **Note:** Version bump only for package @vuepress/utils
52
-
53
-
54
-
55
-
56
-
57
- # [2.0.0-beta.1](https://github.com/vuepress/vuepress-next/compare/v2.0.0-beta.0...v2.0.0-beta.1) (2021-03-13)
58
-
59
- **Note:** Version bump only for package @vuepress/utils
60
-
61
-
62
-
63
-
64
-
65
- # [2.0.0-beta.0](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.26...v2.0.0-beta.0) (2021-03-13)
66
-
67
- **Note:** Version bump only for package @vuepress/utils
68
-
69
-
70
-
71
-
72
-
73
- # [2.0.0-alpha.25](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.24...v2.0.0-alpha.25) (2021-02-20)
74
-
75
- **Note:** Version bump only for package @vuepress/utils
76
-
77
-
78
-
79
-
80
-
81
- # [2.0.0-alpha.24](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.23...v2.0.0-alpha.24) (2021-02-13)
82
-
83
- **Note:** Version bump only for package @vuepress/utils
84
-
85
-
86
-
87
-
88
-
89
- # [2.0.0-alpha.20](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.19...v2.0.0-alpha.20) (2021-02-04)
90
-
91
- **Note:** Version bump only for package @vuepress/utils
92
-
93
-
94
-
95
-
96
-
97
- # [2.0.0-alpha.19](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.18...v2.0.0-alpha.19) (2021-01-24)
98
-
99
- **Note:** Version bump only for package @vuepress/utils
100
-
101
-
102
-
103
-
104
-
105
- # [2.0.0-alpha.18](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.17...v2.0.0-alpha.18) (2021-01-17)
106
-
107
- **Note:** Version bump only for package @vuepress/utils
108
-
109
-
110
-
111
-
112
-
113
- # [2.0.0-alpha.15](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.14...v2.0.0-alpha.15) (2021-01-04)
114
-
115
- **Note:** Version bump only for package @vuepress/utils
116
-
117
-
118
-
119
-
120
-
121
- # [2.0.0-alpha.13](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.12...v2.0.0-alpha.13) (2020-12-23)
122
-
123
- **Note:** Version bump only for package @vuepress/utils
124
-
125
-
126
-
127
-
128
-
129
- # [2.0.0-alpha.7](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) (2020-12-09)
130
-
131
- **Note:** Version bump only for package @vuepress/utils
132
-
133
-
134
-
135
-
136
-
137
- # [2.0.0-alpha.6](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.5...v2.0.0-alpha.6) (2020-12-09)
138
-
139
- **Note:** Version bump only for package @vuepress/utils
140
-
141
-
142
-
143
-
144
-
145
- # [2.0.0-alpha.4](https://github.com/vuepress/vuepress-next/compare/v2.0.0-alpha.3...v2.0.0-alpha.4) (2020-12-02)
146
-
147
-
148
- ### Features
149
-
150
- * **utils:** add hasExportDefault util ([575a9c5](https://github.com/vuepress/vuepress-next/commit/575a9c5d9eee44c0ce20b0712830e2eb2a303780))
151
-
152
-
153
-
154
-
155
-
156
- # 2.0.0-alpha.1 (2020-12-01)
157
-
158
-
159
- ### Features
160
-
161
- * **utils:** add logger and debug utils ([203d58d](https://github.com/vuepress/vuepress-next/commit/203d58d8d97c6a3158d4a783188ce2b64e54f19c))
162
- * **utils:** add ora util ([f67b4d3](https://github.com/vuepress/vuepress-next/commit/f67b4d3f62fee077f947362c975c08c81470b0b0))
163
- * **utils:** add withSpinner util ([82c6bb5](https://github.com/vuepress/vuepress-next/commit/82c6bb5d3e3a76088ee286fc10dabd9da4d59b22))
164
- * **utils:** disable withSpinner if DEBUG env is set ([af19507](https://github.com/vuepress/vuepress-next/commit/af1950784fb17c258a4c07dbaf7439cf0ec2c762))