Socket
Socket
Sign inDemoInstall

babel-plugin-import-graphql

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-import-graphql - npm Package Compare versions

Comparing version 2.6.0 to 2.6.1

6

build/customImport.js

@@ -35,6 +35,6 @@ "use strict";

var nestedPaths = getFilepaths(importSrc, filepath, resolve);
var srcs = nestedPaths.length > 0 ? nestedPaths.reduce(function (srcArr, fp) {
return _toConsumableArray(srcArr).concat(_toConsumableArray(getSources(fp, resolve, [importSrc])));
}, []) : [importSrc];
var srcs = nestedPaths.length > 0 ? _toConsumableArray(nestedPaths.reduce(function (srcArr, fp) {
return _toConsumableArray(srcArr).concat(_toConsumableArray(getSources(fp, resolve, [])));
}, [])).concat([importSrc]) : [importSrc];
return _toConsumableArray(srcs).concat(_toConsumableArray(acc));
}
# ChangeLog
## v2.6.1 (June 29, 2018)
### Fixes
- Fix duplicate code when using multiple imports in one schema file (Thanks @gregorycuellar)
## v2.6.0 (June 16, 2018)

@@ -4,0 +10,0 @@

{
"name": "babel-plugin-import-graphql",
"version": "2.6.0",
"version": "2.6.1",
"description": "Babel plugin to make .gql/.graphql files importable",

@@ -5,0 +5,0 @@ "author": "A.J. Roberts <detrohutt@gmail.com>",

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