Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

urllib

Package Overview
Dependencies
Maintainers
13
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

urllib - npm Package Compare versions

Comparing version 3.22.0 to 3.22.1

5

dist/commonjs/HttpClient.js

@@ -70,3 +70,3 @@ "use strict";

}
exports.HEADER_USER_AGENT = (0, default_user_agent_1.default)('node-urllib', '3.22.0');
exports.HEADER_USER_AGENT = (0, default_user_agent_1.default)('node-urllib', '3.22.1');
function getFileName(stream) {

@@ -117,2 +117,5 @@ const filePath = stream.path;

const poolStatsMap = {};
if (!clients) {
return poolStatsMap;
}
for (const [key, ref] of clients) {

@@ -119,0 +122,0 @@ const pool = ref.deref();

@@ -64,3 +64,3 @@ import diagnosticsChannel from 'node:diagnostics_channel';

}
export const HEADER_USER_AGENT = createUserAgent('node-urllib', '3.22.0');
export const HEADER_USER_AGENT = createUserAgent('node-urllib', '3.22.1');
function getFileName(stream) {

@@ -111,2 +111,5 @@ const filePath = stream.path;

const poolStatsMap = {};
if (!clients) {
return poolStatsMap;
}
for (const [key, ref] of clients) {

@@ -113,0 +116,0 @@ const pool = ref.deref();

2

package.json
{
"name": "urllib",
"version": "3.22.0",
"version": "3.22.1",
"publishConfig": {

@@ -5,0 +5,0 @@ "tag": "latest"

@@ -209,4 +209,7 @@ import diagnosticsChannel from 'node:diagnostics_channel';

// origin => Pool Instance
const clients: Map<string, WeakRef<Pool>> = agent[undiciSymbols.kClients];
const clients: Map<string, WeakRef<Pool>> | undefined = agent[undiciSymbols.kClients];
const poolStatsMap: Record<string, PoolStat> = {};
if (!clients) {
return poolStatsMap;
}
for (const [ key, ref ] of clients) {

@@ -213,0 +216,0 @@ const pool = ref.deref();

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