Socket
Socket
Sign inDemoInstall

persistgraphql

Package Overview
Dependencies
84
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.9 to 0.3.10

2

lib/src/ExtractGQL.js

@@ -150,3 +150,3 @@ "use strict";

Promise.all(promises).then(function (queryStrings) {
resolve(queryStrings.reduce(function (x, y) { return x + y; }));
resolve(queryStrings.reduce(function (x, y) { return x + y; }, ''));
});

@@ -153,0 +153,0 @@ });

@@ -216,2 +216,8 @@ "use strict";

});
it('should process a directory with no graphql files', function (done) {
egql.processInputPath('./test/fixtures/no_queries').then(function (result) {
assert.equal(Object.keys(result).length, 2);
done();
});
});
it('should process a file with a fragment reference to a different file', function () {

@@ -218,0 +224,0 @@ var expectedQuery = (_a = ["\n query {\n author {\n ...details\n }\n }\n fragment details on Author {\n firstName\n lastName\n }\n "], _a.raw = ["\n query {\n author {\n ...details\n }\n }\n fragment details on Author {\n firstName\n lastName\n }\n "], graphql_tag_1.default(_a));

{
"name": "persistgraphql",
"version": "0.3.9",
"version": "0.3.10",
"description": "A build tool for GraphQL projects.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc