New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@codingame/monaco-vscode-timeline-service-override

Package Overview
Dependencies
Maintainers
0
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codingame/monaco-vscode-timeline-service-override - npm Package Compare versions

Comparing version 8.0.0 to 8.0.1

4

package.json
{
"name": "@codingame/monaco-vscode-timeline-service-override",
"version": "8.0.0",
"version": "8.0.1",
"keywords": [],

@@ -29,4 +29,4 @@ "author": {

"dependencies": {
"vscode": "npm:@codingame/monaco-vscode-api@8.0.0"
"vscode": "npm:@codingame/monaco-vscode-api@8.0.1"
}
}

@@ -26,5 +26,5 @@ import { localize } from 'vscode/vscode/vs/nls';

const LOCAL_HISTORY_MENU_CONTEXT_KEY = ( (ContextKeyExpr.equals('timelineItem', LOCAL_HISTORY_MENU_CONTEXT_VALUE)));
const LOCAL_HISTORY_ICON_ENTRY = registerIcon('localHistory-icon', Codicon.circleOutline, ( localize(10517, "Icon for a local history entry in the timeline view.")));
const LOCAL_HISTORY_ICON_RESTORE = registerIcon('localHistory-restore', Codicon.check, ( localize(10518, "Icon for restoring contents of a local history entry.")));
const LOCAL_HISTORY_ICON_ENTRY = registerIcon('localHistory-icon', Codicon.circleOutline, ( localize(10529, "Icon for a local history entry in the timeline view.")));
const LOCAL_HISTORY_ICON_RESTORE = registerIcon('localHistory-restore', Codicon.check, ( localize(10530, "Icon for restoring contents of a local history entry.")));
export { LOCAL_HISTORY_ICON_ENTRY, LOCAL_HISTORY_ICON_RESTORE, LOCAL_HISTORY_MENU_CONTEXT_KEY, LOCAL_HISTORY_MENU_CONTEXT_VALUE, getLocalHistoryDateFormatter };

@@ -30,5 +30,5 @@ import { localize2, localize } from 'vscode/vscode/vs/nls';

const LOCAL_HISTORY_CATEGORY = ( localize2(6675, 'Local History'));
const LOCAL_HISTORY_CATEGORY = ( localize2(6711, 'Local History'));
const CTX_LOCAL_HISTORY_ENABLED = ( (ContextKeyExpr.has('config.workbench.localHistory.enabled')));
const COMPARE_WITH_FILE_LABEL = ( localize2(6676, 'Compare with File'));
const COMPARE_WITH_FILE_LABEL = ( localize2(6712, 'Compare with File'));
registerAction2(class extends Action2 {

@@ -60,3 +60,3 @@ constructor() {

id: 'workbench.action.localHistory.compareWithPrevious',
title: ( localize2(6677, 'Compare with Previous')),
title: ( localize2(6713, 'Compare with Previous')),
menu: {

@@ -89,3 +89,3 @@ id: MenuId.TimelineItemContext,

id: 'workbench.action.localHistory.selectForCompare',
title: ( localize2(6678, 'Select for Compare')),
title: ( localize2(6714, 'Select for Compare')),
menu: {

@@ -113,3 +113,3 @@ id: MenuId.TimelineItemContext,

id: 'workbench.action.localHistory.compareWithSelected',
title: ( localize2(6679, 'Compare with Selected')),
title: ( localize2(6715, 'Compare with Selected')),
menu: {

@@ -143,3 +143,3 @@ id: MenuId.TimelineItemContext,

id: 'workbench.action.localHistory.open',
title: ( localize2(6680, 'Show Contents')),
title: ( localize2(6716, 'Show Contents')),
menu: {

@@ -162,3 +162,3 @@ id: MenuId.TimelineItemContext,

});
const RESTORE_CONTENTS_LABEL = ( localize2(6681, 'Restore Contents'));
const RESTORE_CONTENTS_LABEL = ( localize2(6717, 'Restore Contents'));
registerAction2(class extends Action2 {

@@ -200,3 +200,3 @@ constructor() {

});
const restoreSaveSource = SaveSourceRegistry.registerSource('localHistoryRestore.source', ( localize(6682, "File Restored")));
const restoreSaveSource = SaveSourceRegistry.registerSource('localHistoryRestore.source', ( localize(6718, "File Restored")));
async function restore(accessor, item) {

@@ -213,8 +213,8 @@ const fileService = accessor.get(IFileService);

message: ( localize(
6683,
6719,
"Do you want to restore the contents of '{0}'?",
basename(entry.workingCopy.resource)
)),
detail: ( localize(6684, "Restoring will discard any unsaved changes.")),
primaryButton: ( localize(6685, "&&Restore"))
detail: ( localize(6720, "Restoring will discard any unsaved changes.")),
primaryButton: ( localize(6721, "&&Restore"))
});

@@ -236,3 +236,3 @@ if (!confirmed) {

catch (error) {
await dialogService.error(( localize(6686, "Unable to restore '{0}'.", basename(entry.workingCopy.resource))), toErrorMessage(error));
await dialogService.error(( localize(6722, "Unable to restore '{0}'.", basename(entry.workingCopy.resource))), toErrorMessage(error));
return;

@@ -257,3 +257,3 @@ }

id: 'workbench.action.localHistory.restoreViaPicker',
title: ( localize2(6687, 'Find Entry to Restore')),
title: ( localize2(6723, 'Find Entry to Restore')),
f1: true,

@@ -280,3 +280,3 @@ category: LOCAL_HISTORY_CATEGORY,

resourcePicker.busy = false;
resourcePicker.placeholder = ( localize(6688, "Select the file to show local history for"));
resourcePicker.placeholder = ( localize(6724, "Select the file to show local history for"));
resourcePicker.matchOnLabel = true;

@@ -303,3 +303,3 @@ resourcePicker.matchOnDescription = true;

entryPicker.busy = false;
entryPicker.placeholder = ( localize(6689, "Select the local history entry to open"));
entryPicker.placeholder = ( localize(6725, "Select the local history entry to open"));
entryPicker.matchOnLabel = true;

@@ -325,3 +325,3 @@ entryPicker.matchOnDescription = true;

});
MenuRegistry.appendMenuItem(MenuId.TimelineTitle, { command: { id: 'workbench.action.localHistory.restoreViaPicker', title: ( localize2(6690, 'Local History: Find Entry to Restore...')) }, group: 'submenu', order: 1, when: CTX_LOCAL_HISTORY_ENABLED });
MenuRegistry.appendMenuItem(MenuId.TimelineTitle, { command: { id: 'workbench.action.localHistory.restoreViaPicker', title: ( localize2(6726, 'Local History: Find Entry to Restore...')) }, group: 'submenu', order: 1, when: CTX_LOCAL_HISTORY_ENABLED });
registerAction2(class extends Action2 {

@@ -331,3 +331,3 @@ constructor() {

id: 'workbench.action.localHistory.rename',
title: ( localize2(6691, 'Rename')),
title: ( localize2(6727, 'Rename')),
menu: {

@@ -347,5 +347,5 @@ id: MenuId.TimelineItemContext,

const inputBox = quickInputService.createInputBox();
inputBox.title = ( localize(6692, "Rename Local History Entry"));
inputBox.title = ( localize(6728, "Rename Local History Entry"));
inputBox.ignoreFocusOut = true;
inputBox.placeholder = ( localize(6693, "Enter the new name of the local history entry"));
inputBox.placeholder = ( localize(6729, "Enter the new name of the local history entry"));
inputBox.value = SaveSourceRegistry.getSourceLabel(entry.source);

@@ -366,3 +366,3 @@ inputBox.show();

id: 'workbench.action.localHistory.delete',
title: ( localize2(6694, 'Delete')),
title: ( localize2(6730, 'Delete')),
menu: {

@@ -385,3 +385,3 @@ id: MenuId.TimelineItemContext,

message: ( localize(
6695,
6731,
"Do you want to delete the local history entry of '{0}' from {1}?",

@@ -391,4 +391,4 @@ entry.workingCopy.name,

)),
detail: ( localize(6696, "This action is irreversible!")),
primaryButton: ( localize(6697, "&&Delete")),
detail: ( localize(6732, "This action is irreversible!")),
primaryButton: ( localize(6733, "&&Delete")),
});

@@ -407,3 +407,3 @@ if (!confirmed) {

id: 'workbench.action.localHistory.deleteAll',
title: ( localize2(6698, 'Delete All')),
title: ( localize2(6734, 'Delete All')),
f1: true,

@@ -419,5 +419,5 @@ category: LOCAL_HISTORY_CATEGORY,

type: 'warning',
message: ( localize(6699, "Do you want to delete all entries of all files in local history?")),
detail: ( localize(6700, "This action is irreversible!")),
primaryButton: ( localize(6701, "&&Delete All")),
message: ( localize(6735, "Do you want to delete all entries of all files in local history?")),
detail: ( localize(6736, "This action is irreversible!")),
primaryButton: ( localize(6737, "&&Delete All")),
});

@@ -434,3 +434,3 @@ if (!confirmed) {

id: 'workbench.action.localHistory.create',
title: ( localize2(6702, 'Create Entry')),
title: ( localize2(6738, 'Create Entry')),
f1: true,

@@ -452,6 +452,6 @@ category: LOCAL_HISTORY_CATEGORY,

const inputBox = quickInputService.createInputBox();
inputBox.title = ( localize(6703, "Create Local History Entry"));
inputBox.title = ( localize(6739, "Create Local History Entry"));
inputBox.ignoreFocusOut = true;
inputBox.placeholder = ( localize(
6704,
6740,
"Enter the new name of the local history entry for '{0}'",

@@ -475,3 +475,3 @@ labelService.getUriBasenameLabel(resource)

label: ( localize(
6705,
6741,
"{0} ({1} • {2})",

@@ -497,3 +497,3 @@ entry.workingCopy.name,

label = ( localize(
6706,
6742,
"{0} ({1} • {2}) ↔ {3}",

@@ -510,3 +510,3 @@ arg1.workingCopy.name,

label = ( localize(
6707,
6743,
"{0} ({1} • {2}) ↔ {3} ({4} • {5})",

@@ -513,0 +513,0 @@ arg1.workingCopy.name,

@@ -37,3 +37,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';

this.id = 'timeline.localHistory';
this.label = ( localize(6708, "Local History"));
this.label = ( localize(6744, "Local History"));
this.scheme = '*';

@@ -40,0 +40,0 @@ this._onDidChange = this._register(( (new Emitter())));

@@ -20,4 +20,4 @@ import { localize } from 'vscode/vscode/vs/nls';

const timelineViewIcon = registerIcon('timeline-view-icon', Codicon.history, ( localize(2505, 'View icon of the timeline view.')));
const timelineOpenIcon = registerIcon('timeline-open', Codicon.history, ( localize(2506, 'Icon for the open timeline action.')));
const timelineViewIcon = registerIcon('timeline-view-icon', Codicon.history, ( localize(2983, 'View icon of the timeline view.')));
const timelineOpenIcon = registerIcon('timeline-open', Codicon.history, ( localize(2984, 'Icon for the open timeline action.')));
class TimelinePaneDescriptor {

@@ -43,3 +43,3 @@ constructor() {

order: 1001,
title: ( localize(2507, "Timeline")),
title: ( localize(2985, "Timeline")),
type: 'object',

@@ -51,3 +51,3 @@ properties: {

markdownDescription: ( localize(
2508,
2986,
"The number of items to show in the Timeline view by default and when loading more items. Setting to `null` (the default) will automatically choose a page size based on the visible area of the Timeline view."

@@ -60,3 +60,3 @@ )),

description: ( localize(
2509,
2987,
"Experimental. Controls whether the Timeline view will load the next page of items when you scroll to the end of the list."

@@ -71,3 +71,3 @@ )),

OpenTimelineAction.ID = 'files.openTimeline';
OpenTimelineAction.LABEL = ( localize(2510, "Open Timeline"));
OpenTimelineAction.LABEL = ( localize(2988, "Open Timeline"));
function handler() {

@@ -96,6 +96,6 @@ return (accessor, arg) => {

}));
const timelineFilter = registerIcon('timeline-filter', Codicon.filter, ( localize(2511, 'Icon for the filter timeline action.')));
const timelineFilter = registerIcon('timeline-filter', Codicon.filter, ( localize(2989, 'Icon for the filter timeline action.')));
MenuRegistry.appendMenuItem(MenuId.TimelineTitle, {
submenu: MenuId.TimelineFilterSubMenu,
title: ( localize(2512, "Filter Timeline")),
title: ( localize(2990, "Filter Timeline")),
group: 'navigation',

@@ -102,0 +102,0 @@ order: 100,

@@ -178,3 +178,3 @@ import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';

get label() {
return this.loading ? ( localize(6658, "Loading...")) : ( localize(6659, "Load more"));
return this.loading ? ( localize(6694, "Loading...")) : ( localize(6695, "Load more"));
}

@@ -188,3 +188,3 @@ get themeIcon() {

let TimelinePane = class TimelinePane extends ViewPane {
static { this.TITLE = ( localize2(6660, "Timeline")); }
static { this.TITLE = ( localize2(6696, "Timeline")); }
constructor(options, keybindingService, contextMenuService, contextKeyService, configurationService, storageService, viewDescriptorService, instantiationService, editorService, commandService, progressService, timelineService, openerService, themeService, telemetryService, hoverService, labelService, uriIdentityService, extensionService) {

@@ -625,3 +625,3 @@ super({ ...options, titleMenuId: MenuId.TimelineTitle }, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);

this.updateFilename(undefined);
this.message = ( localize(6661, "The active editor cannot provide timeline information."));
this.message = ( localize(6697, "The active editor cannot provide timeline information."));
}

@@ -636,3 +636,3 @@ else if (this._isEmpty) {

if (this.timelineService.getSources().filter(({ id }) => !( (this.excludedSources.has(id)))).length === 0) {
this.message = ( localize(6662, "All timeline sources have been filtered out."));
this.message = ( localize(6698, "All timeline sources have been filtered out."));
}

@@ -642,3 +642,3 @@ else {

this.message = ( localize(
6663,
6699,
"Local History will track recent changes as you save them unless the file has been excluded or is too large."

@@ -648,10 +648,10 @@ ));

else if (this.excludedSources.size > 0) {
this.message = ( localize(6664, "No filtered timeline information was provided."));
this.message = ( localize(6700, "No filtered timeline information was provided."));
}
else {
this.message = ( localize(6665, "No timeline information was provided."));
this.message = ( localize(6701, "No timeline information was provided."));
}
}
if (!scmProviderCount || scmProviderCount === 0) {
this.message += ' ' + ( localize(6666, "Source Control has not been configured."));
this.message += ' ' + ( localize(6702, "Source Control has not been configured."));
}

@@ -713,3 +713,3 @@ }

this.$message.classList.add('timeline-subtle');
this.message = ( localize(6666, "The active editor cannot provide timeline information."));
this.message = ( localize(6697, "The active editor cannot provide timeline information."));
this.$tree = document.createElement('div');

@@ -731,3 +731,3 @@ this.$tree.classList.add('customview-tree', 'file-icon-themable-tree', 'hide-arrows');

}
return element.accessibilityInformation ? element.accessibilityInformation.label : ( localize(6667, "{0}: {1}", element.relativeTimeFullWord ?? '', element.label));
return element.accessibilityInformation ? element.accessibilityInformation.label : ( localize(6703, "{0}: {1}", element.relativeTimeFullWord ?? '', element.label));
},

@@ -741,3 +741,3 @@ getRole(element) {

getWidgetAriaLabel() {
return ( localize(6667, "Timeline"));
return ( localize(6696, "Timeline"));
}

@@ -803,3 +803,3 @@ },

this.updateFilename(file);
this.message = file ? ( localize(6668, "Loading timeline for {0}...", file)) : '';
this.message = file ? ( localize(6704, "Loading timeline for {0}...", file)) : '';
}

@@ -992,5 +992,5 @@ onContextMenu(commands, treeEvent) {

], TimelineTreeRenderer)));
const timelineRefresh = registerIcon('timeline-refresh', Codicon.refresh, ( localize(6669, 'Icon for the refresh timeline action.')));
const timelinePin = registerIcon('timeline-pin', Codicon.pin, ( localize(6670, 'Icon for the pin timeline action.')));
const timelineUnpin = registerIcon('timeline-unpin', Codicon.pinned, ( localize(6671, 'Icon for the unpin timeline action.')));
const timelineRefresh = registerIcon('timeline-refresh', Codicon.refresh, ( localize(6705, 'Icon for the refresh timeline action.')));
const timelinePin = registerIcon('timeline-pin', Codicon.pin, ( localize(6706, 'Icon for the pin timeline action.')));
const timelineUnpin = registerIcon('timeline-unpin', Codicon.pinned, ( localize(6707, 'Icon for the unpin timeline action.')));
let TimelinePaneCommands = class TimelinePaneCommands extends Disposable {

@@ -1009,5 +1009,5 @@ constructor(pane, timelineService, storageService, contextKeyService, menuService) {

id: 'timeline.refresh',
title: ( localize2(6672, "Refresh")),
title: ( localize2(6708, "Refresh")),
icon: timelineRefresh,
category: ( localize2(6672, "Timeline")),
category: ( localize2(6696, "Timeline")),
menu: {

@@ -1028,5 +1028,5 @@ id: MenuId.TimelineTitle,

id: 'timeline.toggleFollowActiveEditor',
title: ( localize2(6673, 'Pin the Current Timeline')),
title: ( localize2(6709, 'Pin the Current Timeline')),
icon: timelinePin,
category: ( localize2(6673, "Timeline")),
category: ( localize2(6696, "Timeline")),
},

@@ -1040,5 +1040,5 @@ group: 'navigation',

id: 'timeline.toggleFollowActiveEditor',
title: ( localize2(6674, 'Unpin the Current Timeline')),
title: ( localize2(6710, 'Unpin the Current Timeline')),
icon: timelineUnpin,
category: ( localize2(6674, "Timeline")),
category: ( localize2(6696, "Timeline")),
},

@@ -1045,0 +1045,0 @@ group: 'navigation',

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc