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

graphql-tag

Package Overview
Dependencies
Maintainers
4
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.12.0 to 2.12.1

5

CHANGELOG.md
# Change log
### v2.12.1
* To accommodate older versions of TypeScript, usage of the `import type ...` syntax (introduced by [#325](https://github.com/apollographql/graphql-tag/pull/325)) has been removed, fixing issue [#345](https://github.com/apollographql/graphql-tag/issues/345). <br/>
[@benjamn](http://github.com/benjamn) in [#352](https://github.com/apollographql/graphql-tag/pull/352)
### v2.12.0

@@ -4,0 +9,0 @@

2

lib/index.d.ts

@@ -1,2 +0,2 @@

import type { DocumentNode } from 'graphql/language/ast';
import { DocumentNode } from 'graphql/language/ast';
export declare function gql(literals: string | readonly string[], ...args: any[]): DocumentNode;

@@ -3,0 +3,0 @@ export declare function resetCaches(): void;

{
"name": "graphql-tag",
"version": "2.12.0",
"version": "2.12.1",
"description": "A JavaScript template literal tag that parses GraphQL queries",

@@ -14,6 +14,13 @@ "main": "./main.js",

"flow": "cp src/index.js.flow lib/graphql-tag.umd.js.flow",
"pretest": "npm run build",
"test": "mocha lib/tests.cjs.js",
"test": "npm run test:ts3 && npm run test:ts4",
"test:ts3": "npm i typescript@3.7.x && npm run test:mocha",
"test:ts4": "npm i typescript@4.x && npm run test:mocha",
"test:mocha": "npm run build && mocha lib/tests.cjs.js",
"prepublish": "npm run build"
},
"files": [
"lib/",
"loader.js",
"main.js"
],
"repository": {

@@ -48,3 +55,6 @@ "type": "git",

"graphql": "^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0"
},
"engines": {
"node": ">=10"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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