chore: upgrade str2int

pull/13/head
moonrailgun 4 years ago
parent 3b8e545786
commit 02c006e1b8

@ -1 +0,0 @@
declare module 'str2int';

@ -7,7 +7,7 @@ import { config } from '../config';
* ()
* @param str
*/
export function isAvailableString(str: any): boolean {
export function isAvailableString(str: unknown): boolean {
return typeof str === 'string' && str.length > 0;
}

@ -0,0 +1,2 @@
# https://npm.taobao.org/mirrors/
registry = https://registry.npm.taobao.org

@ -27,6 +27,7 @@
"react-transition-group": "^4.4.2",
"react-use-gesture": "^9.1.3",
"socket.io-client": "^4.1.2",
"str2int": "^1.1.0",
"tailchat-shared": "*",
"tailwindcss": "^2.2.4",
"yup": "^0.32.9"

@ -8546,10 +8546,10 @@ static-extend@^0.1.1:
resolved "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c"
integrity sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=
str2int@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/str2int/-/str2int-1.0.0.tgz#2bff996bdd7c8aa16891b5677b865608a0330dff"
integrity sha512-rhRV56wlT7fE+zUtVUAgnr3LCDLfkmmeoVCtggjHezi0JbXmtdcbAXp6KV3LegP5nFXSqBaGy9VDvc3vvHb/Sg==
str2int@^1.1.0:
version "1.1.0"
resolved "https://registry.nlark.com/str2int/download/str2int-1.1.0.tgz#f055bec26f782921e0544f0c97c009ff466f13e5"
integrity sha1-8FW+wm94KSHgVE8Ml8AJ/0ZvE+U=
stream-shift@^1.0.0:
version "1.0.1"

Loading…
Cancel
Save