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

dynamoose

Package Overview
Dependencies
Maintainers
2
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamoose - npm Package Compare versions

Comparing version 3.0.0-beta.10 to 3.0.0-beta.11

1

dist/aws/ddb/index.d.ts
import * as DynamoDB from "@aws-sdk/client-dynamodb";
export interface DDBInterface {
(): DynamoDB.DynamoDB;
DynamoDB: typeof DynamoDB.DynamoDB;
set: (ddb: DynamoDB.DynamoDB) => void;

@@ -5,0 +6,0 @@ revert: () => void;

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

const func = () => customDDB;
func.DynamoDB = DynamoDB.DynamoDB;
func.set = (ddb) => {

@@ -9,0 +10,0 @@ customDDB = ddb;

@@ -5,2 +5,3 @@ import * as DynamoDB from "@aws-sdk/client-dynamodb";

(): DynamoDB.DynamoDB;
DynamoDB: typeof DynamoDB.DynamoDB;
set: (ddb: DynamoDB.DynamoDB) => void;

@@ -15,2 +16,3 @@ revert: () => void;

const func = (): DynamoDB.DynamoDB => customDDB;
func.DynamoDB = DynamoDB.DynamoDB;
func.set = (ddb: DynamoDB.DynamoDB): void => {

@@ -17,0 +19,0 @@ customDDB = ddb;

8

package.json
{
"name": "dynamoose",
"version": "3.0.0-beta.10",
"version": "3.0.0-beta.11",
"description": "Dynamoose is a modeling tool for Amazon's DynamoDB (inspired by Mongoose)",

@@ -30,7 +30,7 @@ "homepage": "https://dynamoosejs.com",

"@aws-sdk/util-dynamodb": "^3.142.0",
"dynamoose-utils": "^3.0.0-beta.10",
"dynamoose-utils": "^3.0.0-beta.11",
"js-object-utilities": "^2.1.0"
},
"devDependencies": {
"dynamoose-logger": "^3.0.0-beta.10"
"dynamoose-logger": "^3.0.0-beta.11"
},

@@ -48,3 +48,3 @@ "license": "Unlicense",

],
"gitHead": "b22b507c32246173e4aae3cd4e16f649a26d402c"
"gitHead": "a2835f8c7c640515de32b4d2e20eb5a1f9f175cc"
}

@@ -17,2 +17,8 @@ const dynamoose = require("../../dist");

describe("DynamoDB", () => {
it("Should be a function", () => {
expect(dynamoose.aws.ddb.DynamoDB).toBeInstanceOf(Function);
});
});
describe("Set", () => {

@@ -19,0 +25,0 @@ afterEach(() => {

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