박민정

[fix] mongoDB error

Showing 964 changed files with 357 additions and 285 deletions
1 -# We-Shop
2 -쇼핑몰을 만들어보자 🛍
1 -// express module을 가져옴
2 const express = require('express') 1 const express = require('express')
3 -// 새로운 express app을 만듦
4 const app = express() 2 const app = express()
5 const port = 5000 3 const port = 5000
6 4
7 -<<<<<<< HEAD 5 +// User.js에서 만든 model을 가져옴
8 -// User.js 정보 가져옴 (회원가입 위해) 6 +const { User } = require('./models/User')
9 -const { User } = require("./models/User")
10 7
11 -// body-parsor 가져옴 (clinet에서 오는 정보를 서버에서 분석해서 가져올 수 있음) 8 +// body-parser 가져옴
12 const bodyParser = require('body-parser') 9 const bodyParser = require('body-parser')
13 -app.use(bodyParser.urlencoded({extended: true})) // application/x-www-form-urlencoded 로 되어있는 데이터를 분석해서 가져올 수 있음 10 +// bodyParser option
14 -app.use(bodyParser.json()) // application/json 으로 되어있는 데이터를 분석해서 가져올 수 있음 11 +app.use(bodyParser.urlencoded({extended: true})) //application/x-www-form-urlencoded로 된 데이터를 분석해서 가져옴
12 +app.use(bodyParser.json()) // application/json 타입으로 된 데이터를 분석해서 가져옴
15 13
16 const mongoose = require('mongoose') 14 const mongoose = require('mongoose')
17 -mongoose.connect('mongodb+srv://mindyeoi:aaa111@boilerplate.djq4a.mongodb.net/myFirstDatabase?retryWrites=true&w=majority', 15 +
18 -======= 16 +mongoose.connect('mongodb+srv://mindyeoi:aaa111@boilerplate.djq4a.mongodb.net/myFirstDatabase?retryWrites=true&w=majority', {
19 -const mongoose = require('mongoose')
20 -mongoose.connect('mongodb+srv://mindyeoi:20241004qw@boilerplate.djq4a.mongodb.net/myFirstDatabase?retryWrites=true&w=majority',
21 ->>>>>>> 8d4c706f8fbe0f97a457ec2881c56d7c0d2862b9
22 -{
23 useNewUrlParser: true, useUnifiedTopology: true, useCreateIndex: true, useFindAndModify: false 17 useNewUrlParser: true, useUnifiedTopology: true, useCreateIndex: true, useFindAndModify: false
24 -}).then(() => console.log('MongoDB connected...')) 18 +}).then(()=>console.log('MongoDB Connected...'))
25 .catch(err => console.log(err)) 19 .catch(err => console.log(err))
26 20
27 -app.get('/', (req, res) => res.send('Hello World!')) 21 +app.get('/', (req, res) => {
22 + res.send('Hello World!')
23 +})
28 24
29 -<<<<<<< HEAD 25 +// 회원가입 구현
30 -// 회원가입 기능 26 +// route의 endpoint는 register
31 -// post 메소드를 이용, end point는 register
32 app.post('/register', (req, res) => { 27 app.post('/register', (req, res) => {
33 - // 회원가입할 때 필요한 정보들(User.js에 있는 것들)을 client에서 가져오면 28 + // 회원가입할 때 필요한 정보들을 client에서 가져오면
34 // 그것들을 데이터베이스에 넣어준다. 29 // 그것들을 데이터베이스에 넣어준다.
35 30
36 - const user = new User(req.body) // bodyparser가 있기 때문에 여기 User의 정보를 들어가게 할 수 있음 31 + const user = new User(req.body) // req.body에 User의 정보를 저장
37 - user.save((err, userInfo) => {// 정보들이 user모델에 저장 32 +
38 - // 에러가 생기면 33 + // mongoDB에서 오는 메서드. 정보들이 user model에 저장
39 - if(err) return res.json({success:false, err}) //클라이언트에 에러가 있다고 json 형식으로 전달 34 + user.save((err, userInfo) => {
40 - // 성공하면 35 + // 만약 에러가 나면, json형식으로 success:false를 보내주고, 에러메시지를 보내줌
41 - return res.status(200).json({ 36 + if(err) return res.json({success: false, err})
42 - success: true // json형식으로 success: true 전달 37 + // 성공하면 status(200) (status(200)은 성공했다는 뜻)
43 - }) 38 + return res.status(200).json({
39 + success: true
40 + })
44 }) 41 })
45 42
46 }) 43 })
47 44
48 -======= 45 +app.listen(port, () => {
49 ->>>>>>> 8d4c706f8fbe0f97a457ec2881c56d7c0d2862b9
50 -app.listen(port, () =>
51 console.log(`Example app listening at http://localhost:${port}`) 46 console.log(`Example app listening at http://localhost:${port}`)
52 -) 47 +})
53 -
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/@types/bson/-/bson-4.0.3.tgz", 22 "_resolved": "https://registry.npmjs.org/@types/bson/-/bson-4.0.3.tgz",
23 "_shasum": "30889d2ffde6262abbe38659364c631454999fbf", 23 "_shasum": "30889d2ffde6262abbe38659364c631454999fbf",
24 "_spec": "@types/bson@*", 24 "_spec": "@types/bson@*",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/@types/mongodb", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/@types/mongodb",
26 "bugs": { 26 "bugs": {
27 "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" 27 "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
28 }, 28 },
......
...@@ -8,7 +8,7 @@ This package contains type definitions for MongoDB (https://github.com/mongodb/n ...@@ -8,7 +8,7 @@ This package contains type definitions for MongoDB (https://github.com/mongodb/n
8 Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mongodb. 8 Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mongodb.
9 9
10 ### Additional Details 10 ### Additional Details
11 - * Last updated: Fri, 21 May 2021 16:31:21 GMT 11 + * Last updated: Fri, 28 May 2021 20:31:25 GMT
12 * Dependencies: [@types/bson](https://npmjs.com/package/@types/bson), [@types/node](https://npmjs.com/package/@types/node) 12 * Dependencies: [@types/bson](https://npmjs.com/package/@types/bson), [@types/node](https://npmjs.com/package/@types/node)
13 * Global values: none 13 * Global values: none
14 14
......
...@@ -3965,7 +3965,7 @@ export class Cursor<T = Default> extends Readable { ...@@ -3965,7 +3965,7 @@ export class Cursor<T = Default> extends Readable {
3965 * @param value The flag boolean value. 3965 * @param value The flag boolean value.
3966 * @see https://mongodb.github.io/node-mongodb-native/3.6/api/Cursor.html#addCursorFlag 3966 * @see https://mongodb.github.io/node-mongodb-native/3.6/api/Cursor.html#addCursorFlag
3967 */ 3967 */
3968 - addCursorFlag(flag: string, value: boolean): Cursor<T>; 3968 + addCursorFlag(flag: 'tailable' | 'oplogReplay' | 'noCursorTimeout' | 'awaitData' | 'partial' | string, value: boolean): Cursor<T>;
3969 /** 3969 /**
3970 * Add a query modifier to the cursor query 3970 * Add a query modifier to the cursor query
3971 * 3971 *
......
1 { 1 {
2 "_from": "@types/mongodb@^3.5.27", 2 "_from": "@types/mongodb@^3.5.27",
3 - "_id": "@types/mongodb@3.6.16", 3 + "_id": "@types/mongodb@3.6.17",
4 "_inBundle": false, 4 "_inBundle": false,
5 - "_integrity": "sha512-D3tM0iRUet3TiIMAdvovxAIRG9gYqFd4j7visGwmPNdQj8Fq/uFFfRxyGCgEwVXAs0NnJPMI/QGVTADxDwhmSQ==", 5 + "_integrity": "sha512-9hhgvYPdC5iHyyksPcKCu45gfaAIPQHKHGdvNXu4582DmOZX3wrUJIJPT40o4G1oTKPgpMMFqZglOTjhnYoF+A==",
6 "_location": "/@types/mongodb", 6 "_location": "/@types/mongodb",
7 "_phantomChildren": {}, 7 "_phantomChildren": {},
8 "_requested": { 8 "_requested": {
...@@ -19,10 +19,10 @@ ...@@ -19,10 +19,10 @@
19 "_requiredBy": [ 19 "_requiredBy": [
20 "/mongoose" 20 "/mongoose"
21 ], 21 ],
22 - "_resolved": "https://registry.npmjs.org/@types/mongodb/-/mongodb-3.6.16.tgz", 22 + "_resolved": "https://registry.npmjs.org/@types/mongodb/-/mongodb-3.6.17.tgz",
23 - "_shasum": "7a48aaeb777f57e4655515ce18acbc68600dfeb9", 23 + "_shasum": "a8893654989cb11e9a241858bc530060b6fd126d",
24 "_spec": "@types/mongodb@^3.5.27", 24 "_spec": "@types/mongodb@^3.5.27",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongoose", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongoose",
26 "bugs": { 26 "bugs": {
27 "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" 27 "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
28 }, 28 },
...@@ -167,7 +167,7 @@ ...@@ -167,7 +167,7 @@
167 }, 167 },
168 "deprecated": false, 168 "deprecated": false,
169 "description": "TypeScript definitions for MongoDB", 169 "description": "TypeScript definitions for MongoDB",
170 - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme", 170 + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/mongodb",
171 "license": "MIT", 171 "license": "MIT",
172 "main": "", 172 "main": "",
173 "name": "@types/mongodb", 173 "name": "@types/mongodb",
...@@ -177,8 +177,8 @@ ...@@ -177,8 +177,8 @@
177 "directory": "types/mongodb" 177 "directory": "types/mongodb"
178 }, 178 },
179 "scripts": {}, 179 "scripts": {},
180 - "typeScriptVersion": "3.5", 180 + "typeScriptVersion": "3.6",
181 "types": "index.d.ts", 181 "types": "index.d.ts",
182 - "typesPublisherContentHash": "987beaa8db7bae4ff936d766be502eabfd25c0af4567efb6e87ed8c49c9789d0", 182 + "typesPublisherContentHash": "b6066acdbd0337b91c210765f292fe009ae3f8418d91a14009f3a9de14c85775",
183 - "version": "3.6.16" 183 + "version": "3.6.17"
184 } 184 }
......
...@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://nodejs.org/). ...@@ -8,7 +8,7 @@ This package contains type definitions for Node.js (http://nodejs.org/).
8 Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node. 8 Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node.
9 9
10 ### Additional Details 10 ### Additional Details
11 - * Last updated: Tue, 25 May 2021 00:01:37 GMT 11 + * Last updated: Wed, 02 Jun 2021 07:31:33 GMT
12 * Dependencies: none 12 * Dependencies: none
13 * Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout` 13 * Global values: `AbortController`, `AbortSignal`, `Buffer`, `__dirname`, `__filename`, `clearImmediate`, `clearInterval`, `clearTimeout`, `console`, `exports`, `global`, `module`, `process`, `queueMicrotask`, `require`, `setImmediate`, `setInterval`, `setTimeout`
14 14
......
1 { 1 {
2 "_from": "@types/node@*", 2 "_from": "@types/node@*",
3 - "_id": "@types/node@15.6.1", 3 + "_id": "@types/node@15.6.2",
4 "_inBundle": false, 4 "_inBundle": false,
5 - "_integrity": "sha512-7EIraBEyRHEe7CH+Fm1XvgqU6uwZN8Q7jppJGcqjROMT29qhAuuOxYB1uEY5UMYQKEmA5D+5tBnhdaPXSsLONA==", 5 + "_integrity": "sha512-dxcOx8801kMo3KlU+C+/ctWrzREAH7YvoF3aoVpRdqgs+Kf7flp+PJDN/EX5bME3suDUZHsxes9hpvBmzYlWbA==",
6 "_location": "/@types/node", 6 "_location": "/@types/node",
7 "_phantomChildren": {}, 7 "_phantomChildren": {},
8 "_requested": { 8 "_requested": {
...@@ -20,10 +20,10 @@ ...@@ -20,10 +20,10 @@
20 "/@types/bson", 20 "/@types/bson",
21 "/@types/mongodb" 21 "/@types/mongodb"
22 ], 22 ],
23 - "_resolved": "https://registry.npmjs.org/@types/node/-/node-15.6.1.tgz", 23 + "_resolved": "https://registry.npmjs.org/@types/node/-/node-15.6.2.tgz",
24 - "_shasum": "32d43390d5c62c5b6ec486a9bc9c59544de39a08", 24 + "_shasum": "c61d49f38af70da32424b5322eee21f97e627175",
25 "_spec": "@types/node@*", 25 "_spec": "@types/node@*",
26 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/@types/mongodb", 26 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/@types/mongodb",
27 "bugs": { 27 "bugs": {
28 "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues" 28 "url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
29 }, 29 },
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
197 "dependencies": {}, 197 "dependencies": {},
198 "deprecated": false, 198 "deprecated": false,
199 "description": "TypeScript definitions for Node.js", 199 "description": "TypeScript definitions for Node.js",
200 - "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped#readme", 200 + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node",
201 "license": "MIT", 201 "license": "MIT",
202 "main": "", 202 "main": "",
203 "name": "@types/node", 203 "name": "@types/node",
...@@ -207,9 +207,9 @@ ...@@ -207,9 +207,9 @@
207 "directory": "types/node" 207 "directory": "types/node"
208 }, 208 },
209 "scripts": {}, 209 "scripts": {},
210 - "typeScriptVersion": "3.5", 210 + "typeScriptVersion": "3.6",
211 "types": "index.d.ts", 211 "types": "index.d.ts",
212 - "typesPublisherContentHash": "f8f8a539a80cc272f918927a96e6cef5cc69df79ec257791f25651eb317ea354", 212 + "typesPublisherContentHash": "f62422deccbd466260cb63740d207022259eb7fc7b6e7c406be463b9d1b0cd19",
213 "typesVersions": { 213 "typesVersions": {
214 "<=3.6": { 214 "<=3.6": {
215 "*": [ 215 "*": [
...@@ -217,5 +217,5 @@ ...@@ -217,5 +217,5 @@
217 ] 217 ]
218 } 218 }
219 }, 219 },
220 - "version": "15.6.1" 220 + "version": "15.6.2"
221 } 221 }
......
...@@ -88,7 +88,10 @@ declare module 'perf_hooks' { ...@@ -88,7 +88,10 @@ declare module 'perf_hooks' {
88 * @param util1 The result of a previous call to eventLoopUtilization() 88 * @param util1 The result of a previous call to eventLoopUtilization()
89 * @param util2 The result of a previous call to eventLoopUtilization() prior to util1 89 * @param util2 The result of a previous call to eventLoopUtilization() prior to util1
90 */ 90 */
91 - type EventLoopUtilityFunction = (util1?: EventLoopUtilization, util2?: EventLoopUtilization) => EventLoopUtilization; 91 + type EventLoopUtilityFunction = (
92 + util1?: EventLoopUtilization,
93 + util2?: EventLoopUtilization,
94 + ) => EventLoopUtilization;
92 95
93 interface Performance { 96 interface Performance {
94 /** 97 /**
...@@ -122,7 +125,7 @@ declare module 'perf_hooks' { ...@@ -122,7 +125,7 @@ declare module 'perf_hooks' {
122 * @param startMark 125 * @param startMark
123 * @param endMark 126 * @param endMark
124 */ 127 */
125 - measure(name: string, startMark: string, endMark: string): void; 128 + measure(name: string, startMark?: string, endMark?: string): void;
126 129
127 /** 130 /**
128 * An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones. 131 * An instance of the PerformanceNodeTiming class that provides performance metrics for specific Node.js operational milestones.
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", 21 "_resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz",
22 "_shasum": "531bc726517a3b2b41f850021c6cc15eaab507cd", 22 "_shasum": "531bc726517a3b2b41f850021c6cc15eaab507cd",
23 "_spec": "accepts@~1.3.7", 23 "_spec": "accepts@~1.3.7",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
25 "bugs": { 25 "bugs": {
26 "url": "https://github.com/jshttp/accepts/issues" 26 "url": "https://github.com/jshttp/accepts/issues"
27 }, 27 },
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", 21 "_resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz",
22 "_shasum": "9a5f699051b1e7073328f2a008968b64ea2955d2", 22 "_shasum": "9a5f699051b1e7073328f2a008968b64ea2955d2",
23 "_spec": "array-flatten@1.1.1", 23 "_spec": "array-flatten@1.1.1",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
25 "author": { 25 "author": {
26 "name": "Blake Embrey", 26 "name": "Blake Embrey",
27 "email": "hello@blakeembrey.com", 27 "email": "hello@blakeembrey.com",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/bl/-/bl-2.2.1.tgz", 21 "_resolved": "https://registry.npmjs.org/bl/-/bl-2.2.1.tgz",
22 "_shasum": "8c11a7b730655c5d56898cdc871224f40fd901d5", 22 "_shasum": "8c11a7b730655c5d56898cdc871224f40fd901d5",
23 "_spec": "bl@^2.2.1", 23 "_spec": "bl@^2.2.1",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongodb", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongodb",
25 "authors": [ 25 "authors": [
26 "Rod Vagg <rod@vagg.org> (https://github.com/rvagg)", 26 "Rod Vagg <rod@vagg.org> (https://github.com/rvagg)",
27 "Matteo Collina <matteo.collina@gmail.com> (https://github.com/mcollina)", 27 "Matteo Collina <matteo.collina@gmail.com> (https://github.com/mcollina)",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz", 21 "_resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.1.tgz",
22 "_shasum": "d9551f9de98f1fcda1e683d17ee91a0602ee2eb9", 22 "_shasum": "d9551f9de98f1fcda1e683d17ee91a0602ee2eb9",
23 "_spec": "bluebird@3.5.1", 23 "_spec": "bluebird@3.5.1",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mquery", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mquery",
25 "author": { 25 "author": {
26 "name": "Petka Antonov", 26 "name": "Petka Antonov",
27 "email": "petka_antonov@hotmail.com", 27 "email": "petka_antonov@hotmail.com",
......
1 { 1 {
2 -<<<<<<< HEAD
3 "_from": "body-parser", 2 "_from": "body-parser",
4 -=======
5 - "_from": "body-parser@1.19.0",
6 ->>>>>>> 8d4c706f8fbe0f97a457ec2881c56d7c0d2862b9
7 "_id": "body-parser@1.19.0", 3 "_id": "body-parser@1.19.0",
8 "_inBundle": false, 4 "_inBundle": false,
9 "_integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", 5 "_integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==",
10 "_location": "/body-parser", 6 "_location": "/body-parser",
11 "_phantomChildren": {}, 7 "_phantomChildren": {},
12 "_requested": { 8 "_requested": {
13 -<<<<<<< HEAD
14 "type": "tag", 9 "type": "tag",
15 "registry": true, 10 "registry": true,
16 "raw": "body-parser", 11 "raw": "body-parser",
...@@ -23,29 +18,12 @@ ...@@ -23,29 +18,12 @@
23 "_requiredBy": [ 18 "_requiredBy": [
24 "#USER", 19 "#USER",
25 "/", 20 "/",
26 -=======
27 - "type": "version",
28 - "registry": true,
29 - "raw": "body-parser@1.19.0",
30 - "name": "body-parser",
31 - "escapedName": "body-parser",
32 - "rawSpec": "1.19.0",
33 - "saveSpec": null,
34 - "fetchSpec": "1.19.0"
35 - },
36 - "_requiredBy": [
37 ->>>>>>> 8d4c706f8fbe0f97a457ec2881c56d7c0d2862b9
38 "/express" 21 "/express"
39 ], 22 ],
40 "_resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", 23 "_resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz",
41 "_shasum": "96b2709e57c9c4e09a6fd66a8fd979844f69f08a", 24 "_shasum": "96b2709e57c9c4e09a6fd66a8fd979844f69f08a",
42 -<<<<<<< HEAD
43 "_spec": "body-parser", 25 "_spec": "body-parser",
44 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate", 26 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate",
45 -=======
46 - "_spec": "body-parser@1.19.0",
47 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express",
48 ->>>>>>> 8d4c706f8fbe0f97a457ec2881c56d7c0d2862b9
49 "bugs": { 27 "bugs": {
50 "url": "https://github.com/expressjs/body-parser/issues" 28 "url": "https://github.com/expressjs/body-parser/issues"
51 }, 29 },
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/bson/-/bson-1.1.6.tgz", 22 "_resolved": "https://registry.npmjs.org/bson/-/bson-1.1.6.tgz",
23 "_shasum": "fb819be9a60cd677e0853aee4ca712a785d6618a", 23 "_shasum": "fb819be9a60cd677e0853aee4ca712a785d6618a",
24 "_spec": "bson@^1.1.4", 24 "_spec": "bson@^1.1.4",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongoose", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongoose",
26 "author": { 26 "author": {
27 "name": "Christian Amor Kvalheim", 27 "name": "Christian Amor Kvalheim",
28 "email": "christkv@gmail.com" 28 "email": "christkv@gmail.com"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", 22 "_resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz",
23 "_shasum": "f6cf7933a360e0588fa9fde85651cdc7f805d1f6", 23 "_shasum": "f6cf7933a360e0588fa9fde85651cdc7f805d1f6",
24 "_spec": "bytes@3.1.0", 24 "_spec": "bytes@3.1.0",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/body-parser", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/body-parser",
26 "author": { 26 "author": {
27 "name": "TJ Holowaychuk", 27 "name": "TJ Holowaychuk",
28 "email": "tj@vision-media.ca", 28 "email": "tj@vision-media.ca",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", 21 "_resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz",
22 "_shasum": "e130caf7e7279087c5616c2007d0485698984fbd", 22 "_shasum": "e130caf7e7279087c5616c2007d0485698984fbd",
23 "_spec": "content-disposition@0.5.3", 23 "_spec": "content-disposition@0.5.3",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
25 "author": { 25 "author": {
26 "name": "Douglas Christopher Wilson", 26 "name": "Douglas Christopher Wilson",
27 "email": "doug@somethingdoug.com" 27 "email": "doug@somethingdoug.com"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", 22 "_resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz",
23 "_shasum": "e138cc75e040c727b1966fe5e5f8c9aee256fe3b", 23 "_shasum": "e138cc75e040c727b1966fe5e5f8c9aee256fe3b",
24 "_spec": "content-type@~1.0.4", 24 "_spec": "content-type@~1.0.4",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
26 "author": { 26 "author": {
27 "name": "Douglas Christopher Wilson", 27 "name": "Douglas Christopher Wilson",
28 "email": "doug@somethingdoug.com" 28 "email": "doug@somethingdoug.com"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", 21 "_resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
22 "_shasum": "e303a882b342cc3ee8ca513a79999734dab3ae2c", 22 "_shasum": "e303a882b342cc3ee8ca513a79999734dab3ae2c",
23 "_spec": "cookie-signature@1.0.6", 23 "_spec": "cookie-signature@1.0.6",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
25 "author": { 25 "author": {
26 "name": "TJ Holowaychuk", 26 "name": "TJ Holowaychuk",
27 "email": "tj@learnboost.com" 27 "email": "tj@learnboost.com"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", 21 "_resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz",
22 "_shasum": "beb437e7022b3b6d49019d088665303ebe9c14ba", 22 "_shasum": "beb437e7022b3b6d49019d088665303ebe9c14ba",
23 "_spec": "cookie@0.4.0", 23 "_spec": "cookie@0.4.0",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
25 "author": { 25 "author": {
26 "name": "Roman Shtylman", 26 "name": "Roman Shtylman",
27 "email": "shtylman@gmail.com" 27 "email": "shtylman@gmail.com"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 21 "_resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
22 "_shasum": "b5fd54220aa2bc5ab57aab7140c940754503c1a7", 22 "_shasum": "b5fd54220aa2bc5ab57aab7140c940754503c1a7",
23 "_spec": "core-util-is@~1.0.0", 23 "_spec": "core-util-is@~1.0.0",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/readable-stream", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/readable-stream",
25 "author": { 25 "author": {
26 "name": "Isaac Z. Schlueter", 26 "name": "Isaac Z. Schlueter",
27 "email": "i@izs.me", 27 "email": "i@izs.me",
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
24 "_resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 24 "_resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
25 "_shasum": "5d128515df134ff327e90a4c93f4e077a536341f", 25 "_shasum": "5d128515df134ff327e90a4c93f4e077a536341f",
26 "_spec": "debug@2.6.9", 26 "_spec": "debug@2.6.9",
27 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 27 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
28 "author": { 28 "author": {
29 "name": "TJ Holowaychuk", 29 "name": "TJ Holowaychuk",
30 "email": "tj@vision-media.ca" 30 "email": "tj@vision-media.ca"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/denque/-/denque-1.5.0.tgz", 21 "_resolved": "https://registry.npmjs.org/denque/-/denque-1.5.0.tgz",
22 "_shasum": "773de0686ff2d8ec2ff92914316a47b73b1c73de", 22 "_shasum": "773de0686ff2d8ec2ff92914316a47b73b1c73de",
23 "_spec": "denque@^1.4.1", 23 "_spec": "denque@^1.4.1",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongodb", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongodb",
25 "author": { 25 "author": {
26 "name": "Invertase", 26 "name": "Invertase",
27 "email": "oss@invertase.io", 27 "email": "oss@invertase.io",
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
24 "_resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", 24 "_resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz",
25 "_shasum": "9bcd52e14c097763e749b274c4346ed2e560b5a9", 25 "_shasum": "9bcd52e14c097763e749b274c4346ed2e560b5a9",
26 "_spec": "depd@~1.1.2", 26 "_spec": "depd@~1.1.2",
27 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 27 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
28 "author": { 28 "author": {
29 "name": "Douglas Christopher Wilson", 29 "name": "Douglas Christopher Wilson",
30 "email": "doug@somethingdoug.com" 30 "email": "doug@somethingdoug.com"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", 21 "_resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz",
22 "_shasum": "978857442c44749e4206613e37946205826abd80", 22 "_shasum": "978857442c44749e4206613e37946205826abd80",
23 "_spec": "destroy@~1.0.4", 23 "_spec": "destroy@~1.0.4",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/send", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/send",
25 "author": { 25 "author": {
26 "name": "Jonathan Ong", 26 "name": "Jonathan Ong",
27 "email": "me@jongleberry.com", 27 "email": "me@jongleberry.com",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", 21 "_resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz",
22 "_shasum": "590c61156b0ae2f4f0255732a158b266bc56b21d", 22 "_shasum": "590c61156b0ae2f4f0255732a158b266bc56b21d",
23 "_spec": "ee-first@1.1.1", 23 "_spec": "ee-first@1.1.1",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/on-finished", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/on-finished",
25 "author": { 25 "author": {
26 "name": "Jonathan Ong", 26 "name": "Jonathan Ong",
27 "email": "me@jongleberry.com", 27 "email": "me@jongleberry.com",
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
24 "_resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", 24 "_resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz",
25 "_shasum": "ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59", 25 "_shasum": "ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59",
26 "_spec": "encodeurl@~1.0.2", 26 "_spec": "encodeurl@~1.0.2",
27 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 27 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
28 "bugs": { 28 "bugs": {
29 "url": "https://github.com/pillarjs/encodeurl/issues" 29 "url": "https://github.com/pillarjs/encodeurl/issues"
30 }, 30 },
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
24 "_resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", 24 "_resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz",
25 "_shasum": "0258eae4d3d0c0974de1c169188ef0051d1d1988", 25 "_shasum": "0258eae4d3d0c0974de1c169188ef0051d1d1988",
26 "_spec": "escape-html@~1.0.3", 26 "_spec": "escape-html@~1.0.3",
27 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 27 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
28 "bugs": { 28 "bugs": {
29 "url": "https://github.com/component/escape-html/issues" 29 "url": "https://github.com/component/escape-html/issues"
30 }, 30 },
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", 22 "_resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz",
23 "_shasum": "41ae2eeb65efa62268aebfea83ac7d79299b0887", 23 "_shasum": "41ae2eeb65efa62268aebfea83ac7d79299b0887",
24 "_spec": "etag@~1.8.1", 24 "_spec": "etag@~1.8.1",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
26 "bugs": { 26 "bugs": {
27 "url": "https://github.com/jshttp/etag/issues" 27 "url": "https://github.com/jshttp/etag/issues"
28 }, 28 },
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", 22 "_resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz",
23 "_shasum": "4491fc38605cf51f8629d39c2b5d026f98a4c134", 23 "_shasum": "4491fc38605cf51f8629d39c2b5d026f98a4c134",
24 "_spec": "express", 24 "_spec": "express",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate",
26 "author": { 26 "author": {
27 "name": "TJ Holowaychuk", 27 "name": "TJ Holowaychuk",
28 "email": "tj@vision-media.ca" 28 "email": "tj@vision-media.ca"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", 21 "_resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz",
22 "_shasum": "b7e7d000ffd11938d0fdb053506f6ebabe9f587d", 22 "_shasum": "b7e7d000ffd11938d0fdb053506f6ebabe9f587d",
23 "_spec": "finalhandler@~1.1.2", 23 "_spec": "finalhandler@~1.1.2",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
25 "author": { 25 "author": {
26 "name": "Douglas Christopher Wilson", 26 "name": "Douglas Christopher Wilson",
27 "email": "doug@somethingdoug.com" 27 "email": "doug@somethingdoug.com"
......
1 +0.2.0 / 2021-05-31
2 +==================
3 +
4 + * Use `req.socket` over deprecated `req.connection`
5 +
1 0.1.2 / 2017-09-14 6 0.1.2 / 2017-09-14
2 ================== 7 ==================
3 8
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
3 [![NPM Version][npm-image]][npm-url] 3 [![NPM Version][npm-image]][npm-url]
4 [![NPM Downloads][downloads-image]][downloads-url] 4 [![NPM Downloads][downloads-image]][downloads-url]
5 [![Node.js Version][node-version-image]][node-version-url] 5 [![Node.js Version][node-version-image]][node-version-url]
6 -[![Build Status][travis-image]][travis-url] 6 +[![Build Status][ci-image]][ci-url]
7 [![Test Coverage][coveralls-image]][coveralls-url] 7 [![Test Coverage][coveralls-image]][coveralls-url]
8 8
9 Parse HTTP X-Forwarded-For header 9 Parse HTTP X-Forwarded-For header
...@@ -45,12 +45,12 @@ $ npm test ...@@ -45,12 +45,12 @@ $ npm test
45 45
46 [MIT](LICENSE) 46 [MIT](LICENSE)
47 47
48 +[ci-image]: https://badgen.net/github/checks/jshttp/forwarded/master?label=ci
49 +[ci-url]: https://github.com/jshttp/forwarded/actions?query=workflow%3Aci
48 [npm-image]: https://img.shields.io/npm/v/forwarded.svg 50 [npm-image]: https://img.shields.io/npm/v/forwarded.svg
49 [npm-url]: https://npmjs.org/package/forwarded 51 [npm-url]: https://npmjs.org/package/forwarded
50 [node-version-image]: https://img.shields.io/node/v/forwarded.svg 52 [node-version-image]: https://img.shields.io/node/v/forwarded.svg
51 [node-version-url]: https://nodejs.org/en/download/ 53 [node-version-url]: https://nodejs.org/en/download/
52 -[travis-image]: https://img.shields.io/travis/jshttp/forwarded/master.svg
53 -[travis-url]: https://travis-ci.org/jshttp/forwarded
54 [coveralls-image]: https://img.shields.io/coveralls/jshttp/forwarded/master.svg 54 [coveralls-image]: https://img.shields.io/coveralls/jshttp/forwarded/master.svg
55 [coveralls-url]: https://coveralls.io/r/jshttp/forwarded?branch=master 55 [coveralls-url]: https://coveralls.io/r/jshttp/forwarded?branch=master
56 [downloads-image]: https://img.shields.io/npm/dm/forwarded.svg 56 [downloads-image]: https://img.shields.io/npm/dm/forwarded.svg
......
...@@ -28,7 +28,7 @@ function forwarded (req) { ...@@ -28,7 +28,7 @@ function forwarded (req) {
28 28
29 // simple header parsing 29 // simple header parsing
30 var proxyAddrs = parse(req.headers['x-forwarded-for'] || '') 30 var proxyAddrs = parse(req.headers['x-forwarded-for'] || '')
31 - var socketAddr = req.connection.remoteAddress 31 + var socketAddr = getSocketAddr(req)
32 var addrs = [socketAddr].concat(proxyAddrs) 32 var addrs = [socketAddr].concat(proxyAddrs)
33 33
34 // return all addresses 34 // return all addresses
...@@ -36,6 +36,20 @@ function forwarded (req) { ...@@ -36,6 +36,20 @@ function forwarded (req) {
36 } 36 }
37 37
38 /** 38 /**
39 + * Get the socket address for a request.
40 + *
41 + * @param {object} req
42 + * @return {string}
43 + * @private
44 + */
45 +
46 +function getSocketAddr (req) {
47 + return req.socket
48 + ? req.socket.remoteAddress
49 + : req.connection.remoteAddress
50 +}
51 +
52 +/**
39 * Parse the X-Forwarded-For header. 53 * Parse the X-Forwarded-For header.
40 * 54 *
41 * @param {string} header 55 * @param {string} header
......
1 { 1 {
2 - "_from": "forwarded@~0.1.2", 2 + "_from": "forwarded@0.2.0",
3 - "_id": "forwarded@0.1.2", 3 + "_id": "forwarded@0.2.0",
4 "_inBundle": false, 4 "_inBundle": false,
5 - "_integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", 5 + "_integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==",
6 "_location": "/forwarded", 6 "_location": "/forwarded",
7 "_phantomChildren": {}, 7 "_phantomChildren": {},
8 "_requested": { 8 "_requested": {
9 - "type": "range", 9 + "type": "version",
10 "registry": true, 10 "registry": true,
11 - "raw": "forwarded@~0.1.2", 11 + "raw": "forwarded@0.2.0",
12 "name": "forwarded", 12 "name": "forwarded",
13 "escapedName": "forwarded", 13 "escapedName": "forwarded",
14 - "rawSpec": "~0.1.2", 14 + "rawSpec": "0.2.0",
15 "saveSpec": null, 15 "saveSpec": null,
16 - "fetchSpec": "~0.1.2" 16 + "fetchSpec": "0.2.0"
17 }, 17 },
18 "_requiredBy": [ 18 "_requiredBy": [
19 "/proxy-addr" 19 "/proxy-addr"
20 ], 20 ],
21 - "_resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", 21 + "_resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
22 - "_shasum": "98c23dab1175657b8c0573e8ceccd91b0ff18c84", 22 + "_shasum": "2269936428aad4c15c7ebe9779a84bf0b2a81811",
23 - "_spec": "forwarded@~0.1.2", 23 + "_spec": "forwarded@0.2.0",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/proxy-addr", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/proxy-addr",
25 "bugs": { 25 "bugs": {
26 "url": "https://github.com/jshttp/forwarded/issues" 26 "url": "https://github.com/jshttp/forwarded/issues"
27 }, 27 },
...@@ -37,14 +37,15 @@ ...@@ -37,14 +37,15 @@
37 "devDependencies": { 37 "devDependencies": {
38 "beautify-benchmark": "0.2.4", 38 "beautify-benchmark": "0.2.4",
39 "benchmark": "2.1.4", 39 "benchmark": "2.1.4",
40 - "eslint": "3.19.0", 40 + "deep-equal": "1.0.1",
41 - "eslint-config-standard": "10.2.1", 41 + "eslint": "7.27.0",
42 - "eslint-plugin-import": "2.7.0", 42 + "eslint-config-standard": "14.1.1",
43 - "eslint-plugin-node": "5.1.1", 43 + "eslint-plugin-import": "2.23.4",
44 - "eslint-plugin-promise": "3.5.0", 44 + "eslint-plugin-node": "11.1.0",
45 - "eslint-plugin-standard": "3.0.1", 45 + "eslint-plugin-promise": "4.3.1",
46 - "istanbul": "0.4.5", 46 + "eslint-plugin-standard": "4.1.0",
47 - "mocha": "1.21.5" 47 + "mocha": "8.4.0",
48 + "nyc": "15.1.0"
48 }, 49 },
49 "engines": { 50 "engines": {
50 "node": ">= 0.6" 51 "node": ">= 0.6"
...@@ -71,8 +72,9 @@ ...@@ -71,8 +72,9 @@
71 "bench": "node benchmark/index.js", 72 "bench": "node benchmark/index.js",
72 "lint": "eslint .", 73 "lint": "eslint .",
73 "test": "mocha --reporter spec --bail --check-leaks test/", 74 "test": "mocha --reporter spec --bail --check-leaks test/",
74 - "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/", 75 + "test-ci": "nyc --reporter=lcov --reporter=text npm test",
75 - "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/" 76 + "test-cov": "nyc --reporter=html --reporter=text npm test",
77 + "version": "node scripts/version-history.js && git add HISTORY.md"
76 }, 78 },
77 - "version": "0.1.2" 79 + "version": "0.2.0"
78 } 80 }
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", 22 "_resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",
23 "_shasum": "3d8cadd90d976569fa835ab1f8e4b23a105605a7", 23 "_shasum": "3d8cadd90d976569fa835ab1f8e4b23a105605a7",
24 "_spec": "fresh@0.5.2", 24 "_spec": "fresh@0.5.2",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
26 "author": { 26 "author": {
27 "name": "TJ Holowaychuk", 27 "name": "TJ Holowaychuk",
28 "email": "tj@vision-media.ca", 28 "email": "tj@vision-media.ca",
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
23 "_resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", 23 "_resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
24 "_shasum": "4f5029cf13239f31036e5b2e55292bcfbcc85c8f", 24 "_shasum": "4f5029cf13239f31036e5b2e55292bcfbcc85c8f",
25 "_spec": "http-errors@1.7.2", 25 "_spec": "http-errors@1.7.2",
26 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/body-parser", 26 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/body-parser",
27 "author": { 27 "author": {
28 "name": "Jonathan Ong", 28 "name": "Jonathan Ong",
29 "email": "me@jongleberry.com", 29 "email": "me@jongleberry.com",
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 22 "_resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz",
23 "_shasum": "2022b4b25fbddc21d2f524974a474aafe733908b", 23 "_shasum": "2022b4b25fbddc21d2f524974a474aafe733908b",
24 "_spec": "iconv-lite@0.4.24", 24 "_spec": "iconv-lite@0.4.24",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/body-parser", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/body-parser",
26 "author": { 26 "author": {
27 "name": "Alexander Shtuchkin", 27 "name": "Alexander Shtuchkin",
28 "email": "ashtuchkin@gmail.com" 28 "email": "ashtuchkin@gmail.com"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", 21 "_resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
22 "_shasum": "633c2c83e3da42a502f52466022480f4208261de", 22 "_shasum": "633c2c83e3da42a502f52466022480f4208261de",
23 "_spec": "inherits@2.0.3", 23 "_spec": "inherits@2.0.3",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/http-errors", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/http-errors",
25 "browser": "./inherits_browser.js", 25 "browser": "./inherits_browser.js",
26 "bugs": { 26 "bugs": {
27 "url": "https://github.com/isaacs/inherits/issues" 27 "url": "https://github.com/isaacs/inherits/issues"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", 21 "_resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz",
22 "_shasum": "bff38543eeb8984825079ff3a2a8e6cbd46781b3", 22 "_shasum": "bff38543eeb8984825079ff3a2a8e6cbd46781b3",
23 "_spec": "ipaddr.js@1.9.1", 23 "_spec": "ipaddr.js@1.9.1",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/proxy-addr", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/proxy-addr",
25 "author": { 25 "author": {
26 "name": "whitequark", 26 "name": "whitequark",
27 "email": "whitequark@whitequark.org" 27 "email": "whitequark@whitequark.org"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 21 "_resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
22 "_shasum": "bb935d48582cba168c06834957a54a3e07124f11", 22 "_shasum": "bb935d48582cba168c06834957a54a3e07124f11",
23 "_spec": "isarray@~1.0.0", 23 "_spec": "isarray@~1.0.0",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/readable-stream", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/readable-stream",
25 "author": { 25 "author": {
26 "name": "Julian Gruber", 26 "name": "Julian Gruber",
27 "email": "mail@juliangruber.com", 27 "email": "mail@juliangruber.com",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/kareem/-/kareem-2.3.2.tgz", 21 "_resolved": "https://registry.npmjs.org/kareem/-/kareem-2.3.2.tgz",
22 "_shasum": "78c4508894985b8d38a0dc15e1a8e11078f2ca93", 22 "_shasum": "78c4508894985b8d38a0dc15e1a8e11078f2ca93",
23 "_spec": "kareem@2.3.2", 23 "_spec": "kareem@2.3.2",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongoose", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongoose",
25 "author": { 25 "author": {
26 "name": "Valeri Karpov", 26 "name": "Valeri Karpov",
27 "email": "val@karpov.io" 27 "email": "val@karpov.io"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", 21 "_resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz",
22 "_shasum": "8710d7af0aa626f8fffa1ce00168545263255748", 22 "_shasum": "8710d7af0aa626f8fffa1ce00168545263255748",
23 "_spec": "media-typer@0.3.0", 23 "_spec": "media-typer@0.3.0",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/type-is", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/type-is",
25 "author": { 25 "author": {
26 "name": "Douglas Christopher Wilson", 26 "name": "Douglas Christopher Wilson",
27 "email": "doug@somethingdoug.com" 27 "email": "doug@somethingdoug.com"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz", 21 "_resolved": "https://registry.npmjs.org/memory-pager/-/memory-pager-1.5.0.tgz",
22 "_shasum": "d8751655d22d384682741c972f2c3d6dfa3e66b5", 22 "_shasum": "d8751655d22d384682741c972f2c3d6dfa3e66b5",
23 "_spec": "memory-pager@^1.0.2", 23 "_spec": "memory-pager@^1.0.2",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/sparse-bitfield", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/sparse-bitfield",
25 "author": { 25 "author": {
26 "name": "Mathias Buus", 26 "name": "Mathias Buus",
27 "url": "@mafintosh" 27 "url": "@mafintosh"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", 21 "_resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz",
22 "_shasum": "b00aaa556dd8b44568150ec9d1b953f3f90cbb61", 22 "_shasum": "b00aaa556dd8b44568150ec9d1b953f3f90cbb61",
23 "_spec": "merge-descriptors@1.0.1", 23 "_spec": "merge-descriptors@1.0.1",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
25 "author": { 25 "author": {
26 "name": "Jonathan Ong", 26 "name": "Jonathan Ong",
27 "email": "me@jongleberry.com", 27 "email": "me@jongleberry.com",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", 21 "_resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz",
22 "_shasum": "5529a4d67654134edcc5266656835b0f851afcee", 22 "_shasum": "5529a4d67654134edcc5266656835b0f851afcee",
23 "_spec": "methods@~1.1.2", 23 "_spec": "methods@~1.1.2",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
25 "browser": { 25 "browser": {
26 "http": false 26 "http": false
27 }, 27 },
......
1 +1.48.0 / 2021-05-30
2 +===================
3 +
4 + * Add extension `.mvt` to `application/vnd.mapbox-vector-tile`
5 + * Add new upstream MIME types
6 + * Mark `text/yaml` as compressible
7 +
1 1.47.0 / 2021-04-01 8 1.47.0 / 2021-04-01
2 =================== 9 ===================
3 10
......
...@@ -11,6 +11,14 @@ ...@@ -11,6 +11,14 @@
11 "source": "iana", 11 "source": "iana",
12 "compressible": true 12 "compressible": true
13 }, 13 },
14 + "application/3gpphal+json": {
15 + "source": "iana",
16 + "compressible": true
17 + },
18 + "application/3gpphalforms+json": {
19 + "source": "iana",
20 + "compressible": true
21 + },
14 "application/a2l": { 22 "application/a2l": {
15 "source": "iana" 23 "source": "iana"
16 }, 24 },
...@@ -999,6 +1007,9 @@ ...@@ -999,6 +1007,9 @@
999 "application/nss": { 1007 "application/nss": {
1000 "source": "iana" 1008 "source": "iana"
1001 }, 1009 },
1010 + "application/oauth-authz-req+jwt": {
1011 + "source": "iana"
1012 + },
1002 "application/ocsp-request": { 1013 "application/ocsp-request": {
1003 "source": "iana" 1014 "source": "iana"
1004 }, 1015 },
...@@ -1342,6 +1353,10 @@ ...@@ -1342,6 +1353,10 @@
1342 "source": "iana", 1353 "source": "iana",
1343 "compressible": true 1354 "compressible": true
1344 }, 1355 },
1356 + "application/sarif-external-properties+json": {
1357 + "source": "iana",
1358 + "compressible": true
1359 + },
1345 "application/sbe": { 1360 "application/sbe": {
1346 "source": "iana" 1361 "source": "iana"
1347 }, 1362 },
...@@ -1696,6 +1711,9 @@ ...@@ -1696,6 +1711,9 @@
1696 "application/vnd.3gpp-v2x-local-service-information": { 1711 "application/vnd.3gpp-v2x-local-service-information": {
1697 "source": "iana" 1712 "source": "iana"
1698 }, 1713 },
1714 + "application/vnd.3gpp.5gnas": {
1715 + "source": "iana"
1716 + },
1699 "application/vnd.3gpp.access-transfer-events+xml": { 1717 "application/vnd.3gpp.access-transfer-events+xml": {
1700 "source": "iana", 1718 "source": "iana",
1701 "compressible": true 1719 "compressible": true
...@@ -1708,9 +1726,15 @@ ...@@ -1708,9 +1726,15 @@
1708 "source": "iana", 1726 "source": "iana",
1709 "compressible": true 1727 "compressible": true
1710 }, 1728 },
1729 + "application/vnd.3gpp.gtpc": {
1730 + "source": "iana"
1731 + },
1711 "application/vnd.3gpp.interworking-data": { 1732 "application/vnd.3gpp.interworking-data": {
1712 "source": "iana" 1733 "source": "iana"
1713 }, 1734 },
1735 + "application/vnd.3gpp.lpp": {
1736 + "source": "iana"
1737 + },
1714 "application/vnd.3gpp.mc-signalling-ear": { 1738 "application/vnd.3gpp.mc-signalling-ear": {
1715 "source": "iana" 1739 "source": "iana"
1716 }, 1740 },
...@@ -1820,6 +1844,12 @@ ...@@ -1820,6 +1844,12 @@
1820 "source": "iana", 1844 "source": "iana",
1821 "compressible": true 1845 "compressible": true
1822 }, 1846 },
1847 + "application/vnd.3gpp.ngap": {
1848 + "source": "iana"
1849 + },
1850 + "application/vnd.3gpp.pfcp": {
1851 + "source": "iana"
1852 + },
1823 "application/vnd.3gpp.pic-bw-large": { 1853 "application/vnd.3gpp.pic-bw-large": {
1824 "source": "iana", 1854 "source": "iana",
1825 "extensions": ["plb"] 1855 "extensions": ["plb"]
...@@ -1832,6 +1862,9 @@ ...@@ -1832,6 +1862,9 @@
1832 "source": "iana", 1862 "source": "iana",
1833 "extensions": ["pvb"] 1863 "extensions": ["pvb"]
1834 }, 1864 },
1865 + "application/vnd.3gpp.s1ap": {
1866 + "source": "iana"
1867 + },
1835 "application/vnd.3gpp.sms": { 1868 "application/vnd.3gpp.sms": {
1836 "source": "iana" 1869 "source": "iana"
1837 }, 1870 },
...@@ -2322,6 +2355,9 @@ ...@@ -2322,6 +2355,9 @@
2322 "application/vnd.cryptomator.encrypted": { 2355 "application/vnd.cryptomator.encrypted": {
2323 "source": "iana" 2356 "source": "iana"
2324 }, 2357 },
2358 + "application/vnd.cryptomator.vault": {
2359 + "source": "iana"
2360 + },
2325 "application/vnd.ctc-posml": { 2361 "application/vnd.ctc-posml": {
2326 "source": "iana", 2362 "source": "iana",
2327 "extensions": ["pml"] 2363 "extensions": ["pml"]
...@@ -2817,6 +2853,19 @@ ...@@ -2817,6 +2853,19 @@
2817 "source": "iana", 2853 "source": "iana",
2818 "extensions": ["fsc"] 2854 "extensions": ["fsc"]
2819 }, 2855 },
2856 + "application/vnd.fujifilm.fb.docuworks": {
2857 + "source": "iana"
2858 + },
2859 + "application/vnd.fujifilm.fb.docuworks.binder": {
2860 + "source": "iana"
2861 + },
2862 + "application/vnd.fujifilm.fb.docuworks.container": {
2863 + "source": "iana"
2864 + },
2865 + "application/vnd.fujifilm.fb.jfi+xml": {
2866 + "source": "iana",
2867 + "compressible": true
2868 + },
2820 "application/vnd.fujitsu.oasys": { 2869 "application/vnd.fujitsu.oasys": {
2821 "source": "iana", 2870 "source": "iana",
2822 "extensions": ["oas"] 2871 "extensions": ["oas"]
...@@ -3427,7 +3476,8 @@ ...@@ -3427,7 +3476,8 @@
3427 "extensions": ["portpkg"] 3476 "extensions": ["portpkg"]
3428 }, 3477 },
3429 "application/vnd.mapbox-vector-tile": { 3478 "application/vnd.mapbox-vector-tile": {
3430 - "source": "iana" 3479 + "source": "iana",
3480 + "extensions": ["mvt"]
3431 }, 3481 },
3432 "application/vnd.marlin.drm.actiontoken+xml": { 3482 "application/vnd.marlin.drm.actiontoken+xml": {
3433 "source": "iana", 3483 "source": "iana",
...@@ -5438,6 +5488,7 @@ ...@@ -5438,6 +5488,7 @@
5438 "source": "iana" 5488 "source": "iana"
5439 }, 5489 },
5440 "application/wasm": { 5490 "application/wasm": {
5491 + "source": "iana",
5441 "compressible": true, 5492 "compressible": true,
5442 "extensions": ["wasm"] 5493 "extensions": ["wasm"]
5443 }, 5494 },
...@@ -7400,6 +7451,9 @@ ...@@ -7400,6 +7451,9 @@
7400 "source": "iana", 7451 "source": "iana",
7401 "extensions": ["x_t"] 7452 "extensions": ["x_t"]
7402 }, 7453 },
7454 + "model/vnd.pytha.pyox": {
7455 + "source": "iana"
7456 + },
7403 "model/vnd.rosette.annotated-data-model": { 7457 "model/vnd.rosette.annotated-data-model": {
7404 "source": "iana" 7458 "source": "iana"
7405 }, 7459 },
...@@ -7682,6 +7736,7 @@ ...@@ -7682,6 +7736,7 @@
7682 "source": "iana" 7736 "source": "iana"
7683 }, 7737 },
7684 "text/shex": { 7738 "text/shex": {
7739 + "source": "iana",
7685 "extensions": ["shex"] 7740 "extensions": ["shex"]
7686 }, 7741 },
7687 "text/slim": { 7742 "text/slim": {
...@@ -7953,6 +8008,7 @@ ...@@ -7953,6 +8008,7 @@
7953 "source": "iana" 8008 "source": "iana"
7954 }, 8009 },
7955 "text/yaml": { 8010 "text/yaml": {
8011 + "compressible": true,
7956 "extensions": ["yaml","yml"] 8012 "extensions": ["yaml","yml"]
7957 }, 8013 },
7958 "video/1d-interleaved-parityfec": { 8014 "video/1d-interleaved-parityfec": {
......
1 { 1 {
2 - "_from": "mime-db@1.47.0", 2 + "_from": "mime-db@1.48.0",
3 - "_id": "mime-db@1.47.0", 3 + "_id": "mime-db@1.48.0",
4 "_inBundle": false, 4 "_inBundle": false,
5 - "_integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==", 5 + "_integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ==",
6 "_location": "/mime-db", 6 "_location": "/mime-db",
7 "_phantomChildren": {}, 7 "_phantomChildren": {},
8 "_requested": { 8 "_requested": {
9 "type": "version", 9 "type": "version",
10 "registry": true, 10 "registry": true,
11 - "raw": "mime-db@1.47.0", 11 + "raw": "mime-db@1.48.0",
12 "name": "mime-db", 12 "name": "mime-db",
13 "escapedName": "mime-db", 13 "escapedName": "mime-db",
14 - "rawSpec": "1.47.0", 14 + "rawSpec": "1.48.0",
15 "saveSpec": null, 15 "saveSpec": null,
16 - "fetchSpec": "1.47.0" 16 + "fetchSpec": "1.48.0"
17 }, 17 },
18 "_requiredBy": [ 18 "_requiredBy": [
19 "/mime-types" 19 "/mime-types"
20 ], 20 ],
21 - "_resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", 21 + "_resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz",
22 - "_shasum": "8cb313e59965d3c05cfbf898915a267af46a335c", 22 + "_shasum": "e35b31045dd7eada3aaad537ed88a33afbef2d1d",
23 - "_spec": "mime-db@1.47.0", 23 + "_spec": "mime-db@1.48.0",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mime-types", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mime-types",
25 "bugs": { 25 "bugs": {
26 "url": "https://github.com/jshttp/mime-db/issues" 26 "url": "https://github.com/jshttp/mime-db/issues"
27 }, 27 },
...@@ -48,16 +48,16 @@ ...@@ -48,16 +48,16 @@
48 "bluebird": "3.7.2", 48 "bluebird": "3.7.2",
49 "co": "4.6.0", 49 "co": "4.6.0",
50 "cogent": "1.0.1", 50 "cogent": "1.0.1",
51 - "csv-parse": "4.15.3", 51 + "csv-parse": "4.15.4",
52 - "eslint": "7.23.0", 52 + "eslint": "7.27.0",
53 "eslint-config-standard": "15.0.1", 53 "eslint-config-standard": "15.0.1",
54 - "eslint-plugin-import": "2.22.1", 54 + "eslint-plugin-import": "2.23.4",
55 - "eslint-plugin-markdown": "2.0.0", 55 + "eslint-plugin-markdown": "2.2.0",
56 "eslint-plugin-node": "11.1.0", 56 "eslint-plugin-node": "11.1.0",
57 - "eslint-plugin-promise": "4.3.1", 57 + "eslint-plugin-promise": "5.1.0",
58 "eslint-plugin-standard": "4.1.0", 58 "eslint-plugin-standard": "4.1.0",
59 "gnode": "0.1.2", 59 "gnode": "0.1.2",
60 - "mocha": "8.3.2", 60 + "mocha": "8.4.0",
61 "nyc": "15.1.0", 61 "nyc": "15.1.0",
62 "raw-body": "2.4.1", 62 "raw-body": "2.4.1",
63 "stream-to-array": "2.3.0" 63 "stream-to-array": "2.3.0"
...@@ -98,5 +98,5 @@ ...@@ -98,5 +98,5 @@
98 "update": "npm run fetch && npm run build", 98 "update": "npm run fetch && npm run build",
99 "version": "node scripts/version-history.js && git add HISTORY.md" 99 "version": "node scripts/version-history.js && git add HISTORY.md"
100 }, 100 },
101 - "version": "1.47.0" 101 + "version": "1.48.0"
102 } 102 }
......
1 +2.1.31 / 2021-06-01
2 +===================
3 +
4 + * deps: mime-db@1.48.0
5 + - Add extension `.mvt` to `application/vnd.mapbox-vector-tile`
6 + - Add new upstream MIME types
7 + - Mark `text/yaml` as compressible
8 +
1 2.1.30 / 2021-04-02 9 2.1.30 / 2021-04-02
2 =================== 10 ===================
3 11
......
1 { 1 {
2 "_from": "mime-types@~2.1.24", 2 "_from": "mime-types@~2.1.24",
3 - "_id": "mime-types@2.1.30", 3 + "_id": "mime-types@2.1.31",
4 "_inBundle": false, 4 "_inBundle": false,
5 - "_integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", 5 + "_integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==",
6 "_location": "/mime-types", 6 "_location": "/mime-types",
7 "_phantomChildren": {}, 7 "_phantomChildren": {},
8 "_requested": { 8 "_requested": {
...@@ -19,10 +19,10 @@ ...@@ -19,10 +19,10 @@
19 "/accepts", 19 "/accepts",
20 "/type-is" 20 "/type-is"
21 ], 21 ],
22 - "_resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", 22 + "_resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz",
23 - "_shasum": "6e7be8b4c479825f85ed6326695db73f9305d62d", 23 + "_shasum": "a00d76b74317c61f9c2db2218b8e9f8e9c5c9e6b",
24 "_spec": "mime-types@~2.1.24", 24 "_spec": "mime-types@~2.1.24",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/accepts", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/accepts",
26 "bugs": { 26 "bugs": {
27 "url": "https://github.com/jshttp/mime-types/issues" 27 "url": "https://github.com/jshttp/mime-types/issues"
28 }, 28 },
...@@ -44,19 +44,19 @@ ...@@ -44,19 +44,19 @@
44 } 44 }
45 ], 45 ],
46 "dependencies": { 46 "dependencies": {
47 - "mime-db": "1.47.0" 47 + "mime-db": "1.48.0"
48 }, 48 },
49 "deprecated": false, 49 "deprecated": false,
50 "description": "The ultimate javascript content-type utility.", 50 "description": "The ultimate javascript content-type utility.",
51 "devDependencies": { 51 "devDependencies": {
52 - "eslint": "7.23.0", 52 + "eslint": "7.27.0",
53 "eslint-config-standard": "14.1.1", 53 "eslint-config-standard": "14.1.1",
54 - "eslint-plugin-import": "2.22.1", 54 + "eslint-plugin-import": "2.23.4",
55 - "eslint-plugin-markdown": "2.0.0", 55 + "eslint-plugin-markdown": "2.2.0",
56 "eslint-plugin-node": "11.1.0", 56 "eslint-plugin-node": "11.1.0",
57 - "eslint-plugin-promise": "4.3.1", 57 + "eslint-plugin-promise": "5.1.0",
58 "eslint-plugin-standard": "4.1.0", 58 "eslint-plugin-standard": "4.1.0",
59 - "mocha": "8.3.2", 59 + "mocha": "8.4.0",
60 "nyc": "15.1.0" 60 "nyc": "15.1.0"
61 }, 61 },
62 "engines": { 62 "engines": {
...@@ -84,5 +84,5 @@ ...@@ -84,5 +84,5 @@
84 "test-ci": "nyc --reporter=lcov --reporter=text npm test", 84 "test-ci": "nyc --reporter=lcov --reporter=text npm test",
85 "test-cov": "nyc --reporter=html --reporter=text npm test" 85 "test-cov": "nyc --reporter=html --reporter=text npm test"
86 }, 86 },
87 - "version": "2.1.30" 87 + "version": "2.1.31"
88 } 88 }
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", 21 "_resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz",
22 "_shasum": "32cd9e5c64553bd58d19a568af452acff04981b1", 22 "_shasum": "32cd9e5c64553bd58d19a568af452acff04981b1",
23 "_spec": "mime@1.6.0", 23 "_spec": "mime@1.6.0",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/send", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/send",
25 "author": { 25 "author": {
26 "name": "Robert Kieffer", 26 "name": "Robert Kieffer",
27 "email": "robert@broofa.com", 27 "email": "robert@broofa.com",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.6.8.tgz", 21 "_resolved": "https://registry.npmjs.org/mongodb/-/mongodb-3.6.8.tgz",
22 "_shasum": "3e2632af81915b3ff99b7681121ca0895e8ed407", 22 "_shasum": "3e2632af81915b3ff99b7681121ca0895e8ed407",
23 "_spec": "mongodb@3.6.8", 23 "_spec": "mongodb@3.6.8",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongoose", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongoose",
25 "bugs": { 25 "bugs": {
26 "url": "https://github.com/mongodb/node-mongodb-native/issues" 26 "url": "https://github.com/mongodb/node-mongodb-native/issues"
27 }, 27 },
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/mongoose-legacy-pluralize/-/mongoose-legacy-pluralize-1.0.2.tgz", 21 "_resolved": "https://registry.npmjs.org/mongoose-legacy-pluralize/-/mongoose-legacy-pluralize-1.0.2.tgz",
22 "_shasum": "3ba9f91fa507b5186d399fb40854bff18fb563e4", 22 "_shasum": "3ba9f91fa507b5186d399fb40854bff18fb563e4",
23 "_spec": "mongoose-legacy-pluralize@1.0.2", 23 "_spec": "mongoose-legacy-pluralize@1.0.2",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongoose", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongoose",
25 "author": { 25 "author": {
26 "name": "Valeri Karpov", 26 "name": "Valeri Karpov",
27 "email": "val@karpov.io" 27 "email": "val@karpov.io"
......
1 +5.12.12 / 2021-05-28
2 +====================
3 + * fix(documentarray): retain atomics when setting to a new array #10272
4 + * fix(query+model): fix deprecation warning for `returnOriginal` with `findOneAndUpdate()` #10298 #10297 #10292 #10285 [IslandRhythms](https://github.com/IslandRhythms)
5 + * fix(index.d.ts): make `map()` result an array if used over an array #10288 [quantumsheep](https://github.com/quantumsheep)
6 +
1 5.12.11 / 2021-05-24 7 5.12.11 / 2021-05-24
2 ==================== 8 ====================
3 * fix(populate): skip applying setters when casting arrays for populate() to avoid issues with arrays of immutable elements #10264 9 * fix(populate): skip applying setters when casting arrays for populate() to avoid issues with arrays of immutable elements #10264
......
...@@ -924,6 +924,10 @@ declare module 'mongoose' { ...@@ -924,6 +924,10 @@ declare module 'mongoose' {
924 * An alias for the `new` option. `returnOriginal: false` is equivalent to `new: true`. 924 * An alias for the `new` option. `returnOriginal: false` is equivalent to `new: true`.
925 */ 925 */
926 returnOriginal?: boolean; 926 returnOriginal?: boolean;
927 + /**
928 + * Another alias for the `new` option. `returnOriginal` is deprecated so this should be used.
929 + */
930 + returnDocument?: string;
927 runValidators?: boolean; 931 runValidators?: boolean;
928 /** The session associated with this query. */ 932 /** The session associated with this query. */
929 session?: mongodb.ClientSession; 933 session?: mongodb.ClientSession;
...@@ -1883,7 +1887,7 @@ declare module 'mongoose' { ...@@ -1883,7 +1887,7 @@ declare module 'mongoose' {
1883 } 1887 }
1884 } 1888 }
1885 1889
1886 - type ReturnsNewDoc = { new: true } | { returnOriginal: false }; 1890 + type ReturnsNewDoc = { new: true } | { returnOriginal: false } | {returnDocument: 'after'};
1887 1891
1888 type QueryWithHelpers<ResultType, DocType extends Document, THelpers = {}> = Query<ResultType, DocType, THelpers> & THelpers; 1892 type QueryWithHelpers<ResultType, DocType extends Document, THelpers = {}> = Query<ResultType, DocType, THelpers> & THelpers;
1889 1893
...@@ -2096,7 +2100,7 @@ declare module 'mongoose' { ...@@ -2096,7 +2100,7 @@ declare module 'mongoose' {
2096 * Runs a function `fn` and treats the return value of `fn` as the new value 2100 * Runs a function `fn` and treats the return value of `fn` as the new value
2097 * for the query to resolve to. 2101 * for the query to resolve to.
2098 */ 2102 */
2099 - map<MappedType>(fn: (doc: DocType) => MappedType): QueryWithHelpers<MappedType, DocType, THelpers>; 2103 + map<MappedType>(fn: (doc: DocType) => MappedType): QueryWithHelpers<ResultType extends unknown[] ? MappedType[] : MappedType, DocType, THelpers>;
2100 2104
2101 /** Specifies an `$maxDistance` query condition. When called with one argument, the most recent path passed to `where()` is used. */ 2105 /** Specifies an `$maxDistance` query condition. When called with one argument, the most recent path passed to `where()` is used. */
2102 maxDistance(val: number): this; 2106 maxDistance(val: number): this;
......
...@@ -3109,7 +3109,7 @@ Query.prototype.findOneAndUpdate = function(criteria, doc, options, callback) { ...@@ -3109,7 +3109,7 @@ Query.prototype.findOneAndUpdate = function(criteria, doc, options, callback) {
3109 3109
3110 3110
3111 const returnOriginal = get(this, 'model.base.options.returnOriginal'); 3111 const returnOriginal = get(this, 'model.base.options.returnOriginal');
3112 - if (options.returnOriginal == null && returnOriginal != null) { 3112 + if (options.new == null && options.returnDocument == null && options.returnOriginal == null && returnOriginal != null) {
3113 options.returnOriginal = returnOriginal; 3113 options.returnOriginal = returnOriginal;
3114 } 3114 }
3115 3115
...@@ -3435,10 +3435,9 @@ Query.prototype.findOneAndReplace = function(filter, replacement, options, callb ...@@ -3435,10 +3435,9 @@ Query.prototype.findOneAndReplace = function(filter, replacement, options, callb
3435 options = options || {}; 3435 options = options || {};
3436 3436
3437 const returnOriginal = get(this, 'model.base.options.returnOriginal'); 3437 const returnOriginal = get(this, 'model.base.options.returnOriginal');
3438 - if (options.returnOriginal == null && returnOriginal != null) { 3438 + if (options.new == null && options.returnDocument == null && options.returnOriginal == null && returnOriginal != null) {
3439 options.returnOriginal = returnOriginal; 3439 options.returnOriginal = returnOriginal;
3440 } 3440 }
3441 -
3442 this.setOptions(options); 3441 this.setOptions(options);
3443 this.setOptions({ overwrite: true }); 3442 this.setOptions({ overwrite: true });
3444 3443
...@@ -3468,7 +3467,7 @@ Query.prototype._findOneAndReplace = wrapThunk(function(callback) { ...@@ -3468,7 +3467,7 @@ Query.prototype._findOneAndReplace = wrapThunk(function(callback) {
3468 3467
3469 const filter = this._conditions; 3468 const filter = this._conditions;
3470 const options = this._optionsForExec(); 3469 const options = this._optionsForExec();
3471 - convertNewToReturnOriginal(options); 3470 + convertNewToReturnDocument(options);
3472 let fields = null; 3471 let fields = null;
3473 3472
3474 let castedDoc = new this.model(this._update, null, true); 3473 let castedDoc = new this.model(this._update, null, true);
...@@ -3510,11 +3509,15 @@ Query.prototype._findOneAndReplace = wrapThunk(function(callback) { ...@@ -3510,11 +3509,15 @@ Query.prototype._findOneAndReplace = wrapThunk(function(callback) {
3510 * compat. 3509 * compat.
3511 */ 3510 */
3512 3511
3513 -function convertNewToReturnOriginal(options) { 3512 +function convertNewToReturnDocument(options) {
3514 if ('new' in options) { 3513 if ('new' in options) {
3515 - options.returnOriginal = !options['new']; 3514 + options.returnDocument = options['new'] ? 'after' : 'before';
3516 delete options['new']; 3515 delete options['new'];
3517 } 3516 }
3517 + if ('returnOriginal' in options) {
3518 + options.returnDocument = options['returnOriginal'] ? 'before' : 'after';
3519 + delete options['returnOriginal'];
3520 + }
3518 } 3521 }
3519 3522
3520 /*! 3523 /*!
...@@ -3669,7 +3672,7 @@ Query.prototype._findAndModify = function(type, callback) { ...@@ -3669,7 +3672,7 @@ Query.prototype._findAndModify = function(type, callback) {
3669 if (useFindAndModify === false) { 3672 if (useFindAndModify === false) {
3670 // Bypass mquery 3673 // Bypass mquery
3671 const collection = _this._collection.collection; 3674 const collection = _this._collection.collection;
3672 - convertNewToReturnOriginal(opts); 3675 + convertNewToReturnDocument(opts);
3673 3676
3674 if (type === 'remove') { 3677 if (type === 'remove') {
3675 collection.findOneAndDelete(castedQuery, opts, _wrapThunkCallback(_this, function(error, res) { 3678 collection.findOneAndDelete(castedQuery, opts, _wrapThunkCallback(_this, function(error, res) {
......
...@@ -18,6 +18,7 @@ const util = require('util'); ...@@ -18,6 +18,7 @@ const util = require('util');
18 const utils = require('../utils'); 18 const utils = require('../utils');
19 const getConstructor = require('../helpers/discriminator/getConstructor'); 19 const getConstructor = require('../helpers/discriminator/getConstructor');
20 20
21 +const arrayAtomicsSymbol = require('../helpers/symbols').arrayAtomicsSymbol;
21 const arrayPathSymbol = require('../helpers/symbols').arrayPathSymbol; 22 const arrayPathSymbol = require('../helpers/symbols').arrayPathSymbol;
22 const documentArrayParent = require('../helpers/symbols').documentArrayParent; 23 const documentArrayParent = require('../helpers/symbols').documentArrayParent;
23 24
...@@ -401,6 +402,10 @@ DocumentArrayPath.prototype.cast = function(value, doc, init, prev, options) { ...@@ -401,6 +402,10 @@ DocumentArrayPath.prototype.cast = function(value, doc, init, prev, options) {
401 value = new MongooseDocumentArray(value, this.path, doc); 402 value = new MongooseDocumentArray(value, this.path, doc);
402 } 403 }
403 404
405 + if (prev != null) {
406 + value[arrayAtomicsSymbol] = prev[arrayAtomicsSymbol] || {};
407 + }
408 +
404 if (options.arrayPathIndex != null) { 409 if (options.arrayPathIndex != null) {
405 value[arrayPathSymbol] = this.path + '.' + options.arrayPathIndex; 410 value[arrayPathSymbol] = this.path + '.' + options.arrayPathIndex;
406 } 411 }
......
...@@ -1097,7 +1097,6 @@ SchemaType.prototype._castNullish = function _castNullish(v) { ...@@ -1097,7 +1097,6 @@ SchemaType.prototype._castNullish = function _castNullish(v) {
1097 1097
1098 SchemaType.prototype.applySetters = function(value, scope, init, priorVal, options) { 1098 SchemaType.prototype.applySetters = function(value, scope, init, priorVal, options) {
1099 let v = this._applySetters(value, scope, init, priorVal, options); 1099 let v = this._applySetters(value, scope, init, priorVal, options);
1100 -
1101 if (v == null) { 1100 if (v == null) {
1102 return this._castNullish(v); 1101 return this._castNullish(v);
1103 } 1102 }
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 21 "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
22 "_shasum": "d09d1f357b443f493382a8eb3ccd183872ae6009", 22 "_shasum": "d09d1f357b443f493382a8eb3ccd183872ae6009",
23 "_spec": "ms@2.1.2", 23 "_spec": "ms@2.1.2",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongoose", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongoose",
25 "bugs": { 25 "bugs": {
26 "url": "https://github.com/zeit/ms/issues" 26 "url": "https://github.com/zeit/ms/issues"
27 }, 27 },
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", 21 "_resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz",
22 "_shasum": "1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6", 22 "_shasum": "1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6",
23 "_spec": "safe-buffer@5.2.1", 23 "_spec": "safe-buffer@5.2.1",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongoose", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongoose",
25 "author": { 25 "author": {
26 "name": "Feross Aboukhadijeh", 26 "name": "Feross Aboukhadijeh",
27 "email": "feross@feross.org", 27 "email": "feross@feross.org",
......
1 { 1 {
2 "_from": "mongoose", 2 "_from": "mongoose",
3 - "_id": "mongoose@5.12.11", 3 + "_id": "mongoose@5.12.12",
4 "_inBundle": false, 4 "_inBundle": false,
5 - "_integrity": "sha512-16TVqYhHQdZNR8RTis/8iiTPy+nJPq0UhKyBFTucLLU3PWcDLY2gAGv6aOk0LygTNhEfgNnENgUUHhjVqTuh8w==", 5 + "_integrity": "sha512-n+ZmGApaL5x/r92w6S4pb+c075i+YKzg1F9YWkznSzQMtvetj/2dSjj2cqsITpd6z60k3K7ZaosIl6hzHwUA9g==",
6 "_location": "/mongoose", 6 "_location": "/mongoose",
7 "_phantomChildren": {}, 7 "_phantomChildren": {},
8 "_requested": { 8 "_requested": {
...@@ -19,10 +19,10 @@ ...@@ -19,10 +19,10 @@
19 "#USER", 19 "#USER",
20 "/" 20 "/"
21 ], 21 ],
22 - "_resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.12.11.tgz", 22 + "_resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.12.12.tgz",
23 - "_shasum": "e4531e4075aeed86db6482b2f1b5564570934d4c", 23 + "_shasum": "7da29c7d7924ad1fb07b5c5fc0acde2f4aaff4f9",
24 "_spec": "mongoose", 24 "_spec": "mongoose",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate",
26 "author": { 26 "author": {
27 "name": "Guillermo Rauch", 27 "name": "Guillermo Rauch",
28 "email": "guillermo@learnboost.com" 28 "email": "guillermo@learnboost.com"
...@@ -278,5 +278,5 @@ ...@@ -278,5 +278,5 @@
278 "test": "mocha --exit ./test/*.test.js ./test/typescript/main.test.js", 278 "test": "mocha --exit ./test/*.test.js ./test/typescript/main.test.js",
279 "test-cov": "nyc --reporter=html --reporter=text npm test" 279 "test-cov": "nyc --reporter=html --reporter=text npm test"
280 }, 280 },
281 - "version": "5.12.11" 281 + "version": "5.12.12"
282 } 282 }
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/mpath/-/mpath-0.8.3.tgz", 21 "_resolved": "https://registry.npmjs.org/mpath/-/mpath-0.8.3.tgz",
22 "_shasum": "828ac0d187f7f42674839d74921970979abbdd8f", 22 "_shasum": "828ac0d187f7f42674839d74921970979abbdd8f",
23 "_spec": "mpath@0.8.3", 23 "_spec": "mpath@0.8.3",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongoose", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongoose",
25 "author": { 25 "author": {
26 "name": "Aaron Heckmann", 26 "name": "Aaron Heckmann",
27 "email": "aaron.heckmann+github@gmail.com" 27 "email": "aaron.heckmann+github@gmail.com"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", 21 "_resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz",
22 "_shasum": "5bb5a0672628b64149566ba16819e61518c67261", 22 "_shasum": "5bb5a0672628b64149566ba16819e61518c67261",
23 "_spec": "debug@3.1.0", 23 "_spec": "debug@3.1.0",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mquery", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mquery",
25 "author": { 25 "author": {
26 "name": "TJ Holowaychuk", 26 "name": "TJ Holowaychuk",
27 "email": "tj@vision-media.ca" 27 "email": "tj@vision-media.ca"
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
23 "_resolved": "https://registry.npmjs.org/mquery/-/mquery-3.2.5.tgz", 23 "_resolved": "https://registry.npmjs.org/mquery/-/mquery-3.2.5.tgz",
24 "_shasum": "8f2305632e4bb197f68f60c0cffa21aaf4060c51", 24 "_shasum": "8f2305632e4bb197f68f60c0cffa21aaf4060c51",
25 "_spec": "mquery@3.2.5", 25 "_spec": "mquery@3.2.5",
26 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongoose", 26 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongoose",
27 "author": { 27 "author": {
28 "name": "Aaron Heckmann", 28 "name": "Aaron Heckmann",
29 "email": "aaron.heckmann+github@gmail.com" 29 "email": "aaron.heckmann+github@gmail.com"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 21 "_resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz",
22 "_shasum": "5608aeadfc00be6c2901df5f9861788de0d597c8", 22 "_shasum": "5608aeadfc00be6c2901df5f9861788de0d597c8",
23 "_spec": "ms@2.0.0", 23 "_spec": "ms@2.0.0",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/debug", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/debug",
25 "bugs": { 25 "bugs": {
26 "url": "https://github.com/zeit/ms/issues" 26 "url": "https://github.com/zeit/ms/issues"
27 }, 27 },
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", 21 "_resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz",
22 "_shasum": "feacf7ccf525a77ae9634436a64883ffeca346fb", 22 "_shasum": "feacf7ccf525a77ae9634436a64883ffeca346fb",
23 "_spec": "negotiator@0.6.2", 23 "_spec": "negotiator@0.6.2",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/accepts", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/accepts",
25 "bugs": { 25 "bugs": {
26 "url": "https://github.com/jshttp/negotiator/issues" 26 "url": "https://github.com/jshttp/negotiator/issues"
27 }, 27 },
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
24 "_resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", 24 "_resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz",
25 "_shasum": "20f1336481b083cd75337992a16971aa2d906947", 25 "_shasum": "20f1336481b083cd75337992a16971aa2d906947",
26 "_spec": "on-finished@~2.3.0", 26 "_spec": "on-finished@~2.3.0",
27 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 27 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
28 "bugs": { 28 "bugs": {
29 "url": "https://github.com/jshttp/on-finished/issues" 29 "url": "https://github.com/jshttp/on-finished/issues"
30 }, 30 },
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/optional-require/-/optional-require-1.0.3.tgz", 21 "_resolved": "https://registry.npmjs.org/optional-require/-/optional-require-1.0.3.tgz",
22 "_shasum": "275b8e9df1dc6a17ad155369c2422a440f89cb07", 22 "_shasum": "275b8e9df1dc6a17ad155369c2422a440f89cb07",
23 "_spec": "optional-require@^1.0.3", 23 "_spec": "optional-require@^1.0.3",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongodb", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongodb",
25 "author": { 25 "author": {
26 "name": "Joel Chen" 26 "name": "Joel Chen"
27 }, 27 },
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
23 "_resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", 23 "_resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
24 "_shasum": "9da19e7bee8d12dff0513ed5b76957793bc2e8d4", 24 "_shasum": "9da19e7bee8d12dff0513ed5b76957793bc2e8d4",
25 "_spec": "parseurl@~1.3.3", 25 "_spec": "parseurl@~1.3.3",
26 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 26 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
27 "bugs": { 27 "bugs": {
28 "url": "https://github.com/pillarjs/parseurl/issues" 28 "url": "https://github.com/pillarjs/parseurl/issues"
29 }, 29 },
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", 21 "_resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz",
22 "_shasum": "df604178005f522f15eb4490e7247a1bfaa67f8c", 22 "_shasum": "df604178005f522f15eb4490e7247a1bfaa67f8c",
23 "_spec": "path-to-regexp@0.1.7", 23 "_spec": "path-to-regexp@0.1.7",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
25 "bugs": { 25 "bugs": {
26 "url": "https://github.com/component/path-to-regexp/issues" 26 "url": "https://github.com/component/path-to-regexp/issues"
27 }, 27 },
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 21 "_resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
22 "_shasum": "7820d9b16120cc55ca9ae7792680ae7dba6d7fe2", 22 "_shasum": "7820d9b16120cc55ca9ae7792680ae7dba6d7fe2",
23 "_spec": "process-nextick-args@~2.0.0", 23 "_spec": "process-nextick-args@~2.0.0",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/readable-stream", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/readable-stream",
25 "author": "", 25 "author": "",
26 "bugs": { 26 "bugs": {
27 "url": "https://github.com/calvinmetcalf/process-nextick-args/issues" 27 "url": "https://github.com/calvinmetcalf/process-nextick-args/issues"
......
1 +2.0.7 / 2021-05-31
2 +==================
3 +
4 + * deps: forwarded@0.2.0
5 + - Use `req.socket` over deprecated `req.connection`
6 +
1 2.0.6 / 2020-02-24 7 2.0.6 / 2020-02-24
2 ================== 8 ==================
3 9
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
3 [![NPM Version][npm-version-image]][npm-url] 3 [![NPM Version][npm-version-image]][npm-url]
4 [![NPM Downloads][npm-downloads-image]][npm-url] 4 [![NPM Downloads][npm-downloads-image]][npm-url]
5 [![Node.js Version][node-image]][node-url] 5 [![Node.js Version][node-image]][node-url]
6 -[![Build Status][travis-image]][travis-url] 6 +[![Build Status][ci-image]][ci-url]
7 [![Test Coverage][coveralls-image]][coveralls-url] 7 [![Test Coverage][coveralls-image]][coveralls-url]
8 8
9 Determine address of proxied request 9 Determine address of proxied request
...@@ -20,8 +20,6 @@ $ npm install proxy-addr ...@@ -20,8 +20,6 @@ $ npm install proxy-addr
20 20
21 ## API 21 ## API
22 22
23 -<!-- eslint-disable no-unused-vars -->
24 -
25 ```js 23 ```js
26 var proxyaddr = require('proxy-addr') 24 var proxyaddr = require('proxy-addr')
27 ``` 25 ```
...@@ -34,8 +32,6 @@ The `trust` argument is a function that returns `true` if you trust ...@@ -34,8 +32,6 @@ The `trust` argument is a function that returns `true` if you trust
34 the address, `false` if you don't. The closest untrusted address is 32 the address, `false` if you don't. The closest untrusted address is
35 returned. 33 returned.
36 34
37 -<!-- eslint-disable no-undef -->
38 -
39 ```js 35 ```js
40 proxyaddr(req, function (addr) { return addr === '127.0.0.1' }) 36 proxyaddr(req, function (addr) { return addr === '127.0.0.1' })
41 proxyaddr(req, function (addr, i) { return i < 1 }) 37 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 ...@@ -45,8 +41,6 @@ The `trust` arugment may also be a single IP address string or an
45 array of trusted addresses, as plain IP addresses, CIDR-formatted 41 array of trusted addresses, as plain IP addresses, CIDR-formatted
46 strings, or IP/netmask strings. 42 strings, or IP/netmask strings.
47 43
48 -<!-- eslint-disable no-undef -->
49 -
50 ```js 44 ```js
51 proxyaddr(req, '127.0.0.1') 45 proxyaddr(req, '127.0.0.1')
52 proxyaddr(req, ['127.0.0.0/8', '10.0.0.0/8']) 46 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']) ...@@ -56,8 +50,6 @@ proxyaddr(req, ['127.0.0.0/255.0.0.0', '192.168.0.0/255.255.0.0'])
56 This module also supports IPv6. Your IPv6 addresses will be normalized 50 This module also supports IPv6. Your IPv6 addresses will be normalized
57 automatically (i.e. `fe80::00ed:1` equals `fe80:0:0:0:0:0:ed:1`). 51 automatically (i.e. `fe80::00ed:1` equals `fe80:0:0:0:0:0:ed:1`).
58 52
59 -<!-- eslint-disable no-undef -->
60 -
61 ```js 53 ```js
62 proxyaddr(req, '::1') 54 proxyaddr(req, '::1')
63 proxyaddr(req, ['::1/128', 'fe80::/10']) 55 proxyaddr(req, ['::1/128', 'fe80::/10'])
...@@ -70,8 +62,6 @@ not have to specify both `::ffff:a00:1` and `10.0.0.1`. ...@@ -70,8 +62,6 @@ not have to specify both `::ffff:a00:1` and `10.0.0.1`.
70 As a convenience, this module also takes certain pre-defined names 62 As a convenience, this module also takes certain pre-defined names
71 in addition to IP addresses, which expand into IP addresses: 63 in addition to IP addresses, which expand into IP addresses:
72 64
73 -<!-- eslint-disable no-undef -->
74 -
75 ```js 65 ```js
76 proxyaddr(req, 'loopback') 66 proxyaddr(req, 'loopback')
77 proxyaddr(req, ['loopback', 'fc00:ac:1ab5:fff::1/64']) 67 proxyaddr(req, ['loopback', 'fc00:ac:1ab5:fff::1/64'])
...@@ -96,8 +86,6 @@ Return all the addresses of the request, optionally stopping at the ...@@ -96,8 +86,6 @@ Return all the addresses of the request, optionally stopping at the
96 first untrusted. This array is ordered from closest to furthest 86 first untrusted. This array is ordered from closest to furthest
97 (i.e. `arr[0] === req.connection.remoteAddress`). 87 (i.e. `arr[0] === req.connection.remoteAddress`).
98 88
99 -<!-- eslint-disable no-undef -->
100 -
101 ```js 89 ```js
102 proxyaddr.all(req) 90 proxyaddr.all(req)
103 ``` 91 ```
...@@ -105,8 +93,6 @@ proxyaddr.all(req) ...@@ -105,8 +93,6 @@ proxyaddr.all(req)
105 The optional `trust` argument takes the same arguments as `trust` 93 The optional `trust` argument takes the same arguments as `trust`
106 does in `proxyaddr(req, trust)`. 94 does in `proxyaddr(req, trust)`.
107 95
108 -<!-- eslint-disable no-undef -->
109 -
110 ```js 96 ```js
111 proxyaddr.all(req, 'loopback') 97 proxyaddr.all(req, 'loopback')
112 ``` 98 ```
...@@ -117,8 +103,6 @@ Compiles argument `val` into a `trust` function. This function takes ...@@ -117,8 +103,6 @@ Compiles argument `val` into a `trust` function. This function takes
117 the same arguments as `trust` does in `proxyaddr(req, trust)` and 103 the same arguments as `trust` does in `proxyaddr(req, trust)` and
118 returns a function suitable for `proxyaddr(req, trust)`. 104 returns a function suitable for `proxyaddr(req, trust)`.
119 105
120 -<!-- eslint-disable no-undef, no-unused-vars -->
121 -
122 ```js 106 ```js
123 var trust = proxyaddr.compile('loopback') 107 var trust = proxyaddr.compile('loopback')
124 var addr = proxyaddr(req, trust) 108 var addr = proxyaddr(req, trust)
...@@ -144,6 +128,8 @@ $ npm run-script bench ...@@ -144,6 +128,8 @@ $ npm run-script bench
144 128
145 [MIT](LICENSE) 129 [MIT](LICENSE)
146 130
131 +[ci-image]: https://badgen.net/github/checks/jshttp/proxy-addr/master?label=ci
132 +[ci-url]: https://github.com/jshttp/proxy-addr/actions?query=workflow%3Aci
147 [coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/proxy-addr/master 133 [coveralls-image]: https://badgen.net/coveralls/c/github/jshttp/proxy-addr/master
148 [coveralls-url]: https://coveralls.io/r/jshttp/proxy-addr?branch=master 134 [coveralls-url]: https://coveralls.io/r/jshttp/proxy-addr?branch=master
149 [node-image]: https://badgen.net/npm/node/proxy-addr 135 [node-image]: https://badgen.net/npm/node/proxy-addr
...@@ -151,5 +137,3 @@ $ npm run-script bench ...@@ -151,5 +137,3 @@ $ npm run-script bench
151 [npm-downloads-image]: https://badgen.net/npm/dm/proxy-addr 137 [npm-downloads-image]: https://badgen.net/npm/dm/proxy-addr
152 [npm-url]: https://npmjs.org/package/proxy-addr 138 [npm-url]: https://npmjs.org/package/proxy-addr
153 [npm-version-image]: https://badgen.net/npm/v/proxy-addr 139 [npm-version-image]: https://badgen.net/npm/v/proxy-addr
154 -[travis-image]: https://badgen.net/travis/jshttp/proxy-addr/master
155 -[travis-url]: https://travis-ci.org/jshttp/proxy-addr
......
1 { 1 {
2 "_from": "proxy-addr@~2.0.5", 2 "_from": "proxy-addr@~2.0.5",
3 - "_id": "proxy-addr@2.0.6", 3 + "_id": "proxy-addr@2.0.7",
4 "_inBundle": false, 4 "_inBundle": false,
5 - "_integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==", 5 + "_integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
6 "_location": "/proxy-addr", 6 "_location": "/proxy-addr",
7 "_phantomChildren": {}, 7 "_phantomChildren": {},
8 "_requested": { 8 "_requested": {
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
18 "_requiredBy": [ 18 "_requiredBy": [
19 "/express" 19 "/express"
20 ], 20 ],
21 - "_resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz", 21 + "_resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
22 - "_shasum": "fdc2336505447d3f2f2c638ed272caf614bbb2bf", 22 + "_shasum": "f19fe69ceab311eeb94b42e70e8c2070f9ba1025",
23 "_spec": "proxy-addr@~2.0.5", 23 "_spec": "proxy-addr@~2.0.5",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
25 "author": { 25 "author": {
26 "name": "Douglas Christopher Wilson", 26 "name": "Douglas Christopher Wilson",
27 "email": "doug@somethingdoug.com" 27 "email": "doug@somethingdoug.com"
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
31 }, 31 },
32 "bundleDependencies": false, 32 "bundleDependencies": false,
33 "dependencies": { 33 "dependencies": {
34 - "forwarded": "~0.1.2", 34 + "forwarded": "0.2.0",
35 "ipaddr.js": "1.9.1" 35 "ipaddr.js": "1.9.1"
36 }, 36 },
37 "deprecated": false, 37 "deprecated": false,
...@@ -40,15 +40,15 @@ ...@@ -40,15 +40,15 @@
40 "beautify-benchmark": "0.2.4", 40 "beautify-benchmark": "0.2.4",
41 "benchmark": "2.1.4", 41 "benchmark": "2.1.4",
42 "deep-equal": "1.0.1", 42 "deep-equal": "1.0.1",
43 - "eslint": "6.8.0", 43 + "eslint": "7.26.0",
44 - "eslint-config-standard": "14.1.0", 44 + "eslint-config-standard": "14.1.1",
45 - "eslint-plugin-import": "2.20.1", 45 + "eslint-plugin-import": "2.23.4",
46 - "eslint-plugin-markdown": "1.0.1", 46 + "eslint-plugin-markdown": "2.2.0",
47 - "eslint-plugin-node": "11.0.0", 47 + "eslint-plugin-node": "11.1.0",
48 - "eslint-plugin-promise": "4.2.1", 48 + "eslint-plugin-promise": "4.3.1",
49 - "eslint-plugin-standard": "4.0.1", 49 + "eslint-plugin-standard": "4.1.0",
50 - "mocha": "7.0.1", 50 + "mocha": "8.4.0",
51 - "nyc": "15.0.0" 51 + "nyc": "15.1.0"
52 }, 52 },
53 "engines": { 53 "engines": {
54 "node": ">= 0.10" 54 "node": ">= 0.10"
...@@ -73,10 +73,10 @@ ...@@ -73,10 +73,10 @@
73 }, 73 },
74 "scripts": { 74 "scripts": {
75 "bench": "node benchmark/index.js", 75 "bench": "node benchmark/index.js",
76 - "lint": "eslint --plugin markdown --ext js,md .", 76 + "lint": "eslint .",
77 "test": "mocha --reporter spec --bail --check-leaks test/", 77 "test": "mocha --reporter spec --bail --check-leaks test/",
78 - "test-cov": "nyc --reporter=text npm test", 78 + "test-ci": "nyc --reporter=lcov --reporter=text npm test",
79 - "test-travis": "nyc --reporter=html --reporter=text npm test" 79 + "test-cov": "nyc --reporter=html --reporter=text npm test"
80 }, 80 },
81 - "version": "2.0.6" 81 + "version": "2.0.7"
82 } 82 }
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", 22 "_resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz",
23 "_shasum": "41dc1a015e3d581f1621776be31afb2876a9b1bc", 23 "_shasum": "41dc1a015e3d581f1621776be31afb2876a9b1bc",
24 "_spec": "qs@6.7.0", 24 "_spec": "qs@6.7.0",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
26 "bugs": { 26 "bugs": {
27 "url": "https://github.com/ljharb/qs/issues" 27 "url": "https://github.com/ljharb/qs/issues"
28 }, 28 },
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", 22 "_resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz",
23 "_shasum": "3cf37023d199e1c24d1a55b84800c2f3e6468031", 23 "_shasum": "3cf37023d199e1c24d1a55b84800c2f3e6468031",
24 "_spec": "range-parser@~1.2.1", 24 "_spec": "range-parser@~1.2.1",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
26 "author": { 26 "author": {
27 "name": "TJ Holowaychuk", 27 "name": "TJ Holowaychuk",
28 "email": "tj@vision-media.ca", 28 "email": "tj@vision-media.ca",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", 21 "_resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",
22 "_shasum": "a1ce6fb9c9bc356ca52e89256ab59059e13d0332", 22 "_shasum": "a1ce6fb9c9bc356ca52e89256ab59059e13d0332",
23 "_spec": "raw-body@2.4.0", 23 "_spec": "raw-body@2.4.0",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/body-parser", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/body-parser",
25 "author": { 25 "author": {
26 "name": "Jonathan Ong", 26 "name": "Jonathan Ong",
27 "email": "me@jongleberry.com", 27 "email": "me@jongleberry.com",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 21 "_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",
22 "_shasum": "1eca1cf711aef814c04f62252a36a62f6cb23b57", 22 "_shasum": "1eca1cf711aef814c04f62252a36a62f6cb23b57",
23 "_spec": "readable-stream@^2.3.5", 23 "_spec": "readable-stream@^2.3.5",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/bl", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/bl",
25 "browser": { 25 "browser": {
26 "util": false, 26 "util": false,
27 "./readable.js": "./readable-browser.js", 27 "./readable.js": "./readable-browser.js",
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/regexp-clone/-/regexp-clone-1.0.0.tgz", 22 "_resolved": "https://registry.npmjs.org/regexp-clone/-/regexp-clone-1.0.0.tgz",
23 "_shasum": "222db967623277056260b992626354a04ce9bf63", 23 "_shasum": "222db967623277056260b992626354a04ce9bf63",
24 "_spec": "regexp-clone@1.0.0", 24 "_spec": "regexp-clone@1.0.0",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongoose", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongoose",
26 "author": { 26 "author": {
27 "name": "Aaron Heckmann", 27 "name": "Aaron Heckmann",
28 "email": "aaron.heckmann+github@gmail.com" 28 "email": "aaron.heckmann+github@gmail.com"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 22 "_resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
23 "_shasum": "991ec69d296e0313747d59bdfd2b745c35f8828d", 23 "_shasum": "991ec69d296e0313747d59bdfd2b745c35f8828d",
24 "_spec": "safe-buffer@5.1.2", 24 "_spec": "safe-buffer@5.1.2",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
26 "author": { 26 "author": {
27 "name": "Feross Aboukhadijeh", 27 "name": "Feross Aboukhadijeh",
28 "email": "feross@feross.org", 28 "email": "feross@feross.org",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 21 "_resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
22 "_shasum": "44fa161b0187b9549dd84bb91802f9bd8385cd6a", 22 "_shasum": "44fa161b0187b9549dd84bb91802f9bd8385cd6a",
23 "_spec": "safer-buffer@>= 2.1.2 < 3", 23 "_spec": "safer-buffer@>= 2.1.2 < 3",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/iconv-lite", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/iconv-lite",
25 "author": { 25 "author": {
26 "name": "Nikita Skovoroda", 26 "name": "Nikita Skovoroda",
27 "email": "chalkerx@gmail.com", 27 "email": "chalkerx@gmail.com",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz", 21 "_resolved": "https://registry.npmjs.org/saslprep/-/saslprep-1.0.3.tgz",
22 "_shasum": "4c02f946b56cf54297e347ba1093e7acac4cf226", 22 "_shasum": "4c02f946b56cf54297e347ba1093e7acac4cf226",
23 "_spec": "saslprep@^1.0.0", 23 "_spec": "saslprep@^1.0.0",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongodb", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongodb",
25 "author": { 25 "author": {
26 "name": "Dmitry Tsvettsikh", 26 "name": "Dmitry Tsvettsikh",
27 "email": "me@reklatsmasters.com" 27 "email": "me@reklatsmasters.com"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", 21 "_resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz",
22 "_shasum": "30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a", 22 "_shasum": "30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a",
23 "_spec": "ms@2.1.1", 23 "_spec": "ms@2.1.1",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/send", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/send",
25 "bugs": { 25 "bugs": {
26 "url": "https://github.com/zeit/ms/issues" 26 "url": "https://github.com/zeit/ms/issues"
27 }, 27 },
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", 22 "_resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz",
23 "_shasum": "c1d8b059f7900f7466dd4938bdc44e11ddb376c8", 23 "_shasum": "c1d8b059f7900f7466dd4938bdc44e11ddb376c8",
24 "_spec": "send@0.17.1", 24 "_spec": "send@0.17.1",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
26 "author": { 26 "author": {
27 "name": "TJ Holowaychuk", 27 "name": "TJ Holowaychuk",
28 "email": "tj@vision-media.ca" 28 "email": "tj@vision-media.ca"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", 21 "_resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz",
22 "_shasum": "666e636dc4f010f7ef29970a88a674320898b2f9", 22 "_shasum": "666e636dc4f010f7ef29970a88a674320898b2f9",
23 "_spec": "serve-static@1.14.1", 23 "_spec": "serve-static@1.14.1",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
25 "author": { 25 "author": {
26 "name": "Douglas Christopher Wilson", 26 "name": "Douglas Christopher Wilson",
27 "email": "doug@somethingdoug.com" 27 "email": "doug@somethingdoug.com"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", 22 "_resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz",
23 "_shasum": "7e95acb24aa92f5885e0abef5ba131330d4ae683", 23 "_shasum": "7e95acb24aa92f5885e0abef5ba131330d4ae683",
24 "_spec": "setprototypeof@1.1.1", 24 "_spec": "setprototypeof@1.1.1",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
26 "author": { 26 "author": {
27 "name": "Wes Todd" 27 "name": "Wes Todd"
28 }, 28 },
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/sift/-/sift-13.5.2.tgz", 21 "_resolved": "https://registry.npmjs.org/sift/-/sift-13.5.2.tgz",
22 "_shasum": "24a715e13c617b086166cd04917d204a591c9da6", 22 "_shasum": "24a715e13c617b086166cd04917d204a591c9da6",
23 "_spec": "sift@13.5.2", 23 "_spec": "sift@13.5.2",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongoose", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongoose",
25 "author": { 25 "author": {
26 "name": "Craig Condon", 26 "name": "Craig Condon",
27 "email": "craig.j.condon@gmail.com" 27 "email": "craig.j.condon@gmail.com"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/sliced/-/sliced-1.0.1.tgz", 22 "_resolved": "https://registry.npmjs.org/sliced/-/sliced-1.0.1.tgz",
23 "_shasum": "0b3a662b5d04c3177b1926bea82b03f837a2ef41", 23 "_shasum": "0b3a662b5d04c3177b1926bea82b03f837a2ef41",
24 "_spec": "sliced@1.0.1", 24 "_spec": "sliced@1.0.1",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/mongoose", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/mongoose",
26 "author": { 26 "author": {
27 "name": "Aaron Heckmann", 27 "name": "Aaron Heckmann",
28 "email": "aaron.heckmann+github@gmail.com" 28 "email": "aaron.heckmann+github@gmail.com"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz", 21 "_resolved": "https://registry.npmjs.org/sparse-bitfield/-/sparse-bitfield-3.0.3.tgz",
22 "_shasum": "ff4ae6e68656056ba4b3e792ab3334d38273ca11", 22 "_shasum": "ff4ae6e68656056ba4b3e792ab3334d38273ca11",
23 "_spec": "sparse-bitfield@^3.0.3", 23 "_spec": "sparse-bitfield@^3.0.3",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/saslprep", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/saslprep",
25 "author": { 25 "author": {
26 "name": "Mathias Buus", 26 "name": "Mathias Buus",
27 "url": "@mafintosh" 27 "url": "@mafintosh"
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
24 "_resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", 24 "_resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz",
25 "_shasum": "161c7dac177659fd9811f43771fa99381478628c", 25 "_shasum": "161c7dac177659fd9811f43771fa99381478628c",
26 "_spec": "statuses@~1.5.0", 26 "_spec": "statuses@~1.5.0",
27 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 27 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
28 "bugs": { 28 "bugs": {
29 "url": "https://github.com/jshttp/statuses/issues" 29 "url": "https://github.com/jshttp/statuses/issues"
30 }, 30 },
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 21 "_resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz",
22 "_shasum": "9cf1611ba62685d7030ae9e4ba34149c3af03fc8", 22 "_shasum": "9cf1611ba62685d7030ae9e4ba34149c3af03fc8",
23 "_spec": "string_decoder@~1.1.1", 23 "_spec": "string_decoder@~1.1.1",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/readable-stream", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/readable-stream",
25 "bugs": { 25 "bugs": {
26 "url": "https://github.com/nodejs/string_decoder/issues" 26 "url": "https://github.com/nodejs/string_decoder/issues"
27 }, 27 },
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", 21 "_resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz",
22 "_shasum": "7e1be3470f1e77948bc43d94a3c8f4d7752ba553", 22 "_shasum": "7e1be3470f1e77948bc43d94a3c8f4d7752ba553",
23 "_spec": "toidentifier@1.0.0", 23 "_spec": "toidentifier@1.0.0",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/http-errors", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/http-errors",
25 "author": { 25 "author": {
26 "name": "Douglas Christopher Wilson", 26 "name": "Douglas Christopher Wilson",
27 "email": "doug@somethingdoug.com" 27 "email": "doug@somethingdoug.com"
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", 22 "_resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz",
23 "_shasum": "4e552cd05df09467dcbc4ef739de89f2cf37c131", 23 "_shasum": "4e552cd05df09467dcbc4ef739de89f2cf37c131",
24 "_spec": "type-is@~1.6.18", 24 "_spec": "type-is@~1.6.18",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
26 "bugs": { 26 "bugs": {
27 "url": "https://github.com/jshttp/type-is/issues" 27 "url": "https://github.com/jshttp/type-is/issues"
28 }, 28 },
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
22 "_resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", 22 "_resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
23 "_shasum": "b2bf4ee8514aae6165b4817829d21b2ef49904ec", 23 "_shasum": "b2bf4ee8514aae6165b4817829d21b2ef49904ec",
24 "_spec": "unpipe@1.0.0", 24 "_spec": "unpipe@1.0.0",
25 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/raw-body", 25 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/raw-body",
26 "author": { 26 "author": {
27 "name": "Douglas Christopher Wilson", 27 "name": "Douglas Christopher Wilson",
28 "email": "doug@somethingdoug.com" 28 "email": "doug@somethingdoug.com"
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 21 "_resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
22 "_shasum": "450d4dc9fa70de732762fbd2d4a28981419a0ccf", 22 "_shasum": "450d4dc9fa70de732762fbd2d4a28981419a0ccf",
23 "_spec": "util-deprecate@~1.0.1", 23 "_spec": "util-deprecate@~1.0.1",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/readable-stream", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/readable-stream",
25 "author": { 25 "author": {
26 "name": "Nathan Rajlich", 26 "name": "Nathan Rajlich",
27 "email": "nathan@tootallnate.net", 27 "email": "nathan@tootallnate.net",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", 21 "_resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz",
22 "_shasum": "9f95710f50a267947b2ccc124741c1028427e713", 22 "_shasum": "9f95710f50a267947b2ccc124741c1028427e713",
23 "_spec": "utils-merge@1.0.1", 23 "_spec": "utils-merge@1.0.1",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
25 "author": { 25 "author": {
26 "name": "Jared Hanson", 26 "name": "Jared Hanson",
27 "email": "jaredhanson@gmail.com", 27 "email": "jaredhanson@gmail.com",
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
21 "_resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", 21 "_resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz",
22 "_shasum": "2299f02c6ded30d4a5961b0b9f74524a18f634fc", 22 "_shasum": "2299f02c6ded30d4a5961b0b9f74524a18f634fc",
23 "_spec": "vary@~1.1.2", 23 "_spec": "vary@~1.1.2",
24 - "_where": "/Users/mindyeoi/Desktop/We-Shop/boiler-plate/node_modules/express", 24 + "_where": "/Users/mindyeoi/Desktop/oss/We-Shop/boiler-plate/node_modules/express",
25 "author": { 25 "author": {
26 "name": "Douglas Christopher Wilson", 26 "name": "Douglas Christopher Wilson",
27 "email": "doug@somethingdoug.com" 27 "email": "doug@somethingdoug.com"
......
...@@ -13,18 +13,18 @@ ...@@ -13,18 +13,18 @@
13 } 13 }
14 }, 14 },
15 "@types/mongodb": { 15 "@types/mongodb": {
16 - "version": "3.6.16", 16 + "version": "3.6.17",
17 - "resolved": "https://registry.npmjs.org/@types/mongodb/-/mongodb-3.6.16.tgz", 17 + "resolved": "https://registry.npmjs.org/@types/mongodb/-/mongodb-3.6.17.tgz",
18 - "integrity": "sha512-D3tM0iRUet3TiIMAdvovxAIRG9gYqFd4j7visGwmPNdQj8Fq/uFFfRxyGCgEwVXAs0NnJPMI/QGVTADxDwhmSQ==", 18 + "integrity": "sha512-9hhgvYPdC5iHyyksPcKCu45gfaAIPQHKHGdvNXu4582DmOZX3wrUJIJPT40o4G1oTKPgpMMFqZglOTjhnYoF+A==",
19 "requires": { 19 "requires": {
20 "@types/bson": "*", 20 "@types/bson": "*",
21 "@types/node": "*" 21 "@types/node": "*"
22 } 22 }
23 }, 23 },
24 "@types/node": { 24 "@types/node": {
25 - "version": "15.6.1", 25 + "version": "15.6.2",
26 - "resolved": "https://registry.npmjs.org/@types/node/-/node-15.6.1.tgz", 26 + "resolved": "https://registry.npmjs.org/@types/node/-/node-15.6.2.tgz",
27 - "integrity": "sha512-7EIraBEyRHEe7CH+Fm1XvgqU6uwZN8Q7jppJGcqjROMT29qhAuuOxYB1uEY5UMYQKEmA5D+5tBnhdaPXSsLONA==" 27 + "integrity": "sha512-dxcOx8801kMo3KlU+C+/ctWrzREAH7YvoF3aoVpRdqgs+Kf7flp+PJDN/EX5bME3suDUZHsxes9hpvBmzYlWbA=="
28 }, 28 },
29 "accepts": { 29 "accepts": {
30 "version": "1.3.7", 30 "version": "1.3.7",
...@@ -204,9 +204,9 @@ ...@@ -204,9 +204,9 @@
204 } 204 }
205 }, 205 },
206 "forwarded": { 206 "forwarded": {
207 - "version": "0.1.2", 207 + "version": "0.2.0",
208 - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", 208 + "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.2.0.tgz",
209 - "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=" 209 + "integrity": "sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow=="
210 }, 210 },
211 "fresh": { 211 "fresh": {
212 "version": "0.5.2", 212 "version": "0.5.2",
...@@ -280,16 +280,16 @@ ...@@ -280,16 +280,16 @@
280 "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" 280 "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg=="
281 }, 281 },
282 "mime-db": { 282 "mime-db": {
283 - "version": "1.47.0", 283 + "version": "1.48.0",
284 - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.47.0.tgz", 284 + "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.48.0.tgz",
285 - "integrity": "sha512-QBmA/G2y+IfeS4oktet3qRZ+P5kPhCKRXxXnQEudYqUaEioAU1/Lq2us3D/t1Jfo4hE9REQPrbB7K5sOczJVIw==" 285 + "integrity": "sha512-FM3QwxV+TnZYQ2aRqhlKBMHxk10lTbMt3bBkMAp54ddrNeVSfcQYOOKuGuy3Ddrm38I04If834fOUSq1yzslJQ=="
286 }, 286 },
287 "mime-types": { 287 "mime-types": {
288 - "version": "2.1.30", 288 + "version": "2.1.31",
289 - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.30.tgz", 289 + "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.31.tgz",
290 - "integrity": "sha512-crmjA4bLtR8m9qLpHvgxSChT+XoSlZi8J4n/aIdn3z92e/U47Z0V/yl+Wh9W046GgFVAmoNR/fmdbZYcSSIUeg==", 290 + "integrity": "sha512-XGZnNzm3QvgKxa8dpzyhFTHmpP3l5YNusmne07VUOXxou9CqUqYa/HBy124RqtVh/O2pECas/MOcsDgpilPOPg==",
291 "requires": { 291 "requires": {
292 - "mime-db": "1.47.0" 292 + "mime-db": "1.48.0"
293 } 293 }
294 }, 294 },
295 "mongodb": { 295 "mongodb": {
...@@ -306,9 +306,9 @@ ...@@ -306,9 +306,9 @@
306 } 306 }
307 }, 307 },
308 "mongoose": { 308 "mongoose": {
309 - "version": "5.12.11", 309 + "version": "5.12.12",
310 - "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.12.11.tgz", 310 + "resolved": "https://registry.npmjs.org/mongoose/-/mongoose-5.12.12.tgz",
311 - "integrity": "sha512-16TVqYhHQdZNR8RTis/8iiTPy+nJPq0UhKyBFTucLLU3PWcDLY2gAGv6aOk0LygTNhEfgNnENgUUHhjVqTuh8w==", 311 + "integrity": "sha512-n+ZmGApaL5x/r92w6S4pb+c075i+YKzg1F9YWkznSzQMtvetj/2dSjj2cqsITpd6z60k3K7ZaosIl6hzHwUA9g==",
312 "requires": { 312 "requires": {
313 "@types/mongodb": "^3.5.27", 313 "@types/mongodb": "^3.5.27",
314 "bson": "^1.1.4", 314 "bson": "^1.1.4",
...@@ -407,11 +407,11 @@ ...@@ -407,11 +407,11 @@
407 "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" 407 "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
408 }, 408 },
409 "proxy-addr": { 409 "proxy-addr": {
410 - "version": "2.0.6", 410 + "version": "2.0.7",
411 - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz", 411 + "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.7.tgz",
412 - "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==", 412 + "integrity": "sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==",
413 "requires": { 413 "requires": {
414 - "forwarded": "~0.1.2", 414 + "forwarded": "0.2.0",
415 "ipaddr.js": "1.9.1" 415 "ipaddr.js": "1.9.1"
416 } 416 }
417 }, 417 },
......
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff could not be displayed because it is too large.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
No preview for this file type
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.