nodejs funnies
This commit is contained in:
parent
ada9ea7338
commit
0a1be30d40
3 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
import crypto from "node:crypto";
|
||||
import crypto from "crypto";
|
||||
|
||||
export default crypto;
|
9
package-lock.json
generated
9
package-lock.json
generated
|
@ -1,10 +1,11 @@
|
|||
{
|
||||
"name": "onekey",
|
||||
"name": "unibutton",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"dependencies": {
|
||||
"crypto": "^1.0.1",
|
||||
"express": "^4.21.0",
|
||||
"express-ws": "^5.0.2"
|
||||
}
|
||||
|
@ -107,6 +108,12 @@
|
|||
"resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz",
|
||||
"integrity": "sha512-QADzlaHc8icV8I7vbaJXJwod9HWYp8uCqf1xa4OfNu1T7JVxQIrUgOWtHdNDtPiywmFbiS12VjotIXLrKM3orQ=="
|
||||
},
|
||||
"node_modules/crypto": {
|
||||
"version": "1.0.1",
|
||||
"resolved": "https://registry.npmjs.org/crypto/-/crypto-1.0.1.tgz",
|
||||
"integrity": "sha512-VxBKmeNcqQdiUQUW2Tzq0t377b54N2bMtXO/qiLa+6eRRmmC4qT3D4OnTGoT/U6O9aklQ/jTwbOtRMTTY8G0Ig==",
|
||||
"deprecated": "This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in."
|
||||
},
|
||||
"node_modules/debug": {
|
||||
"version": "2.6.9",
|
||||
"resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"dependencies": {
|
||||
"crypto": "^1.0.1",
|
||||
"express": "^4.21.0",
|
||||
"express-ws": "^5.0.2"
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue