Socket
Socket
Sign inDemoInstall

@types/webidl2

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/webidl2 - npm Package Compare versions

Comparing version 23.11.0 to 23.12.0

61

webidl2/index.d.ts

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

// Type definitions for webidl2 23.11
// Type definitions for webidl2 23.12
// Project: https://github.com/w3c/webidl2.js#readme

@@ -6,2 +6,3 @@ // Definitions by: Kagama Sascha Rosylight <https://github.com/saschanaz>

// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.0

@@ -279,3 +280,4 @@ export as namespace WebIDL2;

export interface Argument {
default: ValueDescription;
/** A default value, absent if there is none. */
default: ValueDescription | null;
/** True if the argument is optional. */

@@ -361,12 +363,55 @@ optional: boolean;

export interface ValueDescription {
type: "string" | "number" | "boolean" | "null" | "Infinity" | "NaN" | "sequence" | "dictionary";
value: string | any[] | null;
negative: boolean | null;
export type ValueDescription =
| ValueDescriptionString
| ValueDescriptionNumber
| ValueDescriptionBoolean
| ValueDescriptionNull
| ValueDescriptionInfinity
| ValueDescriptionNaN
| ValueDescriptionSequence
| ValueDescriptionDictionary;
export interface ValueDescriptionString {
type: "string";
value: string;
}
export interface ValueDescriptionNumber {
type: "number";
value: string;
}
export interface ValueDescriptionBoolean {
type: "boolean";
value: boolean;
}
export interface ValueDescriptionNull {
type: "null";
}
export interface ValueDescriptionInfinity {
type: "Infinity";
negative: boolean;
}
export interface ValueDescriptionNaN {
type: "NaN";
}
export interface ValueDescriptionSequence {
type: "sequence";
value: [];
}
export interface ValueDescriptionDictionary {
type: "dictionary";
}
export interface DeclarationMemberType {
type: "iterable" | "setlike" | "maplike";
type: "iterable" | "maplike" | "setlike";
/** An array with one or more IDL Types representing the declared type arguments. */
idlType: IDLTypeDescription[];
/** Whether the iterable is declared as async. */
async: boolean;
/** Whether the maplike or setlike is declared as read only. */

@@ -376,2 +421,4 @@ readonly: boolean;

extAttrs: ExtendedAttribute[];
/** An array of arguments for the iterable declaration. */
arguments: Argument[];
}

6

webidl2/package.json
{
"name": "@types/webidl2",
"version": "23.11.0",
"version": "23.12.0",
"description": "TypeScript definitions for webidl2",

@@ -27,4 +27,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "e95fc5ea3183ecb074c48e7d921ee9aa2aae3ffc49185ba709a528c6fdf80b99",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "762ae1b7f14414ba1ea91a4aae1f6e8eb97f9a95ec3f98f824942ee3774006cf",
"typeScriptVersion": "3.0"
}

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

### Additional Details
* Last updated: Thu, 02 Apr 2020 17:20:41 GMT
* Last updated: Tue, 19 May 2020 21:28:20 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: `WebIDL2`

Sorry, the diff of this file is not supported yet

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