You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@types/image-size

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.29 to 0.7.0

9

image-size/index.d.ts

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

// Type definitions for image-size
// Type definitions for image-size 0.7
// Project: https://github.com/image-size/image-size

@@ -8,4 +8,2 @@ // Definitions by: Elisée MAURER <https://github.com/elisee>

interface ImageInfo {

@@ -15,11 +13,10 @@ width: number;

type: string;
orientation?: number;
}
declare function sizeOf(path: string): ImageInfo;
declare function sizeOf(pathOrBuffer: string | Buffer): ImageInfo;
declare function sizeOf(path: string, callback: (err: Error, dimensions: ImageInfo) => void): void;
declare function sizeOf(buffer: Buffer): ImageInfo;
declare namespace sizeOf { }
export = sizeOf;
{
"name": "@types/image-size",
"version": "0.0.29",
"version": "0.7.0",
"description": "TypeScript definitions for image-size",

@@ -9,9 +9,11 @@ "license": "MIT",

"name": "Elisée MAURER",
"url": "https://github.com/elisee"
"url": "https://github.com/elisee",
"githubUsername": "elisee"
}
],
"main": "",
"types": "index",
"repository": {
"type": "git",
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
},

@@ -22,4 +24,4 @@ "scripts": {},

},
"typesPublisherContentHash": "8772bcee3c47720c26d7a3dce3db2cc9b072dbb4c71a6eae0b82ef11e87c3224",
"typesPublisherContentHash": "a25b88b0a65e5949364739612cfaa84045c067c1848d96204f6416582b3d3cc9",
"typeScriptVersion": "2.0"
}

@@ -8,7 +8,7 @@ # Installation

# Details
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/image-size
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/image-size
Additional Details
* Last updated: Mon, 21 Aug 2017 21:55:03 GMT
* Dependencies: node
* Last updated: Wed, 16 Jan 2019 18:55:20 GMT
* Dependencies: @types/node
* Global values: none

@@ -15,0 +15,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc