New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@gql.tada/cli-utils

Package Overview
Dependencies
Maintainers
1
Versions
184
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gql.tada/cli-utils - npm Package Versions

1
57
19

1.3.3

Diff
philpl
published 1.3.3 •

Changelog

Source

1.3.3

Patch Changes

  • Replace redundant $tada.ref value on $tada.fragmentRefs definitions for masked fragments with typename string literal. The record for fragment masks is already namespaced, so there wasn't a need to use a symbol value here, and this further increases readability and usefulness Submitted by @kitten (See #126)
  • Allow readFragment() to accept the document as a generic rather than a (runtime value) argument. This replaces the complex mapping type for input arguments, and hence drops the (undocumented) support for nested arrays being passed to it Submitted by @kitten (See #128)
philpl
published 1.3.3-canary-72bc9b549a79ffb4b3cd398f8f05144dabe76689 •
philpl
published 1.3.3-canary-c5e82be3e5f9734d53efa6d8c8c22505cdf13413 •
philpl
published 1.3.2 •

Changelog

Source

1.3.2

Patch Changes

  • ⚠️ Fix tokenizer hitting tail recursion limit by recursing on each ignored token Submitted by @kitten (See #125)
  • Allow readFragment to be called again on an already unmasked fragment Submitted by @kitten (See #124)
  • Re-export DocumentDecoration Submitted by @kitten (See #113)
  • Updated dependencies (See #120)
    • @gql.tada/cli-utils@0.1.1
philpl
published 1.3.2-canary-0036ebf3a148bb40c66f6d04510528365c52a49a •
philpl
published 1.3.1 •

Changelog

Source

1.3.1

Patch Changes

  • Refactor internal GraphQL document parser to use a tokenizer phase, which further utilizes TypeScript’s tail recursion optimization. This should help to further improve type inference performance Submitted by @kitten (See #111)
philpl
published 1.3.1-canary-543e470167f7cf3c49efa68a61c74b16f944a52d •
philpl
published 1.3.1-canary-6f8a8f053d3a9b5e17da125ecda343aa6d2061df •
philpl
published 1.3.1-canary-e070e91079396b3212bd692a5ec6ba298f7bf41e •
philpl
published 1.3.0 •

Changelog

Source

1.3.0

Minor Changes

  • Add CLI entrypoint gql-tada capable of generating the types file without the LSP running Submitted by @JoviDeCroock (See #58)
  • Add graphql.persisted() to create an API for persisted documents that omits a query’s definitions from the output bundle Submitted by @kitten (See #98)

Patch Changes

  • Allow graphql.scalar to resolve types for input objects Submitted by @kitten (See #97)
  • Address performance cliff for getDocumentNode inference and object-flattening utilities Submitted by @kitten (See #107)
  • Refactor type unwrapping for NON_NULL field types (with @_optional and @_required), input types, and variable types Submitted by @kitten (See #104)
  • ⚠️ Fix $tada not being exported, which can cause projects with isolatedModules: true set from building Submitted by @kitten (See #99)
  • ⚠️ Fix schema pathname resolution in CLI Submitted by @wyattades (See #82)
  • Add disableMasking flag to allow fragment masking to be disabled. When this is set to true on the setupSchema interface, fragments won’t be masked, which imitates the behaviour you’d see when adding @_unmask to every single one of your fragments. This is currently considered a preview feature Submitted by @kitten (See #69)
  • Keep the possible types that are iterated through narrow through repeated abstract type fragment spreads, and provide an optional __typename?: PossibleType field by default so the type checker has an exact property to merge types on Submitted by @kitten (See #102)
  • Handle inference of input object fields with missing defaultValue properties in introspection Submitted by @llllvvuu (See #101)
  • Add missing support for input object fields with default values. Previously, input object fields with default values were still marked as required in variables Submitted by @kitten (See #73)
  • Refactor several internal utility types Submitted by @kitten (See #68)
  • Updated dependencies (See #58)
    • @gql.tada/cli-utils@0.1.0