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

[Snyk] Upgrade: , , , cookie-session, express, express-validator, , mongoose, typescript #116

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AlexanderSCK
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade multiple dependencies.

👯 The following dependencies are linked and will therefore be updated together.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

Name Versions Released on

@types/express
from 4.17.13 to 4.17.21 | 8 versions ahead of your current version | 10 months ago
on 2023-11-07
@types/cookie-session
from 2.0.44 to 2.0.49 | 5 versions ahead of your current version | 5 months ago
on 2024-04-17
@types/jsonwebtoken
from 8.5.8 to 8.5.9 | 1 version ahead of your current version | 2 years ago
on 2022-08-24
cookie-session
from 2.0.0 to 2.1.0 | 1 version ahead of your current version | 8 months ago
on 2024-01-24
express
from 4.17.3 to 4.19.2 | 7 versions ahead of your current version | 6 months ago
on 2024-03-25
express-validator
from 6.14.0 to 6.15.0 | 4 versions ahead of your current version | 2 years ago
on 2023-02-16
@ap99tickets/common
from 1.0.5 to 1.0.13 | 8 versions ahead of your current version | 2 years ago
on 2022-05-19
mongoose
from 8.0.0 to 8.6.0 | 32 versions ahead of your current version | 22 days ago
on 2024-08-28
typescript
from 4.6.3 to 4.9.5 | 260 versions ahead of your current version | 2 years ago
on 2023-01-30

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
519 No Known Exploit
Release notes
Package name: @types/express
  • 4.17.21 - 2023-11-07
  • 4.17.20 - 2023-10-18
  • 4.17.19 - 2023-10-10
  • 4.17.18 - 2023-09-23
  • 4.17.17 - 2023-02-03
  • 4.17.16 - 2023-01-23
  • 4.17.15 - 2022-12-13
  • 4.17.14 - 2022-09-13
  • 4.17.13 - 2021-07-06
from @types/express GitHub release notes
Package name: @types/cookie-session
  • 2.0.49 - 2024-04-17
  • 2.0.48 - 2023-11-20
  • 2.0.47 - 2023-11-07
  • 2.0.46 - 2023-10-18
  • 2.0.45 - 2023-09-04
  • 2.0.44 - 2021-12-23
from @types/cookie-session GitHub release notes
Package name: @types/jsonwebtoken
  • 8.5.9 - 2022-08-24
  • 8.5.8 - 2022-01-17
from @types/jsonwebtoken GitHub release notes
Package name: cookie-session
  • 2.1.0 - 2024-01-24
    • Fix loading sessions with special keys
    • deps: cookies@0.9.1
      • Add partitioned option for CHIPS support
      • Add priority option for Priority cookie support
      • Fix accidental cookie name/value truncation when given invalid chars
      • Fix maxAge option to reject invalid values
      • Remove quotes from returned quoted cookie value
      • Use req.socket over deprecated req.connection
      • pref: small lookup regexp optimization
  • 2.0.0 - 2021-12-16
    • Change default cookie name to session
    • Change .populated to .isPopulated
    • Create new session for all types of invalid sessions
    • Drop support for Node.js 0.8
    • Remove private req.session.save()
    • Remove the key option; use name instead
    • Remove undocumented req.session.length to free up key name
    • Remove undocumented req.sessionCookies and req.sessionKey
    • Save all enumerable properties on req.session
      • Including _-prefixed properties
    • Use Object.defineProperty instead of deprecated __define*__
    • Use safe-buffer for improved Buffer API
    • deps: cookies@0.8.0
      • Fix check for default secure option behavior
      • Fix maxAge option preventing cookie deletion
      • Support "none" in sameSite option
      • deps: depd@~2.0.0
      • deps: keygrip@~1.1.0
      • perf: remove argument reassignment
    • deps: debug@3.2.7
      • Add DEBUG_HIDE_DATE
      • Add 256 color mode support
      • Enable / disable namespaces dynamically
      • Make millisecond timer namespace-specific
      • Remove DEBUG_FD support
      • Use Date#toISOString() when output is not a TTY
    • deps: on-headers@~1.0.2
      • Fix res.writeHead patch missing return value
    • deps: safe-buffer@5.2.1
    • perf: reduce the scope of try-catch deopt
    • perf: remove internal reference to request from session object
from cookie-session GitHub release notes
Package name: express
  • 4.19.2 - 2024-03-25
  • 4.19.1 - 2024-03-20

    What's Changed

    Full Changelog: 4.19.0...4.19.1

  • 4.19.0 - 2024-03-20

    What's Changed

    New Contributors

    Full Changelog: 4.18.3...4.19.0

  • 4.18.3 - 2024-02-29

    Main Changes

    • Fix routing requests without method
    • deps: body-parser@1.20.2
      • Fix strict json error message on Node.js 19+
      • deps: content-type@~1.0.5
      • deps: raw-body@2.5.2

    Other Changes

    New Contributors

    Full Changelog: 4.18.2...4.18.3

  • 4.18.2 - 2022-10-08
    • Fix regression routing a large stack in a single route
    • deps: body-parser@1.20.1
      • deps: qs@6.11.0
      • perf: remove unnecessary object clone
    • deps: qs@6.11.0
  • 4.18.1 - 2022-04-29
    • Fix hanging on large stack of sync routes
  • 4.18.0 - 2022-04-25
    • Add "root" option to res.download
    • Allow options without filename in res.download
    • Deprecate string and non-integer arguments to res.status
    • Fix behavior of null/undefined as maxAge in res.cookie
    • Fix handling very large stacks of sync middleware
    • Ignore Object.prototype values in settings through app.set/app.get
    • Invoke default with same arguments as types in res.format
    • Support proper 205 responses using res.send
    • Use http-errors for res.format error
    • deps: body-parser@1.20.0
      • Fix error message for json parse whitespace in strict
      • Fix internal error when inflated body exceeds limit
      • Prevent loss of async hooks context
      • Prevent hanging when request already read
      • deps: depd@2.0.0
      • deps: http-errors@2.0.0
      • deps: on-finished@2.4.1
      • deps: qs@6.10.3
      • deps: raw-body@2.5.1
    • deps: cookie@0.5.0
      • Add priority option
      • Fix expires option to reject invalid dates
    • deps: depd@2.0.0
      • Replace internal eval usage with Function constructor
      • Use instance methods on process to check for listeners
    • deps: finalhandler@1.2.0
      • Remove set content headers that break response
      • deps: on-finished@2.4.1
      • deps: statuses@2.0.1
    • deps: on-finished@2.4.1
      • Prevent loss of async hooks context
    • deps: qs@6.10.3
    • deps: send@0.18.0
      • Fix emitted 416 error missing headers property
      • Limit the headers removed for 304 response
      • deps: depd@2.0.0
      • deps: destroy@1.2.0
      • deps: http-errors@2.0.0
      • deps: on-finished@2.4.1
      • deps: statuses@2.0.1
    • deps: serve-static@1.15.0
      • deps: send@0.18.0
    • deps: statuses@2.0.1
      • Remove code 306
      • Rename 425 Unordered Collection to standard 425 Too Early
  • 4.17.3 - 2022-02-17
    • deps: accepts@~1.3.8
      • deps: mime-types@~2.1.34
      • deps: negotiator@0.6.3
    • deps: body-parser@1.19.2
      • deps: bytes@3.1.2
      • deps: qs@6.9.7
      • deps: raw-body@2.4.3
    • deps: cookie@0.4.2
    • deps: qs@6.9.7
      • Fix handling of __proto__ keys
    • pref: remove unnecessary regexp for trust proxy
from express GitHub release notes
Package name: express-validator from express-validator GitHub release notes
Package name: mongoose
  • 8.6.0 - 2024-08-28

    8.6.0 / 2024-08-28

    • feat: upgrade mongodb -> 6.8.0, handle throwing error on closed cursor in Mongoose with MongooseError instead of MongoCursorExhaustedError #14813
    • feat(model+query): support options parameter for distinct() #14772 #8006
    • feat(QueryCursor): add getDriverCursor() function that returns the raw driver cursor #14745
    • types: change query selector to disallow unknown top-level keys by default #14764 alex-statsig
    • types: make toObject() and toJSON() not generic by default to avoid type widening #14819 #12883
    • types: avoid automatically inferring lean result type when assigning to explicitly typed variable #14734
  • 8.5.5 - 2024-08-28

    8.5.5 / 2024-08-28

    • fix(populate): fix a couple of other places where Mongoose gets the document's _id with getters #14833 #14827 #14759
    • fix(discriminator): shallow clone Schema.prototype.obj before merging schemas to avoid modifying original obj #14821
    • types: fix schema type based on timestamps schema options value #14829 #14825 ark23CIS
  • 8.5.4 - 2024-08-23

    8.5.4 / 2024-08-23

    • fix: add empty string check for collection name passed #14806 Shubham2552
    • docs(model): add 'throw' as valid strict value for bulkWrite() and add some more clarification on throwOnValidationError #14809
  • 8.5.3 - 2024-08-13

    8.5.3 / 2024-08-13

    • fix(document): call required functions on subdocuments underneath nested paths with correct context #14801 #14788
    • fix(populate): avoid throwing error when no result and lean() set #14799 #14794 #14759 MohOraby
    • fix(document): apply virtuals to subdocuments if parent schema has virtuals: true for backwards compatibility #14774 #14771 #14623 #14394
    • types: make HydratedSingleSubdocument and HydratedArraySubdocument merge types instead of using & #14800 #14793
    • types: support schema type inference based on schema options timestamps as well #14773 #13215 ark23CIS
    • types(cursor): indicate that cursor.next() can return null #14798 #14787
    • types: allow mongoose.connection.db to be undefined #14797

Snyk has created this PR to upgrade:
  - @types/express from 4.17.13 to 4.17.21.
    See this package in npm: https://www.npmjs.com/package/@types/express
  - @types/cookie-session from 2.0.44 to 2.0.49.
    See this package in npm: https://www.npmjs.com/package/@types/cookie-session
  - @types/jsonwebtoken from 8.5.8 to 8.5.9.
    See this package in npm: https://www.npmjs.com/package/@types/jsonwebtoken
  - cookie-session from 2.0.0 to 2.1.0.
    See this package in npm: https://www.npmjs.com/package/cookie-session
  - express from 4.17.3 to 4.19.2.
    See this package in npm: https://www.npmjs.com/package/express
  - express-validator from 6.14.0 to 6.15.0.
    See this package in npm: https://www.npmjs.com/package/express-validator
  - @ap99tickets/common from 1.0.5 to 1.0.13.
    See this package in npm: https://www.npmjs.com/package/@ap99tickets/common
  - mongoose from 8.0.0 to 8.6.0.
    See this package in npm: https://www.npmjs.com/package/mongoose
  - typescript from 4.6.3 to 4.9.5.
    See this package in npm: https://www.npmjs.com/package/typescript

See this project in Snyk:
https://app.snyk.io/org/alexandersck/project/abe43dc9-1f1a-4692-a586-c5cd2dfd2fe9?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants