Parcourir la source

"update:改写登录逻辑"

abstract001 il y a 1 an
Parent
commit
5e12793f35

+ 22 - 25
app-angular/package-lock.json

@@ -22,6 +22,7 @@
         "@types/parse": "^3.0.5",
         "bootstrap": "^5.2.3",
         "echarts": "^5.4.3",
+        "https-proxy-agent": "^7.0.2",
         "ng-zorro-antd": "^16.2.2",
         "ngx-amap": "^3.0.5",
         "ngx-bootstrap": "^11.0.2",
@@ -3272,15 +3273,6 @@
         "npm": ">=7.10.0"
       }
     },
-    "node_modules/@tootallnate/once": {
-      "version": "1.1.2",
-      "resolved": "http://registry.npmmirror.com/@tootallnate/once/-/once-1.1.2.tgz",
-      "integrity": "sha512-RbzJvlNzmRq5c3O09UipeuXno4tA1FE6ikOjxZK0tuxVv3412l64l5t1W5pj4+rJq9vpkm/kwiR07aZXnsKPxw==",
-      "dev": true,
-      "engines": {
-        "node": ">= 6"
-      }
-    },
     "node_modules/@tufjs/canonical-json": {
       "version": "1.0.0",
       "resolved": "http://registry.npmmirror.com/@tufjs/canonical-json/-/canonical-json-1.0.0.tgz",
@@ -5209,7 +5201,6 @@
       "version": "4.3.4",
       "resolved": "http://registry.npmmirror.com/debug/-/debug-4.3.4.tgz",
       "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==",
-      "dev": true,
       "dependencies": {
         "ms": "2.1.2"
       },
@@ -6655,12 +6646,11 @@
       }
     },
     "node_modules/http-proxy-agent": {
-      "version": "4.0.1",
-      "resolved": "http://registry.npmmirror.com/http-proxy-agent/-/http-proxy-agent-4.0.1.tgz",
-      "integrity": "sha512-k0zdNgqWTGA6aeIRVpvfVob4fL52dTfaehylg0Y4UvSySvOq/Y+BOyPrgpUrA7HylqvU8vIZGsRuXmspskV0Tg==",
+      "version": "5.0.1",
+      "resolved": "http://registry.npmmirror.com/http-proxy-agent/-/http-proxy-agent-5.0.1.tgz",
+      "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
       "dev": true,
       "dependencies": {
-        "@tootallnate/once": "1",
         "agent-base": "6",
         "debug": "4"
       },
@@ -6692,17 +6682,27 @@
         }
       }
     },
-    "node_modules/http-proxy-agent": {
-      "version": "5.0.1",
-      "resolved": "http://registry.npmmirror.com/http-proxy-agent/-/http-proxy-agent-5.0.1.tgz",
-      "integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
-      "dev": true,
+    "node_modules/https-proxy-agent": {
+      "version": "7.0.2",
+      "resolved": "https://registry.npmmirror.com/https-proxy-agent/-/https-proxy-agent-7.0.2.tgz",
+      "integrity": "sha512-NmLNjm6ucYwtcUmL7JQC1ZQ57LmHP4lT15FQ8D61nak1rO6DH+fz5qNK2Ap5UN4ZapYICE3/0KodcLYSPsPbaA==",
       "dependencies": {
-        "agent-base": "6",
+        "agent-base": "^7.0.2",
         "debug": "4"
       },
       "engines": {
-        "node": ">= 6"
+        "node": ">= 14"
+      }
+    },
+    "node_modules/https-proxy-agent/node_modules/agent-base": {
+      "version": "7.1.0",
+      "resolved": "https://registry.npmmirror.com/agent-base/-/agent-base-7.1.0.tgz",
+      "integrity": "sha512-o/zjMZRhJxny7OyEF+Op8X+efiELC7k7yOjMzgfzVqOzXqkBkWI79YoTdOtsuWd5BWhAGAuOY/Xa6xpiaWXiNg==",
+      "dependencies": {
+        "debug": "^4.3.4"
+      },
+      "engines": {
+        "node": ">= 14"
       }
     },
     "node_modules/human-signals": {
@@ -7404,7 +7404,6 @@
         "escodegen": "^2.0.0",
         "form-data": "^3.0.0",
         "html-encoding-sniffer": "^2.0.1",
-        "http-proxy-agent": "^4.0.1",
         "http-proxy-agent": "^5.0.0",
         "is-potential-custom-element-name": "^1.0.1",
         "nwsapi": "^2.2.0",
@@ -7968,7 +7967,6 @@
         "cacache": "^17.0.0",
         "http-cache-semantics": "^4.1.1",
         "http-proxy-agent": "^5.0.0",
-        "http-proxy-agent": "^5.0.0",
         "is-lambda": "^1.0.1",
         "lru-cache": "^7.7.1",
         "minipass": "^5.0.0",
@@ -8399,8 +8397,7 @@
     "node_modules/ms": {
       "version": "2.1.2",
       "resolved": "http://registry.npmmirror.com/ms/-/ms-2.1.2.tgz",
-      "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
-      "dev": true
+      "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
     },
     "node_modules/multicast-dns": {
       "version": "7.2.5",

+ 1 - 0
app-angular/package.json

@@ -24,6 +24,7 @@
     "@types/parse": "^3.0.5",
     "bootstrap": "^5.2.3",
     "echarts": "^5.4.3",
+    "https-proxy-agent": "^7.0.2",
     "ng-zorro-antd": "^16.2.2",
     "ngx-amap": "^3.0.5",
     "ngx-bootstrap": "^11.0.2",

+ 1 - 1
app-angular/src/modules/user/page-login/page-login.component.ts

@@ -39,7 +39,7 @@ export class PageLoginComponent {
     try {
       let isLogin = await this.userServ.checkUserByAccount(this.userData.account, this.userData.password)
       console.log(isLogin)
-      if (isLogin === true) {
+      if (isLogin) {
         this.goBack();
       } else {
         await this.alertError(isLogin?.toString())

+ 45 - 20
app-angular/src/modules/user/service-user/user.service.ts

@@ -4,7 +4,7 @@ import {HttpClient, HttpHeaders} from "@angular/common/http";
 //得到用户列表
 import * as Parse from "parse"
 
-(Parse as any).serverURL = "https://web2023.fmode.cn/parse"
+(Parse as any).serverURL = "http://metapunk.cn:9999/parse";
 // https://web2023.fmode.cn/s0210490/api/user/login
 Parse.initialize("dev")
 
@@ -111,15 +111,15 @@ export class UserService {
   //   );
   // }
 
-  async checkUserByAccount(account: string, password: string) {
+  async checkUserByAccount(username: string, password: string) {
     // const url = 'http://web2023.fmode.cn:23000/user/login';
-    const url = 'https://web2023.fmode.cn/s0210490/api/user/login';
-
-    // const url = 'http://localhost:23000/user/login';
-    const data = {account, password}
-    const headers = new HttpHeaders({
-      'Content-Type': 'application/json'
-    });
+    // const url = 'https://web2023.fmode.cn/s0210490/api/user/login';
+    //
+    // // const url = 'http://localhost:23000/user/login';
+    // const data = {account, password}
+    // const headers = new HttpHeaders({
+    //   'Content-Type': 'application/json'
+    // });
     // let result = await this.http.post(url, data, {headers}).toPromise();
     // if (result) {
     //   console.log(result)
@@ -136,18 +136,43 @@ export class UserService {
 
     // return this.http.get(url, {params}).toPromise();
 
-    return new Promise(resolve => {
-      this.http.post(url, data, {headers}).subscribe((result) => {
-        if (result) {
-          console.log(result)
-          localStorage.setItem("USER_AUTH", JSON.stringify(result));
-          resolve(true);
-        } else {
-          resolve(false);
-        }
-      });
-    })
+    // return new Promise(resolve => {
+    //   this.http.post(url, data, {headers}).subscribe((result) => {
+    //     if (result) {
+    //       console.log(result)
+    //       localStorage.setItem("USER_AUTH", JSON.stringify(result));
+    //       resolve(true);
+    //     } else {
+    //       resolve(false);
+    //     }
+    //   });
+    // })
+    let isLogin = await this.login_user(username, password);
+    if (isLogin) {
+      return true;
+    } else {
+      throw "账号或者密码错误"
+    }
+
+  }
 
+  async login_user(username: string, password: string) {
+    if (!username) {
+      throw "账户不存在"
+    }
+    try {
+      let user = Parse.User.logIn(username, password);
+      console.log(user)
+      // if (user?.id) {
+      //   // await this.route.navigate(['/home']);
+      //   return true
+      // } else {
+      //   return false
+      // }
+      return true
+    } catch (e) {
+      throw e
+    }
 
   }
 

+ 11 - 11
app-node/node_modules/.package-lock.json

@@ -5,7 +5,7 @@
   "packages": {
     "node_modules/@babel/runtime-corejs3": {
       "version": "7.21.0",
-      "resolved": "https://registry.npmmirror.com/@babel/runtime-corejs3/-/runtime-corejs3-7.21.0.tgz",
+      "resolved": "http://registry.npmmirror.com/@babel/runtime-corejs3/-/runtime-corejs3-7.21.0.tgz",
       "integrity": "sha512-TDD4UJzos3JJtM+tHX+w2Uc+KWj7GV+VKKFdMVd2Rx8sdA19hcc3P3AHFYd5LVOw+pYuSd5lICC3gm52B6Rwxw==",
       "dependencies": {
         "core-js-pure": "^3.25.1",
@@ -17,19 +17,19 @@
     },
     "node_modules/core-js-pure": {
       "version": "3.33.0",
-      "resolved": "https://registry.npmmirror.com/core-js-pure/-/core-js-pure-3.33.0.tgz",
+      "resolved": "http://registry.npmmirror.com/core-js-pure/-/core-js-pure-3.33.0.tgz",
       "integrity": "sha512-FKSIDtJnds/YFIEaZ4HszRX7hkxGpNKM7FC9aJ9WLJbSd3lD4vOltFuVIBLR8asSx9frkTSqL0dw90SKQxgKrg==",
       "hasInstallScript": true
     },
     "node_modules/crypto-js": {
       "version": "4.1.1",
-      "resolved": "https://registry.npmmirror.com/crypto-js/-/crypto-js-4.1.1.tgz",
+      "resolved": "http://registry.npmmirror.com/crypto-js/-/crypto-js-4.1.1.tgz",
       "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==",
       "optional": true
     },
     "node_modules/idb-keyval": {
       "version": "6.2.0",
-      "resolved": "https://registry.npmmirror.com/idb-keyval/-/idb-keyval-6.2.0.tgz",
+      "resolved": "http://registry.npmmirror.com/idb-keyval/-/idb-keyval-6.2.0.tgz",
       "integrity": "sha512-uw+MIyQn2jl3+hroD7hF8J7PUviBU7BPKWw4f/ISf32D4LoGu98yHjrzWWJDASu9QNrX10tCJqk9YY0ClWm8Ng==",
       "dependencies": {
         "safari-14-idb-fix": "^3.0.0"
@@ -37,7 +37,7 @@
     },
     "node_modules/parse": {
       "version": "4.2.0",
-      "resolved": "https://registry.npmmirror.com/parse/-/parse-4.2.0.tgz",
+      "resolved": "http://registry.npmmirror.com/parse/-/parse-4.2.0.tgz",
       "integrity": "sha512-K8bWs0wM2qRhkSr6N16j8OvsF6Uallrynqng9e+tzR3RdKuB09vaJh48qrf9MbiJ1Ya4JZI7AfEHYF+ywEKs7Q==",
       "dependencies": {
         "@babel/runtime-corejs3": "7.21.0",
@@ -56,22 +56,22 @@
     },
     "node_modules/react-native-crypto-js": {
       "version": "1.0.0",
-      "resolved": "https://registry.npmmirror.com/react-native-crypto-js/-/react-native-crypto-js-1.0.0.tgz",
+      "resolved": "http://registry.npmmirror.com/react-native-crypto-js/-/react-native-crypto-js-1.0.0.tgz",
       "integrity": "sha512-FNbLuG/HAdapQoybeZSoes1PWdOj0w242gb+e1R0hicf3Gyj/Mf8M9NaED2AnXVOX01b2FXomwUiw1xP1K+8sA=="
     },
     "node_modules/regenerator-runtime": {
       "version": "0.13.11",
-      "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
+      "resolved": "http://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
       "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg=="
     },
     "node_modules/safari-14-idb-fix": {
       "version": "3.0.0",
-      "resolved": "https://registry.npmmirror.com/safari-14-idb-fix/-/safari-14-idb-fix-3.0.0.tgz",
+      "resolved": "http://registry.npmmirror.com/safari-14-idb-fix/-/safari-14-idb-fix-3.0.0.tgz",
       "integrity": "sha512-eBNFLob4PMq8JA1dGyFn6G97q3/WzNtFK4RnzT1fnLq+9RyrGknzYiM/9B12MnKAxuj1IXr7UKYtTNtjyKMBog=="
     },
     "node_modules/uuid": {
       "version": "9.0.0",
-      "resolved": "https://registry.npmmirror.com/uuid/-/uuid-9.0.0.tgz",
+      "resolved": "http://registry.npmmirror.com/uuid/-/uuid-9.0.0.tgz",
       "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==",
       "bin": {
         "uuid": "dist/bin/uuid"
@@ -79,7 +79,7 @@
     },
     "node_modules/ws": {
       "version": "8.13.0",
-      "resolved": "https://registry.npmmirror.com/ws/-/ws-8.13.0.tgz",
+      "resolved": "http://registry.npmmirror.com/ws/-/ws-8.13.0.tgz",
       "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==",
       "engines": {
         "node": ">=10.0.0"
@@ -99,7 +99,7 @@
     },
     "node_modules/xmlhttprequest": {
       "version": "1.8.0",
-      "resolved": "https://registry.npmmirror.com/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz",
+      "resolved": "http://registry.npmmirror.com/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz",
       "integrity": "sha512-58Im/U0mlVBLM38NdZjHyhuMtCqa61469k2YP/AaPbvCoV9aQGUpbJBj1QRm2ytRiVQBD/fsw7L2bJGDVQswBA==",
       "engines": {
         "node": ">=0.4.0"

+ 8 - 0
app-node/parse-api-catch/get.js

@@ -0,0 +1,8 @@
+const Parse = require("parse/node")
+Parse.serverURL = "http://web2023.fmode.cn:9999/parse" // 配置服务器地址
+Parse.initialize("dev") // 配置应用名称
+
+const user = await Parse.User.logIn("1", "12");
+// Do stuff after successful login.
+
+console.log(user)

+ 30 - 0
app-node/parse-api-catch/login.js

@@ -0,0 +1,30 @@
+const Parse = require("parse/node");
+
+Parse.serverURL = "http://web2023.fmode.cn:9999/parse"; // 配置服务器地址
+Parse.initialize("dev"); // 配置应用名称
+
+
+async function login_user(usr) {
+  if (!usr?.account) {
+    throw "账户不存在"
+  }
+  try {
+    let current = Parse.User.logIn(usr.account, usr.password);
+    if (usr?.account) {
+      // await this.route.navigate(['/home']);
+      console.log(current)
+    } else {
+      throw "账号或者密码有误"
+    }
+  } catch (e) {
+    throw e
+  }
+}
+
+login_user({
+  account: "1",
+  password: "12",
+
+})
+
+module.exports.login_user = login_user

+ 49 - 0
app-node/parse-api-catch/register.js

@@ -0,0 +1,49 @@
+const Parse = require("parse/node");
+
+Parse.serverURL = "http://web2023.fmode.cn:9999/parse"; // 配置服务器地址
+Parse.initialize("dev"); // 配置应用名称
+
+async function registerUser(user) {
+  let query = new Parse.Query("LjUser");
+  query.descending("stuno");
+  query.first().then(async result => {
+    const maxStuno = result.get("stuno");
+    console.log(maxStuno);
+    const stuno_new = (parseInt(maxStuno) + 1).toString().padStart(9, "0");
+    console.log(user.account)
+
+    const user1 = new Parse.User();
+    user1.set("username", "12")
+    user1.set("account", user.account);
+    user1.set("name", "雅力士")
+    user1.set("password", user.password);
+    user1.set("email", user.email);
+    user1.set("gender", user.gender);
+    user1.set("stuno", stuno_new);
+    user1.set("member", "1");
+    user1.set("skills", user.skills);
+    user1.set("isFirstRegister", "1");
+    user1.set("availableBalance", "2.00");
+    user1.set("birthday", user.birthday);
+    user1.set("phoneNumber", "")
+    try {
+      await user1.signUp();
+      // Hooray! Let them use the app now.
+    } catch (error) {
+      console.log(error)
+    }
+
+    // UPDATE "Profile" SET "schoolClass"='DGnxrAMgJD';
+  }).catch(error => {
+    console.log("请检查网络问题");
+  });
+
+}
+
+registerUser({
+  account: "2",
+  password: "12",
+  email: "122@qq.com",
+  skills: "1",
+  birthday: "1"
+});

+ 15 - 15
ecosystem.config.js

@@ -1,15 +1,15 @@
-module.exports = {
-  apps: [
-    {
-      name: 'case-psql',
-      script: 'server.js',
-      instances: 'max',
-      autorestart: true,
-      watch: false,
-      max_memory_restart: '1G',
-      env: {
-        NODE_ENV: 'production'
-      }
-    }
-  ]
-};
+// module.exports = {
+//   apps: [
+//     {
+//       name: 'case-psql',
+//       script: 'server.js',
+//       instances: 'max',
+//       autorestart: true,
+//       watch: false,
+//       max_memory_restart: '1G',
+//       env: {
+//         NODE_ENV: 'production'
+//       }
+//     }
+//   ]
+// };

+ 21 - 21
node_modules/.package-lock.json

@@ -1,11 +1,11 @@
 {
-  "name": "Eve-Project",
+  "name": "Eve-Project-master",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {
     "node_modules/@angular/common": {
       "version": "16.2.9",
-      "resolved": "https://registry.npmmirror.com/@angular/common/-/common-16.2.9.tgz",
+      "resolved": "http://registry.npmmirror.com/@angular/common/-/common-16.2.9.tgz",
       "integrity": "sha512-5Lh5KsxCkaoBDeSAghKNF5lCi0083ug4X2X7wnafsSd6Z3xt/rDjH9hDOP5SF5IDLtCVjJgHfs3cCLSTjRuNwg==",
       "peer": true,
       "dependencies": {
@@ -21,7 +21,7 @@
     },
     "node_modules/@angular/core": {
       "version": "16.2.9",
-      "resolved": "https://registry.npmmirror.com/@angular/core/-/core-16.2.9.tgz",
+      "resolved": "http://registry.npmmirror.com/@angular/core/-/core-16.2.9.tgz",
       "integrity": "sha512-chvPX29ZBcMDuh7rLIgb0Cru6oJ/0FaqRzfOI3wT4W2F9W1HOlCtipovzmPYaUAmXBWfVP4EBO9TOWnpog0S0w==",
       "peer": true,
       "dependencies": {
@@ -37,7 +37,7 @@
     },
     "node_modules/@angular/platform-browser": {
       "version": "16.2.9",
-      "resolved": "https://registry.npmmirror.com/@angular/platform-browser/-/platform-browser-16.2.9.tgz",
+      "resolved": "http://registry.npmmirror.com/@angular/platform-browser/-/platform-browser-16.2.9.tgz",
       "integrity": "sha512-9Je7+Jmx0AOyRzBBumraVJG3M0R6YbT4c9jTUbLGJCcPxwDI3/u2ZzvW3rBqpmrDaqLxN5f1LcZeTZx287QeqQ==",
       "peer": true,
       "dependencies": {
@@ -59,7 +59,7 @@
     },
     "node_modules/@ant-design/colors": {
       "version": "7.0.0",
-      "resolved": "https://registry.npmmirror.com/@ant-design/colors/-/colors-7.0.0.tgz",
+      "resolved": "http://registry.npmmirror.com/@ant-design/colors/-/colors-7.0.0.tgz",
       "integrity": "sha512-iVm/9PfGCbC0dSMBrz7oiEXZaaGH7ceU40OJEfKmyuzR9R5CRimJYPlRiFtMQGQcbNMea/ePcoIebi4ASGYXtg==",
       "dependencies": {
         "@ctrl/tinycolor": "^3.4.0"
@@ -67,7 +67,7 @@
     },
     "node_modules/@ant-design/icons-angular": {
       "version": "16.0.0",
-      "resolved": "https://registry.npmmirror.com/@ant-design/icons-angular/-/icons-angular-16.0.0.tgz",
+      "resolved": "http://registry.npmmirror.com/@ant-design/icons-angular/-/icons-angular-16.0.0.tgz",
       "integrity": "sha512-KWBmWZl2so49R/MdAT7aG+xaBlMKl9SArR3Du/iPA0Am9GI1i9R89KgnnLWz+gkzHTye15S1IBXpgts4GPPU/w==",
       "dependencies": {
         "@ant-design/colors": "^7.0.0",
@@ -82,7 +82,7 @@
     },
     "node_modules/@babel/runtime-corejs3": {
       "version": "7.21.0",
-      "resolved": "https://registry.npmmirror.com/@babel/runtime-corejs3/-/runtime-corejs3-7.21.0.tgz",
+      "resolved": "http://registry.npmmirror.com/@babel/runtime-corejs3/-/runtime-corejs3-7.21.0.tgz",
       "integrity": "sha512-TDD4UJzos3JJtM+tHX+w2Uc+KWj7GV+VKKFdMVd2Rx8sdA19hcc3P3AHFYd5LVOw+pYuSd5lICC3gm52B6Rwxw==",
       "dependencies": {
         "core-js-pure": "^3.25.1",
@@ -94,7 +94,7 @@
     },
     "node_modules/@ctrl/tinycolor": {
       "version": "3.6.1",
-      "resolved": "https://registry.npmmirror.com/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz",
+      "resolved": "http://registry.npmmirror.com/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz",
       "integrity": "sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==",
       "engines": {
         "node": ">=10"
@@ -102,19 +102,19 @@
     },
     "node_modules/core-js-pure": {
       "version": "3.33.1",
-      "resolved": "https://registry.npmmirror.com/core-js-pure/-/core-js-pure-3.33.1.tgz",
+      "resolved": "http://registry.npmmirror.com/core-js-pure/-/core-js-pure-3.33.1.tgz",
       "integrity": "sha512-wCXGbLjnsP10PlK/thHSQlOLlLKNEkaWbTzVvHHZ79fZNeN1gUmw2gBlpItxPv/pvqldevEXFh/d5stdNvl6EQ==",
       "hasInstallScript": true
     },
     "node_modules/crypto-js": {
       "version": "4.1.1",
-      "resolved": "https://registry.npmmirror.com/crypto-js/-/crypto-js-4.1.1.tgz",
+      "resolved": "http://registry.npmmirror.com/crypto-js/-/crypto-js-4.1.1.tgz",
       "integrity": "sha512-o2JlM7ydqd3Qk9CA0L4NL6mTzU2sdx96a+oOfPu8Mkl/PK51vSyoi8/rQ8NknZtk44vq15lmhAj9CIAGwgeWKw==",
       "optional": true
     },
     "node_modules/idb-keyval": {
       "version": "6.2.0",
-      "resolved": "https://registry.npmmirror.com/idb-keyval/-/idb-keyval-6.2.0.tgz",
+      "resolved": "http://registry.npmmirror.com/idb-keyval/-/idb-keyval-6.2.0.tgz",
       "integrity": "sha512-uw+MIyQn2jl3+hroD7hF8J7PUviBU7BPKWw4f/ISf32D4LoGu98yHjrzWWJDASu9QNrX10tCJqk9YY0ClWm8Ng==",
       "dependencies": {
         "safari-14-idb-fix": "^3.0.0"
@@ -122,7 +122,7 @@
     },
     "node_modules/parse": {
       "version": "4.2.0",
-      "resolved": "https://registry.npmmirror.com/parse/-/parse-4.2.0.tgz",
+      "resolved": "http://registry.npmmirror.com/parse/-/parse-4.2.0.tgz",
       "integrity": "sha512-K8bWs0wM2qRhkSr6N16j8OvsF6Uallrynqng9e+tzR3RdKuB09vaJh48qrf9MbiJ1Ya4JZI7AfEHYF+ywEKs7Q==",
       "dependencies": {
         "@babel/runtime-corejs3": "7.21.0",
@@ -141,17 +141,17 @@
     },
     "node_modules/react-native-crypto-js": {
       "version": "1.0.0",
-      "resolved": "https://registry.npmmirror.com/react-native-crypto-js/-/react-native-crypto-js-1.0.0.tgz",
+      "resolved": "http://registry.npmmirror.com/react-native-crypto-js/-/react-native-crypto-js-1.0.0.tgz",
       "integrity": "sha512-FNbLuG/HAdapQoybeZSoes1PWdOj0w242gb+e1R0hicf3Gyj/Mf8M9NaED2AnXVOX01b2FXomwUiw1xP1K+8sA=="
     },
     "node_modules/regenerator-runtime": {
       "version": "0.13.11",
-      "resolved": "https://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
+      "resolved": "http://registry.npmmirror.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz",
       "integrity": "sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg=="
     },
     "node_modules/rxjs": {
       "version": "7.8.1",
-      "resolved": "https://registry.npmmirror.com/rxjs/-/rxjs-7.8.1.tgz",
+      "resolved": "http://registry.npmmirror.com/rxjs/-/rxjs-7.8.1.tgz",
       "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==",
       "peer": true,
       "dependencies": {
@@ -160,17 +160,17 @@
     },
     "node_modules/safari-14-idb-fix": {
       "version": "3.0.0",
-      "resolved": "https://registry.npmmirror.com/safari-14-idb-fix/-/safari-14-idb-fix-3.0.0.tgz",
+      "resolved": "http://registry.npmmirror.com/safari-14-idb-fix/-/safari-14-idb-fix-3.0.0.tgz",
       "integrity": "sha512-eBNFLob4PMq8JA1dGyFn6G97q3/WzNtFK4RnzT1fnLq+9RyrGknzYiM/9B12MnKAxuj1IXr7UKYtTNtjyKMBog=="
     },
     "node_modules/tslib": {
       "version": "2.6.2",
-      "resolved": "https://registry.npmmirror.com/tslib/-/tslib-2.6.2.tgz",
+      "resolved": "http://registry.npmmirror.com/tslib/-/tslib-2.6.2.tgz",
       "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q=="
     },
     "node_modules/uuid": {
       "version": "9.0.0",
-      "resolved": "https://registry.npmmirror.com/uuid/-/uuid-9.0.0.tgz",
+      "resolved": "http://registry.npmmirror.com/uuid/-/uuid-9.0.0.tgz",
       "integrity": "sha512-MXcSTerfPa4uqyzStbRoTgt5XIe3x5+42+q1sDuy3R5MDk66URdLMOZe5aPX/SQd+kuYAh0FdP/pO28IkQyTeg==",
       "bin": {
         "uuid": "dist/bin/uuid"
@@ -178,7 +178,7 @@
     },
     "node_modules/ws": {
       "version": "8.13.0",
-      "resolved": "https://registry.npmmirror.com/ws/-/ws-8.13.0.tgz",
+      "resolved": "http://registry.npmmirror.com/ws/-/ws-8.13.0.tgz",
       "integrity": "sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==",
       "engines": {
         "node": ">=10.0.0"
@@ -198,7 +198,7 @@
     },
     "node_modules/xmlhttprequest": {
       "version": "1.8.0",
-      "resolved": "https://registry.npmmirror.com/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz",
+      "resolved": "http://registry.npmmirror.com/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz",
       "integrity": "sha512-58Im/U0mlVBLM38NdZjHyhuMtCqa61469k2YP/AaPbvCoV9aQGUpbJBj1QRm2ytRiVQBD/fsw7L2bJGDVQswBA==",
       "engines": {
         "node": ">=0.4.0"
@@ -206,7 +206,7 @@
     },
     "node_modules/zone.js": {
       "version": "0.13.3",
-      "resolved": "https://registry.npmmirror.com/zone.js/-/zone.js-0.13.3.tgz",
+      "resolved": "http://registry.npmmirror.com/zone.js/-/zone.js-0.13.3.tgz",
       "integrity": "sha512-MKPbmZie6fASC/ps4dkmIhaT5eonHkEt6eAy80K42tAm0G2W+AahLJjbfi6X9NPdciOE9GRFTTM8u2IiF6O3ww==",
       "peer": true,
       "dependencies": {

+ 1 - 1
package-lock.json

@@ -1,5 +1,5 @@
 {
-  "name": "Eve-Project",
+  "name": "Eve-Project-master",
   "lockfileVersion": 3,
   "requires": true,
   "packages": {