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

@miniflare/durable-objects

Package Overview
Dependencies
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@miniflare/durable-objects - npm Package Compare versions

Comparing version 2.9.0 to 2.10.0

9

dist/src/index.js

@@ -572,5 +572,5 @@ var __create = Object.create;

}
async function get(storage, keys, checkMaxKeys = true) {
async function get(storage, keys, listing = false) {
if (Array.isArray(keys)) {
if (checkMaxKeys && keys.length > MAX_KEYS) {
if (!listing && keys.length > MAX_KEYS) {
throw new RangeError(`Maximum number of keys is ${MAX_KEYS}.`);

@@ -585,2 +585,5 @@ }

}
if (!listing) {
defined.sort(import_shared4.lexicographicCompare);
}
const res = new Map();

@@ -624,3 +627,3 @@ const values = await storage.getMany(defined);

keyNames = keyNames.slice(0, originalLimit);
return get(storage, keyNames, false);
return get(storage, keyNames, true);
}

@@ -627,0 +630,0 @@ function normalisePutEntries(keyEntries, valueOptions) {

{
"name": "@miniflare/durable-objects",
"version": "2.9.0",
"version": "2.10.0",
"description": "Durable Objects module for Miniflare: a fun, full-featured, fully-local simulator for Cloudflare Workers",

@@ -38,12 +38,12 @@ "keywords": [

"dependencies": {
"@miniflare/core": "2.9.0",
"@miniflare/shared": "2.9.0",
"@miniflare/storage-memory": "2.9.0",
"@miniflare/core": "2.10.0",
"@miniflare/shared": "2.10.0",
"@miniflare/storage-memory": "2.10.0",
"undici": "5.9.1"
},
"devDependencies": {
"@miniflare/cache": "2.9.0",
"@miniflare/runner-vm": "2.9.0",
"@miniflare/shared-test": "2.9.0"
"@miniflare/cache": "2.10.0",
"@miniflare/runner-vm": "2.10.0",
"@miniflare/shared-test": "2.10.0"
}
}

Sorry, the diff of this file is not supported yet

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