Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-tag

Package Overview
Dependencies
Maintainers
6
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-tag - npm Package Versions

1
7

1.2.1

Diff

Changelog

Source

v1.2.1

Fixed an issue with fragment imports. PR #35.

dhaivatpandya
published 1.1.3 •

sashko
published 1.2.0 •

Changelog

Source

v1.2.0

Added ability to import other GraphQL documents with fragments using #import comments. PR #33

tmeasday
published 1.1.2 •

Changelog

Source

v1.1.2

Fix issue with interpolating undefined values Issue #19

tmeasday
published 1.1.1 •

Changelog

Source

v1.1.1

Added typescript definitions for the below.

tmeasday
published 1.1.0 •

Changelog

Source

v1.1.0

We now emit warnings if you use the same name for two different fragments.

You can disable this with:

import { disableFragmentWarnings } from 'graphql-tag';

disableFragmentWarnings();
tmeasday
published 1.0.0 •

Changelog

Source

v1.0.0

Releasing 0.1.17 as 1.0.0 in order to be explicit about Semantic Versioning.

tmeasday
published 0.1.17 •

Changelog

Source

v0.1.17

  • Allow embedding fragments inside document strings, as in
import gql from 'graphql-tag';

const fragment = gql`
  fragment Foo on Bar {
    field
  }
`;

const query = gql`
{
  ...Foo
}
${Foo}
`;

See also http://dev.apollodata.com/react/fragments.html

sashko
published 0.1.16 •

Changelog

Source

v0.1.16

  • Add caching to Webpack loader. PR #16
sashko
published 0.1.15 •

Changelog

Source

v0.1.15

  • Add Webpack loader to graphql-tag/loader.
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