Socket
Socket
Sign inDemoInstall

mps3

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mps3 - npm Package Compare versions

Comparing version 0.0.51 to 0.0.52

2

package.json
{
"name": "mps3",
"description": "Provide clientside multiplayer and optimistic updates over any s3-compatible storage API",
"version": "0.0.51",
"version": "0.0.52",
"license": "MIT",

@@ -6,0 +6,0 @@ "author": {

import { S3 } from "@aws-sdk/client-s3";
import { expect, test, describe, beforeAll } from "bun:test";
import { MPS3, MPS3Config } from "mps3";
import { uuid } from "types";

@@ -97,2 +98,12 @@ describe("mps3", () => {

test("Read no manifest", async () => {
const mps3 = getClient();
const read = await mps3.get("unused_key", {
manifest: {
key: uuid(),
},
});
expect(read).toEqual(undefined);
});
test("Read unknown key resolves to undefined", async () => {

@@ -99,0 +110,0 @@ const mps3 = getClient();

@@ -42,3 +42,3 @@ import {

...config,
useChecksum: config.useChecksum || true,
useChecksum: config.useChecksum === false ? false : true,
useVersioning: config.useVersioning || false,

@@ -45,0 +45,0 @@ pollFrequency: config.pollFrequency || 1000,

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