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

@fastkit/visibility

Package Overview
Dependencies
Maintainers
1
Versions
202
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fastkit/visibility - npm Package Compare versions

Comparing version 0.8.11 to 0.8.12

9

dist/visibility.d.ts

@@ -7,3 +7,3 @@ declare const states: readonly ["visible", "hidden"];

private _typedCallbacks;
get state(): VisibilityState_2;
get state(): VisibilityState;
get isVisible(): boolean;

@@ -18,3 +18,3 @@ get isHidden(): boolean;

hidden(callback: VisibilityTypedCallback): () => void;
remove(listenerOrCallback: VisibilityStateListener | VisibilityTypedCallback, targetState?: VisibilityState_2 | 'change'): void;
remove(listenerOrCallback: VisibilityStateListener | VisibilityTypedCallback, targetState?: VisibilityState | 'change'): void;
}

@@ -24,6 +24,5 @@

declare type VisibilityState_2 = typeof states[number];
export { VisibilityState_2 as VisibilityState }
export declare type VisibilityState = typeof states[number];
export declare type VisibilityStateListener = (state: VisibilityState_2, event: Event) => any;
export declare type VisibilityStateListener = (state: VisibilityState, event: Event) => any;

@@ -30,0 +29,0 @@ export declare type VisibilityTypedCallback = (event: Event) => any;

{
"name": "@fastkit/visibility",
"version": "0.8.11",
"version": "0.8.12",
"description": "@fastkit/visibility",

@@ -5,0 +5,0 @@ "buildOptions": {

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