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

vite-plugin-graphql-loader

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vite-plugin-graphql-loader - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

2

dist/index.js

@@ -21,3 +21,3 @@ import { EOL } from "os";

imports.push(`import ${importName} from ${importFile};\n`);
importAppends.push(`${DOC_NAME}.definitions = ${DOC_NAME}.definitions.concat(${vitePluginGraphqlLoaderUniqueChecker.name}(${importName}.definitions));\n`);
importAppends.push(`${DOC_NAME}.definitions = ${vitePluginGraphqlLoaderUniqueChecker.name}(${DOC_NAME}.definitions.concat(${importName}.definitions));\n`);
}

@@ -24,0 +24,0 @@ return line.length !== 0 && line[0] !== "#";

{
"name": "vite-plugin-graphql-loader",
"version": "4.0.2",
"version": "4.0.3",
"description": "A Vite plugin for loading GraphQL files.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -5,3 +5,3 @@ # vite-plugin-graphql-loader

[![npm version](https://img.shields.io/npm/v/bun-graphql-loader.svg?logoColor=fff&style=for-the-badge)](https://www.npmjs.com/package/bun-graphql-loader)
[![npm version](https://img.shields.io/npm/v/vite-plugin-graphql-loader.svg?logoColor=fff&style=for-the-badge)](https://www.npmjs.com/package/vite-plugin-graphql-loader)
![Vite Badge](https://img.shields.io/badge/Vite-646CFF?logo=vite&logoColor=fff&style=for-the-badge)

@@ -46,2 +46,4 @@ ![Vitest Badge](https://img.shields.io/badge/Vitest-6E9F18?logo=vitest&logoColor=fff&style=for-the-badge)

```graphql
#import "./ExampleImport.graphql"
fragment ExampleFragment on example {

@@ -55,2 +57,3 @@ id

...ExampleFragment
...ExampleImport
}

@@ -57,0 +60,0 @@ }

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