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

@types/lozad

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/lozad - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

10

lozad/index.d.ts

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

// Type definitions for lozad 1.1
// Type definitions for lozad 1.2
// Project: https://github.com/ApoorvSaxena/lozad.js

@@ -10,3 +10,4 @@ // Definitions by: York Yao <https://github.com/plantain-00>

threshold?: number;
load?(element: HTMLElement | HTMLCanvasElement): void;
load?(element: Element): void;
loaded?(element: Element): void;
}

@@ -16,4 +17,7 @@

observe(): void;
triggerLoad(element: Element): void;
}
type Selector = string | Element | HTMLCollectionOf<Element> | NodeListOf<Element>;
const prototype: {

@@ -23,3 +27,3 @@ };

declare function lozad(selector?: string, options?: lozad.Option): lozad.Observer;
declare function lozad(selector?: lozad.Selector, options?: lozad.Option): lozad.Observer;

@@ -26,0 +30,0 @@ export as namespace lozad;

{
"name": "@types/lozad",
"version": "1.1.0",
"version": "1.2.0",
"description": "TypeScript definitions for lozad",

@@ -14,10 +14,11 @@ "license": "MIT",

"main": "",
"types": "index",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "43714690a906f2302344fe0de877a667658c5838c74785ccf6c4e9b7c9f5682f",
"typesPublisherContentHash": "0e764477c783373c85a1e2d570df0885da13e7fde36ac134f40fac79767fb1a0",
"typeScriptVersion": "2.0"
}

@@ -8,6 +8,6 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lozad
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lozad
Additional Details
* Last updated: Wed, 29 Nov 2017 01:09:44 GMT
* Last updated: Sat, 19 Jan 2019 01:10:40 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: lozad

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