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

babel-plugin-inline-import-graphql-ast

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 1.3.0 to 1.3.1

2

build/index.js

@@ -44,3 +44,3 @@ Object.defineProperty(exports, "__esModule", {

if (line[0] === '#' && line.slice(1).split(' ')[0] === 'import') {
var importFile = line.slice(1).split(' ')[1].slice(1, -1);
var importFile = line.slice(1).split(' ')[1].slice(1, -2);
var fragmentAST = (0, _graphqlTag2.default)(_templateObject, _helper2.default.getContents(importFile, _path2.default.resolve(reference, resolvePath)));

@@ -47,0 +47,0 @@ defs = [].concat(_toConsumableArray(defs), _toConsumableArray(fragmentAST.definitions));

{
"name": "babel-plugin-inline-import-graphql-ast",
"version": "1.3.0",
"version": "1.3.1",
"description": "Babel plugin to make raw files importable",

@@ -5,0 +5,0 @@ "author": "Alexander 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