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

@pnpm/npm-registry-agent

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pnpm/npm-registry-agent - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

6

CHANGELOG.md
# @pnpm/npm-registry-agent
## 3.1.0
### Minor Changes
- 46128b5b0: Export AgentOptions type.
## 3.0.1

@@ -4,0 +10,0 @@

15

lib/index.d.ts

@@ -1,12 +0,13 @@

export default function getAgent(uri: string, opts: {
localAddress?: string;
strictSSL?: boolean;
export declare type AgentOptions = {
ca?: string;
cert?: string;
httpProxy?: string;
httpsProxy?: string;
key?: string;
localAddress?: string;
maxSockets?: number;
noProxy?: boolean | string;
strictSSL?: boolean;
timeout?: number;
httpProxy?: string;
httpsProxy?: string;
noProxy?: boolean | string;
}): any;
};
export default function getAgent(uri: string, opts: AgentOptions): any;
{
"name": "@pnpm/npm-registry-agent",
"version": "3.0.1",
"description": "HTTP agent for fetching from npm registry",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
"lib",
"!*.map"
],
"author": "Zoltan Kochan <z@kochan.io> (https://www.kochan.io/)",
"license": "MIT",
"scripts": {
"lint": "tslint -c ../../tslint.json src/**/*.ts test/**/*.ts",
"_test": "cd ../.. && c8 --reporter lcov --reports-dir packages/npm-registry-agent/coverage ts-node packages/npm-registry-agent/test --type-check",
"test": "pnpm run compile && pnpm run _test",
"prepublishOnly": "pnpm run compile",
"fix": "tslint -c tslint.json src/**/*.ts test/**/*.ts --fix",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build"
},
"devDependencies": {
"@types/http-proxy-agent": "^2.0.2",
"@types/lru-cache": "^5.1.0",
"@types/proxyquire": "^1.3.28",
"proxyquire": "^2.1.3"
},
"dependencies": {
"agentkeepalive": "^4.0.0",
"http-proxy-agent": "^4.0.1",
"https-proxy-agent": "^3.0.1",
"lru-cache": "^6.0.0",
"socks-proxy-agent": "^5.0.0"
},
"env": {
"node": ">=10"
},
"repository": "https://github.com/pnpm/pnpm/blob/master/packages/npm-registry-agent",
"homepage": "https://github.com/pnpm/pnpm/blob/master/packages/npm-registry-agent#readme",
"bugs": {
"url": "https://github.com/pnpm/pnpm/issues"
},
"engines": {
"node": ">=10.13"
},
"funding": "https://opencollective.com/pnpm"
"name": "@pnpm/npm-registry-agent",
"version": "3.1.0",
"description": "HTTP agent for fetching from npm registry",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"files": [
"lib",
"!*.map"
],
"author": "Zoltan Kochan <z@kochan.io> (https://www.kochan.io/)",
"license": "MIT",
"scripts": {
"lint": "tslint -c ../../tslint.json src/**/*.ts test/**/*.ts",
"_test": "cd ../.. && c8 --reporter lcov --reports-dir packages/npm-registry-agent/coverage ts-node packages/npm-registry-agent/test --type-check",
"test": "pnpm run compile && pnpm run _test",
"prepublishOnly": "pnpm run compile",
"fix": "tslint -c tslint.json src/**/*.ts test/**/*.ts --fix",
"compile": "rimraf lib tsconfig.tsbuildinfo && tsc --build"
},
"devDependencies": {
"@types/http-proxy-agent": "^2.0.2",
"@types/lru-cache": "^5.1.0",
"@types/proxyquire": "^1.3.28",
"proxyquire": "^2.1.3"
},
"dependencies": {
"agentkeepalive": "^4.1.3",
"http-proxy-agent": "^4.0.1",
"https-proxy-agent": "^3.0.1",
"lru-cache": "^6.0.0",
"socks-proxy-agent": "^5.0.0"
},
"env": {
"node": ">=10"
},
"repository": "https://github.com/pnpm/pnpm/blob/master/packages/npm-registry-agent",
"homepage": "https://github.com/pnpm/pnpm/blob/master/packages/npm-registry-agent#readme",
"bugs": {
"url": "https://github.com/pnpm/pnpm/issues"
},
"engines": {
"node": ">=10.13"
},
"funding": "https://opencollective.com/pnpm"
}
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