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

serverless-dynamodb-local

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serverless-dynamodb-local - npm Package Compare versions

Comparing version 0.2.25 to 0.2.26

.github/ISSUE_TEMPLATE

0

CONTRIBUTING.md

@@ -0,0 +0,0 @@ ## How to contribute to serverless-dynamodb-local

5

index.js

@@ -225,3 +225,3 @@ "use strict";

const seedConfig = _.get(config, "seed", {});
const seed = this.options.seed || config.start.seed;
const seed = this.options.seed || config.start.seed || seedConfig;
let categories;

@@ -245,2 +245,5 @@ if (typeof seed === "string") {

}
if (migration.TimeToLiveSpecification) {
delete migration.TimeToLiveSpecification;
}
dynamodb.raw.createTable(migration, (err) => {

@@ -247,0 +250,0 @@ if (err) {

{
"name": "serverless-dynamodb-local",
"version": "0.2.25",
"engines": {
"node": ">=4.0"
},
"description": "Serverless dynamodb local plugin",
"author": "99xtechnology.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/99xt/serverless-dynamodb-local"
},
"keywords": [
"serverless framework plugin",
"serverless applications",
"serverless plugins",
"api gateway",
"lambda",
"dynamodb",
"dynamodb local",
"aws",
"aws lambda",
"aws dynamodb",
"amazon",
"amazon web services",
"serverless.com"
],
"main": "index.js",
"bin": {},
"scripts": {
"test": "mocha ./test"
},
"dependencies": {
"aws-sdk": "^2.7.0",
"bluebird": "^3.4.6",
"dynamodb-localhost": "^0.0.5",
"lodash": "^4.17.0"
},
"devDependencies": {
"chai": "^4.1.1",
"mocha": "^3.5.0",
"should": "^11.2.1"
}
"name": "serverless-dynamodb-local",
"version": "0.2.26",
"engines": {
"node": ">=4.0"
},
"description": "Serverless dynamodb local plugin",
"author": "99xtechnology.com",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/99xt/serverless-dynamodb-local"
},
"keywords": [
"serverless framework plugin",
"serverless applications",
"serverless plugins",
"api gateway",
"lambda",
"dynamodb",
"dynamodb local",
"aws",
"aws lambda",
"aws dynamodb",
"amazon",
"amazon web services",
"serverless.com"
],
"main": "index.js",
"bin": {},
"scripts": {
"test": "mocha ./test"
},
"dependencies": {
"aws-sdk": "^2.7.0",
"bluebird": "^3.4.6",
"dynamodb-localhost": "^0.0.5",
"lodash": "^4.17.0"
},
"devDependencies": {
"chai": "^4.1.1",
"mocha": "^3.5.0",
"should": "^11.2.1"
}
}

@@ -100,2 +100,5 @@ serverless-dynamodb-local

**Note:**
DynamoDB local doesn't support TTL specification, therefore plugin will simply ignore ttl configuration from Cloudformation template.
## Seeding: sls dynamodb seed

@@ -182,2 +185,13 @@ ### Configuration

### Using with serverless-offline and serverless-webpack plugin
Run `serverless offline start`. In comparison with `serverless offline`, the `start` command will fire an `init` and a `end` lifecycle hook which is needed for serverless-offline and serverless-dynamodb-local to switch off both ressources.
Add plugins to your `serverless.yml` file:
```yaml
plugins:
- serverless-webpack
- serverless-dynamodb-local
- serverless-offline #serverless-offline needs to be last in the list
```
## Reference Project

@@ -184,0 +198,0 @@ * [serverless-react-boilerplate](https://github.com/99xt/serverless-react-boilerplate)

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ "use strict";

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

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