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

@pnpm/network.agent

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/network.agent - npm Package Compare versions

Comparing version 0.0.5 to 0.1.0

dist/preview-1676682128697.js

7

agent.spec.ts

@@ -58,4 +58,4 @@ import { getAgent } from './agent'

}
expect(getAgent('https://foo.com/bar', opts)).toEqual({
__type: 'https-proxy',
expect((getAgent('https://foo.com/bar', opts) as any).proxy).toEqual({
ALPNProtocols: ['http 1.1'],
auth: 'user:pass',

@@ -68,4 +68,3 @@ ca: 'ca',

maxSockets: 5,
path: '/foo',
port: '1234',
port: 1234,
protocol: 'https:',

@@ -72,0 +71,0 @@ rejectUnauthorized: true,

@@ -47,4 +47,4 @@ "use strict";

const opts = Object.assign({ httpsProxy: 'https://user:pass@my.proxy:1234/foo', noProxy: 'qar.com, bar.com' }, OPTS);
expect((0, agent_1.getAgent)('https://foo.com/bar', opts)).toEqual({
__type: 'https-proxy',
expect((0, agent_1.getAgent)('https://foo.com/bar', opts).proxy).toEqual({
ALPNProtocols: ['http 1.1'],
auth: 'user:pass',

@@ -57,4 +57,3 @@ ca: 'ca',

maxSockets: 5,
path: '/foo',
port: '1234',
port: 1234,
protocol: 'https:',

@@ -61,0 +60,0 @@ rejectUnauthorized: true,

{
"name": "@pnpm/network.agent",
"version": "0.0.5",
"version": "0.1.0",
"homepage": "https://bit.dev/pnpm/network/agent",

@@ -9,3 +9,3 @@ "main": "dist/index.js",

"name": "agent",
"version": "0.0.5"
"version": "0.1.0"
},

@@ -15,3 +15,3 @@ "dependencies": {

"lru-cache": "7.10.1",
"@pnpm/network.proxy-agent": "0.0.5"
"@pnpm/network.proxy-agent": "0.1.0"
},

@@ -18,0 +18,0 @@ "devDependencies": {

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