NUEVA BUSQUEDA DE DATOS SRI
This commit is contained in:
6
node_modules/proxy-addr/HISTORY.md
generated
vendored
6
node_modules/proxy-addr/HISTORY.md
generated
vendored
@@ -1,3 +1,9 @@
|
||||
2.0.7 / 2021-05-31
|
||||
==================
|
||||
|
||||
* deps: forwarded@0.2.0
|
||||
- Use `req.socket` over deprecated `req.connection`
|
||||
|
||||
2.0.6 / 2020-02-24
|
||||
==================
|
||||
|
||||
|
||||
22
node_modules/proxy-addr/README.md
generated
vendored
22
node_modules/proxy-addr/README.md
generated
vendored
@@ -3,7 +3,7 @@
|
||||
[![NPM Version][npm-version-image]][npm-url]
|
||||
[![NPM Downloads][npm-downloads-image]][npm-url]
|
||||
[![Node.js Version][node-image]][node-url]
|
||||
[![Build Status][travis-image]][travis-url]
|
||||
[![Build Status][ci-image]][ci-url]
|
||||
[![Test Coverage][coveralls-image]][coveralls-url]
|
||||
|
||||
Determine address of proxied request
|
||||
@@ -20,8 +20,6 @@ $ npm install proxy-addr
|
||||
|
||||
## API
|
||||
|
||||
<!-- eslint-disable no-unused-vars -->
|
||||
|
||||
```js
|
||||
var proxyaddr = require('proxy-addr')
|
||||
```
|
||||
@@ -34,8 +32,6 @@ The `trust` argument is a function that returns `true` if you trust
|
||||
the address, `false` if you don't. The closest untrusted address is
|
||||
returned.
|
||||
|
||||
<!-- eslint-disable no-undef -->
|
||||
|
||||
```js
|
||||
proxyaddr(req, function (addr) { return addr === '127.0.0.1' })
|
||||
proxyaddr(req, function (addr, i) { return i < 1 })
|
||||
@@ -45,8 +41,6 @@ The `trust` arugment may also be a single IP address string or an
|
||||
array of trusted addresses, as plain IP addresses, CIDR-formatted
|
||||
strings, or IP/netmask strings.
|
||||
|
||||
<!-- eslint-disable no-undef -->
|
||||
|
||||
```js
|
||||
proxyaddr(req, '127.0.0.1')
|
||||
proxyaddr(req, ['127.0.0.0/8', '10.0.0.0/8'])
|
||||
@@ -56,8 +50,6 @@ proxyaddr(req, ['127.0.0.0/255.0.0.0', '192.168.0.0/255.255.0.0'])
|
||||
This module also supports IPv6. Your IPv6 addresses will be normalized
|
||||
automatically (i.e. `fe80::00ed:1` equals `fe80:0:0:0:0:0:ed:1`).
|
||||
|
||||
<!-- eslint-disable no-undef -->
|
||||
|
||||
```js
|
||||
proxyaddr(req, '::1')
|
||||
proxyaddr(req, ['::1/128', 'fe80::/10'])
|
||||
@@ -70,8 +62,6 @@ not have to specify both `::ffff:a00:1` and `10.0.0.1`.
|
||||
As a convenience, this module also takes certain pre-defined names
|
||||
in addition to IP addresses, which expand into IP addresses:
|
||||
|
||||
<!-- eslint-disable no-undef -->
|
||||
|
||||
```js
|
||||
proxyaddr(req, 'loopback')
|
||||
proxyaddr(req, ['loopback', 'fc00:ac:1ab5:fff::1/64'])
|
||||
@@ -96,8 +86,6 @@ Return all the addresses of the request, optionally stopping at the
|
||||
first untrusted. This array is ordered from closest to furthest
|
||||
(i.e. `arr[0] === req.connection.remoteAddress`).
|
||||
|
||||
<!-- eslint-disable no-undef -->
|
||||
|
||||
```js
|
||||
proxyaddr.all(req)
|
||||
```
|
||||
@@ -105,8 +93,6 @@ proxyaddr.all(req)
|
||||
The optional `trust` argument takes the same arguments as `trust`
|
||||
does in `proxyaddr(req, trust)`.
|
||||
|
||||
<!-- eslint-disable no-undef -->
|
||||
|
||||
```js
|
||||
proxyaddr.all(req, 'loopback')
|
||||
```
|
||||
@@ -117,8 +103,6 @@ Compiles argument `val` into a `trust` function. This function takes
|
||||
the same arguments as `trust` does in `proxyaddr(req, trust)` and
|
||||
returns a function suitable for `proxyaddr(req, trust)`.
|
||||
|
||||
<!-- eslint-disable no-undef, no-unused-vars -->
|
||||
|
||||
```js
|
||||
var trust = proxyaddr.compile('loopback')
|
||||
var addr = proxyaddr(req, trust)
|
||||
@@ -144,6 +128,8 @@ $ npm run-script bench
|
||||
|
||||
[MIT](LICENSE)
|
||||
|
||||
[ci-image]: https://badgen.net/github/checks/jshttp/proxy-addr/master?label=ci
|
||||
[ci-url]: https://github.com/jshttp/proxy-addr/actions?query=workflow%3Aci
|
||||
[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/proxy-addr/master
|
||||
[coveralls-url]: https://coveralls.io/r/jshttp/proxy-addr?branch=master
|
||||
[node-image]: https://badgen.net/npm/node/proxy-addr
|
||||
@@ -151,5 +137,3 @@ $ npm run-script bench
|
||||
[npm-downloads-image]: https://badgen.net/npm/dm/proxy-addr
|
||||
[npm-url]: https://npmjs.org/package/proxy-addr
|
||||
[npm-version-image]: https://badgen.net/npm/v/proxy-addr
|
||||
[travis-image]: https://badgen.net/travis/jshttp/proxy-addr/master
|
||||
[travis-url]: https://travis-ci.org/jshttp/proxy-addr
|
||||
|
||||
89
node_modules/proxy-addr/package.json
generated
vendored
89
node_modules/proxy-addr/package.json
generated
vendored
@@ -1,57 +1,32 @@
|
||||
{
|
||||
"_from": "proxy-addr@~2.0.5",
|
||||
"_id": "proxy-addr@2.0.6",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==",
|
||||
"_location": "/proxy-addr",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "proxy-addr@~2.0.5",
|
||||
"name": "proxy-addr",
|
||||
"escapedName": "proxy-addr",
|
||||
"rawSpec": "~2.0.5",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "~2.0.5"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/express"
|
||||
"name": "proxy-addr",
|
||||
"description": "Determine address of proxied request",
|
||||
"version": "2.0.7",
|
||||
"author": "Douglas Christopher Wilson <doug@somethingdoug.com>",
|
||||
"license": "MIT",
|
||||
"keywords": [
|
||||
"ip",
|
||||
"proxy",
|
||||
"x-forwarded-for"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz",
|
||||
"_shasum": "fdc2336505447d3f2f2c638ed272caf614bbb2bf",
|
||||
"_spec": "proxy-addr@~2.0.5",
|
||||
"_where": "/home/pablinux/Projects/Node/app_sigma/node_modules/express",
|
||||
"author": {
|
||||
"name": "Douglas Christopher Wilson",
|
||||
"email": "doug@somethingdoug.com"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/jshttp/proxy-addr/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"repository": "jshttp/proxy-addr",
|
||||
"dependencies": {
|
||||
"forwarded": "~0.1.2",
|
||||
"forwarded": "0.2.0",
|
||||
"ipaddr.js": "1.9.1"
|
||||
},
|
||||
"deprecated": false,
|
||||
"description": "Determine address of proxied request",
|
||||
"devDependencies": {
|
||||
"beautify-benchmark": "0.2.4",
|
||||
"benchmark": "2.1.4",
|
||||
"beautify-benchmark": "0.2.4",
|
||||
"deep-equal": "1.0.1",
|
||||
"eslint": "6.8.0",
|
||||
"eslint-config-standard": "14.1.0",
|
||||
"eslint-plugin-import": "2.20.1",
|
||||
"eslint-plugin-markdown": "1.0.1",
|
||||
"eslint-plugin-node": "11.0.0",
|
||||
"eslint-plugin-promise": "4.2.1",
|
||||
"eslint-plugin-standard": "4.0.1",
|
||||
"mocha": "7.0.1",
|
||||
"nyc": "15.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">= 0.10"
|
||||
"eslint": "7.26.0",
|
||||
"eslint-config-standard": "14.1.1",
|
||||
"eslint-plugin-import": "2.23.4",
|
||||
"eslint-plugin-markdown": "2.2.0",
|
||||
"eslint-plugin-node": "11.1.0",
|
||||
"eslint-plugin-promise": "4.3.1",
|
||||
"eslint-plugin-standard": "4.1.0",
|
||||
"mocha": "8.4.0",
|
||||
"nyc": "15.1.0"
|
||||
},
|
||||
"files": [
|
||||
"LICENSE",
|
||||
@@ -59,24 +34,14 @@
|
||||
"README.md",
|
||||
"index.js"
|
||||
],
|
||||
"homepage": "https://github.com/jshttp/proxy-addr#readme",
|
||||
"keywords": [
|
||||
"ip",
|
||||
"proxy",
|
||||
"x-forwarded-for"
|
||||
],
|
||||
"license": "MIT",
|
||||
"name": "proxy-addr",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/jshttp/proxy-addr.git"
|
||||
"engines": {
|
||||
"node": ">= 0.10"
|
||||
},
|
||||
"scripts": {
|
||||
"bench": "node benchmark/index.js",
|
||||
"lint": "eslint --plugin markdown --ext js,md .",
|
||||
"lint": "eslint .",
|
||||
"test": "mocha --reporter spec --bail --check-leaks test/",
|
||||
"test-cov": "nyc --reporter=text npm test",
|
||||
"test-travis": "nyc --reporter=html --reporter=text npm test"
|
||||
},
|
||||
"version": "2.0.6"
|
||||
"test-ci": "nyc --reporter=lcov --reporter=text npm test",
|
||||
"test-cov": "nyc --reporter=html --reporter=text npm test"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user