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

@xapp/dynamo-service

Package Overview
Dependencies
Maintainers
5
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xapp/dynamo-service - npm Package Compare versions

Comparing version 0.1.10 to 0.1.12

xapp-dynamo-service-0.1.11.tgz

4

CHANGELOG.md

@@ -5,2 +5,6 @@ # Changelog

### [0.1.12](https://github.com/XappMedia/dynamo-service/compare/v0.1.10-1...v0.1.12) (2019-05-22)
### [0.1.10](https://github.com/XappMedia/dynamo-service/compare/v0.1.9...v0.1.10) (2019-05-14)

@@ -7,0 +11,0 @@

4

dist/service/KeySchema.d.ts

@@ -47,3 +47,4 @@ export declare type DynamoType = "S" | "N" | "M" | "L" | "BOOL";

type: "M";
attributes: MapAttributes;
attributes?: MapAttributes;
onlyAllowDefinedAttributes?: boolean;
}

@@ -57,2 +58,3 @@ export declare type MapAttribute = NormalMapAttribute;

attributes?: MapAttributes;
onlyAllowDefinedAttributes?: boolean;
}

@@ -59,0 +61,0 @@ export declare type KeySchema = DynamoSchema | DateSchema | DynamoStringSchema | MapSchema;

@@ -135,3 +135,5 @@ "use strict";

const mapSchemaParser = new MapSchemaParser(mapSchema);
validateObject(mapSchemaParser, obj[mapKey], { extrasAllowed: mapSchemaParser.knownKeys.length === 0 });
const extrasAllowed = !mapSchema.onlyAllowDefinedAttributes || mapSchemaParser.knownKeys.length === 0;
console.log("EXTRA", extrasAllowed, !mapSchema.onlyAllowDefinedAttributes, mapSchemaParser.knownKeys.length === 0);
validateObject(mapSchemaParser, obj[mapKey], { extrasAllowed });
}

@@ -138,0 +140,0 @@ }

{
"name": "@xapp/dynamo-service",
"version": "0.1.10",
"version": "0.1.12",
"description": "A dynamo help class which will help maintain data integrity.",

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

Sorry, the diff of this file is too big to display

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