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

@seagull/commands

Package Overview
Dependencies
Maintainers
7
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seagull/commands - npm Package Compare versions

Comparing version 17.8.0 to 17.8.2

4

dist/src/Command.d.ts

@@ -14,4 +14,4 @@ import { IMode } from '@seagull/mode';

protected revertCloud?(): ReturnType<Handler>;
protected readonly executeHandler: Handler;
protected readonly revertHandler: Handler;
protected get executeHandler(): Handler;
protected get revertHandler(): Handler;
}
"use strict";
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());

@@ -8,0 +9,0 @@ });

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

var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());

@@ -52,3 +53,3 @@ });

const lastEnv = cmd.mode.environment;
cmd.mode = Object.assign({}, cmd.mode, { environment: 'cloud' });
cmd.mode = Object.assign(Object.assign({}, cmd.mode), { environment: 'cloud' });
cmd.mode.environment.should.be.eq('cloud');

@@ -116,3 +117,3 @@ cmd.mode = new CMD().mode;

(yield cmd.revert()).should.be.equal(-2);
cmd.mode = Object.assign({}, cmd.mode, { environment: 'edge' });
cmd.mode = Object.assign(Object.assign({}, cmd.mode), { environment: 'edge' });
(yield cmd.execute()).should.be.equal(1);

@@ -119,0 +120,0 @@ (yield cmd.revert()).should.be.equal(-1);

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

var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
return new (P || (P = Promise))(function (resolve, reject) {
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
step((generator = generator.apply(thisArg, _arguments || [])).next());

@@ -18,0 +19,0 @@ });

{
"name": "@seagull/commands",
"version": "17.8.0",
"version": "17.8.2",
"description": "Side Effect Functions implemented as Command Pattern for the Seagull Framework",

@@ -36,4 +36,4 @@ "main": "dist/src/index.js",

"devDependencies": {
"@seagull/testing": "^17.8.0",
"@seagull/tslint": "^17.8.0",
"@seagull/testing": "^17.8.2",
"@seagull/tslint": "^17.8.2",
"@types/lodash": "^4.14.123",

@@ -44,3 +44,3 @@ "@types/mock-fs": "^3.6.30",

"dependencies": {
"@seagull/mode": "^17.8.0",
"@seagull/mode": "^17.8.2",
"lodash": "^4.17.5",

@@ -71,3 +71,3 @@ "mode": "^0.3.2"

},
"gitHead": "7481b24d3965f24698cae741faabb695d6e9c1e8"
"gitHead": "ed1896790f44550ed4d45d9afee764cbddbf2aa5"
}

Sorry, the diff of this file is not supported yet

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