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

@types/sax

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/sax - npm Package Compare versions

Comparing version 1.2.4 to 1.2.5

12

sax/index.d.ts

@@ -68,3 +68,3 @@ // Type definitions for sax-js 1.2

tag: Tag;
ENTITIES: {[key: string]: string};
ENTITIES: { [key: string]: string };

@@ -105,5 +105,11 @@ // Events

on(event: "comment", listener: (this: this, comment: string) => void): this;
on(event: "opencdata" | "closecdata" | "end" | "ready" | "close" | "readable" | "drain" | "finish", listener: (this: this) => void): this;
on(
event: "opencdata" | "closecdata" | "end" | "ready" | "close" | "readable" | "drain" | "finish",
listener: (this: this) => void,
): this;
on(event: "cdata", listener: (this: this, cdata: string) => void): this;
on(event: "opennamespace" | "closenamespace", listener: (this: this, ns: { prefix: string; uri: string }) => void): this;
on(
event: "opennamespace" | "closenamespace",
listener: (this: this, ns: { prefix: string; uri: string }) => void,
): this;
on(event: "script", listener: (this: this, script: string) => void): this;

@@ -110,0 +116,0 @@ on(event: "data", listener: (this: this, chunk: any) => void): this;

{
"name": "@types/sax",
"version": "1.2.4",
"version": "1.2.5",
"description": "TypeScript definitions for sax-js",

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

},
"typesPublisherContentHash": "fc26d1b24c83f02c6839a4f84319eb603cdd20b6fea488904fa628d28913df1c",
"typeScriptVersion": "3.8"
"typesPublisherContentHash": "a57837161b2184ceee98e54e922213d66d26e675ba5dd3d0661aaa85ce5943ca",
"typeScriptVersion": "4.5"
}

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

### Additional Details
* Last updated: Wed, 15 Dec 2021 14:01:11 GMT
* Last updated: Mon, 25 Sep 2023 13:39:06 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