Socket
Socket
Sign inDemoInstall

@gedit/application-common

Package Overview
Dependencies
Maintainers
3
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gedit/application-common - npm Package Compare versions

Comparing version 0.1.59 to 0.1.60

10

lib/common/menu.js

@@ -86,6 +86,7 @@ "use strict";

var disposable = new utils_1.DisposableCollection();
disposable.pushAll(commands.map(function (cmd) { return _this.registerMenuAction(menuPath, {
disposable.pushAll(commands.map(function (cmd, i) { return _this.registerMenuAction(menuPath, {
commandId: cmd.id,
label: cmd.label,
icon: cmd.iconClass
icon: cmd.iconClass,
order: String(i),
}); }));

@@ -98,6 +99,7 @@ return disposable;

disposable.push(this.registerSubmenu(menuPath, label, options));
disposable.pushAll(commands.map(function (cmd) { return (_this.registerMenuAction(menuPath, {
disposable.pushAll(commands.map(function (cmd, i) { return (_this.registerMenuAction(menuPath, {
commandId: cmd.id,
label: cmd.label,
icon: cmd.iconClass
icon: cmd.iconClass,
order: String(i)
})); }));

@@ -104,0 +106,0 @@ return disposable;

4

package.json
{
"name": "@gedit/application-common",
"version": "0.1.59",
"version": "0.1.60",
"license": "MIT",

@@ -30,3 +30,3 @@ "main": "lib/common/index",

},
"gitHead": "4dfdc68e89ce9aeb3c38a970cfb38456f08f285f"
"gitHead": "cb26efee4408f762aab24445d916164ea897fdfa"
}

@@ -89,6 +89,7 @@ /********************************************************************************

disposable.pushAll(
commands.map(cmd => this.registerMenuAction(menuPath, {
commands.map((cmd, i) => this.registerMenuAction(menuPath, {
commandId: cmd.id,
label: cmd.label,
icon: cmd.iconClass
icon: cmd.iconClass,
order: String(i),
}))

@@ -102,7 +103,8 @@ );

disposable.pushAll(
commands.map(cmd => (
commands.map((cmd, i) => (
this.registerMenuAction(menuPath, {
commandId: cmd.id,
label: cmd.label,
icon: cmd.iconClass
icon: cmd.iconClass,
order: String(i)
})

@@ -109,0 +111,0 @@ ))

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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