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 Compare versions

Comparing version 2.6.0 to 2.6.1

4

package.json
{
"name": "graphql-tag",
"version": "2.6.0",
"version": "2.6.1",
"description": "A JavaScript template literal tag that parses GraphQL queries",

@@ -33,4 +33,4 @@ "main": "./lib/graphql-tag.umd.js",

"peerDependencies": {
"graphql": "^0.9.0 || ^0.10.0 || ^0.11.0"
"graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0"
}
}

@@ -108,2 +108,22 @@ # graphql-tag

#### Support for multiple operations
With the webpack loader, you can also import operations by name:
In a file called `query.gql`:
```graphql
query MyQuery1 {
...
}
query MyQuery2 {
...
}
```
And in your JavaScript:
```javascript
import { MyQuery1, MyQuery2 } from 'query.gql'
```
### Warnings

@@ -110,0 +130,0 @@

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