mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-06-04 23:59:56 +00:00
[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:
parent
0adeb86bfd
commit
35cf8b8725
3 changed files with 1192 additions and 1954 deletions
|
|
@ -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}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -109,4 +109,4 @@
|
|||
"buffer": "^6.0.3",
|
||||
"onnxruntime-common": "file:../common"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue