graphql-tag
Advanced tools
Comparing version 1.2.3 to 1.2.4
# Change log | ||
### v1.2.4 | ||
Restore Node < 6 compatibility. [DragosRotaru](https://github.com/DragosRotaru) in [PR #41](https://github.com/apollographql/graphql-tag/pull/41) addressing [#39](https://github.com/apollographql/graphql-tag/issues/39) | ||
@@ -3,0 +5,0 @@ ### v1.2.1 |
@@ -0,1 +1,3 @@ | ||
"use strict"; | ||
const gql = require('./'); | ||
@@ -9,3 +11,3 @@ | ||
let outputCode = ""; | ||
lines.some((line) => { | ||
@@ -29,4 +31,4 @@ if (line[0] === '#' && line.slice(1).split(' ')[0] === 'import') { | ||
const importOutputCode = expandImports(source, doc); | ||
return outputCode + "\n" + importOutputCode + "\n" + `module.exports = doc;`; | ||
}; |
{ | ||
"name": "graphql-tag", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "A JavaScript template literal tag that parses GraphQL queries", | ||
@@ -25,3 +25,3 @@ "main": "index.js", | ||
"chai": "^3.5.0", | ||
"graphql": "^0.6.0", | ||
"graphql": "^0.9.0", | ||
"mocha": "^2.5.3", | ||
@@ -28,0 +28,0 @@ "webpack": "^1.13.1" |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
124176
13
3240
1