graphql-tag
Advanced tools
Comparing version 2.12.0 to 2.12.1
# 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 @@ |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
24
140858
19
1081