bulk-release 2.16.1 → 2.16.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/CHANGELOG.md +5 -0
- package/package.json +1 -1
- package/src/main/js/api/npm.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [2.16.2](https://github.com/semrel-extra/zx-bulk-release/compare/v2.16.1...v2.16.2) (2026-04-05)
|
|
2
|
+
|
|
3
|
+
### Fixes & improvements
|
|
4
|
+
* fix: handle tarball error ([3fb2fb7](https://github.com/semrel-extra/zx-bulk-release/commit/3fb2fb7a3ff8820a6499275737ea9a74bc281f0b))
|
|
5
|
+
|
|
1
6
|
## [2.16.1](https://github.com/semrel-extra/zx-bulk-release/compare/v2.16.0...v2.16.1) (2026-04-04)
|
|
2
7
|
|
|
3
8
|
### Fixes & improvements
|
package/package.json
CHANGED
package/src/main/js/api/npm.js
CHANGED
|
@@ -26,6 +26,10 @@ export const fetchPkg = async (pkg) => {
|
|
|
26
26
|
})
|
|
27
27
|
clearTimeout(timeoutId)
|
|
28
28
|
|
|
29
|
+
if (!tarball.ok) {
|
|
30
|
+
throw new Error(`registry responded with ${tarball.status} for ${tarballUrl}`)
|
|
31
|
+
}
|
|
32
|
+
|
|
29
33
|
await unzip(pipify(tarball.body), {cwd, strip: 1, omit: ['package.json']})
|
|
30
34
|
|
|
31
35
|
log({pkg})(`fetch duration '${id}': ${Date.now() - now}`)
|