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

firestorm-db

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firestorm-db - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

2

package.json
{
"name": "firestorm-db",
"version": "1.7.0",
"version": "1.7.1",
"description": "Self hosted Firestore-like database with API endpoints based on micro bulk operations",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -83,3 +83,3 @@ <div align="center">

| get(id) | id: ``String\|Name`` | Tries to get one element by its key |
| search(searchOptions, random) | searchOptions: ``SearchOption[]`` random?:`false|true|Number`| Searches collections and returns matching results |
| search(searchOptions, random) | searchOptions: ``SearchOption[]`` random?:`false\|true\|Number`| Searches collections and returns matching results. <br>You can randomize the ouput order with random as true or a given seed. |
| searchKeys(keys) | keys: ``String[] \| Number[]`` | Searches collections with given keys and returns matching results |

@@ -186,2 +186,14 @@ | select(selectOption) | selectOption: ``{ field: String[] }`` | Improved read_raw with field selection |

## Memory warning
Handling big collections can cause memory allocation issues like :
```
Fatal error:
Allowed memory size of 134217728 bytes exhausted (tried to allocate 32360168 bytes)
```
If you encounter a memory allocation issue, you have to allow more memory through this file ``/etc/php/7.4/apache2/php.ini`` with a bigger value here:
```
memory_limit = 256M
```
## API endpoints

@@ -188,0 +200,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