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

@graphql-tools/graphql-tag-pluck

Package Overview
Dependencies
Maintainers
0
Versions
1095
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@graphql-tools/graphql-tag-pluck - npm Package Compare versions

Comparing version 8.3.1 to 8.3.2-alpha-20240803110708-298aeb8bb2ca4ef649bf09fc42f82fc88c6d5e13

22

cjs/index.js

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

`));
async function loadVueCompilerSync() {
async function loadVueCompilerAsync() {
try {

@@ -196,7 +196,7 @@ // eslint-disable-next-line import/no-extraneous-dependencies

}
catch (e) {
catch {
throw MissingVueTemplateCompilerError;
}
}
function loadVueCompilerAsync() {
function loadVueCompilerSync() {
try {

@@ -206,3 +206,3 @@ // eslint-disable-next-line import/no-extraneous-dependencies

}
catch (e) {
catch {
throw MissingVueTemplateCompilerError;

@@ -212,7 +212,7 @@ }

async function pluckVueFileScript(fileData) {
const vueTemplateCompiler = await loadVueCompilerSync();
const vueTemplateCompiler = await loadVueCompilerAsync();
return parseWithVue(vueTemplateCompiler, fileData);
}
function pluckVueFileScriptSync(fileData) {
const vueTemplateCompiler = loadVueCompilerAsync();
const vueTemplateCompiler = loadVueCompilerSync();
return parseWithVue(vueTemplateCompiler, fileData);

@@ -225,3 +225,3 @@ }

function pluckVueFileCustomBlockSync(fileData, filePath, blockType) {
const vueTemplateCompiler = loadVueCompilerAsync();
const vueTemplateCompiler = loadVueCompilerSync();
return customBlockFromVue(vueTemplateCompiler, fileData, filePath, blockType);

@@ -235,3 +235,3 @@ }

}
catch (e) {
catch {
throw MissingSvelteTemplateCompilerError;

@@ -247,3 +247,3 @@ }

}
catch (e) {
catch {
throw MissingSvelteTemplateCompilerError;

@@ -259,3 +259,3 @@ }

}
catch (e) {
catch {
throw MissingAstroCompilerError;

@@ -271,3 +271,3 @@ }

}
catch (e) {
catch {
throw MissingAstroCompilerError;

@@ -274,0 +274,0 @@ }

@@ -0,1 +1,3 @@

import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);
import { Source } from 'graphql';

@@ -183,3 +185,3 @@ import { parse } from '@babel/parser';

`));
async function loadVueCompilerSync() {
async function loadVueCompilerAsync() {
try {

@@ -189,7 +191,7 @@ // eslint-disable-next-line import/no-extraneous-dependencies

}
catch (e) {
catch {
throw MissingVueTemplateCompilerError;
}
}
function loadVueCompilerAsync() {
function loadVueCompilerSync() {
try {

@@ -199,3 +201,3 @@ // eslint-disable-next-line import/no-extraneous-dependencies

}
catch (e) {
catch {
throw MissingVueTemplateCompilerError;

@@ -205,7 +207,7 @@ }

async function pluckVueFileScript(fileData) {
const vueTemplateCompiler = await loadVueCompilerSync();
const vueTemplateCompiler = await loadVueCompilerAsync();
return parseWithVue(vueTemplateCompiler, fileData);
}
function pluckVueFileScriptSync(fileData) {
const vueTemplateCompiler = loadVueCompilerAsync();
const vueTemplateCompiler = loadVueCompilerSync();
return parseWithVue(vueTemplateCompiler, fileData);

@@ -218,3 +220,3 @@ }

function pluckVueFileCustomBlockSync(fileData, filePath, blockType) {
const vueTemplateCompiler = loadVueCompilerAsync();
const vueTemplateCompiler = loadVueCompilerSync();
return customBlockFromVue(vueTemplateCompiler, fileData, filePath, blockType);

@@ -228,3 +230,3 @@ }

}
catch (e) {
catch {
throw MissingSvelteTemplateCompilerError;

@@ -240,3 +242,3 @@ }

}
catch (e) {
catch {
throw MissingSvelteTemplateCompilerError;

@@ -252,3 +254,3 @@ }

}
catch (e) {
catch {
throw MissingAstroCompilerError;

@@ -264,3 +266,3 @@ }

}
catch (e) {
catch {
throw MissingAstroCompilerError;

@@ -267,0 +269,0 @@ }

{
"name": "@graphql-tools/graphql-tag-pluck",
"version": "8.3.1",
"version": "8.3.2-alpha-20240803110708-298aeb8bb2ca4ef649bf09fc42f82fc88c6d5e13",
"description": "Pluck graphql-tag template literals",

@@ -5,0 +5,0 @@ "sideEffects": false,

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