[js/react_native] npm audit fix (#9876)

* add p50 in test

* Audit fix for react native

Co-authored-by: Yulong Wang <yulongw@microsoft.com>
This commit is contained in:
Sunghoon 2021-12-08 13:27:31 -08:00 committed by GitHub
parent 0adeb86bfd
commit 35cf8b8725
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 1192 additions and 1954 deletions

View file

@ -58,7 +58,7 @@ class OnnxruntimeSessionHandler implements SessionHandler {
this.inputNames = results.inputNames;
this.outputNames = results.outputNames;
} catch (e) {
throw new Error(`Can't load a model: ${e.message}`);
throw new Error(`Can't load a model: ${(e as Error).message}`);
}
}

View file

@ -109,4 +109,4 @@
"buffer": "^6.0.3",
"onnxruntime-common": "file:../common"
}
}
}

File diff suppressed because it is too large Load diff