updated npm modules

This commit is contained in:
2019-05-20 20:43:45 -05:00
parent 2319197b81
commit f166b72b7d
1113 changed files with 8758 additions and 12227 deletions

18
node_modules/serve-static/HISTORY.md generated vendored
View File

@@ -1,3 +1,21 @@
1.14.1 / 2019-05-10
===================
* Set stricter CSP header in redirect response
* deps: send@0.17.1
- deps: range-parser@~1.2.1
1.14.0 / 2019-05-07
===================
* deps: parseurl@~1.3.3
* deps: send@0.17.0
- deps: http-errors@~1.7.2
- deps: mime@1.6.0
- deps: ms@2.1.1
- deps: statuses@~1.5.0
- perf: remove redundant `path.normalize` call
1.13.2 / 2018-02-07
===================

27
node_modules/serve-static/README.md generated vendored
View File

@@ -1,7 +1,7 @@
# serve-static
[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![NPM Version][npm-version-image]][npm-url]
[![NPM Downloads][npm-downloads-image]][npm-url]
[![Linux Build][travis-image]][travis-url]
[![Windows Build][appveyor-image]][appveyor-url]
[![Test Coverage][coveralls-image]][coveralls-url]
@@ -141,7 +141,7 @@ var http = require('http')
var serveStatic = require('serve-static')
// Serve up public/ftp folder
var serve = serveStatic('public/ftp', {'index': ['index.html', 'index.htm']})
var serve = serveStatic('public/ftp', { 'index': ['index.html', 'index.htm'] })
// Create server
var server = http.createServer(function onRequest (req, res) {
@@ -192,7 +192,7 @@ var serveStatic = require('serve-static')
var app = express()
app.use(serveStatic('public/ftp', {'index': ['default.html', 'default.htm']}))
app.use(serveStatic('public/ftp', { 'index': ['default.html', 'default.htm'] }))
app.listen(3000)
```
@@ -246,13 +246,14 @@ function setCustomCacheControl (res, path) {
[MIT](LICENSE)
[npm-image]: https://img.shields.io/npm/v/serve-static.svg
[npm-url]: https://npmjs.org/package/serve-static
[travis-image]: https://img.shields.io/travis/expressjs/serve-static/master.svg?label=linux
[travis-url]: https://travis-ci.org/expressjs/serve-static
[appveyor-image]: https://img.shields.io/appveyor/ci/dougwilson/serve-static/master.svg?label=windows
[appveyor-image]: https://badgen.net/appveyor/ci/dougwilson/serve-static/master?label=windows
[appveyor-url]: https://ci.appveyor.com/project/dougwilson/serve-static
[coveralls-image]: https://img.shields.io/coveralls/expressjs/serve-static/master.svg
[coveralls-url]: https://coveralls.io/r/expressjs/serve-static
[downloads-image]: https://img.shields.io/npm/dm/serve-static.svg
[downloads-url]: https://npmjs.org/package/serve-static
[coveralls-image]: https://badgen.net/coveralls/c/github/expressjs/serve-static/master
[coveralls-url]: https://coveralls.io/r/expressjs/serve-static?branch=master
[node-image]: https://badgen.net/npm/node/serve-static
[node-url]: https://nodejs.org/en/download/
[npm-downloads-image]: https://badgen.net/npm/dm/serve-static
[npm-url]: https://npmjs.org/package/serve-static
[npm-version-image]: https://badgen.net/npm/v/serve-static
[travis-image]: https://badgen.net/travis/expressjs/serve-static/master?label=linux
[travis-url]: https://travis-ci.org/expressjs/serve-static

4
node_modules/serve-static/index.js generated vendored
View File

@@ -142,7 +142,7 @@ function collapseLeadingSlashes (str) {
: str
}
/**
/**
* Create a minimal HTML document.
*
* @param {string} title
@@ -202,7 +202,7 @@ function createRedirectDirectoryListener () {
res.statusCode = 301
res.setHeader('Content-Type', 'text/html; charset=UTF-8')
res.setHeader('Content-Length', Buffer.byteLength(doc))
res.setHeader('Content-Security-Policy', "default-src 'self'")
res.setHeader('Content-Security-Policy', "default-src 'none'")
res.setHeader('X-Content-Type-Options', 'nosniff')
res.setHeader('Location', loc)
res.end(doc)

View File

@@ -1,26 +1,26 @@
{
"_from": "serve-static@1.13.2",
"_id": "serve-static@1.13.2",
"_from": "serve-static@1.14.1",
"_id": "serve-static@1.14.1",
"_inBundle": false,
"_integrity": "sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==",
"_integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==",
"_location": "/serve-static",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "serve-static@1.13.2",
"raw": "serve-static@1.14.1",
"name": "serve-static",
"escapedName": "serve-static",
"rawSpec": "1.13.2",
"rawSpec": "1.14.1",
"saveSpec": null,
"fetchSpec": "1.13.2"
"fetchSpec": "1.14.1"
},
"_requiredBy": [
"/express"
],
"_resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.13.2.tgz",
"_shasum": "095e8472fd5b46237db50ce486a43f4b86c6cec1",
"_spec": "serve-static@1.13.2",
"_resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
"_shasum": "666e636dc4f010f7ef29970a88a674320898b2f9",
"_spec": "serve-static@1.14.1",
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\express",
"author": {
"name": "Douglas Christopher Wilson",
@@ -33,22 +33,23 @@
"dependencies": {
"encodeurl": "~1.0.2",
"escape-html": "~1.0.3",
"parseurl": "~1.3.2",
"send": "0.16.2"
"parseurl": "~1.3.3",
"send": "0.17.1"
},
"deprecated": false,
"description": "Serve static files",
"devDependencies": {
"eslint": "3.19.0",
"eslint-config-standard": "10.2.1",
"eslint-plugin-import": "2.8.0",
"eslint-plugin-markdown": "1.0.0-beta.6",
"eslint-plugin-node": "5.2.1",
"eslint-plugin-promise": "3.6.0",
"eslint-plugin-standard": "3.0.1",
"eslint": "5.16.0",
"eslint-config-standard": "12.0.0",
"eslint-plugin-import": "2.17.2",
"eslint-plugin-markdown": "1.0.0",
"eslint-plugin-node": "8.0.1",
"eslint-plugin-promise": "4.1.1",
"eslint-plugin-standard": "4.0.0",
"istanbul": "0.4.5",
"mocha": "2.5.3",
"supertest": "1.1.0"
"mocha": "6.1.4",
"safe-buffer": "5.1.2",
"supertest": "4.0.2"
},
"engines": {
"node": ">= 0.8.0"
@@ -69,7 +70,8 @@
"lint": "eslint --plugin markdown --ext js,md .",
"test": "mocha --reporter spec --bail --check-leaks test/",
"test-ci": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/"
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
"version": "node scripts/version-history.js && git add HISTORY.md"
},
"version": "1.13.2"
"version": "1.14.1"
}