"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "extensions/github-authentication/src/extension.ts" between
vscode-1.50.0.tar.gz and vscode-1.50.1.tar.gz

About: Visual Studio Code is a source code editor (available for Windows, macOS and Linux). It comes with built-in support for JavaScript, TypeScript and Node.js and has extensions for other languages (such as C++, C#, Java, Python, PHP, Go). Source code.

extension.ts  (vscode-1.50.0):extension.ts  (vscode-1.50.1)
skipping to change at line 19 skipping to change at line 19
import Logger from './common/logger'; import Logger from './common/logger';
import TelemetryReporter from 'vscode-extension-telemetry'; import TelemetryReporter from 'vscode-extension-telemetry';
export async function activate(context: vscode.ExtensionContext) { export async function activate(context: vscode.ExtensionContext) {
const { name, version, aiKey } = require('../package.json') as { name: st ring, version: string, aiKey: string }; const { name, version, aiKey } = require('../package.json') as { name: st ring, version: string, aiKey: string };
const telemetryReporter = new TelemetryReporter(name, version, aiKey); const telemetryReporter = new TelemetryReporter(name, version, aiKey);
context.subscriptions.push(vscode.window.registerUriHandler(uriHandler)); context.subscriptions.push(vscode.window.registerUriHandler(uriHandler));
const loginService = new GitHubAuthenticationProvider(); const loginService = new GitHubAuthenticationProvider();
await loginService.initialize(); await loginService.initialize(context);
context.subscriptions.push(vscode.commands.registerCommand('github.provid e-token', () => { context.subscriptions.push(vscode.commands.registerCommand('github.provid e-token', () => {
return loginService.manuallyProvideToken(); return loginService.manuallyProvideToken();
})); }));
context.subscriptions.push(vscode.authentication.registerAuthenticationPr ovider({ context.subscriptions.push(vscode.authentication.registerAuthenticationPr ovider({
id: 'github', id: 'github',
label: 'GitHub', label: 'GitHub',
supportsMultipleAccounts: false, supportsMultipleAccounts: false,
onDidChangeSessions: onDidChangeSessions.event, onDidChangeSessions: onDidChangeSessions.event,
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)