@vscode/vsce 2.31.2-0 → 2.31.2-1
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/package.json +1 -1
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`');
|