Socket
Socket
Sign inDemoInstall

agent-base

Package Overview
Dependencies
1
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.3.0 to 5.0.0

dist/src/index.d.ts

34

package.json
{
"name": "agent-base",
"version": "4.3.0",
"version": "5.0.0",
"description": "Turn a function into an `http.Agent` instance",
"main": "./index.js",
"main": "dist/src/index",
"typings": "dist/src/index",
"files": [
"dist/src"
],
"scripts": {
"test": "mocha --reporter spec"
"prebuild": "rimraf dist",
"build": "tsc",
"postbuild": "cpy --parents src test '!**/*.ts' dist",
"test": "mocha --reporter spec dist/test/*.js",
"test-lint": "eslint src --ext .js,.ts",
"prepublishOnly": "npm run build"
},

@@ -27,4 +36,19 @@ "repository": {

"@types/es6-promisify": "^5.0.0",
"@types/mocha": "^5.2.7",
"@types/node": "^10.5.3",
"mocha": "^3.4.2",
"@types/ws": "^6.0.3",
"@typescript-eslint/eslint-plugin": "1.6.0",
"@typescript-eslint/parser": "1.1.0",
"async-listen": "^1.2.0",
"cpy-cli": "^2.0.0",
"eslint": "5.16.0",
"eslint-config-airbnb": "17.1.0",
"eslint-config-prettier": "4.1.0",
"eslint-import-resolver-typescript": "1.1.1",
"eslint-plugin-import": "2.16.0",
"eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-react": "7.12.4",
"mocha": "^6.2.0",
"rimraf": "^3.0.0",
"typescript": "^3.5.3",
"ws": "^3.0.0"

@@ -36,4 +60,4 @@ },

"engines": {
"node": ">= 4.0.0"
"node": ">= 6.0.0"
}
}

2

README.md
agent-base
==========
### Turn a function into an [`http.Agent`][http.Agent] instance
[![Build Status](https://travis-ci.org/TooTallNate/node-agent-base.svg?branch=master)](https://travis-ci.org/TooTallNate/node-agent-base)
[![Build Status](https://github.com/TooTallNate/node-agent-base/workflows/Node%20CI/badge.svg)](https://github.com/TooTallNate/node-agent-base/actions?workflow=Node+CI)

@@ -6,0 +6,0 @@ This module provides an `http.Agent` generator. That is, you pass it an async

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc