Skip to content
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

Create web_gredeli #3076

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
241 changes: 241 additions & 0 deletions .github/web_gredeli
Original file line number Diff line number Diff line change
@@ -0,0 +1,241 @@
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() - https://github.com/advisories/GHSA-qwph-4952-7xr6
jsonwebtoken unrestricted key type could lead to legacy keys usage - https://github.com/advisories/GHSA-8cf7-32gw-wr33
jsonwebtoken's insecure implementation of key retrieval function could lead to Forgeable Public/Private Tokens from RSA to HMAC - https://github.com/advisories/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