Socket
Socket
Sign inDemoInstall

aws-sdk-wrap

Package Overview
Dependencies
Maintainers
1
Versions
249
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws-sdk-wrap - npm Package Compare versions

Comparing version 13.0.1 to 13.0.2

13

lib/index.js

@@ -13,2 +13,8 @@ import assert from 'assert';

services: Joi.object().pattern(Joi.string(), Joi.any()),
utils: Joi.object().keys({
Toolbox: Joi.object().keys({
Table: Joi.function().class(),
Entity: Joi.function().class()
}).optional()
}).optional(),
config: Joi.object().optional(),

@@ -121,3 +127,8 @@ configService: Joi.object().optional(),

dy: Dy({
call, getService, logger, cursorSecret
call,
getService,
logger,
cursorSecret,
Table: get(opts, 'opts.util.Toolbox.Table', null),
Entity: get(opts, 'opts.util.Toolbox.Entity', null)
}),

@@ -124,0 +135,0 @@ s3: S3({ call, logger }),

8

lib/module/dy.js

@@ -21,3 +21,5 @@ import assert from 'assert';

logger,
cursorSecret
cursorSecret,
Table,
Entity
}) => {

@@ -42,3 +44,5 @@ const Model = ({

indices,
DocumentClient: getService('DynamoDB.DocumentClient')
DocumentClient: getService('DynamoDB.DocumentClient'),
Table,
Entity
});

@@ -45,0 +49,0 @@ const {

import get from 'lodash.get';
import { Table, Entity } from 'dynamodb-toolbox';
import getFirst from './get-first.js';

@@ -31,3 +30,5 @@ import validateKwargs from './validate-kwargs.js';

indices = {},
DocumentClient
DocumentClient,
Table,
Entity
} = validateKwargs(kwargs);

@@ -34,0 +35,0 @@

@@ -64,3 +64,5 @@ import Joi from 'joi-strict';

}),
DocumentClient: Joi.object()
DocumentClient: Joi.object(),
Table: Joi.function().class().allow(null),
Entity: Joi.function().class().allow(null)
}).custom((v, h) => {

@@ -67,0 +69,0 @@ const { attributes, indices } = v;

{
"name": "aws-sdk-wrap",
"type": "module",
"version": "13.0.1",
"version": "13.0.2",
"description": "Wrapper around aws-sdk",

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

"@blackflux/eslint-plugin-rules": "2.1.0",
"@blackflux/robo-config-plugin": "8.0.1",
"@blackflux/robo-config-plugin": "9.0.1",
"c8": "8.0.0",
"chai": "4.3.7",
"dynamodb-toolbox": "0.8.5",
"eslint": "8.45.0",

@@ -78,3 +79,2 @@ "eslint-config-airbnb-base": "15.0.0",

"dependencies": {
"dynamodb-toolbox": "0.8.5",
"joi-strict": "2.0.1",

@@ -81,0 +81,0 @@ "lambda-async": "2.0.1",

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