@pnpm/audit
Advanced tools
Comparing version 2.1.0 to 2.1.1
# @pnpm/audit | ||
## 2.1.1 | ||
### Patch Changes | ||
- 40b75fbb9: Escape the dependency names to avoud 502 errors from the registry. | ||
## 2.1.0 | ||
@@ -4,0 +10,0 @@ |
@@ -10,3 +10,6 @@ "use strict"; | ||
const importerDeps = lockfileToAuditNode(importerWalker.step); | ||
dependencies[importerWalker.importerId] = { | ||
// For some reason the registry responds with 500 if the keys in dependencies have slashes | ||
// see issue: https://github.com/pnpm/pnpm/issues/2848 | ||
const depName = importerWalker.importerId.replace(/\//g, '__'); | ||
dependencies[depName] = { | ||
dependencies: importerDeps, | ||
@@ -13,0 +16,0 @@ requires: toRequires(importerDeps), |
{ | ||
"name": "@pnpm/audit", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Audit a lockfile", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
16183
13
209