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

grats

Package Overview
Dependencies
Maintainers
0
Versions
240
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grats - npm Package Versions

13
24

0.0.30

Diff

Changelog

Source

0.0.30

Root Field Tags

Fields on Query, Mutation and Subscription may now be defined using the new docblock tags @gqlQueryField, @gqlMutationField and @gqlSubscriptionField. These tags can be added to functions or static methods.

/** @gqlQueryField */
export function greeting(): string {
  return "Hello world";
}
  • Features
    • Custom error messages when types or interfaces are missing fields which suggests adding a @gqlField docblock tag.
    • Custom error message when your project has no types defined. Intended to help guide new users.
  • Improvements
    • Better import deduplication in generated TypeScript code
  • Bug Fixes

captbaritone
published 0.0.0-main-831703d8 •

captbaritone
published 0.0.0-main-cf425220 •

captbaritone
published 0.0.0-main-d8846a46 •

captbaritone
published 0.0.0-main-f8109489 •

captbaritone
published 0.0.0-main-574fa872 •

captbaritone
published 0.0.29 •

captbaritone
published 0.0.0-main-2e40451f •

captbaritone
published 0.0.0-main-23e167c5 •

captbaritone
published 0.0.0-main-992bf789 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc