@vuepress/utils 2.0.0-rc.24 → 2.0.0-rc.26

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/dist/index.d.ts CHANGED
@@ -1,10 +1,12 @@
1
1
  export { default as debug } from 'debug';
2
2
  export { default as fs } from 'fs-extra';
3
- export { globby } from 'globby';
4
3
  export { default as hash } from 'hash-sum';
5
4
  import { Ora } from 'ora';
6
5
  export { default as ora } from 'ora';
7
6
  export { default as colors } from 'picocolors';
7
+ export { default as picomatch } from 'picomatch';
8
+ import * as tinyglobby from 'tinyglobby';
9
+ export { tinyglobby };
8
10
  export { default as path } from 'upath';
9
11
  import { HeadConfig, HeadAttrsConfig } from '@vuepress/shared';
10
12
 
package/dist/index.js CHANGED
@@ -1,10 +1,11 @@
1
1
  // src/index.ts
2
2
  import debug from "debug";
3
3
  import fs from "fs-extra";
4
- import { globby } from "globby";
5
4
  import hash from "hash-sum";
6
5
  import ora2 from "ora";
7
6
  import colors2 from "picocolors";
7
+ import picomatch from "picomatch";
8
+ import * as tinyglobby from "tinyglobby";
8
9
  import path3 from "upath";
9
10
 
10
11
  // src/console/formatMs.ts
@@ -136,7 +137,6 @@ export {
136
137
  formatMs,
137
138
  fs,
138
139
  getDirname,
139
- globby,
140
140
  hash,
141
141
  importFile,
142
142
  importFileDefault,
@@ -145,11 +145,13 @@ export {
145
145
  logger,
146
146
  ora2 as ora,
147
147
  path3 as path,
148
+ picomatch,
148
149
  renderHead,
149
150
  renderHeadAttrs,
150
151
  sanitizeFileName,
151
152
  success,
152
153
  templateRenderer,
154
+ tinyglobby,
153
155
  tip,
154
156
  transformPathToFileName,
155
157
  warn,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vuepress/utils",
3
- "version": "2.0.0-rc.24",
3
+ "version": "2.0.0-rc.26",
4
4
  "description": "Utils package of VuePress",
5
5
  "keywords": [
6
6
  "vuepress",
@@ -22,6 +22,7 @@
22
22
  "./package.json": "./package.json"
23
23
  },
24
24
  "main": "./dist/index.js",
25
+ "module": "./dist/index.js",
25
26
  "types": "./dist/index.d.ts",
26
27
  "files": [
27
28
  "dist"
@@ -30,14 +31,16 @@
30
31
  "@types/debug": "^4.1.12",
31
32
  "@types/fs-extra": "^11.0.4",
32
33
  "@types/hash-sum": "^1.0.2",
33
- "debug": "^4.4.1",
34
- "fs-extra": "^11.3.0",
35
- "globby": "^14.1.0",
34
+ "@types/picomatch": "^4.0.2",
35
+ "debug": "^4.4.3",
36
+ "fs-extra": "^11.3.2",
36
37
  "hash-sum": "^2.0.0",
37
- "ora": "^8.2.0",
38
+ "ora": "^9.0.0",
38
39
  "picocolors": "^1.1.1",
40
+ "picomatch": "^4.0.3",
41
+ "tinyglobby": "^0.2.15",
39
42
  "upath": "^2.0.1",
40
- "@vuepress/shared": "2.0.0-rc.24"
43
+ "@vuepress/shared": "2.0.0-rc.26"
41
44
  },
42
45
  "publishConfig": {
43
46
  "access": "public"