chore: update dependencies (#11119)

This commit is contained in:
jrandolf 2023-10-11 12:03:40 +02:00 committed by GitHub
parent c8feb3e472
commit 9e7a30ece5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 784 additions and 824 deletions

1538
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -115,49 +115,49 @@
},
"devDependencies": {
"@actions/core": "1.10.1",
"@microsoft/api-documenter": "7.23.1",
"@microsoft/api-extractor": "7.37.0",
"@microsoft/api-extractor-model": "7.28.0",
"@microsoft/api-documenter": "7.23.9",
"@microsoft/api-extractor": "7.38.0",
"@microsoft/api-extractor-model": "7.28.2",
"@pptr/testserver": "file:packages/testserver",
"@prettier/sync": "0.3.0",
"@rollup/plugin-commonjs": "25.0.4",
"@rollup/plugin-node-resolve": "15.2.1",
"@rollup/plugin-terser": "0.4.3",
"@types/debug": "4.1.8",
"@types/diff": "5.0.4",
"@types/mime": "3.0.1",
"@types/mocha": "10.0.1",
"@types/node": "20.6.3",
"@rollup/plugin-commonjs": "25.0.5",
"@rollup/plugin-node-resolve": "15.2.3",
"@rollup/plugin-terser": "0.4.4",
"@types/debug": "4.1.9",
"@types/diff": "5.0.5",
"@types/mime": "3.0.2",
"@types/mocha": "10.0.2",
"@types/node": "20.8.4",
"@types/pixelmatch": "5.2.4",
"@types/pngjs": "6.0.1",
"@types/pngjs": "6.0.2",
"@types/progress": "2.0.5",
"@types/semver": "7.5.2",
"@types/sinon": "10.0.16",
"@types/semver": "7.5.3",
"@types/sinon": "10.0.19",
"@types/tar-fs": "2.0.2",
"@types/unbzip2-stream": "1.4.1",
"@types/ws": "8.5.5",
"@types/yargs": "17.0.24",
"@typescript-eslint/eslint-plugin": "6.7.2",
"@typescript-eslint/parser": "6.7.2",
"@types/ws": "8.5.7",
"@types/yargs": "17.0.28",
"@typescript-eslint/eslint-plugin": "6.7.5",
"@typescript-eslint/parser": "6.7.5",
"c8": "8.0.1",
"commonmark": "0.30.0",
"cross-env": "7.0.3",
"diff": "5.1.0",
"esbuild": "0.19.3",
"eslint": "8.49.0",
"esbuild": "0.19.4",
"eslint": "8.51.0",
"eslint-config-prettier": "9.0.0",
"eslint-formatter-codeframe": "7.32.1",
"eslint-import-resolver-typescript": "3.6.0",
"eslint-import-resolver-typescript": "3.6.1",
"eslint-plugin-import": "2.28.1",
"eslint-plugin-mocha": "10.1.0",
"eslint-plugin-prettier": "5.0.0",
"eslint-plugin-mocha": "10.2.0",
"eslint-plugin-prettier": "5.0.1",
"eslint-plugin-rulesdir": "0.2.2",
"eslint-plugin-tsdoc": "0.2.17",
"eslint-plugin-unused-imports": "3.0.0",
"esprima": "4.0.1",
"expect": "29.7.0",
"glob": "10.3.10",
"gts": "5.0.1",
"gts": "5.2.0",
"jpeg-js": "0.4.4",
"license-checker": "25.0.1",
"mime": "3.0.0",
@ -170,17 +170,16 @@
"prettier": "3.0.3",
"puppeteer": "file:packages/puppeteer",
"rollup": "3.29.2",
"rollup-plugin-polyfill-node": "0.12.0",
"semver": "7.5.4",
"sinon": "16.0.0",
"sinon": "16.1.0",
"source-map-support": "0.5.21",
"spdx-satisfies": "5.0.1",
"text-diff": "1.0.1",
"tsd": "0.29.0",
"tsx": "3.12.10",
"tsx": "3.13.0",
"typescript": "5.2.2",
"wireit": "0.14.0",
"zod": "3.22.2"
"zod": "3.22.4"
},
"overrides": {
"@microsoft/api-extractor": {

View File

@ -17,8 +17,10 @@ import commonjs from '@rollup/plugin-commonjs';
import {nodeResolve} from '@rollup/plugin-node-resolve';
import terser from '@rollup/plugin-terser';
import {globSync} from 'glob';
import nodePolyfills from 'rollup-plugin-polyfill-node';
/**
* @type {import('rollup').InputOptions[]}
*/
const configs = [];
// Note we don't use path.join here. We cannot since `glob` does not support
@ -39,9 +41,6 @@ for (const file of globSync(`lib/esm/third_party/**/*.js`)) {
plugins: [
terser(),
nodeResolve(),
// This is used internally within the polyfill. It gets ignored for the
// most part via this plugin.
nodePolyfills({include: ['util']}),
commonjs({
transformMixedEsModules: true,
}),

View File

@ -26,7 +26,13 @@ export class CustomError extends Error {
constructor(message?: string) {
super(message);
this.name = this.constructor.name;
Error.captureStackTrace(this, this.constructor);
}
/**
* @internal
*/
get [Symbol.toStringTag](): string {
return this.constructor.name;
}
}