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

gqty

Package Overview
Dependencies
Maintainers
1
Versions
318
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gqty - npm Package Compare versions

Comparing version 3.1.2-canary-20240715053600.3f28ec5804d6b7dfe2837bc76588901003bd960b to 3.2.0-canary-20240718092221.1ee2b21aac68cf350fb9ad7a892605893bb012f0

Helpers/fetcher.d.ts

1

Cache/index.js

@@ -10,2 +10,3 @@ 'use strict';

const deepCopy = require('../Helpers/deepCopy.js');
require('gqty/Error');
require('../Utils/hash.js');

@@ -12,0 +13,0 @@ const select = require('../Helpers/select.js');

3

Client/index.d.ts

@@ -13,4 +13,3 @@ import type { Client as SseClient } from 'graphql-sse';

export * as useMetaStateHack from '../Helpers/useMetaStateHack';
export { pick } from '../Utils';
export type { LegacyClientOptions as LegacyFetchers, LegacyHydrateCache, LegacyHydrateCacheOptions, LegacyInlineResolveOptions, LegacyInlineResolved, LegacyMutate, LegacyMutateHelpers, LegacyPrefetch, LegacyQueryFetcher, LegacyRefetch, LegacyResolveOptions, LegacyResolved, LegacySelection, LegacySubscribeEvents, LegacySubscriptionsClient, LegacyTrack, LegacyTrackCallInfo, LegacyTrackCallType, LegacyTrackOptions, } from './compat/client';
export type { LegacyClientOptions as LegacyFetchers, LegacyHydrateCache, LegacyHydrateCacheOptions, LegacyInlineResolved, LegacyInlineResolveOptions, LegacyMutate, LegacyMutateHelpers, LegacyPrefetch, LegacyQueryFetcher, LegacyRefetch, LegacyResolved, LegacyResolveOptions, LegacySelection, LegacySubscribeEvents, LegacySubscriptionsClient, LegacyTrack, LegacyTrackCallInfo, LegacyTrackCallType, LegacyTrackOptions, } from './compat/client';
export type { SchemaContext } from './context';

@@ -17,0 +16,0 @@ export type { DebugEvent } from './debugger';

@@ -15,2 +15,3 @@ 'use strict';

require('flatted');
require('gqty/Error');
const getFields = require('../Helpers/getFields.js');

@@ -20,4 +21,2 @@ const prepass = require('../Helpers/prepass.js');

const useMetaStateHack = require('../Helpers/useMetaStateHack.js');
require('../Utils/hash.js');
const pick = require('../Utils/pick.js');
const resolveSelections = require('./resolveSelections.js');

@@ -122,3 +121,2 @@ const meta = require('../Accessor/meta.js');

exports.useMetaStateHack = useMetaStateHack;
exports.pick = pick.pick;
exports.fetchSelections = resolveSelections.fetchSelections;

@@ -125,0 +123,0 @@ exports.subscribeSelections = resolveSelections.subscribeSelections;

@@ -1,2 +0,2 @@

import { type BaseGeneratedSchema, type FetchOptions } from '.';
import type { BaseGeneratedSchema, FetchOptions } from '.';
import type { Cache } from '../Cache';

@@ -3,0 +3,0 @@ import type { GQtyError, RetryOptions } from '../Error';

@@ -8,15 +8,8 @@ 'use strict';

const index = require('../Accessor/index.js');
require('../Cache/index.js');
require('flatted');
require('frail-map');
require('../Utils/hash.js');
const deferred = require('../Utils/deferred.js');
const pick = require('../Utils/pick.js');
require('../Cache/normalization.js');
const batching = require('./batching.js');
const context = require('./context.js');
const resolveSelections = require('./resolveSelections.js');
const updateCaches = require('./updateCaches.js');
const deferred = require('../Utils/deferred.js');
const context = require('./context.js');
require('just-safe-get');
require('just-safe-set');
const batching = require('./batching.js');

@@ -23,0 +16,0 @@ const pendingQueries = /* @__PURE__ */ new WeakMap();

export * from './casters';
export * from './deepCopy';
export * from './fetcher';
export * from './getFields';

@@ -4,0 +5,0 @@ export * from './prepass';

@@ -7,2 +7,3 @@ 'use strict';

const deepCopy = require('./deepCopy.js');
const fetcher = require('./fetcher.js');
const getFields = require('./getFields.js');

@@ -18,2 +19,7 @@ const prepass = require('./prepass.js');

exports.deepCopy = deepCopy.deepCopy;
exports.assertExecutionResult = fetcher.assertExecutionResult;
exports.defaultResponseHandler = fetcher.defaultResponseHandler;
exports.handleResponseErrors = fetcher.handleResponseErrors;
exports.isExecutionResult = fetcher.isExecutionResult;
exports.parseResponse = fetcher.parseResponse;
exports.getArrayFields = getFields.getArrayFields;

@@ -20,0 +26,0 @@ exports.getFields = getFields.getFields;

@@ -10,2 +10,3 @@ 'use strict';

const deepCopy = require('./Helpers/deepCopy.js');
const fetcher = require('./Helpers/fetcher.js');
const getFields = require('./Helpers/getFields.js');

@@ -18,3 +19,2 @@ const prepass = require('./Helpers/prepass.js');

const meta = require('./Accessor/meta.js');
const pick = require('./Utils/pick.js');
const resolveSelections = require('./Client/resolveSelections.js');

@@ -32,2 +32,7 @@ const useMetaStateHack = require('./Helpers/useMetaStateHack.js');

exports.deepCopy = deepCopy.deepCopy;
exports.assertExecutionResult = fetcher.assertExecutionResult;
exports.defaultResponseHandler = fetcher.defaultResponseHandler;
exports.handleResponseErrors = fetcher.handleResponseErrors;
exports.isExecutionResult = fetcher.isExecutionResult;
exports.parseResponse = fetcher.parseResponse;
exports.getArrayFields = getFields.getArrayFields;

@@ -42,3 +47,2 @@ exports.getFields = getFields.getFields;

exports.$meta = meta.$meta;
exports.pick = pick.pick;
exports.fetchSelections = resolveSelections.fetchSelections;

@@ -45,0 +49,0 @@ exports.subscribeSelections = resolveSelections.subscribeSelections;

{
"name": "gqty",
"version": "3.1.2-canary-20240715053600.3f28ec5804d6b7dfe2837bc76588901003bd960b",
"version": "3.2.0-canary-20240718092221.1ee2b21aac68cf350fb9ad7a892605893bb012f0",
"description": "The No-GraphQL Client for TypeScript",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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