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

visibilityjs

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

visibilityjs - npm Package Compare versions

Comparing version 1.2.6 to 1.2.7

3

ChangeLog.md
# Change Log
## 1.2.7 “Discoverer 8, hard”
* Fix type definitions by @dpoetzsch.
## 1.2.6 “Discoverer 7, powerless”

@@ -4,0 +7,0 @@ * Fix type definitions for TypeScript 2.6 by @marayfirth.

2

component.json
{
"name": "visibilityjs",
"version": "1.2.6",
"version": "1.2.7",
"homepage": "https://github.com/ai/visibilityjs",

@@ -5,0 +5,0 @@ "authors": ["Andrey A.I. Sitnik <andrey@sitnik.ru>"],

declare module 'visibilityjs' {
const _default: Visibility;
export default _default;
class Visibility {
every(interval: number, callback: Function);
onVisible(callback: Function);
afterPrerendering(callback: Function);
isSupported(): boolean;
state(): string;
hidden(): boolean;
unbind(callback: Function);
change(listener: VisiblityChangeListener);
}
export function every(interval: number, callback: Function);
export function onVisible(callback: Function);
export function afterPrerendering(callback: Function);
export function isSupported(): boolean;
export function state(): string;
export function hidden(): boolean;
export function unbind(callback: Function);
export function change(listener: VisiblityChangeListener);
export function stop(listener: VisiblityChangeListener);
type VisiblityChangeListener = (event, state: string) => void;
}
{
"name": "visibilityjs",
"version": "1.2.6",
"version": "1.2.7",
"description": "Wrapper for the Page Visibility API",

@@ -17,8 +17,8 @@ "keywords": [

"coffee-script": "^1.12.7",
"fs-extra": "4.0.2",
"mocha": "4.0.1",
"sinon": "4.1.2",
"fs-extra": "5.0.0",
"mocha": "5.0.1",
"sinon": "4.4.2",
"sinon-chai": "2.14.0",
"size-limit": "^0.13.1",
"uglify-js": "^3.1.9"
"size-limit": "^0.15.1",
"uglify-js": "^3.3.12"
},

@@ -25,0 +25,0 @@ "size-limit": [

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