Skip to content

Commit 76c0f41

Browse files
authored
Merge branch 'DefinitelyTyped:master' into master
2 parents 6862d42 + 018d3d8 commit 76c0f41

448 files changed

Lines changed: 55545 additions & 22150 deletions

File tree

Some content is hidden

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

.github/CODEOWNERS

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,6 @@
328328
/types/array.prototype.flat/ @kylejlin @ljharb
329329
/types/array.prototype.flatmap/ @hallettj @ljharb
330330
/types/arrive/ @vijaypemmaraju
331-
/types/artillery/ @BendingBender
332331
/types/asana/ @tkqubo @tasyp @filipposarzana @szlori @apiology
333332
/types/asap/ @fpascutti
334333
/types/ascii-art/ @lukaselmer
@@ -1349,6 +1348,7 @@
13491348
/types/d3-shape/v1/ @tomwanzek @gustavderdrache @borisyankov @denisname @Methuselah96
13501349
/types/d3-shape/v2/ @tomwanzek @gustavderdrache @borisyankov @denisname @Methuselah96
13511350
/types/d3-simple-slider/ @johnwalley
1351+
/types/d3-tile/ @NaciriMouad
13521352
/types/d3-time/ @tomwanzek @gustavderdrache @borisyankov @denisname @Methuselah96
13531353
/types/d3-time/v1/ @tomwanzek @gustavderdrache @borisyankov @denisname @Methuselah96
13541354
/types/d3-time/v2/ @tomwanzek @gustavderdrache @borisyankov @denisname @Methuselah96
@@ -1855,14 +1855,11 @@
18551855
/types/eslint-plugin-jsx-a11y/ @eagerestwolf @ljharb
18561856
/types/eslint-plugin-markdown/ @JounQin
18571857
/types/eslint-plugin-mobx/ @MysteryBlokHed
1858-
/types/eslint-plugin-mocha/ @rhysd
18591858
/types/eslint-plugin-prettier/ @ikatyang @JounQin
18601859
/types/eslint-plugin-security/ @rhysd @porada
18611860
/types/eslint-plugin-tailwindcss/ @eagerestwolf
1862-
/types/eslint-scope/ @mysticatea
18631861
/types/eslint-utils/ @JoshuaKGoldberg
18641862
/types/esm/ @Richienb
1865-
/types/espree/ @e6nlaq
18661863
/types/esprima/ @teppeis @RReverser @peter-scott
18671864
/types/esprima/v2/ @teppeis @RReverser
18681865
/types/esprima-walk/ @tswaters
@@ -2087,7 +2084,6 @@
20872084
/types/fibjs/ @richardo2016
20882085
/types/field/ @aleung
20892086
/types/figma/ @rudi-c
2090-
/types/file-entry-cache/ @peterblazejewicz
20912087
/types/file-exists/ @BendingBender
20922088
/types/file-fetch/ @tpluscode
20932089
/types/file-loader/ @g-rath
@@ -4681,9 +4677,6 @@
46814677
/types/map-to-obj/ @JasonHK
46824678
/types/map-values/ @ChocolateLoverRaj
46834679
/types/mapbox/ @anahkiasen @Fluccioni
4684-
/types/mapbox-gl/ @dobrud @macobo @dmytro-gokun @LiamAttClarke @life777 @amxfonseca @Nosfit @mbullington @pascaloliv @mschilde
4685-
/types/mapbox-gl/v1/ @dobrud @macobo @dmytro-gokun @LiamAttClarke @life777 @mklopets @amxfonseca @pascaloliv
4686-
/types/mapbox-gl/v2/ @dobrud @macobo @dmytro-gokun @LiamAttClarke @life777 @amxfonseca @Nosfit @mbullington @pascaloliv @mschilde
46874680
/types/mapbox-gl-leaflet/ @agorshkov23
46884681
/types/mapbox__aws-sdk-jest/ @stevensnoeijen
46894682
/types/mapbox__geo-viewport/ @fnberta
@@ -4696,7 +4689,6 @@
46964689
/types/mapbox__mapbox-gl-geocoder/ @Nosfit @dmytro-gokun
46974690
/types/mapbox__mapbox-gl-traffic/ @niekvb
46984691
/types/mapbox__mapbox-sdk/ @jeffbdye @mikeomeara1 @chachan @techieshark @rroohhh
4699-
/types/mapbox__point-geometry/ @webberig @HarelM
47004692
/types/mapbox__polyline/ @Kern0 @mklopets
47014693
/types/mapbox__rehype-prism/ @remcohaszing
47024694
/types/mapbox__s3urls/ @sebastianvera
@@ -4799,6 +4791,7 @@
47994791
/types/memory-fs/ @e-cloud
48004792
/types/memory-pager/ @BendingBender
48014793
/types/memory-usage/ @BendingBender
4794+
/types/memorystorage/ @Zephyr-Blessed
48024795
/types/memorystream/ @bangbang93 @geniou
48034796
/types/memwatch-next/ @cyrilschumacher
48044797
/types/mercadopago/ @danieldspx
@@ -5295,7 +5288,6 @@
52955288
/types/notifyjs/ @soundTricker @NateScarlet @eikendev
52965289
/types/notifyjs-browser/ @bahman616
52975290
/types/nova-editor/ @apexskier
5298-
/types/nova-editor-node/ @apexskier
52995291
/types/novnc-core/ @smithkl42 @BendingBender
53005292
/types/novnc__novnc/ @jakejarvis @ovcharik
53015293
/types/nowigence-react-simple-maps/ @akashuplers
@@ -5312,7 +5304,7 @@
53125304
/types/npm-registry-package-info/ @ffflorian
53135305
/types/npm-user-packages/ @BendingBender
53145306
/types/npm-whoami/ @JoshuaKGoldberg
5315-
/types/npmcli__arborist/ @forivall @russellhaering
5307+
/types/npmcli__arborist/ @forivall
53165308
/types/npmcli__ci-detect/ @aminya
53175309
/types/npmcli__config/ @forivall
53185310
/types/npmcli__map-workspaces/ @forivall
@@ -7604,7 +7596,6 @@
76047596
/types/styled-theming/ @ArjanJ @hieuhlc @tinynumbers
76057597
/types/stylenames/ @bengry
76067598
/types/styletron-engine-atomic/ @jh3y
7607-
/types/styletron-engine-monolithic/ @tbjgolden
76087599
/types/styletron-react/ @erictaylor
76097600
/types/styletron-standard/ @erictaylor
76107601
/types/stylus/ @SomaticIT @STRd6
@@ -7725,7 +7716,6 @@
77257716
/types/tape-async/ @ExE-Boss
77267717
/types/tape-catch/ @ExE-Boss
77277718
/types/tape-promise/ @ExE-Boss @ljharb
7728-
/types/tar/ @SomaticIT @connor4312
77297719
/types/tar-fs/ @Umoxfo @chriswiggins
77307720
/types/tar-js/ @Narazaka
77317721
/types/tar-stream/ @glicht @peterblazejewicz @kevin-lindsay-1 @screendriver
@@ -8246,7 +8236,6 @@
82468236
/types/vue-scroll-up/ @slaweet
82478237
/types/vue-select/ @silh @FloEdelmann
82488238
/types/vue-splitpane/ @noonhorse
8249-
/types/vue-tel-input/ @suryadana
82508239
/types/vue-template-es2015-compiler/ @iam-medvedev
82518240
/types/vue-the-mask/ @domschmidt
82528241
/types/vue2-datepicker/ @ChrisStornowski
@@ -8467,6 +8456,7 @@
84678456
/types/wordpress__blocks/ @dsifford @sirreal @dmsnell @tomasztunik @sunyatasattva @bastolen @joshualip-plaudit
84688457
/types/wordpress__customize-browser/ @marekdedic
84698458
/types/wordpress__edit-post/ @dsifford
8459+
/types/wordpress__server-side-render/ @rafaucau
84708460
/types/wordpress__viewport/ @dsifford
84718461
/types/wordpress__wordcount/ @dsifford
84728462
/types/words-to-time-converter/ @peterblazejewicz

.github/actions/setup-for-scripts/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ runs:
66
steps:
77
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
88
with:
9-
node-version: '20'
9+
node-version: '24'
1010
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
1111
with:
1212
run_install: |

.github/workflows/CI.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
fetch-depth: 0 # Default is 1; need to set to 0 to get the benefits of blob:none.
3838
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
3939
with:
40-
node-version: '20'
40+
node-version: '24'
4141

4242
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
4343

@@ -69,7 +69,7 @@ jobs:
6969
fetch-depth: 0 # Default is 1; need to set to 0 to get the benefits of blob:none.
7070
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
7171
with:
72-
node-version: '20'
72+
node-version: '24'
7373

7474
# forbid symlinks
7575
- name: 'Pre-run validation'

.github/workflows/pnpm-cache.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
- uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
1616
with:
17-
node-version: '20'
17+
node-version: '24'
1818
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
1919

2020
- name: Get pnpm cache info

.npmrc

Lines changed: 0 additions & 53 deletions
This file was deleted.

dangerfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { mangleScopedPackage, suggestionsDir } from "@definitelytyped/utils";
2-
import { danger, fail, markdown } from "danger";
32
import cp from "node:child_process";
43
import fs from "node:fs";
54
import os from "node:os";
65
import path from "node:path";
6+
import { danger, fail, markdown } from "risk";
77
const lines: string[] = [];
88
const missingProperty = /module exports a property named '(.+?)', which is missing/;
99

notNeededPackages.json

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1973,6 +1973,10 @@
19731973
"libraryName": "eslint-plugin-mocha",
19741974
"asOfVersion": "11.1.0"
19751975
},
1976+
"eslint-scope": {
1977+
"libraryName": "eslint-scope",
1978+
"asOfVersion": "9.1.0"
1979+
},
19761980
"eslint-visitor-keys": {
19771981
"libraryName": "eslint-visitor-keys",
19781982
"asOfVersion": "3.3.0"
@@ -1989,6 +1993,10 @@
19891993
"libraryName": "esm-utils",
19901994
"asOfVersion": "2.0.1"
19911995
},
1996+
"espree": {
1997+
"libraryName": "espree",
1998+
"asOfVersion": "11.1.0"
1999+
},
19922000
"eth-sig-util": {
19932001
"libraryName": "eth-sig-util",
19942002
"asOfVersion": "2.5.3"
@@ -4069,6 +4077,10 @@
40694077
"libraryName": "map-obj",
40704078
"asOfVersion": "3.1.0"
40714079
},
4080+
"mapbox-gl": {
4081+
"libraryName": "mapbox-gl",
4082+
"asOfVersion": "3.5.0"
4083+
},
40724084
"mapbox__point-geometry": {
40734085
"libraryName": "@mapbox/point-geometry",
40744086
"asOfVersion": "1.0.0"
@@ -7795,10 +7807,6 @@
77957807
"libraryName": "@typeform/embed",
77967808
"asOfVersion": "1.0.0"
77977809
},
7798-
"vue-tel-input": {
7799-
"libraryName": "vue-tel-input",
7800-
"asOfVersion": "9.7.1"
7801-
},
78027810
"typescript": {
78037811
"libraryName": "typescript",
78047812
"asOfVersion": "2.0.0"
@@ -8039,6 +8047,10 @@
80398047
"libraryName": "vue-scrollto",
80408048
"asOfVersion": "2.17.1"
80418049
},
8050+
"vue-tel-input": {
8051+
"libraryName": "vue-tel-input",
8052+
"asOfVersion": "9.7.1"
8053+
},
80428054
"vue3-json-viewer": {
80438055
"libraryName": "vue3-json-viewer",
80448056
"asOfVersion": "2.4.0"

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,9 @@
1111
"bugs": {
1212
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped/issues"
1313
},
14-
"packageManager": "pnpm@9.14.4",
14+
"packageManager": "pnpm@10.30.1+sha512.3590e550d5384caa39bd5c7c739f72270234b2f6059e13018f975c313b1eb9fefcc09714048765d4d9efe961382c312e624572c0420762bdc5d5940cdf9be73a",
1515
"engines": {
16-
"pnpm": ">=9.14.4",
17-
"node": ">=18.12"
16+
"node": ">=20.17.0"
1817
},
1918
"scripts": {
2019
"preinstall": "npx only-allow pnpm",
@@ -37,14 +36,14 @@
3736
"@definitelytyped/header-parser": "latest",
3837
"@definitelytyped/typescript-versions": "latest",
3938
"@definitelytyped/utils": "latest",
40-
"danger": "^13.0.5",
4139
"dprint": "^0.49.0",
4240
"eslint-plugin-jsdoc": "^44.2.7",
4341
"husky": "^8.0.3",
4442
"lint-staged": "^15.2.0",
4543
"remark-cli": "^12.0.0",
4644
"remark-gfm": "^4.0.0",
4745
"remark-validate-links": "^13.0.0",
46+
"risk": "^0.0.4",
4847
"typescript": "next"
4948
},
5049
"type": "module"

pnpm-workspace.yaml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,53 @@
11
packages:
22
- 'scripts'
33
- 'types/**'
4+
5+
lockfile: false
6+
7+
# As of pnpm v8, the default is "lowest", selecting the minimum version
8+
# available in the package graph. But, on DT, we want to test the latest of
9+
# everything.
10+
resolutionMode: highest
11+
12+
# Do not delay installing things; we need to check the latest state.
13+
minimumReleaseAge: 0
14+
15+
# Prevent pnpm from hoisting eslint/prettier-ish packages.
16+
# The first two are the defaults, but we don't want to also hoist packages
17+
# like @types/eslint-scope (which exist in the types dir).
18+
publicHoistPattern:
19+
- '*eslint*'
20+
- '*prettier*'
21+
- '!@types/*'
22+
23+
# Match npm's behavior and ensure we get all deps.
24+
autoInstallPeers: true
25+
# Don't complain about peer dependencies; they're out of our control.
26+
strictPeerDependencies: false
27+
# Don't use the top-level package.json to resolve conflicts.
28+
resolvePeersFromWorkspaceRoot: false
29+
# https://github.com/pnpm/pnpm/issues/6300
30+
dedupePeerDependents: false
31+
32+
ignoreScripts: true
33+
34+
# Ensure that @types packages are resolved to this repo's packages where
35+
# available.
36+
preferWorkspacePackages: true
37+
# And also to transitive dependencies.
38+
linkWorkspacePackages: deep
39+
# For manual invocations of `pnpm add`, don't save deps as "workspace:...".
40+
saveWorkspaceProtocol: false
41+
# Ignore cycles; they are out of our control.
42+
ignoreWorkspaceCycles: true
43+
# Don't pull symlinks up out of workspace packages.
44+
dedupeDirectDeps: false
45+
# Don't allow every package to see every other package.
46+
hoistWorkspacePackages: false
47+
48+
# Remove once https://github.com/pnpm/pnpm/issues/6457 is fixed
49+
# and we can set a hoisting limit of "workspaces" like in Yarn.
50+
sharedWorkspaceLockfile: false
51+
52+
overrides:
53+
'@wordpress/vips': '-'

scripts/clean-node-modules.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,10 @@ function rimraf(p) {
3535
for (const nodeModules of iterateNodeModules(repoRoot)) {
3636
console.log(path.relative(repoRoot, nodeModules));
3737
rimraf(nodeModules);
38+
39+
const lockfile = path.join(path.dirname(nodeModules), "pnpm-lock.yaml");
40+
if (fs.existsSync(lockfile)) {
41+
console.log(path.relative(repoRoot, lockfile));
42+
fs.unlinkSync(lockfile);
43+
}
3844
}

0 commit comments

Comments
 (0)