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

graphql-import

Package Overview
Dependencies
Maintainers
3
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.4.4 to 0.4.5

2

dist/index.js

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

.map(function (l) { return l.trim(); })
.filter(function (l) { return l.startsWith('# import') || l.startsWith('#import'); })
.filter(function (l) { return l.startsWith('# import ') || l.startsWith('#import '); })
.map(function (l) { return l.replace('#', '').trim(); })

@@ -48,0 +48,0 @@ .map(parseImportLine);

@@ -35,2 +35,5 @@ "use strict";

});
ava_1.default('parseSDL: non-import comment', function (t) {
t.deepEqual(_1.parseSDL("#importent: comment"), []);
});
ava_1.default('parse: multi line import', function (t) {

@@ -37,0 +40,0 @@ var sdl = "# import A from \"a.graphql\"\n# import * from \"b.graphql\"\n ";

{
"name": "graphql-import",
"version": "0.4.4",
"version": "0.4.5",
"engines": {

@@ -53,3 +53,3 @@ "node": ">=4.0.0"

"ava-ts": "0.24.2",
"graphql": "^0.13.0",
"graphql": "0.13.1",
"nyc": "11.4.1",

@@ -56,0 +56,0 @@ "tap-xunit": "2.2.0",

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