New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@apt-repositories/generator

Package Overview
Dependencies
Maintainers
0
Versions
584
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apt-repositories/generator - npm Package Compare versions

Comparing version 0.0.34-dev.0 to 0.0.34

17

output/generate.js

@@ -16,2 +16,3 @@ #!/usr/bin/env node

import { gunzipSync } from "node:zlib";
import { outdent } from "outdent";
import xz from "xz-decompress";

@@ -90,8 +91,12 @@

if (chunk.includes("HTTP/1.1 400 Bad Request")) {
throw new Error(
`Received status 200 response from '${config.mirror}', but the response body indicates an HTTP error. This is likely caused by an invalid CDN node cache entry.
${Object.entries(
packagesResponse.headers
).map(([name, value], _index) => `< ${name}: ${value}`).join("\n")}`
);
throw new Error(outdent`
Received status 200 response from '${config.mirror}', but the response body indicates an HTTP error.
This is potentially caused by an invalid CDN node cache entry, but requires further analysis.
Response headers:
${Object.entries(packagesResponse.headers).map(([name, value], _index) => `< ${name}: ${value}`).join("\n")}
Response body:
${packagesText}
`);
}

@@ -98,0 +103,0 @@ try {

{
"$schema": "https://json.schemastore.org/package.json",
"name": "@apt-repositories/generator",
"version": "0.0.34-dev.0",
"version": "0.0.34",
"license": "MIT",

@@ -45,2 +45,3 @@ "author": "Oliver Salzburg <oliver.salzburg@gmail.com>",

"apt-parser": "1.5.1",
"outdent": "0.8.0",
"xz-decompress": "0.2.2"

@@ -47,0 +48,0 @@ },

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc