nodejs funnies

This commit is contained in:
biglyderv 2024-09-29 04:07:52 -04:00
parent 1811385b65
commit a3f74464d7
No known key found for this signature in database
GPG key ID: 33AC87E9ACE66954
3 changed files with 10 additions and 2 deletions

View file

@ -1,3 +1,3 @@
import crypto from "node:crypto";
import crypto from "crypto";
export default crypto;

9
package-lock.json generated
View file

@ -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",

View file

@ -1,5 +1,6 @@
{
"dependencies": {
"crypto": "^1.0.1",
"express": "^4.21.0",
"express-ws": "^5.0.2"
},