@vscode/vsce 2.31.2-0 → 2.31.2-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/out/npm.js +1 -1
- package/out/package.js +2 -2
- package/package.json +4 -4
package/out/npm.js
CHANGED
|
@@ -136,7 +136,7 @@ function selectYarnDependencies(deps, packagedDependencies) {
|
|
|
136
136
|
return reached.values;
|
|
137
137
|
}
|
|
138
138
|
async function getYarnProductionDependencies(cwd, packagedDependencies) {
|
|
139
|
-
const raw = await new Promise((c, e) => cp.exec('yarn list --prod --json', { cwd, encoding: 'utf8', env: { ...process.env }, maxBuffer: 5000 * 1024 }, (err, stdout) => (err ? e(err) : c(stdout))));
|
|
139
|
+
const raw = await new Promise((c, e) => cp.exec('yarn list --prod --json', { cwd, encoding: 'utf8', env: { DISABLE_V8_COMPILE_CACHE: "1", ...process.env }, maxBuffer: 5000 * 1024 }, (err, stdout) => (err ? e(err) : c(stdout))));
|
|
140
140
|
const match = /^{"type":"tree".*$/m.exec(raw);
|
|
141
141
|
if (!match || match.length !== 1) {
|
|
142
142
|
throw new Error('Could not parse result of `yarn list --json`');
|
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 = require("glob");
|
|
37
|
+
const glob_1 = __importDefault(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, glob_1.
|
|
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, '/'))));
|
|
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.31.2-
|
|
3
|
+
"version": "2.31.2-2",
|
|
4
4
|
"description": "VS Code Extensions Manager",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -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": "^
|
|
49
|
+
"glob": "^7.0.6",
|
|
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.
|
|
59
|
+
"tmp": "^0.2.1",
|
|
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": "^
|
|
69
|
+
"@types/glob": "^7.1.1",
|
|
70
70
|
"@types/hosted-git-info": "^3.0.2",
|
|
71
71
|
"@types/markdown-it": "^0.0.2",
|
|
72
72
|
"@types/mime": "^1",
|