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.19.1 to 3.19.2

dist/commonjs/IncomingHttpHeaders.d.ts

2

dist/commonjs/HttpClient.js

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

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

@@ -79,0 +79,0 @@ const filePath = stream.path;

@@ -7,3 +7,4 @@ import { RequestOptions, RequestURL } from './Request.js';

export { RequestOptions, RequestOptions as RequestOptions2, RequestURL, HttpMethod, FixJSONCtlCharsHandler, FixJSONCtlChars, } from './Request.js';
export { SocketInfo, Timing, RawResponseWithMeta, HttpClientResponse } from './Response.js';
export { SocketInfo, Timing, RawResponseWithMeta, HttpClientResponse, } from './Response.js';
export { IncomingHttpHeaders, } from './IncomingHttpHeaders.js';
declare const _default: {

@@ -10,0 +11,0 @@ request: typeof request;

/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import { Readable, Writable } from 'node:stream';
import type { IncomingHttpHeaders } from 'node:http';
import type { Readable, Writable } from 'node:stream';
import type { Dispatcher } from 'undici';
import type { IncomingHttpHeaders } from './IncomingHttpHeaders.js';
import type { HttpClientResponse } from './Response.js';

@@ -9,0 +8,0 @@ export type HttpMethod = Dispatcher.HttpMethod;

/// <reference types="node" />
/// <reference types="node" />
import { Readable } from 'node:stream';
import { IncomingHttpHeaders } from 'node:http';
import type { Readable } from 'node:stream';
import type { IncomingHttpHeaders } from './IncomingHttpHeaders.js';
export type SocketInfo = {

@@ -6,0 +5,0 @@ id: number;

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

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

@@ -73,0 +73,0 @@ const filePath = stream.path;

@@ -7,3 +7,4 @@ import { RequestOptions, RequestURL } from './Request.js';

export { RequestOptions, RequestOptions as RequestOptions2, RequestURL, HttpMethod, FixJSONCtlCharsHandler, FixJSONCtlChars, } from './Request.js';
export { SocketInfo, Timing, RawResponseWithMeta, HttpClientResponse } from './Response.js';
export { SocketInfo, Timing, RawResponseWithMeta, HttpClientResponse, } from './Response.js';
export { IncomingHttpHeaders, } from './IncomingHttpHeaders.js';
declare const _default: {

@@ -10,0 +11,0 @@ request: typeof request;

/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import { Readable, Writable } from 'node:stream';
import type { IncomingHttpHeaders } from 'node:http';
import type { Readable, Writable } from 'node:stream';
import type { Dispatcher } from 'undici';
import type { IncomingHttpHeaders } from './IncomingHttpHeaders.js';
import type { HttpClientResponse } from './Response.js';

@@ -9,0 +8,0 @@ export type HttpMethod = Dispatcher.HttpMethod;

/// <reference types="node" resolution-mode="require"/>
/// <reference types="node" resolution-mode="require"/>
import { Readable } from 'node:stream';
import { IncomingHttpHeaders } from 'node:http';
import type { Readable } from 'node:stream';
import type { IncomingHttpHeaders } from './IncomingHttpHeaders.js';
export type SocketInfo = {

@@ -6,0 +5,0 @@ id: number;

{
"name": "urllib",
"version": "3.19.1",
"version": "3.19.2",
"publishConfig": {

@@ -79,2 +79,3 @@ "tag": "latest"

"qs": "^6.11.2",
"type-fest": "^4.3.1",
"undici": "^5.22.1",

@@ -81,0 +82,0 @@ "ylru": "^1.3.2"

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

import { STATUS_CODES } from 'node:http';
import type { IncomingHttpHeaders } from 'node:http';
import { debuglog } from 'node:util';

@@ -35,2 +34,3 @@ import {

import { HttpAgent, CheckAddressFunction } from './HttpAgent.js';
import type { IncomingHttpHeaders } from './IncomingHttpHeaders.js';
import { RequestURL, RequestOptions, HttpMethod, RequestMeta } from './Request.js';

@@ -37,0 +37,0 @@ import { RawResponseWithMeta, HttpClientResponse, SocketInfo } from './Response.js';

@@ -49,4 +49,10 @@ import LRU from 'ylru';

export { SocketInfo, Timing, RawResponseWithMeta, HttpClientResponse } from './Response.js';
export {
SocketInfo, Timing, RawResponseWithMeta, HttpClientResponse,
} from './Response.js';
export {
IncomingHttpHeaders,
} from './IncomingHttpHeaders.js';
export default {

@@ -53,0 +59,0 @@ request,

@@ -1,7 +0,5 @@

import { Readable, Writable } from 'node:stream';
import type { IncomingHttpHeaders } from 'node:http';
import type { Readable, Writable } from 'node:stream';
import type { Dispatcher } from 'undici';
import type {
HttpClientResponse,
} from './Response.js';
import type { IncomingHttpHeaders } from './IncomingHttpHeaders.js';
import type { HttpClientResponse } from './Response.js';

@@ -8,0 +6,0 @@ export type HttpMethod = Dispatcher.HttpMethod;

@@ -1,3 +0,3 @@

import { Readable } from 'node:stream';
import { IncomingHttpHeaders } from 'node:http';
import type { Readable } from 'node:stream';
import type { IncomingHttpHeaders } from './IncomingHttpHeaders.js';

@@ -4,0 +4,0 @@ export type SocketInfo = {

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