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 express-openapi-validator from 5.3.7 to 5.3.8 #1011

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

cdimascio
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade express-openapi-validator from 5.3.7 to 5.3.8.

ℹ️ 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.


  • The recommended version is 1 version ahead of your current version.

  • The recommended version was released on 23 days ago.

Release notes
Package name: express-openapi-validator
  • 5.3.8 - 2024-10-26

    (2024-10-26)

    • fix: add cookie support for HTTP bearer authentication (#949) (00d070b), closes #949
    • fix: examples/1-standard/package.json & examples/1-standard/package-lock.json to reduce vulnerabilit (8ce7fda), closes #986
    • fix: examples/2-standard-multiple-api-specs/package.json & examples/2-standard-multiple-api-specs/pa (95f5f5a), closes #987
    • fix: examples/3-eov-operations/package.json & examples/3-eov-operations/package-lock.json to reduce (e81222e), closes #989
    • fix: examples/4-eov-operations-babel/package.json & examples/4-eov-operations-babel/package-lock.jso (263c641), closes #994
    • fix: examples/4-eov-operations-babel/package.json & examples/4-eov-operations-babel/package-lock.jso (e71b5fc), closes #988
    • fix: package.json & package-lock.json to reduce vulnerabilities (#993) (b6201c3), closes #993
    • fix: upgrade express-openapi-validator from 5.3.6 to 5.3.7 (#995) (8cee5f9), closes #995
    • Create SECURITY.md (#999) (5e21e3f), closes #999
    • example 6 enhancements (789b43b)
    • Update README.md (946aab8)
    • Update README.md (f61c185)
    • chore(deps): bump body-parser and @ nestjs/platform-express (#990) (773f18e), closes #990
    • chore(deps): bump cookie and cookie-parser (#996) (9bd5177), closes #996
    • chore(deps): bump path-to-regexp (#997) (e60d146), closes #997

    (2024-09-18)

    • fix: upgrade @ types/multer from 1.4.11 to 1.4.12 (#983) (0fa043e), closes #983
    • feat(path-to-regexp): path-to-regexp 8.1.0 update (#976) (70cce65), closes #976

    (2024-09-13)

    • bodyParsers is deprecated so update with expess bodyParsers (#974) (6dc3b97), closes #974
    • Update README.md (772d1dc)
    • Update README.md (de4219e)
    • fix: upgrade express-openapi-validator from 5.2.0 to 5.3.1 (#960) (bd636bb), closes #960
    • chore(deps-dev): bump braces from 3.0.2 to 3.0.3 in /examples/9-nestjs (#964) (148fa90), closes #964
    • chore(deps-dev): bump braces in /examples/7-response-date-serialization (#963) (aa3018a), closes #963

    (2024-09-06)

    • fix: Dereference path parameters (#962) (0aebe5d), closes #962
    • fix: upgrade express-openapi-validator from 5.2.0 to 5.3.1 (#951) (5b0058d), closes #951
    • [StepSecurity] ci: Harden GitHub Actions (#959) (78e55be), closes #959
    • Fix changelog breaking changes notice (#961) (0a8dc2f), closes #961
    • update README (7334ccd)
    • chore(deps-dev): bump braces in /examples/5-custom-operation-resolver (#958) (eda5612), closes #958
    • chore(deps): bump braces in /examples/4-eov-operations-babel (#957) (749a8c8), closes #957
    • chore(deps): bump webpack and @ nestjs/cli in /examples/9-nestjs (#953) (299aad6), closes #953

    (2024-08-31)

    breaking change

    By default, request and response validation now stops after the first failure. Only one error will be reported even when multiple may exist. This follows best practices from AJV:

    To report all validation errors (only recommended in development), option allErrors can be set in options validateRequests and/or validateResponses. For example:

    app.use(
      OpenApiValidator.middleware({
        apiSpec: 'path/to/openapi.json',
        validateRequests: {
          allErrors: true,
        },
        validateResponses: {
          allErrors: true,
        },
      })
    );

    (2024-08-24)

    • chore(deps-dev): bump @ babel/traverse in /examples/9-nestjs (#948) (edd054f), closes #948
    • chore(deps-dev): bump braces in /examples/8-top-level-discriminator (#929) (e3a9526), closes #929
    • chore(deps-dev): bump ws from 7.5.5 to 7.5.10 in /examples/9-nestjs (#930) (9d5895b), closes #930
    • fix: correct security schema logic for OR verification (#946) (2265a10), closes #946
    • fix: upgrade @ apidevtools/json-schema-ref-parser from 11.6.4 to 11.7.0 (#947) (ea4129c), closes #947
    • fix: upgrade ajv from 8.15.0 to 8.17.1 (#945) (087d8f7), closes #945
    • fix: upgrade express-openapi-validator from 5.1.6 to 5.2.0 (#944) (f022d21), closes #944
    • version 5.3.2 (4428922)

    (2024-08-24)

    • fix: correct security schema logic for OR verification (#946) (2265a10), closes #946
    • fix: upgrade express-openapi-validator from 5.1.6 to 5.2.0 (#944) (f022d21), closes #944

    (2024-08-05)

    (2024-06-02)

    • Add express as peer dependency (#907) (4e8bc84), closes #907
    • Add multipart fix when does not exist any body (#905) (5c98d17), closes #905
    • add reponse serializer tests for arrays (bbbd160)
    • pass coerceTypes through (#809) (8f7c678), closes #809
    • Support async operation handler resolver (#921) (a4a7175), closes #921
    • upgrade ajv (a708132)
    • upgrade example 3 (43cccc8)
    • upgrade example 4 (255f20f)
    • v5.2.0 (42cb3ab)
    • chore: apiSpec may be const literal (#854) (e35a07c), closes #854
    • chore(dependencies): bump @ apidevtools/json-schema-ref-parser to 11.6.2 to prevent vulnerability (#9 (61ff0cf), closes #918
    • chore(deps-dev): bump @ babel/traverse (#924) (5a04ea9), closes #924
    • chore(deps): bump axios, @ nestjs/common, @ nestjs/core, @ nestjs/platform-express and @ nestjs/testing (b77150f), closes #925
    • chore(deps): bump webpack and @ nestjs/cli in /examples/9-nestjs (#831) (c0c5f4c), closes #831
    • fix: examples/4-eov-operations-babel/package.json & examples/4-eov-operations-babel/package-lock.jso (87d173b), closes #911
    • fix: package.json & package-lock.json to reduce vulnerabilities (#920) (898ceb7), closes #920
    • fix: upgrade @ types/multer from 1.4.7 to 1.4.11 (#897) (a7d67e7), closes #897
    • fix: upgrade path-to-regexp from 6.2.0 to 6.2.2 (#914) (bce2d6a), closes #914

    5.1.6 (2024-02-11)

    • Fixes for 881 - multiple specs w/validateRequests fail (#903) (766806b), closes #903

    5.1.5 (2024-02-10)

    5.1.4 (2024-02-09)

    5.1.3 (2024-01-27)

    5.1.2 (2023-12-04)

    5.1.1 (2023-11-21)

    5.1.0 (2023-11-12)

    5.0.5 (2023-08-23)

    • #841 return error thrown in serDes deserializer (

Snyk has created this PR to upgrade express-openapi-validator from 5.3.7 to 5.3.8.

See this package in npm:
express-openapi-validator

See this project in Snyk:
https://app.snyk.io/org/cdimascio/project/53639b22-8ff0-4bd5-97c3-ae30b20a20f4?utm_source=github&utm_medium=referral&page=upgrade-pr
@cdimascio cdimascio merged commit 65c0e56 into master Dec 19, 2024
6 checks passed
cdimascio added a commit that referenced this pull request Dec 19, 2024
Snyk has created this PR to upgrade express-openapi-validator from 5.3.7 to 5.3.8.

See this package in npm:
express-openapi-validator

See this project in Snyk:
https://app.snyk.io/org/cdimascio/project/53639b22-8ff0-4bd5-97c3-ae30b20a20f4?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <[email protected]>
cdimascio added a commit that referenced this pull request Dec 25, 2024
* feat(openapi): support version 3.1

* test(openapi_3.1): ensure that an API with webhooks and no routes is supported

* feat(openapi_3.1): adds open api 3.1 type

* chore(test-scripts): run mocha with --extension instead of glob to pick up subdirectories

Mocha was not picking up the tests in subdirectories with the provided glob. Adding --extension with
the tests extension and setting the root test folder in tests fixed it

* test(openapi-3.1): adds test to ensure an API with only components is considered valid

* test(openapi-3.1): remove unnecessary import

* test(openapi-3.1): add support for summary in info object

* test(openapi-3.1): add support for identifier in license

* test(openapi_3.1): ensure API with type set to null works correctly

* test(open_api3.1): ensure that methods with non-explicit semantics allow request body

* test(open_api3.1): ensure 500 is returned when server variable has no default

* feat(openapi_3.1): ensure API supports an endpoint without response

* feat(openapi_3.1): add full type support for open api 3.1

* test(openapi_3.1): adds test for path item support in components

* fix(openapi_3.1_schema): update schema to fix bug

* feat(openapi_3.1): support reusable path items

* style(linting): fix linting issues

* style(openapi): improve readability of version validation

* docs(schema-validator): clearly state why media-range attribute is not defined

* version 6.0.0-alpha.1 with initial OAS-3.1 support (from PR #882)

* v6.0.0-alpha.2

* feat(openapi): support version 3.1

* test(openapi_3.1): ensure that an API with webhooks and no routes is supported

* feat(openapi_3.1): adds open api 3.1 type

* chore(test-scripts): run mocha with --extension instead of glob to pick up subdirectories

Mocha was not picking up the tests in subdirectories with the provided glob. Adding --extension with
the tests extension and setting the root test folder in tests fixed it

* test(openapi-3.1): adds test to ensure an API with only components is considered valid

* test(openapi-3.1): remove unnecessary import

* test(openapi-3.1): add support for summary in info object

* test(openapi-3.1): add support for identifier in license

* test(openapi_3.1): ensure API with type set to null works correctly

* test(open_api3.1): ensure that methods with non-explicit semantics allow request body

* test(open_api3.1): ensure 500 is returned when server variable has no default

* feat(openapi_3.1): ensure API supports an endpoint without response

* feat(openapi_3.1): add full type support for open api 3.1

* test(openapi_3.1): adds test for path item support in components

* fix(openapi_3.1_schema): update schema to fix bug

* feat(openapi_3.1): support reusable path items

* style(linting): fix linting issues

* style(openapi): improve readability of version validation

* docs(schema-validator): clearly state why media-range attribute is not defined

* version 6.0.0-alpha.1 with initial OAS-3.1 support (from PR #882)

* v6.0.0-alpha.2

* alpha.3

* feat(openapi): support version 3.1

* feat(openapi_3.1): adds open api 3.1 type

* fix(openapi_3.1_schema): update schema to fix bug

* style(linting): fix linting issues

* fix: instantiate Ajv2020 for OAS 3.1 (#1009)

* chore: create factories for ajvInstance and schema

* test: writing some tests

* chore: removing ts from editorconfig

* chore: add eslint

* update alpha 3.1 version

* fix: examples/4-eov-operations-babel/package.json & examples/4-eov-operations-babel/package-lock.json to reduce vulnerabilities (#1021)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-PATHTOREGEXP-8482416

Co-authored-by: snyk-bot <[email protected]>

* fix: package.json & package-lock.json to reduce vulnerabilities (#1017)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-PATHTOREGEXP-8482416

Co-authored-by: snyk-bot <[email protected]>

* chore(deps): bump path-to-regexp and express in /examples/1-standard (#1016)

Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `path-to-regexp` from 0.1.10 to 0.1.12
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](pillarjs/path-to-regexp@v0.1.10...v0.1.12)

Updates `express` from 4.21.0 to 4.21.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.2/History.md)
- [Commits](expressjs/express@4.21.0...4.21.2)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* fix: upgrade express-openapi-validator from 5.3.7 to 5.3.8 (#1011)

Snyk has created this PR to upgrade express-openapi-validator from 5.3.7 to 5.3.8.

See this package in npm:
express-openapi-validator

See this project in Snyk:
https://app.snyk.io/org/cdimascio/project/53639b22-8ff0-4bd5-97c3-ae30b20a20f4?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <[email protected]>

* fix: upgrade express-openapi-validator from 5.3.6 to 5.3.7 (#1008)

Snyk has created this PR to upgrade express-openapi-validator from 5.3.6 to 5.3.7.

See this package in npm:
express-openapi-validator

See this project in Snyk:
https://app.snyk.io/org/cdimascio/project/0ac9a5bd-9a7f-4c0e-bf8b-51d0bd4c4448?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <[email protected]>

* fix: upgrade @apidevtools/json-schema-ref-parser from 11.7.0 to 11.7.2 (#1006)

Snyk has created this PR to upgrade @apidevtools/json-schema-ref-parser from 11.7.0 to 11.7.2.

See this package in npm:
@apidevtools/json-schema-ref-parser

See this project in Snyk:
https://app.snyk.io/org/cdimascio/project/f63fb44e-f154-45ba-b1f0-20d49ea578ce?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <[email protected]>

* adds standard example for oas-3.1

* v6.0.0.alpha.6

* update oas3.1 example

* v5.4.0 - adds initial oas3.1 support

* updates readme for oas3.1

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Sergio Ferreira <[email protected]>
Co-authored-by: carmine <[email protected]>
Co-authored-by: Luis Philipe Fidelis <[email protected]>
Co-authored-by: snyk-bot <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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