@vscode/vsce 2.32.0 → 3.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/README.md CHANGED
@@ -11,7 +11,7 @@ Read the [**Documentation**](https://code.visualstudio.com/api/working-with-exte
11
11
 
12
12
  ## Requirements
13
13
 
14
- [Node.js](https://nodejs.org/en/) at least `18.x.x`.
14
+ [Node.js](https://nodejs.org/en/) at least `20.x.x`.
15
15
 
16
16
  ### Linux
17
17
 
package/out/package.js CHANGED
@@ -34,7 +34,7 @@ const cp = __importStar(require("child_process"));
34
34
  const yazl = __importStar(require("yazl"));
35
35
  const nls_1 = require("./nls");
36
36
  const util = __importStar(require("./util"));
37
- const glob_1 = __importDefault(require("glob"));
37
+ const glob_1 = require("glob");
38
38
  const minimatch_1 = __importDefault(require("minimatch"));
39
39
  const markdown_it_1 = __importDefault(require("markdown-it"));
40
40
  const cheerio = __importStar(require("cheerio"));
@@ -1192,7 +1192,7 @@ const defaultIgnore = [
1192
1192
  ];
1193
1193
  async function collectAllFiles(cwd, dependencies, dependencyEntryPoints) {
1194
1194
  const deps = await (0, npm_1.getDependencies)(cwd, dependencies, dependencyEntryPoints);
1195
- const promises = deps.map(dep => (0, util_1.promisify)(glob_1.default)('**', { cwd: dep, nodir: true, dot: true, ignore: 'node_modules/**' }).then(files => files.map(f => path.relative(cwd, path.join(dep, f))).map(f => f.replace(/\\/g, '/'))));
1195
+ const promises = deps.map(dep => (0, glob_1.glob)('**', { cwd: dep, nodir: true, dot: true, ignore: 'node_modules/**' }).then(files => files.map(f => path.relative(cwd, path.join(dep, f))).map(f => f.replace(/\\/g, '/'))));
1196
1196
  return Promise.all(promises).then(util.flatten);
1197
1197
  }
1198
1198
  function getDependenciesOption(options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vscode/vsce",
3
- "version": "2.32.0",
3
+ "version": "3.0.0",
4
4
  "description": "VS Code Extensions Manager",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,7 +35,7 @@
35
35
  "watch:test": "npm run test -- --watch"
36
36
  },
37
37
  "engines": {
38
- "node": ">= 16"
38
+ "node": ">= 20"
39
39
  },
40
40
  "dependencies": {
41
41
  "@azure/identity": "^4.1.0",
@@ -46,7 +46,7 @@
46
46
  "cockatiel": "^3.1.2",
47
47
  "commander": "^6.2.1",
48
48
  "form-data": "^4.0.0",
49
- "glob": "^7.0.6",
49
+ "glob": "^11.0.0",
50
50
  "hosted-git-info": "^4.0.2",
51
51
  "jsonc-parser": "^3.2.0",
52
52
  "leven": "^3.1.0",
@@ -56,7 +56,7 @@
56
56
  "parse-semver": "^1.1.1",
57
57
  "read": "^1.0.7",
58
58
  "semver": "^7.5.2",
59
- "tmp": "^0.2.1",
59
+ "tmp": "^0.2.3",
60
60
  "typed-rest-client": "^1.8.4",
61
61
  "url-join": "^4.0.1",
62
62
  "xml2js": "^0.5.0",
@@ -66,7 +66,7 @@
66
66
  "devDependencies": {
67
67
  "@microsoft/api-extractor": "^7.33.7",
68
68
  "@types/cheerio": "^0.22.29",
69
- "@types/glob": "^7.1.1",
69
+ "@types/glob": "^8.1.0",
70
70
  "@types/hosted-git-info": "^3.0.2",
71
71
  "@types/markdown-it": "^0.0.2",
72
72
  "@types/mime": "^1",