mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 03:09:39 -06:00
Update deps (#62285)
This commit is contained in:
parent
e39d5775b6
commit
73c0bc8bc8
3092
package-lock.json
generated
3092
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
37
package.json
37
package.json
@ -42,46 +42,45 @@
|
||||
"@dprint/formatter": "^0.4.1",
|
||||
"@dprint/typescript": "0.93.4",
|
||||
"@esfx/canceltoken": "^1.0.0",
|
||||
"@eslint/js": "^9.20.0",
|
||||
"@eslint/js": "^9.33.0",
|
||||
"@octokit/rest": "^21.1.1",
|
||||
"@types/chai": "^4.3.20",
|
||||
"@types/diff": "^7.0.1",
|
||||
"@types/minimist": "^1.2.5",
|
||||
"@types/mocha": "^10.0.10",
|
||||
"@types/ms": "^0.7.34",
|
||||
"@types/node": "latest",
|
||||
"@types/source-map-support": "^0.5.10",
|
||||
"@types/which": "^3.0.4",
|
||||
"@typescript-eslint/rule-tester": "^8.24.1",
|
||||
"@typescript-eslint/type-utils": "^8.24.1",
|
||||
"@typescript-eslint/utils": "^8.24.1",
|
||||
"azure-devops-node-api": "^14.1.0",
|
||||
"@typescript-eslint/rule-tester": "^8.39.1",
|
||||
"@typescript-eslint/type-utils": "^8.39.1",
|
||||
"@typescript-eslint/utils": "^8.39.1",
|
||||
"azure-devops-node-api": "^15.1.1",
|
||||
"c8": "^10.1.3",
|
||||
"chai": "^4.5.0",
|
||||
"chokidar": "^4.0.3",
|
||||
"diff": "^7.0.0",
|
||||
"dprint": "^0.49.0",
|
||||
"esbuild": "^0.25.0",
|
||||
"eslint": "^9.20.1",
|
||||
"diff": "^8.0.2",
|
||||
"dprint": "^0.49.1",
|
||||
"esbuild": "^0.25.9",
|
||||
"eslint": "^9.33.0",
|
||||
"eslint-formatter-autolinkable-stylish": "^1.4.0",
|
||||
"eslint-plugin-regexp": "^2.7.0",
|
||||
"fast-xml-parser": "^4.5.2",
|
||||
"eslint-plugin-regexp": "^2.10.0",
|
||||
"fast-xml-parser": "^5.2.5",
|
||||
"glob": "^10.4.5",
|
||||
"globals": "^15.15.0",
|
||||
"hereby": "^1.10.0",
|
||||
"globals": "^16.3.0",
|
||||
"hereby": "^1.11.0",
|
||||
"jsonc-parser": "^3.3.1",
|
||||
"knip": "^5.44.4",
|
||||
"knip": "^5.62.0",
|
||||
"minimist": "^1.2.8",
|
||||
"mocha": "^10.8.2",
|
||||
"mocha-fivemat-progress-reporter": "^0.1.0",
|
||||
"monocart-coverage-reports": "^2.12.1",
|
||||
"monocart-coverage-reports": "^2.12.6",
|
||||
"ms": "^2.1.3",
|
||||
"picocolors": "^1.1.1",
|
||||
"playwright": "^1.50.1",
|
||||
"playwright": "^1.54.2",
|
||||
"source-map-support": "^0.5.21",
|
||||
"tslib": "^2.8.1",
|
||||
"typescript": "^5.7.3",
|
||||
"typescript-eslint": "^8.24.1",
|
||||
"typescript": "^5.9.2",
|
||||
"typescript-eslint": "^8.39.1",
|
||||
"which": "^3.0.1"
|
||||
},
|
||||
"overrides": {
|
||||
|
||||
@ -1063,8 +1063,8 @@ export function rangeEquals<T>(array1: readonly T[], array2: readonly T[], pos:
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
export const elementAt: <T>(array: readonly T[] | undefined, offset: number) => T | undefined = !!Array.prototype.at
|
||||
? (array, offset) => array?.at(offset)
|
||||
export const elementAt: <T>(array: readonly T[] | undefined, offset: number) => T | undefined = !!(Array.prototype as any).at
|
||||
? (array, offset) => (array as any)?.at(offset)
|
||||
: (array, offset) => {
|
||||
if (array !== undefined) {
|
||||
offset = toOffset(array, offset);
|
||||
@ -1623,7 +1623,7 @@ export function createSet<TElement, THash = number>(getHashCode: (element: TElem
|
||||
const multiMap = new Map<THash, TElement | TElement[]>();
|
||||
let size = 0;
|
||||
|
||||
function* getElementIterator(): IterableIterator<TElement> {
|
||||
function* getElementIterator(): SetIterator<TElement> {
|
||||
for (const value of multiMap.values()) {
|
||||
if (isArray(value)) {
|
||||
yield* value;
|
||||
@ -1722,13 +1722,13 @@ export function createSet<TElement, THash = number>(getHashCode: (element: TElem
|
||||
}
|
||||
}
|
||||
},
|
||||
keys(): IterableIterator<TElement> {
|
||||
keys(): SetIterator<TElement> {
|
||||
return getElementIterator();
|
||||
},
|
||||
values(): IterableIterator<TElement> {
|
||||
values(): SetIterator<TElement> {
|
||||
return getElementIterator();
|
||||
},
|
||||
*entries(): IterableIterator<[TElement, TElement]> {
|
||||
*entries(): SetIterator<[TElement, TElement]> {
|
||||
for (const value of getElementIterator()) {
|
||||
yield [value, value];
|
||||
}
|
||||
|
||||
@ -5,11 +5,11 @@ import * as ts from "./_namespaces/ts.js";
|
||||
// this will work in the browser via browserify
|
||||
declare global {
|
||||
// Module transform: converted from ambient declaration
|
||||
var assert: typeof chai.assert; // eslint-disable-line no-var
|
||||
var assert: typeof chai.assert;
|
||||
}
|
||||
declare global {
|
||||
// Module transform: converted from ambient declaration
|
||||
var expect: typeof chai.expect; // eslint-disable-line no-var
|
||||
var expect: typeof chai.expect;
|
||||
}
|
||||
globalThis.assert = chai.assert;
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user