Socket
Socket
Sign inDemoInstall

graphql-import

Package Overview
Dependencies
Maintainers
1
Versions
431
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-import - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

dist/index.js

@@ -65,4 +65,4 @@ "use strict";

'InterfaceTypeDefinition',
'EnumTypeDefinition',
'UnionTypeDefinition',
'UnionTypeDefinition',
'InputObjectTypeDefinition',

@@ -69,0 +69,0 @@ ];

@@ -46,2 +46,6 @@ "use strict";

});
ava_1.default('importSchema: enums', function (t) {
var expectedSDL = "type A {\n first: String @first\n second: Float\n b: B\n}\n\nenum B {\n B1\n B2\n B3\n}\n";
t.is(_1.importSchema('fixtures/enums/a.graphql'), expectedSDL);
});
ava_1.default('importSchema: import all', function (t) {

@@ -48,0 +52,0 @@ var expectedSDL = "type A {\n first: String @first\n second: Float\n b: B\n}\n\ntype B {\n hello: String!\n}\n\ntype C1 {\n id: ID!\n}\n\ntype C2 {\n id: ID!\n}\n";

{
"name": "graphql-import",
"version": "0.1.1",
"version": "0.1.2",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": "git@github.com:graphcool/graphql-import.git",

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