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

@mcma/aws-dynamodb

Package Overview
Dependencies
Maintainers
3
Versions
109
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mcma/aws-dynamodb - npm Package Compare versions

Comparing version 0.9.5 to 0.9.6

1

dist/lib/dynamo-db-table.d.ts

@@ -13,3 +13,2 @@ import { McmaResource, McmaResourceType } from "@mcma/core";

private serialize;
private readonly dateFormat;
private deserialize;

@@ -16,0 +15,0 @@ query(filter: (resource: T) => boolean): Promise<T[]>;

3

dist/lib/dynamo-db-table.js

@@ -13,3 +13,2 @@ "use strict";

this.docClient = new dynamodb_1.DocumentClient();
this.dateFormat = /(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))/;
}

@@ -39,3 +38,3 @@ serialize(object) {

const value = object[key];
if (typeof value === "string" && this.dateFormat.test(value)) {
if (core_1.Utils.isValidDateString(value)) {
object[key] = new Date(value);

@@ -42,0 +41,0 @@ }

{
"name": "@mcma/aws-dynamodb",
"version": "0.9.5",
"version": "0.9.6",
"description": "Node module with code for using DynamoDB as the backing data storage for MCMA API handlers and workers.",

@@ -38,8 +38,8 @@ "engines": {

"peerDependencies": {
"@mcma/core": "0.9.5",
"@mcma/data": "0.9.5"
"@mcma/core": "0.9.6",
"@mcma/data": "0.9.6"
},
"devDependencies": {
"@mcma/core": "0.9.5",
"@mcma/data": "0.9.5",
"@mcma/core": "0.9.6",
"@mcma/data": "0.9.6",
"@types/node": "^13.7.6",

@@ -46,0 +46,0 @@ "jasmine": "^3.2.0"

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