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.6 to 5.3.7 #1007

Open cdimascio opened 3 weeks ago

cdimascio commented 3 weeks ago

snyk-top-banner

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

: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.7 - 2024-09-18

    (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 (#842) (d029401), closes #841 #842
    • fix documentation links (01950b7)
    • fix example schema removal and upgrade patch version (495dabd)
    • fixing default export function issue (#846) (268d38a), closes #846
    • Remove body-parser deps in example (#845) (c73b7c1), closes #845
    • Remove examples from apiDoc when validating requests (#774) (950d429), closes #774
    • Resolve "reference resolves to more than one schema" errors when AJV processes OpenAPI document and (9d215be), closes #853
    • v5.0.5 change history (b5cc33a)

    5.0.4 (2023-04-30)

    5.0.3 (2023-03-04)

    • FIx serialization/deserialization in additionalProperties (#822) (a9067b8), closes #822
    • Rename field error_code to errorCode in ValidationErrorItem (#819) (1a1b2cc), closes #819
    • v5.0.3 (6e93a96)
    • chore(deps): bump cookiejar from 2.1.2 to 2.1.4 in /examples/9-nestjs (#805) (07d9879), closes #805
    • chore(deps): bump cookiejar from 2.1.3 to 2.1.4 (#806) (0da34f8), closes #806
    • chore(deps): bump http-cache-semantics (#811) (7a779f6), closes #811
    • chore(deps): bump http-cache-semantics (#813) (