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

@miniflare/storage-memory

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@miniflare/storage-memory - npm Package Compare versions

Comparing version 2.4.0 to 2.5.0

5

dist/src/index.js

@@ -39,9 +39,8 @@ var __create = Object.create;

}
var collator = new Intl.Collator();
function listFilterMatch(options, name) {
return !(options?.prefix && !name.startsWith(options.prefix) || options?.start && collator.compare(name, options.start) < 0 || options?.end && collator.compare(name, options.end) >= 0);
return !(options?.prefix && !name.startsWith(options.prefix) || options?.start && (0, import_shared.lexicographicCompare)(name, options.start) < 0 || options?.end && (0, import_shared.lexicographicCompare)(name, options.end) >= 0);
}
function listPaginate(options, keys) {
const direction = options?.reverse ? -1 : 1;
keys.sort((a, b) => direction * collator.compare(a.name, b.name));
keys.sort((a, b) => direction * (0, import_shared.lexicographicCompare)(a.name, b.name));
const startAfter = options?.cursor ? (0, import_shared.base64Decode)(options.cursor) : "";

@@ -48,0 +47,0 @@ let startIndex = 0;

6

package.json
{
"name": "@miniflare/storage-memory",
"version": "2.4.0",
"version": "2.5.0",
"description": "In-memory storage module for Miniflare: a fun, full-featured, fully-local simulator for Cloudflare Workers",

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

"dependencies": {
"@miniflare/shared": "2.4.0"
"@miniflare/shared": "2.5.0"
},
"devDependencies": {
"@miniflare/shared-test": "2.4.0"
"@miniflare/shared-test": "2.5.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