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

View File

@@ -1,3 +1,8 @@
1.2.1 / 2019-05-10
==================
* Improve error when `str` is not a string
1.2.0 / 2016-06-01
==================

33
node_modules/range-parser/README.md generated vendored
View File

@@ -1,8 +1,8 @@
# range-parser
[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![Node.js Version][node-version-image]][node-version-url]
[![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]
[![Test Coverage][coveralls-image]][coveralls-url]
@@ -10,12 +10,18 @@ Range header field parser.
## Installation
```
This is a [Node.js](https://nodejs.org/en/) module available through the
[npm registry](https://www.npmjs.com/). Installation is done using the
[`npm install` command](https://docs.npmjs.com/getting-started/installing-npm-packages-locally):
```sh
$ npm install range-parser
```
## API
<!-- eslint-disable no-unused-vars -->
```js
var parseRange = require('range-parser')
```
@@ -28,6 +34,8 @@ An array of ranges will be returned or negative numbers indicating an error pars
* `-2` signals a malformed header string
* `-1` signals an unsatisfiable range
<!-- eslint-disable no-undef -->
```js
// parse header from request
var range = parseRange(size, req.headers.range)
@@ -51,6 +59,8 @@ Specifies if overlapping & adjacent ranges should be combined, defaults to `fals
When `true`, ranges will be combined and returned as if they were specified that
way in the header.
<!-- eslint-disable no-undef -->
```js
parseRange(100, 'bytes=50-55,0-10,5-10,56-60', { combine: true })
// => [
@@ -63,13 +73,12 @@ parseRange(100, 'bytes=50-55,0-10,5-10,56-60', { combine: true })
[MIT](LICENSE)
[npm-image]: https://img.shields.io/npm/v/range-parser.svg
[coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/range-parser/master
[coveralls-url]: https://coveralls.io/r/jshttp/range-parser?branch=master
[node-image]: https://badgen.net/npm/node/range-parser
[node-url]: https://nodejs.org/en/download
[npm-downloads-image]: https://badgen.net/npm/dm/range-parser
[npm-url]: https://npmjs.org/package/range-parser
[node-version-image]: https://img.shields.io/node/v/range-parser.svg
[node-version-url]: https://nodejs.org/endownload
[travis-image]: https://img.shields.io/travis/jshttp/range-parser.svg
[npm-version-image]: https://badgen.net/npm/v/range-parser
[travis-image]: https://badgen.net/travis/jshttp/range-parser/master
[travis-url]: https://travis-ci.org/jshttp/range-parser
[coveralls-image]: https://img.shields.io/coveralls/jshttp/range-parser.svg
[coveralls-url]: https://coveralls.io/r/jshttp/range-parser
[downloads-image]: https://img.shields.io/npm/dm/range-parser.svg
[downloads-url]: https://npmjs.org/package/range-parser

4
node_modules/range-parser/index.js generated vendored
View File

@@ -25,6 +25,10 @@ module.exports = rangeParser
*/
function rangeParser (size, str, options) {
if (typeof str !== 'string') {
throw new TypeError('argument str must be a string')
}
var index = str.indexOf('=')
if (index === -1) {

View File

@@ -1,28 +1,28 @@
{
"_from": "range-parser@~1.2.0",
"_id": "range-parser@1.2.0",
"_from": "range-parser@~1.2.1",
"_id": "range-parser@1.2.1",
"_inBundle": false,
"_integrity": "sha1-9JvmtIeJTdxA3MlKMi9hEJLgDV4=",
"_integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==",
"_location": "/range-parser",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "range-parser@~1.2.0",
"raw": "range-parser@~1.2.1",
"name": "range-parser",
"escapedName": "range-parser",
"rawSpec": "~1.2.0",
"rawSpec": "~1.2.1",
"saveSpec": null,
"fetchSpec": "~1.2.0"
"fetchSpec": "~1.2.1"
},
"_requiredBy": [
"/express",
"/send",
"/webpack-dev-middleware"
],
"_resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.0.tgz",
"_shasum": "f49be6b487894ddc40dcc94a322f611092e00d5e",
"_spec": "range-parser@~1.2.0",
"_resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
"_shasum": "3cf37023d199e1c24d1a55b84800c2f3e6468031",
"_spec": "range-parser@~1.2.1",
"_where": "C:\\xampp\\htdocs\\w4rpservices\\node_modules\\express",
"author": {
"name": "TJ Holowaychuk",
@@ -51,12 +51,16 @@
"deprecated": false,
"description": "Range header field string parser",
"devDependencies": {
"eslint": "2.11.1",
"eslint-config-standard": "5.3.1",
"eslint-plugin-promise": "1.1.0",
"eslint-plugin-standard": "1.3.2",
"istanbul": "0.4.3",
"mocha": "1.21.5"
"deep-equal": "1.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",
"mocha": "6.1.4",
"nyc": "14.1.1"
},
"engines": {
"node": ">= 0.6"
@@ -79,10 +83,10 @@
"url": "git+https://github.com/jshttp/range-parser.git"
},
"scripts": {
"lint": "eslint **/*.js",
"lint": "eslint --plugin markdown --ext js,md .",
"test": "mocha --reporter spec",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot",
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter dot"
"test-cov": "nyc --reporter=html --reporter=text npm test",
"test-travis": "nyc --reporter=text npm test"
},
"version": "1.2.0"
"version": "1.2.1"
}