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

chore(deps): update dependency @graphql-codegen/plugin-helpers to v2.7.2 #216

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 23, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-codegen/plugin-helpers (source) 2.3.1 -> 2.7.2 age adoption passing confidence

Release Notes

dotansimha/graphql-code-generator (@​graphql-codegen/plugin-helpers)

v2.7.2

Compare Source

Patch Changes

v2.7.1

Compare Source

Patch Changes

v2.7.0

Compare Source

Minor Changes

v2.6.2

Compare Source

Patch Changes

v2.6.1

Compare Source

Patch Changes
  • 6a2e328: feat(cli): --verbose and --debug flags

v2.6.0

Compare Source

Minor Changes
  • 2cbcbb3: Add new flag to emit legacy common js imports. Default it will be true this way it ensure that generated code works with non-compliant bundlers.

    You can use the option in your config:

    schema: 'schema.graphql'
     documents:
       - 'src/**/*.graphql'
     emitLegacyCommonJSImports: true

    Alternative you can use the CLI to set this option:

    $ codegen --config-file=config.yml --emit-legacy-common-js-imports

v2.5.0

Compare Source

Minor Changes
  • d84afec: Support TypeScript ESM modules ("module": "node16" and "moduleResolution": "node16").

    More information on the TypeScript Release Notes.

  • 8e44df5: Add new config option to not exit with non-zero exit code when there are no documents.

    You can use this option in your config:

    schema: 'schema.graphql'
    documents:
      - 'src/**/*.graphql'
    ignoreNoDocuments: true

    Alternative you can use the CLI to set this option:

    $ codegen --config-file=config.yml --ignore-no-documents
Patch Changes
  • a4fe500: Fix TS type error on strictNullChecks: true

    Fix the compiler error:

    node_modules/@&#8203;graphql-codegen/plugin-helpers/oldVisit.d.ts:5:75 - error TS2339: Property 'enter' does not exist on type '{ readonly enter?: ASTVisitFn<NameNode> | undefined; readonly leave: ASTReducerFn<NameNode, unknown>; } | { readonly enter?: ASTVisitFn<DocumentNode> | undefined; readonly leave: ASTReducerFn<...>; } | ... 41 more ... | undefined'.
    
    5     enter?: Partial<Record<keyof NewVisitor, NewVisitor[keyof NewVisitor]['enter']>>;
                                                                                ~~~~~~~
    
    node_modules/@&#8203;graphql-codegen/plugin-helpers/oldVisit.d.ts:6:75 - error TS2339: Property 'leave' does not exist on type '{ readonly enter?: ASTVisitFn<NameNode> | undefined; readonly leave: ASTReducerFn<NameNode, unknown>; } | { readonly enter?: ASTVisitFn<DocumentNode> | undefined; readonly leave: ASTReducerFn<...>; } | ... 41 more ... | undefined'.
    
    6     leave?: Partial<Record<keyof NewVisitor, NewVisitor[keyof NewVisitor]['leave']>>;
                                                                                ~~~~~~~
    
    Found 2 errors in the same file, starting at: node_modules/@&#8203;graphql-codegen/plugin-helpers/oldVisit.d.ts:5
    

    Only happens when TS compiler options strictNullChecks: true and skipLibCheck: false.

    Partial<T> includes {}, therefore NewVisitor[keyof NewVisitor] includes undefined, and indexing undefined is error.
    Eliminate undefined by wrapping it inside NonNullable<...>.

    Related #​7519

v2.4.2

Compare Source

Patch Changes
  • a521216: broken links within documentation

v2.4.1

Compare Source

Patch Changes
  • cb9adeb: Cache validation of documents

v2.4.0

Compare Source

Minor Changes
  • 754a337: Performance Profiler --profile

v2.3.2

Compare Source

Patch Changes
  • 6002feb: Fix exports in package.json files for react-native projects

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/graphql-codegen-plugin-helpers-2.x-lockfile branch from 1a7de7f to bf64bcf Compare April 3, 2023 21:45
@renovate renovate bot force-pushed the renovate/graphql-codegen-plugin-helpers-2.x-lockfile branch from bf64bcf to f2d288e Compare August 7, 2023 10:51
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.

None yet

0 participants