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

awsass

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

awsass - npm Package Compare versions

Comparing version 0.0.14 to 0.0.15

5

awsass.js

@@ -17,2 +17,3 @@ const { program } = require("commander");

.option("--lambda-update-publish-s3", "update and publish new lambda version from s3 object")
.option("--lambda-update-publish-local", "update and publish new lambda version from local file")
.option("--ecr-ecs-ephemeral-create", "creates an ephemeral ecr/ecs combination")

@@ -29,2 +30,3 @@ .option("--ecr-ecs-ephemeral-destroy", "destroys an ephemeral ecr/ecs combination")

.option("--local-image-name <local-image-name>", "local image name")
.option("--zip-file <file-name>", "file name")
.option("--s3-bucket <s3-bucket>", "s3 bucket")

@@ -92,2 +94,5 @@ .option("--s3-key <s3-key>", "s3 key")

if (options["lambdaUpdatePublishLocal"])
Lib.lambdaUpdatePublishLocal(options["lambdaFunction"], options["zipFile"], resultFunc);
if (options["ecrEcsEphemeralCreate"])

@@ -94,0 +99,0 @@ Lib.ecrEcsEphemeralCreate(options["executionRoleArn"], options["taskRoleArn"], options["cpuUnits"], options["memoryUnits"], resultFunc);

2

package.json
{
"name": "awsass",
"description": "AWSASS is an assistant to AWS, mostly for running better scripts.",
"version": "0.0.14",
"version": "0.0.15",
"author": "Jsonize",

@@ -6,0 +6,0 @@ "repository": "https://github.com/jsonize/awsass",

const AWS = require("aws-sdk");
const Docker = require(__dirname + "/docker.js");
const OS = require("os");
const FS = require("fs");

@@ -396,2 +397,8 @@ const nameValueArrayToObject = function (arr) {

lambdaUpdatePublishLocal: function (lambdaFunction, fileName, callback) {
Module.resilientUpdateFunctionCodePublishLambdaVersion(lambdaFunction, {
ZipFile: FS.readFileSync(fileName)
}, callback);
},
apiGatewayAddLambdaPermission: function (restApiId, apiGatewaySubPath, lambdaFunction, lambdaFunctionVersion, callback) {

@@ -398,0 +405,0 @@ const sts = new AWS.STS({apiVersion: "2011-06-15"});;

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