Toggle navigation
Toggle navigation
This project
Loading...
Sign in
2019-2-OpenSourceSW
/
Probability Death
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
unknown
2018-12-05 21:09:34 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3de51060b66d92d3b3692a5755996b31c5cb623a
3de51060
1 parent
94f3760e
request module install -> to call weather api
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
313 additions
and
51 deletions
lib/socketio.js
package-lock.json
package.json
lib/socketio.js
View file @
3de5106
...
...
@@ -8,62 +8,13 @@ module.exports = (server, app) => {
transports
:
[
'websocket'
]
});
io
.
use
(
passportSocketIo
.
authorize
(
passport_IO
));
//passport와 socketIO 연동 미들웨어 사용
app
.
set
(
'io'
,
io
);
//io를 app.get("io")로 다른 라우터에서 접근 가능하게함
const
chat
=
io
.
of
(
'/chat'
);
//chat namespace
chat
.
on
(
'connection'
,
(
socket
)
=>
{
//네임스페이스 연결시 루프 동작
let
room
;
socket
.
to
(
room
).
emit
(
'chat_sended_to_client'
,
"LALALALALAL"
);
io
.
on
(
'connection'
,
(
socket
)
=>
{
//네임스페이스 연결시 루프 동작
socket
.
on
(
'disconnecting'
,
(
reason
)
=>
{
const
sql
=
"DELETE FROM participants WHERE id=?"
console
.
log
(
socket
.
request
.
user
.
nickname
,
room
,
'번방 퇴장'
);
db
.
query
(
sql
,
[
socket
.
request
.
user
.
id
],
(
err
,
result
)
=>
{
//퇴장할때 참가자 목록에서 뺌
socket
.
leave
(
room
);
const
msg
=
{};
const
user
=
socket
.
request
.
user
;
msg
.
time
=
socket
.
handshake
.
time
.
slice
(
0
,
24
);
msg
.
sended
=
user
.
id
;
msg
.
sended_Nickname
=
user
.
nickname
;
msg
.
profile_image
=
user
.
profile_image
;
msg
.
description
=
`
${
msg
.
sended_Nickname
}
님이 퇴장하셨습니다.`
;
socket
.
to
(
room
).
emit
(
"other_leaved_room"
,
msg
);
room
=
0
;
})
})
socket
.
on
(
"connection"
,
(
roomnum
)
=>
{
//방 접속시에 현재 방번호 room에 저장
room
=
roomnum
;
console
.
log
(
socket
.
request
.
user
.
nickname
,
room
,
'번방 입장'
);
socket
.
join
(
room
);
// x번 room에 join시킴
const
msg
=
{};
const
user
=
socket
.
request
.
user
;
msg
.
time
=
socket
.
handshake
.
time
.
slice
(
0
,
24
);
msg
.
sended
=
`
${
user
.
id
}
`
;
msg
.
sended_Nickname
=
user
.
nickname
;
msg
.
profile_image
=
user
.
profile_image
;
msg
.
description
=
`
${
user
.
nickname
}
님이 들어오셨습니다.`
const
sql
=
'INSERT INTO participants (room,id,name,nickname,profile_image) VALUES (?,?,?,?,?)'
;
//add user in room
db
.
query
(
sql
,
[
roomnum
,
user
.
id
,
user
.
name
,
user
.
nickname
,
user
.
profile_image
],
(
err
,
result
)
=>
{
chat
.
to
(
room
).
emit
(
"new_user_in"
,
msg
);
//방에 속한 모든 사람들에게 내가 들어왔음을 알림
})
})
socket
.
on
(
'chat_sended_to_server'
,
(
data
)
=>
{
//
console
.
log
(
'chat received'
,
socket
.
request
.
user
.
id
,
data
);
const
msg
=
{};
msg
.
time
=
socket
.
handshake
.
time
.
slice
(
0
,
24
);
msg
.
sended
=
`
${
socket
.
request
.
user
.
id
}
`
;
msg
.
sended_Nickname
=
socket
.
request
.
user
.
nickname
;
msg
.
profile_image
=
socket
.
request
.
user
.
profile_image
;
msg
.
description
=
data
;
console
.
log
(
room
);
const
sql
=
'INSERT INTO chat (room, description,sended,sended_nickname,time,profile_image) VALUES (?,?,?,?,?,?)'
;
db
.
query
(
sql
,
[
room
,
msg
.
description
,
msg
.
sended
,
msg
.
sended_Nickname
,
msg
.
time
,
msg
.
profile_image
]);
//채팅한 말 객체들의 배열 [ { room : 10 "sended":"YOUT","sended_NickName":"YOU" , time : "now" , description : "lala", profile_image : "!@#@!#"} , ... ]
chat
.
to
(
room
).
emit
(
'chat_sended_to_client'
,
msg
);
});
})
...
...
package-lock.json
View file @
3de5106
...
...
@@ -18,6 +18,17 @@
"resolved"
:
"https://registry.npmjs.org/after/-/after-0.8.2.tgz"
,
"integrity"
:
"sha1-/ts5T58OAqqXaOcCvaI7UF+ufh8="
},
"ajv"
:
{
"version"
:
"6.6.1"
,
"resolved"
:
"https://registry.npmjs.org/ajv/-/ajv-6.6.1.tgz"
,
"integrity"
:
"sha512-ZoJjft5B+EJBjUyu9C9Hc0OZyPZSSlOF+plzouTrg6UlA8f+e/n8NIgBFG/9tppJtpPWfthHakK7juJdNDODww=="
,
"requires"
:
{
"fast-deep-equal"
:
"2.0.1"
,
"fast-json-stable-stringify"
:
"2.0.0"
,
"json-schema-traverse"
:
"0.4.1"
,
"uri-js"
:
"4.2.2"
}
},
"array-flatten"
:
{
"version"
:
"1.1.1"
,
"resolved"
:
"https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz"
,
...
...
@@ -28,11 +39,39 @@
"resolved"
:
"https://registry.npmjs.org/arraybuffer.slice/-/arraybuffer.slice-0.0.7.tgz"
,
"integrity"
:
"sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog=="
},
"asn1"
:
{
"version"
:
"0.2.4"
,
"resolved"
:
"https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz"
,
"integrity"
:
"sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg=="
,
"requires"
:
{
"safer-buffer"
:
"2.1.2"
}
},
"assert-plus"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz"
,
"integrity"
:
"sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU="
},
"async-limiter"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz"
,
"integrity"
:
"sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg=="
},
"asynckit"
:
{
"version"
:
"0.4.0"
,
"resolved"
:
"https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz"
,
"integrity"
:
"sha1-x57Zf380y48robyXkLzDZkdLS3k="
},
"aws-sign2"
:
{
"version"
:
"0.7.0"
,
"resolved"
:
"https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz"
,
"integrity"
:
"sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg="
},
"aws4"
:
{
"version"
:
"1.8.0"
,
"resolved"
:
"https://registry.npmjs.org/aws4/-/aws4-1.8.0.tgz"
,
"integrity"
:
"sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ=="
},
"backo2"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/backo2/-/backo2-1.0.2.tgz"
,
...
...
@@ -56,6 +95,14 @@
"safe-buffer"
:
"5.1.2"
}
},
"bcrypt-pbkdf"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz"
,
"integrity"
:
"sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4="
,
"requires"
:
{
"tweetnacl"
:
"0.14.5"
}
},
"better-assert"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/better-assert/-/better-assert-1.0.2.tgz"
,
...
...
@@ -101,6 +148,19 @@
"resolved"
:
"https://registry.npmjs.org/camelize/-/camelize-1.0.0.tgz"
,
"integrity"
:
"sha1-FkpUg+Yw+kMh5a8HAg5TGDGyYJs="
},
"caseless"
:
{
"version"
:
"0.12.0"
,
"resolved"
:
"https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz"
,
"integrity"
:
"sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw="
},
"combined-stream"
:
{
"version"
:
"1.0.7"
,
"resolved"
:
"https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.7.tgz"
,
"integrity"
:
"sha512-brWl9y6vOB1xYPZcpZde3N9zDByXTosAeMDo4p1wzo6UMOX4vumB+TP1RZ76sfE6Md68Q0NJSrE/gbezd4Ul+w=="
,
"requires"
:
{
"delayed-stream"
:
"1.0.0"
}
},
"component-bind"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/component-bind/-/component-bind-1.0.0.tgz"
,
...
...
@@ -172,6 +232,19 @@
"resolved"
:
"https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz"
,
"integrity"
:
"sha1-4wOogrNCzD7oylE6eZmXNNqzriw="
},
"core-util-is"
:
{
"version"
:
"1.0.2"
,
"resolved"
:
"https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz"
,
"integrity"
:
"sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
},
"dashdash"
:
{
"version"
:
"1.14.1"
,
"resolved"
:
"https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz"
,
"integrity"
:
"sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA="
,
"requires"
:
{
"assert-plus"
:
"1.0.0"
}
},
"dasherize"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/dasherize/-/dasherize-2.0.0.tgz"
,
...
...
@@ -185,6 +258,11 @@
"ms"
:
"2.0.0"
}
},
"delayed-stream"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz"
,
"integrity"
:
"sha1-3zrhmayt+31ECqrgsp4icrJOxhk="
},
"depd"
:
{
"version"
:
"1.1.2"
,
"resolved"
:
"https://registry.npmjs.org/depd/-/depd-1.1.2.tgz"
,
...
...
@@ -205,6 +283,15 @@
"resolved"
:
"https://registry.npmjs.org/dont-sniff-mimetype/-/dont-sniff-mimetype-1.0.0.tgz"
,
"integrity"
:
"sha1-WTKJDcn04vGeXrAqIAJuXl78j1g="
},
"ecc-jsbn"
:
{
"version"
:
"0.1.2"
,
"resolved"
:
"https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz"
,
"integrity"
:
"sha1-OoOpBOVDUyh4dMVkt1SThoSamMk="
,
"requires"
:
{
"jsbn"
:
"0.1.1"
,
"safer-buffer"
:
"2.1.2"
}
},
"ee-first"
:
{
"version"
:
"1.1.1"
,
"resolved"
:
"https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz"
,
...
...
@@ -342,6 +429,26 @@
}
}
},
"extend"
:
{
"version"
:
"3.0.2"
,
"resolved"
:
"https://registry.npmjs.org/extend/-/extend-3.0.2.tgz"
,
"integrity"
:
"sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
},
"extsprintf"
:
{
"version"
:
"1.3.0"
,
"resolved"
:
"https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz"
,
"integrity"
:
"sha1-lpGEQOMEGnpBT4xS48V06zw+HgU="
},
"fast-deep-equal"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-2.0.1.tgz"
,
"integrity"
:
"sha1-ewUhjd+WZ79/Nwv3/bLLFf3Qqkk="
},
"fast-json-stable-stringify"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz"
,
"integrity"
:
"sha1-1RQsDK7msRifh9OnYREGT4bIu/I="
},
"feature-policy"
:
{
"version"
:
"0.2.0"
,
"resolved"
:
"https://registry.npmjs.org/feature-policy/-/feature-policy-0.2.0.tgz"
,
...
...
@@ -368,6 +475,21 @@
}
}
},
"forever-agent"
:
{
"version"
:
"0.6.1"
,
"resolved"
:
"https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz"
,
"integrity"
:
"sha1-+8cfDEGt6zf5bFd60e1C2P2sypE="
},
"form-data"
:
{
"version"
:
"2.3.3"
,
"resolved"
:
"https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz"
,
"integrity"
:
"sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ=="
,
"requires"
:
{
"asynckit"
:
"0.4.0"
,
"combined-stream"
:
"1.0.7"
,
"mime-types"
:
"2.1.21"
}
},
"forwarded"
:
{
"version"
:
"0.1.2"
,
"resolved"
:
"https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz"
,
...
...
@@ -383,6 +505,28 @@
"resolved"
:
"https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz"
,
"integrity"
:
"sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac="
},
"getpass"
:
{
"version"
:
"0.1.7"
,
"resolved"
:
"https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz"
,
"integrity"
:
"sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo="
,
"requires"
:
{
"assert-plus"
:
"1.0.0"
}
},
"har-schema"
:
{
"version"
:
"2.0.0"
,
"resolved"
:
"https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz"
,
"integrity"
:
"sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI="
},
"har-validator"
:
{
"version"
:
"5.1.3"
,
"resolved"
:
"https://registry.npmjs.org/har-validator/-/har-validator-5.1.3.tgz"
,
"integrity"
:
"sha512-sNvOCzEQNr/qrvJgc3UG/kD4QtlHycrzwS+6mfTrrSq97BvaYcPZZI1ZSqGSPR73Cxn4LKTD4PttRwfU7jWq5g=="
,
"requires"
:
{
"ajv"
:
"6.6.1"
,
"har-schema"
:
"2.0.0"
}
},
"has-binary2"
:
{
"version"
:
"1.0.3"
,
"resolved"
:
"https://registry.npmjs.org/has-binary2/-/has-binary2-1.0.3.tgz"
,
...
...
@@ -459,6 +603,16 @@
"statuses"
:
"1.5.0"
}
},
"http-signature"
:
{
"version"
:
"1.2.0"
,
"resolved"
:
"https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz"
,
"integrity"
:
"sha1-muzZJRFHcvPZW2WmCruPfBj7rOE="
,
"requires"
:
{
"assert-plus"
:
"1.0.0"
,
"jsprim"
:
"1.4.1"
,
"sshpk"
:
"1.15.2"
}
},
"iconv-lite"
:
{
"version"
:
"0.4.23"
,
"resolved"
:
"https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.23.tgz"
,
...
...
@@ -487,11 +641,52 @@
"resolved"
:
"https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.8.0.tgz"
,
"integrity"
:
"sha1-6qM9bd16zo9/b+DJygRA5wZzix4="
},
"is-typedarray"
:
{
"version"
:
"1.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz"
,
"integrity"
:
"sha1-5HnICFjfDBsR3dppQPlgEfzaSpo="
},
"isarray"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/isarray/-/isarray-2.0.1.tgz"
,
"integrity"
:
"sha1-o32U7ZzaLVmGXJ92/llu4fM4dB4="
},
"isstream"
:
{
"version"
:
"0.1.2"
,
"resolved"
:
"https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz"
,
"integrity"
:
"sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo="
},
"jsbn"
:
{
"version"
:
"0.1.1"
,
"resolved"
:
"https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz"
,
"integrity"
:
"sha1-peZUwuWi3rXyAdls77yoDA7y9RM="
},
"json-schema"
:
{
"version"
:
"0.2.3"
,
"resolved"
:
"https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz"
,
"integrity"
:
"sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM="
},
"json-schema-traverse"
:
{
"version"
:
"0.4.1"
,
"resolved"
:
"https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz"
,
"integrity"
:
"sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg=="
},
"json-stringify-safe"
:
{
"version"
:
"5.0.1"
,
"resolved"
:
"https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz"
,
"integrity"
:
"sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus="
},
"jsprim"
:
{
"version"
:
"1.4.1"
,
"resolved"
:
"https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz"
,
"integrity"
:
"sha1-MT5mvB5cwG5Di8G3SZwuXFastqI="
,
"requires"
:
{
"assert-plus"
:
"1.0.0"
,
"extsprintf"
:
"1.3.0"
,
"json-schema"
:
"0.2.3"
,
"verror"
:
"1.10.0"
}
},
"media-typer"
:
{
"version"
:
"0.3.0"
,
"resolved"
:
"http://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz"
,
...
...
@@ -552,6 +747,11 @@
"resolved"
:
"https://registry.npmjs.org/nocache/-/nocache-2.0.0.tgz"
,
"integrity"
:
"sha1-ICtIAhoMTL3i34DeFaF0Q8i0OYA="
},
"oauth-sign"
:
{
"version"
:
"0.9.0"
,
"resolved"
:
"https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz"
,
"integrity"
:
"sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ=="
},
"object-component"
:
{
"version"
:
"0.0.3"
,
"resolved"
:
"https://registry.npmjs.org/object-component/-/object-component-0.0.3.tgz"
,
...
...
@@ -596,6 +796,11 @@
"resolved"
:
"https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz"
,
"integrity"
:
"sha1-32BBeABfUi8V60SQ5yR6G/qmf4w="
},
"performance-now"
:
{
"version"
:
"2.1.0"
,
"resolved"
:
"https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz"
,
"integrity"
:
"sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns="
},
"platform"
:
{
"version"
:
"1.3.5"
,
"resolved"
:
"https://registry.npmjs.org/platform/-/platform-1.3.5.tgz"
,
...
...
@@ -610,6 +815,16 @@
"ipaddr.js"
:
"1.8.0"
}
},
"psl"
:
{
"version"
:
"1.1.29"
,
"resolved"
:
"https://registry.npmjs.org/psl/-/psl-1.1.29.tgz"
,
"integrity"
:
"sha512-AeUmQ0oLN02flVHXWh9sSJF7mcdFq0ppid/JkErufc3hGIV/AMa8Fo9VgDo/cT2jFdOWoFvHp90qqBH54W+gjQ=="
},
"punycode"
:
{
"version"
:
"2.1.1"
,
"resolved"
:
"https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz"
,
"integrity"
:
"sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A=="
},
"qs"
:
{
"version"
:
"6.5.2"
,
"resolved"
:
"https://registry.npmjs.org/qs/-/qs-6.5.2.tgz"
,
...
...
@@ -636,6 +851,33 @@
"resolved"
:
"https://registry.npmjs.org/referrer-policy/-/referrer-policy-1.1.0.tgz"
,
"integrity"
:
"sha1-NXdOtzW/UPtsB46DM0tHI1AgfXk="
},
"request"
:
{
"version"
:
"2.88.0"
,
"resolved"
:
"https://registry.npmjs.org/request/-/request-2.88.0.tgz"
,
"integrity"
:
"sha512-NAqBSrijGLZdM0WZNsInLJpkJokL72XYjUpnB0iwsRgxh7dB6COrHnTBNwN0E+lHDAJzu7kLAkDeY08z2/A0hg=="
,
"requires"
:
{
"aws-sign2"
:
"0.7.0"
,
"aws4"
:
"1.8.0"
,
"caseless"
:
"0.12.0"
,
"combined-stream"
:
"1.0.7"
,
"extend"
:
"3.0.2"
,
"forever-agent"
:
"0.6.1"
,
"form-data"
:
"2.3.3"
,
"har-validator"
:
"5.1.3"
,
"http-signature"
:
"1.2.0"
,
"is-typedarray"
:
"1.0.0"
,
"isstream"
:
"0.1.2"
,
"json-stringify-safe"
:
"5.0.1"
,
"mime-types"
:
"2.1.21"
,
"oauth-sign"
:
"0.9.0"
,
"performance-now"
:
"2.1.0"
,
"qs"
:
"6.5.2"
,
"safe-buffer"
:
"5.1.2"
,
"tough-cookie"
:
"2.4.3"
,
"tunnel-agent"
:
"0.6.0"
,
"uuid"
:
"3.3.2"
}
},
"safe-buffer"
:
{
"version"
:
"5.1.2"
,
"resolved"
:
"https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz"
,
...
...
@@ -773,6 +1015,22 @@
}
}
},
"sshpk"
:
{
"version"
:
"1.15.2"
,
"resolved"
:
"https://registry.npmjs.org/sshpk/-/sshpk-1.15.2.tgz"
,
"integrity"
:
"sha512-Ra/OXQtuh0/enyl4ETZAfTaeksa6BXks5ZcjpSUNrjBr0DvrJKX+1fsKDPpT9TBXgHAFsa4510aNVgI8g/+SzA=="
,
"requires"
:
{
"asn1"
:
"0.2.4"
,
"assert-plus"
:
"1.0.0"
,
"bcrypt-pbkdf"
:
"1.0.2"
,
"dashdash"
:
"1.14.1"
,
"ecc-jsbn"
:
"0.1.2"
,
"getpass"
:
"0.1.7"
,
"jsbn"
:
"0.1.1"
,
"safer-buffer"
:
"2.1.2"
,
"tweetnacl"
:
"0.14.5"
}
},
"statuses"
:
{
"version"
:
"1.5.0"
,
"resolved"
:
"https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz"
,
...
...
@@ -783,6 +1041,35 @@
"resolved"
:
"https://registry.npmjs.org/to-array/-/to-array-0.1.4.tgz"
,
"integrity"
:
"sha1-F+bBH3PdTz10zaek/zI46a2b+JA="
},
"tough-cookie"
:
{
"version"
:
"2.4.3"
,
"resolved"
:
"https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.4.3.tgz"
,
"integrity"
:
"sha512-Q5srk/4vDM54WJsJio3XNn6K2sCG+CQ8G5Wz6bZhRZoAe/+TxjWB/GlFAnYEbkYVlON9FMk/fE3h2RLpPXo4lQ=="
,
"requires"
:
{
"psl"
:
"1.1.29"
,
"punycode"
:
"1.4.1"
},
"dependencies"
:
{
"punycode"
:
{
"version"
:
"1.4.1"
,
"resolved"
:
"https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz"
,
"integrity"
:
"sha1-wNWmOycYgArY4esPpSachN1BhF4="
}
}
},
"tunnel-agent"
:
{
"version"
:
"0.6.0"
,
"resolved"
:
"https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz"
,
"integrity"
:
"sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0="
,
"requires"
:
{
"safe-buffer"
:
"5.1.2"
}
},
"tweetnacl"
:
{
"version"
:
"0.14.5"
,
"resolved"
:
"https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz"
,
"integrity"
:
"sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q="
},
"type-is"
:
{
"version"
:
"1.6.16"
,
"resolved"
:
"https://registry.npmjs.org/type-is/-/type-is-1.6.16.tgz"
,
...
...
@@ -797,16 +1084,39 @@
"resolved"
:
"https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz"
,
"integrity"
:
"sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw="
},
"uri-js"
:
{
"version"
:
"4.2.2"
,
"resolved"
:
"https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz"
,
"integrity"
:
"sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ=="
,
"requires"
:
{
"punycode"
:
"2.1.1"
}
},
"utils-merge"
:
{
"version"
:
"1.0.1"
,
"resolved"
:
"https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz"
,
"integrity"
:
"sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM="
},
"uuid"
:
{
"version"
:
"3.3.2"
,
"resolved"
:
"https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz"
,
"integrity"
:
"sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA=="
},
"vary"
:
{
"version"
:
"1.1.2"
,
"resolved"
:
"https://registry.npmjs.org/vary/-/vary-1.1.2.tgz"
,
"integrity"
:
"sha1-IpnwLG3tMNSllhsLn3RSShj2NPw="
},
"verror"
:
{
"version"
:
"1.10.0"
,
"resolved"
:
"https://registry.npmjs.org/verror/-/verror-1.10.0.tgz"
,
"integrity"
:
"sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA="
,
"requires"
:
{
"assert-plus"
:
"1.0.0"
,
"core-util-is"
:
"1.0.2"
,
"extsprintf"
:
"1.3.0"
}
},
"ws"
:
{
"version"
:
"6.1.2"
,
"resolved"
:
"https://registry.npmjs.org/ws/-/ws-6.1.2.tgz"
,
...
...
package.json
View file @
3de5106
...
...
@@ -12,9 +12,10 @@
"debug"
:
"~2.6.9"
,
"ejs"
:
"~2.5.7"
,
"express"
:
"~4.16.0"
,
"helmet"
:
"^3.13.0"
,
"http-errors"
:
"~1.6.2"
,
"morgan"
:
"~1.9.0"
,
"
helmet"
:
"^3.13
.0"
,
"
request"
:
"^2.88
.0"
,
"socket.io"
:
"^2.1.1"
}
}
...
...
Please
register
or
login
to post a comment