New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@envelop/graphql-jit

Package Overview
Dependencies
Maintainers
1
Versions
1896
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@envelop/graphql-jit - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0-alpha-15b486f.0

6

index.d.ts
import { Plugin } from '@envelop/types';
import { ExecutionArgs } from 'graphql';
import { compileQuery, CompilerOptions } from 'graphql-jit';
import { ExecutionArgs, ExecutionResult } from 'graphql';
import { CompilerOptions } from 'graphql-jit';
export declare const useGraphQlJit: (compilerOptions?: Partial<CompilerOptions>, pluginOptions?: {

@@ -12,3 +12,3 @@ /**

*/
onError?: ((r: ReturnType<typeof compileQuery>) => void) | undefined;
onError?: ((r: ExecutionResult) => void) | undefined;
/**

@@ -15,0 +15,0 @@ * Maximum size of LRU Cache

@@ -30,3 +30,3 @@ 'use strict';

setExecuteFn(function jitExecutor() {
var _a;
var _a, _b;
let compiledQuery;

@@ -53,3 +53,3 @@ const documentSource = documentSourceMap.get(args.document);

else {
console.error(compiledQuery);
console.error(((_b = compiledQuery.errors) === null || _b === void 0 ? void 0 : _b.map(e => e.originalError || e)) || compiledQuery);
}

@@ -70,2 +70,1 @@ return {

exports.useGraphQlJit = useGraphQlJit;
//# sourceMappingURL=index.js.map
{
"name": "@envelop/graphql-jit",
"version": "1.1.1",
"version": "1.2.0-alpha-15b486f.0",
"sideEffects": false,
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0"
"graphql": "^14.0.0 || ^15.0.0 || ^16.0.0"
},
"dependencies": {
"graphql-jit": "^0.5.0",
"graphql-jit": "^0.6.0",
"tiny-lru": "7.0.6"

@@ -11,0 +11,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