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

@types/pngjs

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

@types/pngjs - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

12

pngjs/index.d.ts

@@ -10,4 +10,4 @@ // Type definitions for pngjs 6.0

import { Duplex } from 'stream';
import { createDeflate } from 'zlib';
import { Duplex } from "stream";
import { createDeflate } from "zlib";

@@ -52,6 +52,6 @@ export class PNG extends Duplex {

on(event: 'metadata', callback: (this: PNG, metadata: Metadata) => void): this;
on(event: 'parsed', callback: (this: PNG, data: Buffer) => void): this;
on(event: 'error', callback: (this: PNG, error: Error) => void): this;
on(event: 'close', callback: (this: PNG) => void): this;
on(event: "metadata", callback: (this: PNG, metadata: Metadata) => void): this;
on(event: "parsed", callback: (this: PNG, data: Buffer) => void): this;
on(event: "error", callback: (this: PNG, error: Error) => void): this;
on(event: "close", callback: (this: PNG) => void): this;
on(event: string, callback: (this: PNG, ...args: any[]) => void): this;

@@ -58,0 +58,0 @@

{
"name": "@types/pngjs",
"version": "6.0.1",
"version": "6.0.2",
"description": "TypeScript definitions for pngjs",

@@ -35,4 +35,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pngjs",

},
"typesPublisherContentHash": "3a8e07ae6617220eaa42d700709352d3e2aac6dc6cc1857aa51cad62f5f0312e",
"typeScriptVersion": "3.6"
"typesPublisherContentHash": "e8c85c62bf7bcf881635eeb12f3e050918e3395084d0c933a3fba7d5da95960d",
"typeScriptVersion": "4.5"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Wed, 07 Jul 2021 17:02:31 GMT
* Last updated: Sun, 24 Sep 2023 06:37:28 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)

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

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