samchungy / fastify-zod-openapi

Fastify plugin for zod-openapi
MIT License
57 stars 7 forks source link

Bump skuba from 6.2.0 to 7.0.1 #21

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps skuba from 6.2.0 to 7.0.1.

Release notes

Sourced from skuba's releases.

v7.0.1

Patch Changes

  • test: Fix Prettier snapshot formatting (#1220)

    Jest is not yet compatible with Prettier 3, causing snapshot updates to fail with the following error:

    TypeError: prettier.resolveConfig.sync is not a function
        at runPrettier (node_modules/jest-snapshot/build/InlineSnapshots.js:308:30)
    

    Our Jest preset now implements custom formatting as a workaround until jestjs/jest#14305 is resolved.

    If you do not use our preset, you can temporarily disable formatting in your jest.config.ts then manually run skuba format after updating snapshots:

    export default {
    + prettierPath: null,
    }
    

v7.0.0

Major Changes

  • deps: tsconfig-seek 2 (#1175)

    This change sets the noUncheckedIndexedAccess compiler option to true by default.

    This will flag possible issues with indexed access of arrays and records.

    Before:

    const a: string[] = [];
    const b = a[0];
    //    ^? const b: string
    

    After:

    const a: string[] = [];
    const b = a[0];
    //    ^? const b: string | undefined
    

    Unfortunately, this change is a double edged sword as your previous code which may look like this may now be invalid.

... (truncated)

Changelog

Sourced from skuba's changelog.

7.0.1

Patch Changes

  • test: Fix Prettier snapshot formatting (#1220)

    Jest is not yet compatible with Prettier 3, causing snapshot updates to fail with the following error:

    TypeError: prettier.resolveConfig.sync is not a function
        at runPrettier (node_modules/jest-snapshot/build/InlineSnapshots.js:308:30)
    

    Our Jest preset now implements custom formatting as a workaround until jestjs/jest#14305 is resolved.

    If you do not use our preset, you can temporarily disable formatting in your jest.config.ts then manually run skuba format after updating snapshots:

    export default {
    + prettierPath: null,
    }
    

7.0.0

Major Changes

  • deps: tsconfig-seek 2 (#1175)

    This change sets the noUncheckedIndexedAccess compiler option to true by default.

    This will flag possible issues with indexed access of arrays and records.

    Before:

    const a: string[] = [];
    const b = a[0];
    //    ^? const b: string
    

    After:

    const a: string[] = [];
    const b = a[0];
    //    ^? const b: string | undefined
    

    Unfortunately, this change is a double edged sword as your previous code which may look like this may now be invalid.

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #30.