Firebase Update
This commit is contained in:
		
							
								
								
									
										93
									
								
								express-server/node_modules/compressible/HISTORY.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										93
									
								
								express-server/node_modules/compressible/HISTORY.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,93 @@
 | 
			
		||||
2.0.15 / 2019-09-17
 | 
			
		||||
===================
 | 
			
		||||
 | 
			
		||||
  * deps: mime-db@'>= 1.36.0 < 2'
 | 
			
		||||
 | 
			
		||||
2.0.14 / 2019-06-05
 | 
			
		||||
===================
 | 
			
		||||
 | 
			
		||||
  * deps: mime-db@'>= 1.34.0 < 2'
 | 
			
		||||
    - Mark all XML-derived types as compressible
 | 
			
		||||
 | 
			
		||||
2.0.13 / 2018-02-17
 | 
			
		||||
===================
 | 
			
		||||
 | 
			
		||||
  * deps: mime-db@'>= 1.33.0 < 2'
 | 
			
		||||
 | 
			
		||||
2.0.12 / 2017-10-20
 | 
			
		||||
===================
 | 
			
		||||
 | 
			
		||||
  * deps: mime-db@'>= 1.30.0 < 2'
 | 
			
		||||
 | 
			
		||||
2.0.11 / 2017-07-27
 | 
			
		||||
===================
 | 
			
		||||
 | 
			
		||||
  * deps: mime-db@'>= 1.29.0 < 2'
 | 
			
		||||
 | 
			
		||||
2.0.10 / 2017-03-23
 | 
			
		||||
===================
 | 
			
		||||
 | 
			
		||||
  * deps: mime-db@'>= 1.27.0 < 2'
 | 
			
		||||
 | 
			
		||||
2.0.9 / 2016-10-31
 | 
			
		||||
==================
 | 
			
		||||
 | 
			
		||||
  * Fix regex fallback to not override `compressible: false` in db
 | 
			
		||||
  * deps: mime-db@'>= 1.24.0 < 2'
 | 
			
		||||
 | 
			
		||||
2.0.8 / 2016-05-12
 | 
			
		||||
==================
 | 
			
		||||
 | 
			
		||||
  * deps: mime-db@'>= 1.23.0 < 2'
 | 
			
		||||
 | 
			
		||||
2.0.7 / 2016-01-18
 | 
			
		||||
==================
 | 
			
		||||
 | 
			
		||||
  * deps: mime-db@'>= 1.21.0 < 2'
 | 
			
		||||
 | 
			
		||||
2.0.6 / 2015-09-29
 | 
			
		||||
==================
 | 
			
		||||
 | 
			
		||||
  * deps: mime-db@'>= 1.19.0 < 2'
 | 
			
		||||
 | 
			
		||||
2.0.5 / 2015-07-30
 | 
			
		||||
==================
 | 
			
		||||
 | 
			
		||||
  * deps: mime-db@'>= 1.16.0 < 2'
 | 
			
		||||
 | 
			
		||||
2.0.4 / 2015-07-01
 | 
			
		||||
==================
 | 
			
		||||
 | 
			
		||||
  * deps: mime-db@'>= 1.14.0 < 2'
 | 
			
		||||
  * perf: enable strict mode
 | 
			
		||||
 | 
			
		||||
2.0.3 / 2015-06-08
 | 
			
		||||
==================
 | 
			
		||||
 | 
			
		||||
  * Fix regex fallback to work if type exists, but is undefined
 | 
			
		||||
  * perf: hoist regex declaration
 | 
			
		||||
  * perf: use regex to extract mime
 | 
			
		||||
  * deps: mime-db@'>= 1.13.0 < 2'
 | 
			
		||||
 | 
			
		||||
2.0.2 / 2015-01-31
 | 
			
		||||
==================
 | 
			
		||||
 | 
			
		||||
  * deps: mime-db@'>= 1.1.2 < 2'
 | 
			
		||||
 | 
			
		||||
2.0.1 / 2014-09-28
 | 
			
		||||
==================
 | 
			
		||||
 | 
			
		||||
  * deps: mime-db@1.x
 | 
			
		||||
    - Add new mime types
 | 
			
		||||
    - Add additional compressible
 | 
			
		||||
    - Update charsets
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
2.0.0 / 2014-09-02
 | 
			
		||||
==================
 | 
			
		||||
 | 
			
		||||
  * use mime-db
 | 
			
		||||
  * remove .get()
 | 
			
		||||
  * specifications are now private
 | 
			
		||||
  * regex is now private
 | 
			
		||||
  * stricter regex
 | 
			
		||||
							
								
								
									
										24
									
								
								express-server/node_modules/compressible/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								express-server/node_modules/compressible/LICENSE
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
(The MIT License)
 | 
			
		||||
 | 
			
		||||
Copyright (c) 2013 Jonathan Ong <me@jongleberry.com>
 | 
			
		||||
Copyright (c) 2014 Jeremiah Senkpiel <fishrock123@rocketmail.com>
 | 
			
		||||
Copyright (c) 2015 Douglas Christopher Wilson <doug@somethingdoug.com>
 | 
			
		||||
 | 
			
		||||
Permission is hereby granted, free of charge, to any person obtaining
 | 
			
		||||
a copy of this software and associated documentation files (the
 | 
			
		||||
'Software'), to deal in the Software without restriction, including
 | 
			
		||||
without limitation the rights to use, copy, modify, merge, publish,
 | 
			
		||||
distribute, sublicense, and/or sell copies of the Software, and to
 | 
			
		||||
permit persons to whom the Software is furnished to do so, subject to
 | 
			
		||||
the following conditions:
 | 
			
		||||
 | 
			
		||||
The above copyright notice and this permission notice shall be
 | 
			
		||||
included in all copies or substantial portions of the Software.
 | 
			
		||||
 | 
			
		||||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
 | 
			
		||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
 | 
			
		||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
 | 
			
		||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
 | 
			
		||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
 | 
			
		||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 | 
			
		||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 | 
			
		||||
							
								
								
									
										62
									
								
								express-server/node_modules/compressible/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										62
									
								
								express-server/node_modules/compressible/README.md
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,62 @@
 | 
			
		||||
# compressible
 | 
			
		||||
 | 
			
		||||
[![NPM Version][npm-image]][npm-url]
 | 
			
		||||
[![NPM Downloads][downloads-image]][downloads-url]
 | 
			
		||||
[![Node.js Version][node-version-image]][node-version-url]
 | 
			
		||||
[![Build Status][travis-image]][travis-url]
 | 
			
		||||
[![Test Coverage][coveralls-image]][coveralls-url]
 | 
			
		||||
 | 
			
		||||
Compressible `Content-Type` / `mime` checking.
 | 
			
		||||
 | 
			
		||||
## Installation
 | 
			
		||||
 | 
			
		||||
```sh
 | 
			
		||||
$ npm install compressible
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## API
 | 
			
		||||
 | 
			
		||||
<!-- eslint-disable no-unused-vars -->
 | 
			
		||||
 | 
			
		||||
```js
 | 
			
		||||
var compressible = require('compressible')
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
### compressible(type)
 | 
			
		||||
 | 
			
		||||
Checks if the given `Content-Type` is compressible. The `type` argument is expected
 | 
			
		||||
to be a value MIME type or `Content-Type` string, though no validation is performed.
 | 
			
		||||
 | 
			
		||||
The MIME is looked up in the [`mime-db`](https://www.npmjs.com/package/mime-db) and
 | 
			
		||||
if there is compressible information in the database entry, that is returned. Otherwise,
 | 
			
		||||
this module will fallback to `true` for the following types:
 | 
			
		||||
 | 
			
		||||
  * `text/*`
 | 
			
		||||
  * `*/*+json`
 | 
			
		||||
  * `*/*+text`
 | 
			
		||||
  * `*/*+xml`
 | 
			
		||||
 | 
			
		||||
If this module is not sure if a type is specifically compressible or specifically
 | 
			
		||||
uncompressible, `undefined` is returned.
 | 
			
		||||
 | 
			
		||||
<!-- eslint-disable no-undef -->
 | 
			
		||||
 | 
			
		||||
```js
 | 
			
		||||
compressible('text/html') // => true
 | 
			
		||||
compressible('image/png') // => false
 | 
			
		||||
```
 | 
			
		||||
 | 
			
		||||
## License
 | 
			
		||||
 | 
			
		||||
[MIT](LICENSE)
 | 
			
		||||
 | 
			
		||||
[npm-image]: https://img.shields.io/npm/v/compressible.svg
 | 
			
		||||
[npm-url]: https://npmjs.org/package/compressible
 | 
			
		||||
[node-version-image]: https://img.shields.io/node/v/compressible.svg
 | 
			
		||||
[node-version-url]: https://nodejs.org/en/download/
 | 
			
		||||
[travis-image]: https://img.shields.io/travis/jshttp/compressible/master.svg
 | 
			
		||||
[travis-url]: https://travis-ci.org/jshttp/compressible
 | 
			
		||||
[coveralls-image]: https://img.shields.io/coveralls/jshttp/compressible/master.svg
 | 
			
		||||
[coveralls-url]: https://coveralls.io/r/jshttp/compressible?branch=master
 | 
			
		||||
[downloads-image]: https://img.shields.io/npm/dm/compressible.svg
 | 
			
		||||
[downloads-url]: https://npmjs.org/package/compressible
 | 
			
		||||
							
								
								
									
										58
									
								
								express-server/node_modules/compressible/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										58
									
								
								express-server/node_modules/compressible/index.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,58 @@
 | 
			
		||||
/*!
 | 
			
		||||
 * compressible
 | 
			
		||||
 * Copyright(c) 2013 Jonathan Ong
 | 
			
		||||
 * Copyright(c) 2014 Jeremiah Senkpiel
 | 
			
		||||
 * Copyright(c) 2015 Douglas Christopher Wilson
 | 
			
		||||
 * MIT Licensed
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
'use strict'
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Module dependencies.
 | 
			
		||||
 * @private
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
var db = require('mime-db')
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Module variables.
 | 
			
		||||
 * @private
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
var COMPRESSIBLE_TYPE_REGEXP = /^text\/|\+(?:json|text|xml)$/i
 | 
			
		||||
var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Module exports.
 | 
			
		||||
 * @public
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
module.exports = compressible
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Checks if a type is compressible.
 | 
			
		||||
 *
 | 
			
		||||
 * @param {string} type
 | 
			
		||||
 * @return {Boolean} compressible
 | 
			
		||||
 * @public
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
function compressible (type) {
 | 
			
		||||
  if (!type || typeof type !== 'string') {
 | 
			
		||||
    return false
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // strip parameters
 | 
			
		||||
  var match = EXTRACT_TYPE_REGEXP.exec(type)
 | 
			
		||||
  var mime = match && match[1].toLowerCase()
 | 
			
		||||
  var data = db[mime]
 | 
			
		||||
 | 
			
		||||
  // return database information
 | 
			
		||||
  if (data && data.compressible !== undefined) {
 | 
			
		||||
    return data.compressible
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // fallback to regexp or unknown
 | 
			
		||||
  return COMPRESSIBLE_TYPE_REGEXP.test(mime) || undefined
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										90
									
								
								express-server/node_modules/compressible/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										90
									
								
								express-server/node_modules/compressible/package.json
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,90 @@
 | 
			
		||||
{
 | 
			
		||||
  "_from": "compressible@^2.0.12",
 | 
			
		||||
  "_id": "compressible@2.0.15",
 | 
			
		||||
  "_inBundle": false,
 | 
			
		||||
  "_integrity": "sha512-4aE67DL33dSW9gw4CI2H/yTxqHLNcxp0yS6jB+4h+wr3e43+1z7vm0HU9qXOH8j+qjKuL8+UtkOxYQSMq60Ylw==",
 | 
			
		||||
  "_location": "/compressible",
 | 
			
		||||
  "_phantomChildren": {},
 | 
			
		||||
  "_requested": {
 | 
			
		||||
    "type": "range",
 | 
			
		||||
    "registry": true,
 | 
			
		||||
    "raw": "compressible@^2.0.12",
 | 
			
		||||
    "name": "compressible",
 | 
			
		||||
    "escapedName": "compressible",
 | 
			
		||||
    "rawSpec": "^2.0.12",
 | 
			
		||||
    "saveSpec": null,
 | 
			
		||||
    "fetchSpec": "^2.0.12"
 | 
			
		||||
  },
 | 
			
		||||
  "_requiredBy": [
 | 
			
		||||
    "/@google-cloud/storage"
 | 
			
		||||
  ],
 | 
			
		||||
  "_resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.15.tgz",
 | 
			
		||||
  "_shasum": "857a9ab0a7e5a07d8d837ed43fe2defff64fe212",
 | 
			
		||||
  "_spec": "compressible@^2.0.12",
 | 
			
		||||
  "_where": "D:\\Desktop\\Git\\Firebase\\SmartShopperFirebase\\node_modules\\@google-cloud\\storage",
 | 
			
		||||
  "bugs": {
 | 
			
		||||
    "url": "https://github.com/jshttp/compressible/issues"
 | 
			
		||||
  },
 | 
			
		||||
  "bundleDependencies": false,
 | 
			
		||||
  "contributors": [
 | 
			
		||||
    {
 | 
			
		||||
      "name": "Douglas Christopher Wilson",
 | 
			
		||||
      "email": "doug@somethingdoug.com"
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "name": "Jonathan Ong",
 | 
			
		||||
      "email": "me@jongleberry.com",
 | 
			
		||||
      "url": "http://jongleberry.com"
 | 
			
		||||
    },
 | 
			
		||||
    {
 | 
			
		||||
      "name": "Jeremiah Senkpiel",
 | 
			
		||||
      "email": "fishrock123@rocketmail.com",
 | 
			
		||||
      "url": "https://searchbeam.jit.su"
 | 
			
		||||
    }
 | 
			
		||||
  ],
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "mime-db": ">= 1.36.0 < 2"
 | 
			
		||||
  },
 | 
			
		||||
  "deprecated": false,
 | 
			
		||||
  "description": "Compressible Content-Type / mime checking",
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "eslint": "5.5.0",
 | 
			
		||||
    "eslint-config-standard": "12.0.0",
 | 
			
		||||
    "eslint-plugin-import": "2.14.0",
 | 
			
		||||
    "eslint-plugin-markdown": "1.0.0-beta.6",
 | 
			
		||||
    "eslint-plugin-node": "7.0.1",
 | 
			
		||||
    "eslint-plugin-promise": "4.0.1",
 | 
			
		||||
    "eslint-plugin-standard": "4.0.0",
 | 
			
		||||
    "mocha": "5.2.0",
 | 
			
		||||
    "nyc": "13.1.0"
 | 
			
		||||
  },
 | 
			
		||||
  "engines": {
 | 
			
		||||
    "node": ">= 0.6"
 | 
			
		||||
  },
 | 
			
		||||
  "files": [
 | 
			
		||||
    "HISTORY.md",
 | 
			
		||||
    "LICENSE",
 | 
			
		||||
    "README.md",
 | 
			
		||||
    "index.js"
 | 
			
		||||
  ],
 | 
			
		||||
  "homepage": "https://github.com/jshttp/compressible#readme",
 | 
			
		||||
  "keywords": [
 | 
			
		||||
    "compress",
 | 
			
		||||
    "gzip",
 | 
			
		||||
    "mime",
 | 
			
		||||
    "content-type"
 | 
			
		||||
  ],
 | 
			
		||||
  "license": "MIT",
 | 
			
		||||
  "name": "compressible",
 | 
			
		||||
  "repository": {
 | 
			
		||||
    "type": "git",
 | 
			
		||||
    "url": "git+https://github.com/jshttp/compressible.git"
 | 
			
		||||
  },
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "lint": "eslint --plugin markdown --ext js,md .",
 | 
			
		||||
    "test": "mocha --reporter spec --bail --check-leaks test/",
 | 
			
		||||
    "test-cov": "nyc --reporter=html --reporter=text npm test",
 | 
			
		||||
    "test-travis": "nyc --reporter=text npm test"
 | 
			
		||||
  },
 | 
			
		||||
  "version": "2.0.15"
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user