Skip to content

Commit 563ca76

Browse files
committed
Merge remote-tracking branch 'origin/main' into fix/indexed-access-on-array-constraint-from-substitution
2 parents 8b45731 + 8499803 commit 563ca76

File tree

4,433 files changed

+568845
-297689
lines changed

Some content is hidden

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

4,433 files changed

+568845
-297689
lines changed

.c8rc.json

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

.devcontainer/Dockerfile

-7
This file was deleted.

.devcontainer/devcontainer.json

+22-5
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

+5-11
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.1.wasm",
56+
"https://plugins.dprint.dev/typescript-0.91.8.wasm",
6357
"https://plugins.dprint.dev/json-0.19.3.wasm",
64-
"https://plugins.dprint.dev/prettier-0.40.0.json@68c668863ec834d4be0f6f5ccaab415df75336a992aceb7eeeb14fdf096a9e9c"
58+
"https://plugins.dprint.dev/g-plane/pretty_yaml-v0.5.0.wasm"
6559
]
6660
}

.github/ISSUE_TEMPLATE/bug_report.yml

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ body:
3838
3939
Please keep and fill in the line that best applies.
4040
value: |
41-
- This is a crash
4241
- This changed between versions ______ and _______
4342
- This changed in commit or PR _______
4443
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________

.github/codecov.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
comment: false
2+
3+
coverage:
4+
precision: 5
5+
status:
6+
patch:
7+
default:
8+
informational: true
9+
project:
10+
default:
11+
informational: true
12+
13+
github_checks:
14+
annotations: false

.github/dependabot.yml

+7-1
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2121
with:
2222
token: ${{ secrets.TS_BOT_GITHUB_TOKEN }}
23-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
23+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
2424
with:
2525
node-version: 'lts/*'
2626

.github/workflows/ci.yml

+55-33
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
bundle:
3838
- 'true'
3939
include:
40-
- node-version: '*'
40+
- node-version: 'lts/*'
4141
bundle: false
4242
os: ubuntu-latest
4343
exclude:
@@ -51,7 +51,7 @@ jobs:
5151
steps:
5252
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
5353
- name: Use node version ${{ matrix.node-version }}
54-
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
54+
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
5555
with:
5656
node-version: ${{ matrix.node-version }}
5757
check-latest: true
@@ -69,15 +69,46 @@ jobs:
6969
git add tests/baselines/reference
7070
git diff --staged --exit-code
7171
72+
coverage:
73+
runs-on:
74+
- 'self-hosted'
75+
- '1ES.Pool=TypeScript-1ES-GitHub-Large'
76+
- '1ES.ImageOverride=ubuntu-22.04'
77+
78+
permissions:
79+
id-token: write
80+
contents: read
81+
82+
steps:
83+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
84+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
85+
with:
86+
node-version: 'lts/*'
87+
- run: npm ci
88+
89+
- name: Run tests with coverage
90+
run: npm test -- --no-lint --coverage
91+
92+
- name: Upload coverage artifact
93+
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
94+
with:
95+
name: coverage
96+
path: coverage
97+
98+
- uses: codecov/codecov-action@e28ff129e5465c2c0dcc6f003fc735cb6ae0c673 # v4.5.0
99+
with:
100+
use_oidc: true
101+
disable_search: true
102+
files: ./coverage/codecov.json
103+
72104
lint:
73105
runs-on: ubuntu-latest
74106

75107
steps:
76108
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
77-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
109+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
78110
with:
79-
node-version: '*'
80-
check-latest: true
111+
node-version: 'lts/*'
81112
- run: npm ci
82113

83114
- name: Linter
@@ -88,10 +119,9 @@ jobs:
88119

89120
steps:
90121
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
91-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
122+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
92123
with:
93-
node-version: '*'
94-
check-latest: true
124+
node-version: 'lts/*'
95125
- run: npm ci
96126

97127
- name: Unused exports
@@ -102,10 +132,9 @@ jobs:
102132

103133
steps:
104134
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
105-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
135+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
106136
with:
107-
node-version: '*'
108-
check-latest: true
137+
node-version: 'lts/*'
109138
- run: npm ci
110139

111140
- uses: actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9 # v4.0.2
@@ -123,10 +152,9 @@ jobs:
123152

124153
steps:
125154
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
126-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
155+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
127156
with:
128-
node-version: '*'
129-
check-latest: true
157+
node-version: 'lts/*'
130158
- run: npm ci
131159

132160
- name: Installing browsers
@@ -140,10 +168,9 @@ jobs:
140168

141169
steps:
142170
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
143-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
171+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
144172
with:
145-
node-version: '*'
146-
check-latest: true
173+
node-version: 'lts/*'
147174
- run: npm ci
148175

149176
- name: Build src
@@ -155,10 +182,9 @@ jobs:
155182
steps:
156183
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
157184

158-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
185+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
159186
with:
160-
node-version: '*'
161-
check-latest: true
187+
node-version: 'lts/*'
162188
- run: |
163189
npm --version
164190
# corepack enable npm
@@ -204,10 +230,9 @@ jobs:
204230
path: base
205231
ref: ${{ github.base_ref }}
206232

207-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
233+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
208234
with:
209-
node-version: '*'
210-
check-latest: true
235+
node-version: 'lts/*'
211236
- run: |
212237
npm --version
213238
# corepack enable npm
@@ -238,10 +263,9 @@ jobs:
238263

239264
steps:
240265
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
241-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
266+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
242267
with:
243-
node-version: '*'
244-
check-latest: true
268+
node-version: 'lts/*'
245269
- run: npm ci
246270

247271
- name: Build scripts
@@ -255,10 +279,9 @@ jobs:
255279

256280
steps:
257281
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
258-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
282+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
259283
with:
260-
node-version: '*'
261-
check-latest: true
284+
node-version: 'lts/*'
262285
- run: npm ci
263286

264287
- name: Build tsc
@@ -275,10 +298,9 @@ jobs:
275298

276299
steps:
277300
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
278-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
301+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
279302
with:
280-
node-version: '*'
281-
check-latest: true
303+
node-version: 'lts/*'
282304
- run: npm ci
283305

284306
- name: Remove all baselines
@@ -312,7 +334,7 @@ jobs:
312334
313335
- name: Upload baseline diff artifact
314336
if: ${{ failure() && steps.check-baselines.conclusion == 'failure' }}
315-
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
337+
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4.3.6
316338
with:
317339
name: fix_baselines.patch
318340
path: fix_baselines.patch

.github/workflows/codeql.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646

4747
# Initializes the CodeQL tools for scanning.
4848
- name: Initialize CodeQL
49-
uses: github/codeql-action/init@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
49+
uses: github/codeql-action/init@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
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@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
59+
uses: github/codeql-action/autobuild@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5
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@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
73+
uses: github/codeql-action/analyze@2c779ab0d087cd7fe7b826087247c2c81f27bfa6 # v3.26.5

.github/workflows/insiders.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
24-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
24+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
2525
with:
2626
node-version: 'lts/*'
2727
- run: |
@@ -43,7 +43,7 @@ jobs:
4343

4444
steps:
4545
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
46-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
46+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
4747
with:
4848
node-version: 'lts/*'
4949
# Use NODE_AUTH_TOKEN environment variable to authenticate to this registry.

.github/workflows/lkg.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
ref: ${{ inputs.branch_name }}
3333
token: ${{ secrets.TS_BOT_GITHUB_TOKEN }}
34-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
34+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
3535
with:
3636
node-version: 'lts/*'
3737
- run: |

.github/workflows/new-release-branch.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
filter: blob:none # https://github.blog/2020-12-21-get-up-to-speed-with-partial-clone-and-shallow-clone/
5656
fetch-depth: 0 # Default is 1; need to set to 0 to get the benefits of blob:none.
5757
token: ${{ secrets.TS_BOT_GITHUB_TOKEN }}
58-
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
58+
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
5959
with:
6060
node-version: 'lts/*'
6161
- run: |

0 commit comments

Comments
 (0)