Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
await packUtils.prepareForPack(workspace, {report}, async () => {
const files = await packUtils.genPackList(workspace);
for (const file of files)
report.reportInfo(null, file);
const pack = await packUtils.genPackStream(workspace, files);
const buffer = await miscUtils.bufferStream(pack);
const body = await makePublishBody(workspace, buffer, {
access: this.access,
tag: this.tag,
});
try {
await npmHttpUtils.put(npmHttpUtils.getIdentUrl(ident), body, {
configuration,
registry,