Skip to content

Commit 325ac03

Browse files
authored
Merge branch 'DefinitelyTyped:master' into master
2 parents 0046363 + 5892e8c commit 325ac03

File tree

540 files changed

+72441
-3745
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

540 files changed

+72441
-3745
lines changed

.dprint.jsonc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"./types/react-native",
2929
"./types/recurly__recurly-js",
3030
"./types/sawtooth-sdk",
31-
"./types/webextension-polyfill",
3231
"./types/winrt-uwp",
3332
"./types/vscode",
3433

.github/CODEOWNERS

Lines changed: 21 additions & 16 deletions
Large diffs are not rendered by default.

.github/workflows/CI.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jobs:
115115
if: ${{ github.event_name == 'pull_request' }}
116116

117117
- name: Upload suggestions
118-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
118+
uses: actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5
119119
with:
120120
name: suggestions_${{ matrix.shardId }}_${{ matrix.shardCount }}
121121
if-no-files-found: ignore

notNeededPackages.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1781,6 +1781,10 @@
17811781
"libraryName": "fast-json-stable-stringify",
17821782
"asOfVersion": "2.1.0"
17831783
},
1784+
"fast-shuffle": {
1785+
"libraryName": "fast-shuffle",
1786+
"asOfVersion": "6.1.0"
1787+
},
17841788
"fast-simplex-noise": {
17851789
"libraryName": "fast-simplex-noise",
17861790
"asOfVersion": "3.0.0"
@@ -3557,6 +3561,10 @@
35573561
"libraryName": "mobx-task",
35583562
"asOfVersion": "2.0.0"
35593563
},
3564+
"mock-property": {
3565+
"libraryName": "mock-property",
3566+
"asOfVersion": "1.1.0"
3567+
},
35603568
"mockdate": {
35613569
"libraryName": "mockdate",
35623570
"asOfVersion": "3.0.0"
@@ -5999,6 +6007,10 @@
59996007
"libraryName": "svg.js",
60006008
"asOfVersion": "2.3.1"
60016009
},
6010+
"svgicons2svgfont": {
6011+
"libraryName": "svgicons2svgfont",
6012+
"asOfVersion": "14.0.0"
6013+
},
60026014
"svgo": {
60036015
"libraryName": "svgo",
60046016
"asOfVersion": "3.0.0"

scripts/watchdog-publisher.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,11 @@ function recentPackages(prs) {
140140
const { deprecated, publishDate } = parseNpmInfo(
141141
sh.exec(`npm info @types/${name} time.modified deprecated`, { silent: true }).stdout.toString(),
142142
);
143-
if (mergeDate > publishDate || isNaN(publishDate.getTime()) || deprecated !== deleted) {
143+
if (monthSpan(publishDate, mergeDate) > 1) {
144+
console.log(`${name}: published long before merge; probably a rogue edit to #${pr}`);
145+
console.log(" merged:" + mergeDate);
146+
console.log(" published:" + publishDate);
147+
} else if (mergeDate > publishDate || isNaN(publishDate.getTime()) || deprecated !== deleted) {
144148
console.log(
145149
`${name}: #${pr} not published yet; latency so far: ${(Date.now() - mergeDate.valueOf()) / 1000}`,
146150
);
@@ -151,10 +155,6 @@ function recentPackages(prs) {
151155
longest = latency;
152156
longestName = name;
153157
}
154-
} else if (monthSpan(publishDate, mergeDate) > 1) {
155-
console.log(`${name}: published long before merge; probably a rogue edit to #${pr}`);
156-
console.log(" merged:" + mergeDate);
157-
console.log(" published:" + publishDate);
158158
} else if (publishDate.valueOf() - mergeDate.valueOf() > 100000000) {
159159
console.log(`${name}: #${pr} very long latency: ${(publishDate.valueOf() - mergeDate.valueOf()) / 1000}`);
160160
console.log(" merged:" + mergeDate);

types/apple-mapkit-js-browser/apple-mapkit-js-browser-tests.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ const map: mapkit.Map = new mapkit.Map(document.querySelector<HTMLElement>(".tes
1212
loadPriority: "LandCover",
1313
});
1414

15-
const colors = mapkit.Map.ColorSchemes.Dark;
15+
const colorDark = mapkit.Map.ColorSchemes.Dark;
16+
const colorLight = mapkit.Map.ColorSchemes.Light;
17+
const colorAdaptive = mapkit.Map.ColorSchemes.Adaptive;
1618

1719
const coordinate = new mapkit.Coordinate(1000, 1000);
1820
const factory = (coordinate: mapkit.Coordinate) => {

types/apple-mapkit-js-browser/index.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,10 @@ declare namespace mapkit {
233233
* A constant indicating a dark color scheme.
234234
*/
235235
readonly Dark: string;
236+
/**
237+
* A constant indicating a color scheme that follows the current system setting.
238+
*/
239+
readonly Adaptive: string;
236240
};
237241
/**
238242
* Constants representing the type of map to display.

types/apple-mapkit-js-browser/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"private": true,
33
"name": "@types/apple-mapkit-js-browser",
4-
"version": "5.65.9999",
4+
"version": "5.78.9999",
55
"nonNpm": true,
66
"nonNpmDescription": "MapKit JS",
77
"projects": [
8-
"https://developer.apple.com/reference/mapkitjs"
8+
"https://developer.apple.com/documentation/mapkitjs"
99
],
1010
"devDependencies": {
1111
"@types/apple-mapkit-js-browser": "workspace:."

types/archiver/archiver-tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ archiver.append(readStream, { name: "archiver.d.ts" });
3838
archiver.append(readStream, { name: "buffer.txt", date: "05/05/1991" });
3939
archiver.append(readStream, { name: "buffer.txt", date: new Date() });
4040
archiver.append(readStream, { name: "buffer.txt", mode: 1 });
41-
archiver.append(readStream, { name: "buffer.txt", mode: 1, stats: new fs.Stats() });
41+
archiver.append(readStream, { name: "buffer.txt", mode: 1, stats: ({} as fs.Stats) });
4242
archiver.append("Some content", { name: "filename", store: true });
4343
archiver.append(readStream, { name: "archiver.d.ts" }).append(readStream, { name: "archiver.d.ts" });
4444

types/awesomplete/awesomplete-tests.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,3 +91,11 @@ new Awesomplete(input, {
9191
});
9292
},
9393
});
94+
95+
new Awesomplete(input, {
96+
container: (element) => {
97+
const container = document.createElement("div");
98+
container.appendChild(element);
99+
return container;
100+
},
101+
});

0 commit comments

Comments
 (0)