npm pakage security updates

Ran the following script to update engine.io and socket.io packages
to address the security issue tracked in crbug.com/1447254:

`npm run install-deps audit fix --audit-level=critical`

Bug: 1447254
Change-Id: Ia617b76882259bdab5259855029353701ff0bc1e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4551951
Reviewed-by: Danil Somsikov <dsv@chromium.org>
Reviewed-by: Brandon Walderman <brwalder@microsoft.com>
Commit-Queue: Guangyue Xu <guangyue.xu@microsoft.com>
This commit is contained in:
Guangyue Xu
2023-05-23 16:50:12 +00:00
committed by Devtools-frontend LUCI CQ
parent cd97729fc8
commit bffee6084d
191 changed files with 12636 additions and 8576 deletions
+4 -2
View File
@@ -15,6 +15,8 @@ Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="node" />
import { IncomingHttpHeaders } from 'http';
type StaticOrigin = boolean | string | RegExp | (boolean | string | RegExp)[];
@@ -70,8 +72,8 @@ export = e;
````
### Additional Details
* Last updated: Fri, 09 Jul 2021 07:31:29 GMT
* Dependencies: none
* Last updated: Mon, 05 Dec 2022 07:33:01 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
+2
View File
@@ -5,6 +5,8 @@
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.3
/// <reference types="node" />
import { IncomingHttpHeaders } from 'http';
type StaticOrigin = boolean | string | RegExp | (boolean | string | RegExp)[];
+6 -4
View File
@@ -1,6 +1,6 @@
{
"name": "@types/cors",
"version": "2.8.12",
"version": "2.8.13",
"description": "TypeScript definitions for cors",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cors",
"license": "MIT",
@@ -24,7 +24,9 @@
"directory": "types/cors"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "53ea51a6543d58d3c1b9035a9c361d8f06d7be01973be2895820b2fb7ad9563a",
"typeScriptVersion": "3.6"
"dependencies": {
"@types/node": "*"
},
"typesPublisherContentHash": "7979c95081a89c6479dfb9a9a432965c861677edef9443df6d4a871a5db924c4",
"typeScriptVersion": "4.2"
}
Generated Vendored Executable
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) Microsoft Corporation.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
Generated Vendored Executable
+16
View File
@@ -0,0 +1,16 @@
# Installation
> `npm install --save @types/yauzl`
# Summary
This package contains type definitions for yauzl (https://github.com/thejoshwolfe/yauzl).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yauzl.
### Additional Details
* Last updated: Mon, 11 Apr 2022 02:01:17 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by [Florian Keller](https://github.com/ffflorian).
Generated Vendored Executable
+98
View File
@@ -0,0 +1,98 @@
// Type definitions for yauzl 2.10
// Project: https://github.com/thejoshwolfe/yauzl
// Definitions by: Florian Keller <https://github.com/ffflorian>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
import { EventEmitter } from 'events';
import { Readable } from 'stream';
export abstract class RandomAccessReader extends EventEmitter {
_readStreamForRange(start: number, end: number): void;
createReadStream(options: { start: number; end: number }): void;
read(buffer: Buffer, offset: number, length: number, position: number, callback: (err: Error | null) => void): void;
close(callback: (err: Error | null) => void): void;
}
export class Entry {
comment: string;
compressedSize: number;
compressionMethod: number;
crc32: number;
externalFileAttributes: number;
extraFieldLength: number;
extraFields: Array<{ id: number; data: Buffer }>;
fileCommentLength: number;
fileName: string;
fileNameLength: number;
generalPurposeBitFlag: number;
internalFileAttributes: number;
lastModFileDate: number;
lastModFileTime: number;
relativeOffsetOfLocalHeader: number;
uncompressedSize: number;
versionMadeBy: number;
versionNeededToExtract: number;
getLastModDate(): Date;
isEncrypted(): boolean;
isCompressed(): boolean;
}
export interface ZipFileOptions {
decompress: boolean | null;
decrypt: boolean | null;
start: number | null;
end: number | null;
}
export class ZipFile extends EventEmitter {
autoClose: boolean;
comment: string;
decodeStrings: boolean;
emittedError: boolean;
entriesRead: number;
entryCount: number;
fileSize: number;
isOpen: boolean;
lazyEntries: boolean;
readEntryCursor: boolean;
validateEntrySizes: boolean;
constructor(
reader: RandomAccessReader,
centralDirectoryOffset: number,
fileSize: number,
entryCount: number,
comment: string,
autoClose: boolean,
lazyEntries: boolean,
decodeStrings: boolean,
validateEntrySizes: boolean,
);
openReadStream(entry: Entry, options: ZipFileOptions, callback: (err: Error | null, stream: Readable) => void): void;
openReadStream(entry: Entry, callback: (err: Error | null, stream: Readable) => void): void;
close(): void;
readEntry(): void;
}
export interface Options {
autoClose?: boolean | undefined;
lazyEntries?: boolean | undefined;
decodeStrings?: boolean | undefined;
validateEntrySizes?: boolean | undefined;
strictFileNames?: boolean | undefined;
}
export function open(path: string, options: Options, callback?: (err: Error | null, zipfile: ZipFile) => void): void;
export function open(path: string, callback?: (err: Error | null, zipfile: ZipFile) => void): void;
export function fromFd(fd: number, options: Options, callback?: (err: Error | null, zipfile: ZipFile) => void): void;
export function fromFd(fd: number, callback?: (err: Error | null, zipfile: ZipFile) => void): void;
export function fromBuffer(buffer: Buffer, options: Options, callback?: (err: Error | null, zipfile: ZipFile) => void): void;
export function fromBuffer(buffer: Buffer, callback?: (err: Error | null, zipfile: ZipFile) => void): void;
export function fromRandomAccessReader(reader: RandomAccessReader, totalSize: number, options: Options, callback: (err: Error | null, zipfile: ZipFile) => void): void;
export function fromRandomAccessReader(reader: RandomAccessReader, totalSize: number, callback: (err: Error | null, zipfile: ZipFile) => void): void;
export function dosDateTimeToDate(date: number, time: number): Date;
export function validateFileName(fileName: string): string | null;
Generated Vendored Executable
+27
View File
@@ -0,0 +1,27 @@
{
"name": "@types/yauzl",
"version": "2.10.0",
"description": "TypeScript definitions for yauzl",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/yauzl",
"license": "MIT",
"contributors": [
{
"name": "Florian Keller",
"url": "https://github.com/ffflorian",
"githubUsername": "ffflorian"
}
],
"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/yauzl"
},
"scripts": {},
"dependencies": {
"@types/node": "*"
},
"typesPublisherContentHash": "183e6a31c00c4e59b6e6ffe0cf97b06d4b843b2d1208d8917820cbb70b57eae9",
"typeScriptVersion": "3.9"
}