Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@rocket.chat/apps-engine

Package Overview
Dependencies
Maintainers
2
Versions
619
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rocket.chat/apps-engine - npm Package Compare versions

Comparing version 0.5.7 to 0.5.8

2

package.json
{
"name": "@rocket.chat/apps-engine",
"version": "0.5.7",
"version": "0.5.8",
"description": "The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -134,4 +134,5 @@ "use strict";

// Now let's enable the apps which were once enabled
// but are not currently disabled.
for (const rl of this.apps.values()) {
if (AppStatus_1.AppStatusUtils.isEnabled(rl.getPreviousStatus())) {
if (!AppStatus_1.AppStatusUtils.isDisabled(rl.getStatus()) && AppStatus_1.AppStatusUtils.isEnabled(rl.getPreviousStatus())) {
yield this.enableApp(items.get(rl.getID()), rl, true, rl.getPreviousStatus() === AppStatus_1.AppStatus.MANUALLY_ENABLED);

@@ -193,4 +194,7 @@ }

if (AppStatus_1.AppStatusUtils.isEnabled(rl.getStatus())) {
throw new Error(`The App with the id "${id}" is already enabled.`);
throw new Error('The App is already enabled.');
}
if (rl.getStatus() === AppStatus_1.AppStatus.COMPILER_ERROR_DISABLED) {
throw new Error('The App had compiler errors, can not enable it.');
}
const storageItem = yield this.storage.retrieveOne(id);

@@ -197,0 +201,0 @@ if (!storageItem) {

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