Update dependencies

This commit is contained in:
Maksim Eltyshev
2020-03-25 00:15:47 +05:00
parent 4da29f2d8e
commit d1b74f9d11
145 changed files with 963 additions and 1149 deletions

View File

@@ -15,7 +15,7 @@ const { socket } = io;
socket.connect = socket._connect; // eslint-disable-line no-underscore-dangle
['GET', 'POST', 'PUT', 'PATCH', 'DELETE'].forEach(method => {
['GET', 'POST', 'PUT', 'PATCH', 'DELETE'].forEach((method) => {
socket[method.toLowerCase()] = (url, data, headers) =>
new Promise((resolve, reject) => {
socket.request(