Files
login/node_modules/pn/http.js
Amruta Kawade 45b10ffd19 Adding node_modules for dependabot (#67)
* Bump lodash from 4.17.15 to 4.17.19 (#52)

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amruta Kawade <65217380+AmrutaKawade@users.noreply.github.com>

* Bump @actions/core from 1.1.3 to 1.2.6 (#60)

Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.1.3 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Amruta Kawade <65217380+AmrutaKawade@users.noreply.github.com>

* updating node_nodules

* updated package-lock

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 14:58:40 +05:30

20 lines
1.2 KiB
JavaScript

var http = require("http");
var promisify = require("./_promisify.js");
var bind = function(c, f) { return f && f.bind(c); };
Object.defineProperties(module.exports, {
Agent: { enumerable: true, value: http.Agent },
Client: { enumerable: true, value: http.Client },
ClientRequest: { enumerable: true, value: http.ClientRequest },
IncomingMessage: { enumerable: true, value: http.IncomingMessage },
METHODS: { enumerable: true, value: http.METHODS },
OutgoingMessage: { enumerable: true, value: http.OutgoingMessage },
STATUS_CODES: { enumerable: true, value: http.STATUS_CODES },
Server: { enumerable: true, value: http.Server },
ServerResponse: { enumerable: true, value: http.ServerResponse },
//_connectionListener: // skipping
createClient: { enumerable: true, value: bind(http, http.createClient) },
createServer: { enumerable: true, value: bind(http, http.createServer) },
get: { enumerable: true, value: promisify(http, http.get, 1, {"returnsObject":true}) },
globalAgent: { enumerable: true, get: function() { return http.globalAgent; }, set: function(v) { http.globalAgent = v; } },
request: { enumerable: true, value: promisify(http, http.request, 1, {"returnsObject":true}) },
});