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

kes

Package Overview
Dependencies
Maintainers
2
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kes - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

1

docs/API.md

@@ -390,2 +390,3 @@ <!-- Generated by documentation.js. Update this documentation by updating the source code. -->

- `options` **[object](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object)** The options passed by the commander library
- `Kes` **Class** the default kes class

@@ -392,0 +393,0 @@ Returns **Class** Kes class

4

index.js

@@ -67,3 +67,3 @@ 'use strict';

function buildCf(options, cmd) {
const KesClass = utils.determineKesClass(options);
const KesClass = utils.determineKesClass(options, Kes);
const parentConfig = new Config(options);

@@ -111,3 +111,3 @@

if (cmd) {
const KesClass = utils.determineKesClass(options);
const KesClass = utils.determineKesClass(options, Kes);
const config = new Config(options);

@@ -114,0 +114,0 @@ const kes = new KesClass(config);

{
"name": "kes",
"version": "2.1.1",
"version": "2.1.2",
"description": "Making deployment to AWS using CloudFormation easier and fun",

@@ -5,0 +5,0 @@ "scripts": {

@@ -178,7 +178,6 @@ 'use strict';

* @param {object} options The options passed by the commander library
* @param {Class} Kes the default kes class
* @returns {Class} Kes class
*/
function determineKesClass(options) {
let Kes;
function determineKesClass(options, Kes) {
// if there is a kes class specified use that

@@ -210,3 +209,3 @@ const kesClass = get(options, 'kesClass');

catch (e) {
Kes = require('./kes').Kes;
// do nothing
}

@@ -213,0 +212,0 @@ }

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