Skip to content

Commit 58c743c

Browse files
committed
Merge remote-tracking branch 'origin/main' into hide-jsdoc-ignored-properties-from-completions
2 parents 3696f94 + 56a0825 commit 58c743c

File tree

5,057 files changed

+629777
-297988
lines changed

Some content is hidden

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

5,057 files changed

+629777
-297988
lines changed

.c8rc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"reporter": ["lcovonly", "cobertura", "v8", "codecov"],
2+
"reporter": ["lcovonly", "cobertura", "v8", "v8-json", "codecov"],
33
"src": "src",
44
"include": ["src/**", "built/local/**"],
55
"exclude": ["**/node_modules/**"],

.devcontainer/Dockerfile

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

.devcontainer/devcontainer.json

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,26 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/javascript-node
13
{
24
"name": "Node.js",
3-
"build": {
4-
"dockerfile": "Dockerfile",
5-
"args": {
6-
"VARIANT": "18"
7-
}
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/javascript-node:1-22-bookworm",
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
"features": {
10+
"ghcr.io/devcontainers/features/go:1": {}
11+
},
12+
13+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
14+
// "forwardPorts": [],
15+
16+
// Use 'postCreateCommand' to run commands after the container is created.
17+
"postCreateCommand": {
18+
"Configure Build Tools": "sudo corepack enable npm; sudo npm install -g hereby; npm ci",
19+
"Install pprof": "go install github.com/google/pprof@latest",
20+
"Install Graphviz": "sudo apt install graphviz"
821
},
22+
23+
// Configure tool-specific properties.
924
"customizations": {
1025
"vscode": {
1126
"settings": {
@@ -23,5 +38,7 @@
2338
]
2439
}
2540
},
41+
42+
// More info: https://aka.ms/dev-containers-non-root.
2643
"remoteUser": "node"
2744
}

.dprint.jsonc

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,9 @@
2929
"exportDeclaration.sortNamedExports": "caseInsensitive",
3030
"importDeclaration.sortNamedImports": "caseInsensitive"
3131
},
32-
"prettier": {
33-
"newLineKind": "lf",
34-
"associations": [
35-
"**/*.{yaml,yml}"
36-
],
37-
"yml.tabWidth": 2,
38-
"yaml.tabWidth": 2,
39-
"yml.singleQuote": true,
40-
"yaml.singleQuote": true
32+
"yaml": {
33+
"indentWidth": 2,
34+
"quotes": "preferSingle"
4135
},
4236
"json": {
4337
// This would be good to do in known-JSONC files, but VS Code warns on trailing commas.
@@ -59,8 +53,8 @@
5953
// Note: if adding new languages, make sure settings.template.json is updated too.
6054
// Also, if updating typescript, update the one in package.json.
6155
"plugins": [
62-
"https://plugins.dprint.dev/typescript-0.91.4.wasm",
63-
"https://plugins.dprint.dev/json-0.19.3.wasm",
64-
"https://plugins.dprint.dev/prettier-0.40.0.json@68c668863ec834d4be0f6f5ccaab415df75336a992aceb7eeeb14fdf096a9e9c"
56+
"https://plugins.dprint.dev/typescript-0.93.3.wasm",
57+
"https://plugins.dprint.dev/json-0.19.4.wasm",
58+
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm"
6559
]
6660
}

.github/dependabot.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# To get started with Dependabot version updates, you'll need to specify which
22
# package ecosystems to update and where the package manifests are located.
3-
# Please see the documentation for all configuration options:
3+
# Please see the documentation for more information:
44
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
# https://containers.dev/guide/dependabot
56

67
version: 2
78
updates:
@@ -13,3 +14,8 @@ updates:
1314
github-actions:
1415
patterns:
1516
- '*'
17+
18+
- package-ecosystem: 'devcontainers'
19+
directory: '/'
20+
schedule:
21+
interval: weekly

.github/workflows/accept-baselines-fix-lints.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ jobs:
1717
runs-on: ubuntu-latest
1818

1919
steps:
20-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
20+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2121
with:
2222
token: ${{ secrets.TS_BOT_GITHUB_TOKEN }}
23-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
23+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
2424
with:
2525
node-version: 'lts/*'
2626

.github/workflows/ci.yml

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
os:
2828
- ubuntu-latest
2929
- windows-latest
30-
- macos-14
30+
- macos-latest
3131
node-version:
3232
- '22'
3333
- '20'
@@ -43,15 +43,15 @@ jobs:
4343
exclude:
4444
# No Node 14 on ARM macOS
4545
- node-version: '14'
46-
os: macos-14
46+
os: macos-latest
4747

4848
runs-on: ${{ matrix.os }}
4949
name: Test Node ${{ matrix.node-version }} on ${{ matrix.os }}${{ (!matrix.bundle && ' with --no-bundle') || '' }}
5050

5151
steps:
52-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
52+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5353
- name: Use node version ${{ matrix.node-version }}
54-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
54+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
5555
with:
5656
node-version: ${{ matrix.node-version }}
5757
check-latest: true
@@ -73,15 +73,15 @@ jobs:
7373
runs-on:
7474
- 'self-hosted'
7575
- '1ES.Pool=TypeScript-1ES-GitHub-Large'
76-
- '1ES.ImageOverride=ubuntu-22.04'
76+
- '1ES.ImageOverride=mariner-2.0'
7777

7878
permissions:
7979
id-token: write
8080
contents: read
8181

8282
steps:
83-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
84-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
83+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
84+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
8585
with:
8686
node-version: 'lts/*'
8787
- run: npm ci
@@ -90,23 +90,23 @@ jobs:
9090
run: npm test -- --no-lint --coverage
9191

9292
- name: Upload coverage artifact
93-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
93+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
9494
with:
9595
name: coverage
9696
path: coverage
9797

98-
- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
98+
- uses: codecov/codecov-action@7f8b4b4bde536c465e797be725718b88c5d95e0e # v5.1.1
9999
with:
100-
use_oidc: true
100+
use_oidc: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) }}
101101
disable_search: true
102102
files: ./coverage/codecov.json
103103

104104
lint:
105105
runs-on: ubuntu-latest
106106

107107
steps:
108-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
109-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
108+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
109+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
110110
with:
111111
node-version: 'lts/*'
112112
- run: npm ci
@@ -118,8 +118,8 @@ jobs:
118118
runs-on: ubuntu-latest
119119

120120
steps:
121-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
122-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
121+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
122+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
123123
with:
124124
node-version: 'lts/*'
125125
- run: npm ci
@@ -131,13 +131,13 @@ jobs:
131131
runs-on: ubuntu-latest
132132

133133
steps:
134-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
135-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
134+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
135+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
136136
with:
137137
node-version: 'lts/*'
138138
- run: npm ci
139139

140-
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
140+
- uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0
141141
with:
142142
path: ~/.cache/dprint
143143
key: ${{ runner.os }}-dprint-${{ hashFiles('package-lock.json', '.dprint.jsonc') }}
@@ -151,8 +151,8 @@ jobs:
151151
runs-on: ubuntu-latest
152152

153153
steps:
154-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
155-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
154+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
155+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
156156
with:
157157
node-version: 'lts/*'
158158
- run: npm ci
@@ -167,8 +167,8 @@ jobs:
167167
runs-on: ubuntu-latest
168168

169169
steps:
170-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
171-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
170+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
171+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
172172
with:
173173
node-version: 'lts/*'
174174
- run: npm ci
@@ -180,9 +180,9 @@ jobs:
180180
runs-on: ubuntu-latest
181181

182182
steps:
183-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
183+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
184184

185-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
185+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
186186
with:
187187
node-version: 'lts/*'
188188
- run: |
@@ -221,16 +221,16 @@ jobs:
221221
if: github.event_name == 'pull_request'
222222

223223
steps:
224-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
224+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
225225
with:
226226
path: pr
227227

228-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
228+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
229229
with:
230230
path: base
231231
ref: ${{ github.base_ref }}
232232

233-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
233+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
234234
with:
235235
node-version: 'lts/*'
236236
- run: |
@@ -262,8 +262,8 @@ jobs:
262262
runs-on: ubuntu-latest
263263

264264
steps:
265-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
266-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
265+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
266+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
267267
with:
268268
node-version: 'lts/*'
269269
- run: npm ci
@@ -278,8 +278,8 @@ jobs:
278278
runs-on: ubuntu-latest
279279

280280
steps:
281-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
282-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
281+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
282+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
283283
with:
284284
node-version: 'lts/*'
285285
- run: npm ci
@@ -297,8 +297,8 @@ jobs:
297297
runs-on: ubuntu-latest
298298

299299
steps:
300-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
301-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
300+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
301+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
302302
with:
303303
node-version: 'lts/*'
304304
- run: npm ci
@@ -334,7 +334,7 @@ jobs:
334334
335335
- name: Upload baseline diff artifact
336336
if: ${{ failure() && steps.check-baselines.conclusion == 'failure' }}
337-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
337+
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
338338
with:
339339
name: fix_baselines.patch
340340
path: fix_baselines.patch

.github/workflows/codeql.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ jobs:
4242

4343
steps:
4444
- name: Checkout repository
45-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
45+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4646

4747
# Initializes the CodeQL tools for scanning.
4848
- name: Initialize CodeQL
49-
uses: github/codeql-action/init@2d790406f505036ef40ecba973cc774a50395aac # v3.25.13
49+
uses: github/codeql-action/init@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
5050
with:
5151
config-file: ./.github/codeql/codeql-configuration.yml
5252
# Override language selection by uncommenting this and choosing your languages
@@ -56,7 +56,7 @@ jobs:
5656
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5757
# If this step fails, then you should remove it and run the build manually (see below).
5858
- name: Autobuild
59-
uses: github/codeql-action/autobuild@2d790406f505036ef40ecba973cc774a50395aac # v3.25.13
59+
uses: github/codeql-action/autobuild@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6
6060

6161
# ℹ️ Command-line programs to run using the OS shell.
6262
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -70,4 +70,4 @@ jobs:
7070
# make release
7171

7272
- name: Perform CodeQL Analysis
73-
uses: github/codeql-action/analyze@2d790406f505036ef40ecba973cc774a50395aac # v3.25.13
73+
uses: github/codeql-action/analyze@aa578102511db1f4524ed59b8cc2bae4f6e88195 # v3.27.6

.github/workflows/create-cherry-pick-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
if: github.repository == 'microsoft/TypeScript'
4848

4949
steps:
50-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
50+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5151
with:
5252
filter: blob:none # https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/
5353
fetch-depth: 0 # Default is 1; need to set to 0 to get the benefits of blob:none.

.github/workflows/insiders.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
if: github.repository == 'microsoft/TypeScript'
2121

2222
steps:
23-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
24-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
23+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
24+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
2525
with:
2626
node-version: 'lts/*'
2727
- run: |
@@ -42,8 +42,8 @@ jobs:
4242
if: github.repository == 'microsoft/TypeScript'
4343

4444
steps:
45-
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
46-
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
45+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
46+
- uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
4747
with:
4848
node-version: 'lts/*'
4949
# Use NODE_AUTH_TOKEN environment variable to authenticate to this registry.

0 commit comments

Comments
 (0)