You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** Generate the third party notice line-by-line. */
111
+
function*thirdPartyNotice(libName,licenseInfo){
112
+
// Preamble
113
+
yield'';
114
+
yield'THIRD-PARTY SOFTWARE NOTICES AND INFORMATION';
115
+
yield'Do Not Translate or Localize';
116
+
yield'';
117
+
yield`This Visual Studio Team Services extension (${libName}) is based on or incorporates material from the projects listed below (Third Party IP). The original copyright notice and the license under which Microsoft received such Third Party IP, are set forth below. Such licenses and notices are provided for informational purposes only. Microsoft licenses the Third Party IP to you under the licensing terms for the Visual Studio Team Services extension. Microsoft reserves all other rights not expressly granted under this agreement, whether by implication, estoppel or otherwise.`;
118
+
yield'';
119
+
120
+
// Enumerated modules
121
+
letnum=1;
122
+
for(letitemoflicenseInfo){
123
+
if(item.url){
124
+
yield`${num}.\t${item.name} (${item.url})`;
125
+
}else{
126
+
yield`${num}.\t${item.name}`;
127
+
}
128
+
num+=1;
129
+
}
130
+
131
+
yield'';
132
+
yield'';
133
+
134
+
// Module licenses
135
+
for(letitemoflicenseInfo){
136
+
yield`%% ${item.name} NOTICES, INFORMATION, AND LICENSE BEGIN HERE`;
137
+
yield'=========================================';
138
+
yielditem.licenseText.trim();
139
+
yield'=========================================';
140
+
yield`END OF ${item.name} NOTICES, INFORMATION, AND LICENSE`;
0 commit comments