cdimascio / express-openapi-validator

🦋 Auto-validates api requests, responses, and securities using ExpressJS and an OpenAPI 3.x specification
MIT License
920 stars 211 forks source link

[Snyk] Upgrade express-openapi-validator from 5.3.7 to 5.3.8 #1010

Open cdimascio opened 4 days ago

cdimascio commented 4 days ago

snyk-top-banner

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

:information_source: 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.


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 (