cleanup stuffs

This commit is contained in:
Sorunome 2020-03-24 22:29:04 +01:00
parent 251775e93f
commit 7a5b6f985b
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C
3 changed files with 14 additions and 7 deletions

17
package-lock.json generated
View File

@ -84,6 +84,11 @@
}
}
},
"@types/escape-html": {
"version": "0.0.20",
"resolved": "https://registry.npmjs.org/@types/escape-html/-/escape-html-0.0.20.tgz",
"integrity": "sha512-6dhZJLbA7aOwkYB2GDGdIqJ20wmHnkDzaxV9PJXe7O02I2dSFTERzRB6JrX6cWKaS+VqhhY7cQUMCbO5kloFUw=="
},
"@types/events": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.0.tgz",
@ -652,9 +657,9 @@
}
},
"bson": {
"version": "1.1.3",
"resolved": "https://registry.npmjs.org/bson/-/bson-1.1.3.tgz",
"integrity": "sha512-TdiJxMVnodVS7r0BdL42y/pqC9cL2iKynVwA0Ho3qbsQYr428veL3l7BQyuqiw+Q5SqqoT0m4srSY/BlZ9AxXg==",
"version": "1.1.4",
"resolved": "https://registry.npmjs.org/bson/-/bson-1.1.4.tgz",
"integrity": "sha512-S/yKGU1syOMzO86+dGpg2qGoDL0zvzcb262G+gqEy6TgP6rt6z6qxSFX/8X6vLC91P7G7C3nLs0+bvDzmvBA3Q==",
"optional": true
},
"buffer": {
@ -3588,10 +3593,11 @@
}
},
"skype-http": {
"version": "git://github.com/metasonic/skype-http.git#ea08e617d4f2bd3b16a2de79fe4efb9dbbe489fc",
"from": "git://github.com/metasonic/skype-http.git#ea08e617d4f2bd3b16a2de79fe4efb9dbbe489fc",
"version": "git://github.com/Sorunome/skype-http.git#10555125f46307bbff93a8c4779889f4100669d2",
"from": "git://github.com/Sorunome/skype-http.git#10555125f46307bbff93a8c4779889f4100669d2",
"requires": {
"@types/cheerio": "^0.22.12",
"@types/escape-html": "0.0.20",
"@types/form-data": "^2.5.0",
"@types/gulp": "^4.0.6",
"@types/lodash": "^4.14.102",
@ -3601,6 +3607,7 @@
"big-integer": "^1.6.26",
"bluebird": "^3.5.1",
"cheerio": "^1.0.0-rc.3",
"escape-html": "^1.0.3",
"incident": "^3.2.0",
"js-sha256": "^0.9.0",
"kryo": "^0.8.1",

View File

@ -18,7 +18,7 @@
"events": "^3.0.0",
"js-yaml": "^3.13.1",
"mx-puppet-bridge": "0.0.35-1",
"skype-http": "git://github.com/metasonic/skype-http#ea08e617d4f2bd3b16a2de79fe4efb9dbbe489fc",
"skype-http": "git://github.com/Sorunome/skype-http#10555125f46307bbff93a8c4779889f4100669d2",
"tslint": "^5.17.0",
"typescript": "^3.7.4"
},

View File

@ -107,7 +107,7 @@ async function run() {
puppet.setGetDescHook(async (puppetId: number, data: any): Promise<string> => {
let s = "Skype";
if (data.username) {
s += ` as \`${data.username.substr("8:".length)}\``;
s += ` as \`${data.username}\``;
}
return s;
});