Skip to content

Commit af0406b

Browse files
committed
Merge branch 'master' into update-node-types
2 parents e57445f + 114edd5 commit af0406b

File tree

264 files changed

+11649
-2152
lines changed

Some content is hidden

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

264 files changed

+11649
-2152
lines changed

apps/api-documenter/CHANGELOG.json

+87
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,93 @@
11
{
22
"name": "@microsoft/api-documenter",
33
"entries": [
4+
{
5+
"version": "7.13.52",
6+
"tag": "@microsoft/api-documenter_v7.13.52",
7+
"date": "Wed, 22 Sep 2021 03:27:12 GMT",
8+
"comments": {
9+
"dependency": [
10+
{
11+
"comment": "Updating dependency \"@rushstack/heft\" to `0.39.0`"
12+
},
13+
{
14+
"comment": "Updating dependency \"@rushstack/heft-node-rig\" to `1.2.15`"
15+
}
16+
]
17+
}
18+
},
19+
{
20+
"version": "7.13.51",
21+
"tag": "@microsoft/api-documenter_v7.13.51",
22+
"date": "Wed, 22 Sep 2021 00:09:32 GMT",
23+
"comments": {
24+
"dependency": [
25+
{
26+
"comment": "Updating dependency \"@rushstack/heft\" to `0.38.2`"
27+
},
28+
{
29+
"comment": "Updating dependency \"@rushstack/heft-node-rig\" to `1.2.14`"
30+
}
31+
]
32+
}
33+
},
34+
{
35+
"version": "7.13.50",
36+
"tag": "@microsoft/api-documenter_v7.13.50",
37+
"date": "Sat, 18 Sep 2021 03:05:57 GMT",
38+
"comments": {
39+
"dependency": [
40+
{
41+
"comment": "Updating dependency \"@rushstack/heft\" to `0.38.1`"
42+
},
43+
{
44+
"comment": "Updating dependency \"@rushstack/heft-node-rig\" to `1.2.13`"
45+
}
46+
]
47+
}
48+
},
49+
{
50+
"version": "7.13.49",
51+
"tag": "@microsoft/api-documenter_v7.13.49",
52+
"date": "Tue, 14 Sep 2021 01:17:04 GMT",
53+
"comments": {
54+
"dependency": [
55+
{
56+
"comment": "Updating dependency \"@microsoft/api-extractor-model\" to `7.13.7`"
57+
},
58+
{
59+
"comment": "Updating dependency \"@rushstack/node-core-library\" to `3.40.2`"
60+
},
61+
{
62+
"comment": "Updating dependency \"@rushstack/heft\" to `0.38.0`"
63+
},
64+
{
65+
"comment": "Updating dependency \"@rushstack/heft-node-rig\" to `1.2.12`"
66+
}
67+
]
68+
}
69+
},
70+
{
71+
"version": "7.13.48",
72+
"tag": "@microsoft/api-documenter_v7.13.48",
73+
"date": "Mon, 13 Sep 2021 15:07:05 GMT",
74+
"comments": {
75+
"dependency": [
76+
{
77+
"comment": "Updating dependency \"@microsoft/api-extractor-model\" to `7.13.6`"
78+
},
79+
{
80+
"comment": "Updating dependency \"@rushstack/node-core-library\" to `3.40.1`"
81+
},
82+
{
83+
"comment": "Updating dependency \"@rushstack/heft\" to `0.37.4`"
84+
},
85+
{
86+
"comment": "Updating dependency \"@rushstack/heft-node-rig\" to `1.2.11`"
87+
}
88+
]
89+
}
90+
},
491
{
592
"version": "7.13.47",
693
"tag": "@microsoft/api-documenter_v7.13.47",

apps/api-documenter/CHANGELOG.md

+26-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,31 @@
11
# Change Log - @microsoft/api-documenter
22

3-
This log was last generated on Fri, 10 Sep 2021 15:08:28 GMT and should not be manually modified.
3+
This log was last generated on Wed, 22 Sep 2021 03:27:12 GMT and should not be manually modified.
4+
5+
## 7.13.52
6+
Wed, 22 Sep 2021 03:27:12 GMT
7+
8+
_Version update only_
9+
10+
## 7.13.51
11+
Wed, 22 Sep 2021 00:09:32 GMT
12+
13+
_Version update only_
14+
15+
## 7.13.50
16+
Sat, 18 Sep 2021 03:05:57 GMT
17+
18+
_Version update only_
19+
20+
## 7.13.49
21+
Tue, 14 Sep 2021 01:17:04 GMT
22+
23+
_Version update only_
24+
25+
## 7.13.48
26+
Mon, 13 Sep 2021 15:07:05 GMT
27+
28+
_Version update only_
429

530
## 7.13.47
631
Fri, 10 Sep 2021 15:08:28 GMT

apps/api-documenter/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/api-documenter",
3-
"version": "7.13.47",
3+
"version": "7.13.52",
44
"description": "Read JSON files from api-extractor, generate documentation pages",
55
"repository": {
66
"type": "git",

apps/api-documenter/src/plugin/PluginLoader.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class PluginLoader {
8787
try {
8888
markdownDocumenterFeature = new featureDefinition.subclass(initialization);
8989
} catch (e) {
90-
throw new Error(`Failed to construct feature subclass:\n` + e.toString());
90+
throw new Error(`Failed to construct feature subclass:\n` + (e as Error).toString());
9191
}
9292
if (!(markdownDocumenterFeature instanceof MarkdownDocumenterFeature)) {
9393
throw new Error('The constructed subclass was not an instance of MarkdownDocumenterFeature');
@@ -96,7 +96,7 @@ export class PluginLoader {
9696
try {
9797
markdownDocumenterFeature.onInitialized();
9898
} catch (e) {
99-
throw new Error('Error occurred during the onInitialized() event: ' + e.toString());
99+
throw new Error('Error occurred during the onInitialized() event: ' + (e as Error).toString());
100100
}
101101

102102
this.markdownDocumenterFeature = markdownDocumenterFeature;
@@ -105,7 +105,7 @@ export class PluginLoader {
105105
}
106106
}
107107
} catch (e) {
108-
throw new Error(`Error loading plugin ${configPlugin.packageName}: ` + e.message);
108+
throw new Error(`Error loading plugin ${configPlugin.packageName}: ` + (e as Error).message);
109109
}
110110
}
111111
}

apps/api-extractor-model/CHANGELOG.json

+24
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,30 @@
11
{
22
"name": "@microsoft/api-extractor-model",
33
"entries": [
4+
{
5+
"version": "7.13.7",
6+
"tag": "@microsoft/api-extractor-model_v7.13.7",
7+
"date": "Tue, 14 Sep 2021 01:17:04 GMT",
8+
"comments": {
9+
"dependency": [
10+
{
11+
"comment": "Updating dependency \"@rushstack/node-core-library\" to `3.40.2`"
12+
}
13+
]
14+
}
15+
},
16+
{
17+
"version": "7.13.6",
18+
"tag": "@microsoft/api-extractor-model_v7.13.6",
19+
"date": "Mon, 13 Sep 2021 15:07:06 GMT",
20+
"comments": {
21+
"dependency": [
22+
{
23+
"comment": "Updating dependency \"@rushstack/node-core-library\" to `3.40.1`"
24+
}
25+
]
26+
}
27+
},
428
{
529
"version": "7.13.5",
630
"tag": "@microsoft/api-extractor-model_v7.13.5",

apps/api-extractor-model/CHANGELOG.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# Change Log - @microsoft/api-extractor-model
22

3-
This log was last generated on Wed, 11 Aug 2021 00:07:21 GMT and should not be manually modified.
3+
This log was last generated on Tue, 14 Sep 2021 01:17:04 GMT and should not be manually modified.
4+
5+
## 7.13.7
6+
Tue, 14 Sep 2021 01:17:04 GMT
7+
8+
_Version update only_
9+
10+
## 7.13.6
11+
Mon, 13 Sep 2021 15:07:06 GMT
12+
13+
_Version update only_
414

515
## 7.13.5
616
Wed, 11 Aug 2021 00:07:21 GMT

apps/api-extractor-model/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/api-extractor-model",
3-
"version": "7.13.5",
3+
"version": "7.13.7",
44
"description": "A helper library for loading and saving the .api.json files created by API Extractor",
55
"repository": {
66
"type": "git",
@@ -20,8 +20,8 @@
2020
},
2121
"devDependencies": {
2222
"@rushstack/eslint-config": "workspace:*",
23-
"@rushstack/heft": "0.34.6",
24-
"@rushstack/heft-node-rig": "1.1.11",
23+
"@rushstack/heft": "0.38.1",
24+
"@rushstack/heft-node-rig": "1.2.13",
2525
"@types/heft-jest": "1.0.1",
2626
"@types/node": "12.20.24"
2727
}

apps/api-extractor-model/src/items/ApiItem.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ export class ApiItem {
114114
this._canonicalReference = this.buildCanonicalReference();
115115
} catch (e) {
116116
const name: string = this.getScopedNameWithinPackage() || this.displayName;
117-
throw new InternalError(`Error building canonical reference for ${name}:\n` + e.message);
117+
throw new InternalError(`Error building canonical reference for ${name}:\n` + (e as Error).message);
118118
}
119119
}
120120
return this._canonicalReference;

apps/api-extractor/CHANGELOG.json

+30
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,36 @@
11
{
22
"name": "@microsoft/api-extractor",
33
"entries": [
4+
{
5+
"version": "7.18.9",
6+
"tag": "@microsoft/api-extractor_v7.18.9",
7+
"date": "Tue, 14 Sep 2021 01:17:04 GMT",
8+
"comments": {
9+
"dependency": [
10+
{
11+
"comment": "Updating dependency \"@microsoft/api-extractor-model\" to `7.13.7`"
12+
},
13+
{
14+
"comment": "Updating dependency \"@rushstack/node-core-library\" to `3.40.2`"
15+
}
16+
]
17+
}
18+
},
19+
{
20+
"version": "7.18.8",
21+
"tag": "@microsoft/api-extractor_v7.18.8",
22+
"date": "Mon, 13 Sep 2021 15:07:05 GMT",
23+
"comments": {
24+
"dependency": [
25+
{
26+
"comment": "Updating dependency \"@microsoft/api-extractor-model\" to `7.13.6`"
27+
},
28+
{
29+
"comment": "Updating dependency \"@rushstack/node-core-library\" to `3.40.1`"
30+
}
31+
]
32+
}
33+
},
434
{
535
"version": "7.18.7",
636
"tag": "@microsoft/api-extractor_v7.18.7",

apps/api-extractor/CHANGELOG.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
# Change Log - @microsoft/api-extractor
22

3-
This log was last generated on Fri, 27 Aug 2021 00:07:25 GMT and should not be manually modified.
3+
This log was last generated on Tue, 14 Sep 2021 01:17:04 GMT and should not be manually modified.
4+
5+
## 7.18.9
6+
Tue, 14 Sep 2021 01:17:04 GMT
7+
8+
_Version update only_
9+
10+
## 7.18.8
11+
Mon, 13 Sep 2021 15:07:05 GMT
12+
13+
_Version update only_
414

515
## 7.18.7
616
Fri, 27 Aug 2021 00:07:25 GMT

apps/api-extractor/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@microsoft/api-extractor",
3-
"version": "7.18.7",
3+
"version": "7.18.9",
44
"description": "Analyze the exported API for a TypeScript library and generate reviews, documentation, and .d.ts rollups",
55
"keywords": [
66
"typescript",
@@ -45,12 +45,12 @@
4545
"resolve": "~1.17.0",
4646
"semver": "~7.3.0",
4747
"source-map": "~0.6.1",
48-
"typescript": "~4.3.5"
48+
"typescript": "~4.4.2"
4949
},
5050
"devDependencies": {
5151
"@rushstack/eslint-config": "workspace:*",
52-
"@rushstack/heft": "0.34.6",
53-
"@rushstack/heft-node-rig": "1.1.11",
52+
"@rushstack/heft": "0.38.1",
53+
"@rushstack/heft-node-rig": "1.2.13",
5454
"@types/heft-jest": "1.0.1",
5555
"@types/lodash": "4.14.116",
5656
"@types/node": "12.20.24",

apps/api-extractor/src/api/ExtractorConfig.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -518,7 +518,7 @@ export class ExtractorConfig {
518518
basedir: currentConfigFolderPath
519519
});
520520
} catch (e) {
521-
throw new Error(`Error resolving NodeJS path "${extendsField}": ${e.message}`);
521+
throw new Error(`Error resolving NodeJS path "${extendsField}": ${(e as Error).message}`);
522522
}
523523
}
524524
}
@@ -534,7 +534,7 @@ export class ExtractorConfig {
534534
currentConfigFilePath = extendsField;
535535
} while (currentConfigFilePath);
536536
} catch (e) {
537-
throw new Error(`Error loading ${currentConfigFilePath}:\n` + e.message);
537+
throw new Error(`Error loading ${currentConfigFilePath}:\n` + (e as Error).message);
538538
}
539539

540540
// Lastly, apply the defaults
@@ -973,7 +973,7 @@ export class ExtractorConfig {
973973
testMode: !!configObject.testMode
974974
};
975975
} catch (e) {
976-
throw new Error(`Error parsing ${filenameForErrors}:\n` + e.message);
976+
throw new Error(`Error parsing ${filenameForErrors}:\n` + (e as Error).message);
977977
}
978978

979979
let tsdocConfigFile: TSDocConfigFile | undefined = options.tsdocConfigFile;

0 commit comments

Comments
 (0)