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

@hazae41/glacier

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hazae41/glacier - npm Package Compare versions

Comparing version 2.0.6 to 2.0.7

4

dist/types/index.d.ts

@@ -14,5 +14,5 @@ import * as index from './mods/index.js';

export { ScrollError, Scrollable } from './mods/queries/scroll/helper.js';
export { ScrollableFetcherfulQuery, ScrollableFetcherlessQuery, ScrollableQuery, ScrollableSkeletonQuery, createScrollableQuery } from './mods/queries/scroll/query.js';
export { ScrollableFetcherfulQuery, ScrollableFetcherlessQuery, ScrollableQuery, createScrollableQuery } from './mods/queries/scroll/query.js';
export { Simple } from './mods/queries/simple/helper.js';
export { SimpleFetcherfulQuery, SimpleFetcherlessQuery, SimpleQuery, SimpleSkeletonQuery, createQuery } from './mods/queries/simple/query.js';
export { SimpleFetcherfulQuery, SimpleFetcherlessQuery, SimpleQuery, createQuery } from './mods/queries/simple/query.js';
export { useDebug } from './mods/react/hooks/blocks/use-debug.js';

@@ -19,0 +19,0 @@ export { useError } from './mods/react/hooks/blocks/use-error.js';

@@ -12,5 +12,5 @@ export { AsyncBicoder, AsyncEncoder, AsyncJson, AsyncPipeBicoder, AsyncPipeEncoder, Bicoder, Encoder, SyncBicoder, SyncEncoder, SyncIdentity, SyncJson, SyncPipeBicoder, SyncPipeEncoder } from './coders/coder.js';

export { ScrollError, Scrollable } from './queries/scroll/helper.js';
export { ScrollableFetcherfulQuery, ScrollableFetcherlessQuery, ScrollableQuery, ScrollableSkeletonQuery, createScrollableQuery } from './queries/scroll/query.js';
export { ScrollableFetcherfulQuery, ScrollableFetcherlessQuery, ScrollableQuery, createScrollableQuery } from './queries/scroll/query.js';
export { Simple } from './queries/simple/helper.js';
export { SimpleFetcherfulQuery, SimpleFetcherlessQuery, SimpleQuery, SimpleSkeletonQuery, createQuery } from './queries/simple/query.js';
export { SimpleFetcherfulQuery, SimpleFetcherlessQuery, SimpleQuery, createQuery } from './queries/simple/query.js';
export { useDebug } from './react/hooks/blocks/use-debug.js';

@@ -17,0 +17,0 @@ export { useError } from './react/hooks/blocks/use-error.js';

@@ -16,7 +16,12 @@ import { Nullable } from '@hazae41/option';

type Infer<T> = undefined | ScrollableFetcherlessQuery.Infer<T> | ScrollableFetcherfulQuery.Infer<T>;
type Reactify<T> = ScrollableSkeletonQuery.Reactify<T> | ScrollableFetcherlessQuery.Reactify<T> | ScrollableFetcherfulQuery.Reactify<T>;
type K<T> = ScrollableFetcherfulQuery.K<T> | ScrollableFetcherlessQuery.K<T>;
type D<T> = ScrollableFetcherfulQuery.D<T> | ScrollableFetcherlessQuery.D<T>;
type F<T> = ScrollableFetcherfulQuery.F<T> | ScrollableFetcherlessQuery.F<T>;
type Reactify<T> = ScrollableFetcherfulQuery.Reactify<T> | ScrollableFetcherlessQuery.Reactify<T>;
type ReactifyAndSkeleton<T> = ScrollableSkeletonReactQuery<K<T>, D<T>, F<T>> | Reactify<T>;
type ReactifyOrSkeleton<T> = [
T,
undefined
] extends [undefined, T] ? ScrollableSkeletonReactQuery<any, any, any> : undefined extends T ? ReactifyAndSkeleton<T> : Reactify<T>;
}
declare namespace ScrollableSkeletonQuery {
type Reactify<T> = T extends undefined ? ScrollableSkeletonReactQuery<any, any, any> : never;
}
declare namespace ScrollableFetcherfulQuery {

@@ -65,2 +70,2 @@ type Infer<T> = ScrollableFetcherfulQuery<K<T>, D<T>, F<T>>;

export { ScrollableFetcherfulQuery, ScrollableFetcherlessQuery, ScrollableQuery, ScrollableSkeletonQuery, createScrollableQuery };
export { ScrollableFetcherfulQuery, ScrollableFetcherlessQuery, ScrollableQuery, createScrollableQuery };

@@ -17,7 +17,12 @@ import { Nullable } from '@hazae41/option';

type Infer<T> = undefined | SimpleFetcherlessQuery.Infer<T> | SimpleFetcherfulQuery.Infer<T>;
type Reactify<T> = SimpleSkeletonQuery.Reactify<T> | SimpleFetcherlessQuery.Reactify<T> | SimpleFetcherfulQuery.Reactify<T>;
type K<T> = SimpleFetcherfulQuery.K<T> | SimpleFetcherlessQuery.K<T>;
type D<T> = SimpleFetcherfulQuery.D<T> | SimpleFetcherlessQuery.D<T>;
type F<T> = SimpleFetcherfulQuery.F<T> | SimpleFetcherlessQuery.F<T>;
type Reactify<T> = SimpleFetcherfulQuery.Reactify<T> | SimpleFetcherlessQuery.Reactify<T>;
type ReactifyAndSkeleton<T> = SimpleSkeletonReactQuery<K<T>, D<T>, F<T>> | Reactify<T>;
type ReactifyOrSkeleton<T> = [
T,
undefined
] extends [undefined, T] ? SimpleSkeletonReactQuery<any, any, any> : undefined extends T ? ReactifyAndSkeleton<T> : Reactify<T>;
}
declare namespace SimpleSkeletonQuery {
type Reactify<T> = T extends undefined ? SimpleSkeletonReactQuery<any, any, any> : never;
}
declare namespace SimpleFetcherlessQuery {

@@ -64,2 +69,2 @@ type Infer<T> = SimpleFetcherlessQuery<K<T>, D<T>, F<T>>;

export { SimpleFetcherfulQuery, SimpleFetcherlessQuery, SimpleQuery, SimpleSkeletonQuery, createQuery };
export { SimpleFetcherfulQuery, SimpleFetcherlessQuery, SimpleQuery, createQuery };

@@ -8,3 +8,3 @@ import { Nullable } from '@hazae41/option';

declare function useScrollableQuery<T extends ScrollableQuery.Infer<T>, L extends DependencyList>(factory: (...deps: L) => T, deps: L): ScrollableQuery.Reactify<T>;
declare function useScrollableQuery<T extends ScrollableQuery.Infer<T>, L extends DependencyList>(factory: (...deps: L) => T, deps: L): ScrollableQuery.ReactifyOrSkeleton<T>;
interface ScrollableSkeletonReactQuery<K, D, F> extends SkeletonReactQuery<K, D[], F> {

@@ -11,0 +11,0 @@ /**

@@ -10,3 +10,3 @@ import { Result } from '@hazae41/result';

declare function useQuery<T extends SimpleQuery.Infer<T>, L extends DependencyList>(factory: (...deps: L) => T, deps: L): SimpleQuery.Reactify<T>;
declare function useQuery<T extends SimpleQuery.Infer<T>, L extends DependencyList>(factory: (...deps: L) => T, deps: L): SimpleQuery.ReactifyOrSkeleton<T>;
/**

@@ -13,0 +13,0 @@ * Query for a simple resource

{
"type": "module",
"name": "@hazae41/glacier",
"version": "2.0.6",
"version": "2.0.7",
"author": "hazae41",

@@ -6,0 +6,0 @@ "license": "MIT",

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

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