com.jimuwd.xian.registry-proxy 1.0.88 → 1.0.89

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.
Files changed (2) hide show
  1. package/dist/index.js +0 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -216,7 +216,6 @@ async function writeResponseToDownstreamClient(registryInfo, targetUrl, resToDow
216
216
  });
217
217
  if (!safeHeaders['content-type'])
218
218
  safeHeaders['content-type'] = 'application/octet-stream';
219
- const contentType = safeHeaders['content-type'];
220
219
  if (!upstreamResponse.body) {
221
220
  logger.error(`Empty response body from upstream ${targetUrl}`);
222
221
  resToDownstreamClient.writeHead(502).end('Empty Upstream Response');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "com.jimuwd.xian.registry-proxy",
3
- "version": "1.0.88",
3
+ "version": "1.0.89",
4
4
  "description": "A lightweight npm registry proxy with fallback support",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",