Skip to content

Commit 3735df7

Browse files
committed
Merge branch 'main' into generic-cfa
2 parents daf8937 + e00722f commit 3735df7

File tree

385 files changed

+14436
-7361
lines changed

Some content is hidden

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

385 files changed

+14436
-7361
lines changed

.eslintrc.json

+2
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
3737
"@typescript-eslint/consistent-type-assertions": ["error", { "assertionStyle": "as" }],
3838

39+
"max-statements-per-line": ["error", { "max": 1 }],
40+
3941
"no-duplicate-imports": "off",
4042
"@typescript-eslint/no-duplicate-imports": "error",
4143

Gulpfile.js

+3-9
Original file line numberDiff line numberDiff line change
@@ -510,21 +510,15 @@ task("baseline-accept").description = "Makes the most recent test results the ne
510510
task("baseline-accept-rwc", () => baselineAccept(localRwcBaseline, refRwcBaseline));
511511
task("baseline-accept-rwc").description = "Makes the most recent rwc test results the new baseline, overwriting the old baseline";
512512

513-
const buildLoggedIO = async () => {
514-
mkdirp.sync("built/local/temp");
515-
await exec(process.execPath, ["lib/tsc", "--types", "--target", "es5", "--lib", "es5", "--outdir", "built/local/temp", "src/harness/loggedIO.ts"]);
516-
fs.renameSync("built/local/temp/harness/loggedIO.js", "built/local/loggedIO.js");
517-
await del("built/local/temp");
518-
};
519-
520-
const cleanLoggedIO = () => del("built/local/temp/loggedIO.js");
513+
const buildLoggedIO = () => buildProject("src/loggedIO/tsconfig-tsc-instrumented.json");
514+
const cleanLoggedIO = () => del("built/local/loggedIO.js");
521515
cleanTasks.push(cleanLoggedIO);
522516

523517
const buildInstrumenter = () => buildProject("src/instrumenter");
524518
const cleanInstrumenter = () => cleanProject("src/instrumenter");
525519
cleanTasks.push(cleanInstrumenter);
526520

527-
const tscInstrumented = () => exec(process.execPath, ["built/local/instrumenter.js", "record", cmdLineOptions.tests || "iocapture", "built/local"]);
521+
const tscInstrumented = () => exec(process.execPath, ["built/local/instrumenter.js", "record", cmdLineOptions.tests || "iocapture", "built/local/tsc.js"]);
528522
task("tsc-instrumented", series(lkgPreBuild, parallel(localize, buildTsc, buildServer, buildServices, buildLssl, buildLoggedIO, buildInstrumenter), tscInstrumented));
529523
task("tsc-instrumented").description = "Builds an instrumented tsc.js";
530524
task("tsc-instrumented").flags = {

SECURITY.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!-- BEGIN MICROSOFT SECURITY.MD V0.0.5 BLOCK -->
2+
3+
## Security
4+
5+
Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet), [Xamarin](https://github.com/xamarin), and [our GitHub organizations](https://opensource.microsoft.com/).
6+
7+
If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://docs.microsoft.com/en-us/previous-versions/tn-archive/cc751383(v=technet.10)), please report it to us as described below.
8+
9+
## Reporting Security Issues
10+
11+
**Please do not report security vulnerabilities through public GitHub issues.**
12+
13+
Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://msrc.microsoft.com/create-report).
14+
15+
If you prefer to submit without logging in, send email to [[email protected]](mailto:[email protected]). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://www.microsoft.com/en-us/msrc/pgp-key-msrc).
16+
17+
You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc).
18+
19+
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
20+
21+
* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
22+
* Full paths of source file(s) related to the manifestation of the issue
23+
* The location of the affected source code (tag/branch/commit or direct URL)
24+
* Any special configuration required to reproduce the issue
25+
* Step-by-step instructions to reproduce the issue
26+
* Proof-of-concept or exploit code (if possible)
27+
* Impact of the issue, including how an attacker might exploit the issue
28+
29+
This information will help us triage your report more quickly.
30+
31+
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://microsoft.com/msrc/bounty) page for more details about our active programs.
32+
33+
## Preferred Languages
34+
35+
We prefer all communications to be in English.
36+
37+
## Policy
38+
39+
Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://www.microsoft.com/en-us/msrc/cvd).
40+
41+
<!-- END MICROSOFT SECURITY.MD BLOCK -->

0 commit comments

Comments
 (0)