-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Samata19 patch 1 #3077
Open
Samata19
wants to merge
2
commits into
ritwickdey:master
Choose a base branch
from
Samata19:Samata19-patch-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Samata19 patch 1 #3077
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\Alisa\web site Gredeli> cd backend PS C:\Users\Alisa\web site Gredeli\backend> npm install npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. npm warn deprecated [email protected]: This package is no longer supported. npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported npm warn deprecated [email protected]: This package is no longer supported. npm warn deprecated [email protected]: This package is no longer supported. added 153 packages, and audited 154 packages in 11s 17 packages are looking for funding run `npm fund` for details 1 high severity vulnerability To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. PS C:\Users\Alisa\web site Gredeli\backend> npm audit fix up to date, audited 154 packages in 2s 17 packages are looking for funding run `npm fund` for details # npm audit report jsonwebtoken <=8.5.1 Severity: high jsonwebtoken vulnerable to signature validation bypass due to insecure default algorithm in jwt.verify() - GHSA-qwph-4952-7xr6 jsonwebtoken unrestricted key type could lead to legacy keys usage - GHSA-8cf7-32gw-wr33 jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC - GHSA-hjrf-2m68-5959 fix available via `npm audit fix --force` Will install [email protected], which is a breaking change node_modules/jsonwebtoken 1 high severity vulnerability To address all issues (including breaking changes), run: npm audit fix --force PS C:\Users\Alisa\web site Gredeli\backend> npm audit fix --force npm warn using --force Recommended protections disabled. npm warn audit Updating jsonwebtoken to 9.0.2, which is a SemVer major change. removed 1 package, changed 1 package, and audited 153 packages in 2s 17 packages are looking for funding run `npm fund` for details found 0 vulnerabilities PS C:\Users\Alisa\web site Gredeli\backend> npm audit found 0 vulnerabilities PS C:\Users\Alisa\web site Gredeli\backend> npm start > [email protected] start > node server.js الخادم يعمل على http://localhost:3000 C:\Users\Alisa\web site Gredeli\backend\server.js:24 if (err) throw err; ^ AggregateError [ECONNREFUSED]: at internalConnectMultiple (node:net:1139:18) at afterConnectMultiple (node:net:1712:7) -------------------- at Protocol._enqueue (C:\Users\Alisa\web site Gredeli\backend\node_modules\mysql\lib\protocol\Protocol.js:144:48) at Protocol.handshake (C:\Users\Alisa\web site Gredeli\backend\node_modules\mysql\lib\protocol\Protocol.js:51:23) at Connection.connect (C:\Users\Alisa\web site Gredeli\backend\node_modules\mysql\lib\Connection.js:116:18) at Object.<anonymous> (C:\Users\Alisa\web site Gredeli\backend\server.js:23:4) at Module._compile (node:internal/modules/cjs/loader:1562:14) at Object..js (node:internal/modules/cjs/loader:1699:10) at Module.load (node:internal/modules/cjs/loader:1313:32) at Function._load (node:internal/modules/cjs/loader:1123:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:217:24) { code: 'ECONNREFUSED', fatal: true, [errors]: [ Error: connect ECONNREFUSED ::1:3306 at createConnectionError (node:net:1675:14) at afterConnectMultiple (node:net:1705:16) { errno: -4078, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3306 }, Error: connect ECONNREFUSED 127.0.0.1:3306 at createConnectionError (node:net:1675:14) at afterConnectMultiple (node:net:1705:16) { errno: -4078, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3306 } ] } Node.js v22.13.1 PS C:\Users\Alisa\web site Gredeli\backend> npm update up to date, audited 153 packages in 9s 17 packages are looking for funding run `npm fund` for details found 0 vulnerabilities PS C:\Users\Alisa\web site Gredeli\backend> rm -rf node_modules >> npm install Remove-Item : Impossible de trouver un paramètre correspondant au nom « rf ». Au caractère Ligne:1 : 4 + rm -rf node_modules + ~~~ + ~~~ emove-Item], ParameterBindingException up to date, audited 153 packages in 1s 17 packages are looking for funding run `npm fund` for details found 0 vulnerabilities PS C:\Users\Alisa\web site Gredeli\backend> npm install up to date, audited 153 packages in 2s 17 packages are looking for funding run `npm fund` for details found 0 vulnerabilities PS C:\Users\Alisa\web site Gredeli\backend> npm start > [email protected] start > node server.js الخادم يعمل على http://localhost:3000 C:\Users\Alisa\web site Gredeli\backend\server.js:24 if (err) throw err; ^ AggregateError [ECONNREFUSED]: at internalConnectMultiple (node:net:1139:18) at afterConnectMultiple (node:net:1712:7) -------------------- at Protocol._enqueue (C:\Users\Alisa\web site Gredeli\backend\node_modules\mysql\lib\protocol\Protocol.js:144:48) at Protocol.handshake (C:\Users\Alisa\web site Gredeli\backend\node_modules\mysql\lib\protocol\Protocol.js:51:23) at Connection.connect (C:\Users\Alisa\web site Gredeli\backend\node_modules\mysql\lib\Connection.js:116:18) at Object.<anonymous> (C:\Users\Alisa\web site Gredeli\backend\server.js:23:4) at Module._compile (node:internal/modules/cjs/loader:1562:14) at Object..js (node:internal/modules/cjs/loader:1699:10) at Module.load (node:internal/modules/cjs/loader:1313:32) at Function._load (node:internal/modules/cjs/loader:1123:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:217:24) { code: 'ECONNREFUSED', fatal: true, [errors]: [ Error: connect ECONNREFUSED ::1:3306 at createConnectionError (node:net:1675:14) at afterConnectMultiple (node:net:1705:16) { errno: -4078, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3306 }, Error: connect ECONNREFUSED 127.0.0.1:3306 at createConnectionError (node:net:1675:14) at afterConnectMultiple (node:net:1705:16) { errno: -4078, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3306 } ] } Node.js v22.13.1 PS C:\Users\Alisa\web site Gredeli\backend> npm install up to date, audited 153 packages in 1s 17 packages are looking for funding run `npm fund` for details found 0 vulnerabilities PS C:\Users\Alisa\web site Gredeli\backend> npm start > [email protected] start > node server.js الخادم يعمل على http://localhost:3000 C:\Users\Alisa\web site Gredeli\backend\server.js:24 if (err) throw err; ^ AggregateError [ECONNREFUSED]: at internalConnectMultiple (node:net:1139:18) at afterConnectMultiple (node:net:1712:7) -------------------- at Protocol._enqueue (C:\Users\Alisa\web site Gredeli\backend\node_modules\mysql\lib\protocol\Protocol.js:144:48) at Protocol.handshake (C:\Users\Alisa\web site Gredeli\backend\node_modules\mysql\lib\protocol\Protocol.js:51:23) at Connection.connect (C:\Users\Alisa\web site Gredeli\backend\node_modules\mysql\lib\Connection.js:116:18) at Object.<anonymous> (C:\Users\Alisa\web site Gredeli\backend\server.js:23:4) at Module._compile (node:internal/modules/cjs/loader:1562:14) at Object..js (node:internal/modules/cjs/loader:1699:10) at Module.load (node:internal/modules/cjs/loader:1313:32) at Function._load (node:internal/modules/cjs/loader:1123:12) at TracingChannel.traceSync (node:diagnostics_channel:322:14) at wrapModuleLoad (node:internal/modules/cjs/loader:217:24) { code: 'ECONNREFUSED', fatal: true, [errors]: [ Error: connect ECONNREFUSED ::1:3306 at createConnectionError (node:net:1675:14) at afterConnectMultiple (node:net:1705:16) { errno: -4078, code: 'ECONNREFUSED', syscall: 'connect', address: '::1', port: 3306 }, Error: connect ECONNREFUSED 127.0.0.1:3306 at createConnectionError (node:net:1675:14) at afterConnectMultiple (node:net:1705:16) { errno: -4078, code: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 3306 } ] } Node.js v22.13.1
<!DOCTYPE html> <html lang="ar"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Gredeli-Uber</title> <link rel="stylesheet" href="styles.css"> </head> <body> <header> <h1>مرحبًا بكم في Gredeli-Uber</h1> </header> <main> <section id="auth"> <h2>تسجيل الدخول</h2> <input type="email" id="email" placeholder="البريد الإلكتروني"> <input type="password" id="password" placeholder="كلمة المرور"> <button onclick="login()">تسجيل الدخول</button> <p id="authMessage"></p> </section> <section id="orders" style="display: none;"> <h2>طلباتك</h2> <ul id="orderList"></ul> </section> </main> <footer> <p>© 2023 Gredeli-Uber. جميع الحقوق محفوظة.</p> </footer> <script src="script.js"></script> </body> </html>
Do you want me to review this PR? Please comment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Type
What kind of change does this PR introduce?
[ ] Bugfix [ ] Feature [ ] Refactoring (no functional changes, no api changes) [ ] Documentation content changes [ ] Other: <!-- Please describe: -->
What is the current behavior?
Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?
Other information