New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

shep

Package Overview
Dependencies
Maintainers
4
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shep - npm Package Compare versions

Comparing version 4.0.0-8 to 4.0.0

10

docs.js

@@ -10,4 +10,6 @@ const { execSync } = require('child_process')

const commandDir = './src/commands'
const mainCommands = readdirSync(commandDir)
const subCommands = mainCommands
const allFiles = readdirSync(commandDir)
const mainCommands = allFiles
.filter(isFile)
const subCommands = allFiles
.filter(isDir)

@@ -30,2 +32,6 @@ .map(findSubCommands)

function isFile (path) {
return statSync(`${commandDir}/${path}`).isFile()
}
function findSubCommands (path) {

@@ -32,0 +38,0 @@ return readdirSync(`${commandDir}/${path}`)

@@ -49,16 +49,2 @@ ### `shep`

```
#### `shep config`
```
shep config
Commands:
list List environment variables on AWS for an alias
remove <vars...> Remove environment variables for alias on AWS
set <vars...> Set environment variables for alias on AWS
sync Syncs environments across all functions on a shep project
Options:
--version Show version number [boolean]
--help Show help [boolean]
```
#### `shep config list`

@@ -163,15 +149,2 @@ ```

```
#### `shep generate`
```
shep generate
Commands:
endpoint [path] Generate a new API endpoint
function [name] Generate a new function
webpack Generates a webpack.config.js with default template
Options:
--version Show version number [boolean]
--help Show help [boolean]
```
#### `shep generate endpoint`

@@ -178,0 +151,0 @@ ```

2

lib/util/context.js

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

var timer = setTimeout(function () {
if (!callbackCalled && ctx.getRemainingTimeInMillis() === 0) {
if (!callbackCalled) {
throw new Error(`Lambda function ${functionName} timed out`);

@@ -53,0 +53,0 @@ }

{
"name": "shep",
"version": "4.0.0-8",
"version": "4.0.0",
"description": "A framework for building JavaScript APIs with AWS API Gateway and Lambda",

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

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