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

graphql-tag

Package Overview
Dependencies
Maintainers
5
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 1.2.3 to 1.2.4

CONTRIBUTING.md

2

CHANGELOG.md
# 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

6

loader.js

@@ -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"

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