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

@magnetarjs/core

Package Overview
Dependencies
Maintainers
2
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magnetarjs/core - npm Package Compare versions

Comparing version 0.9.3 to 0.9.4

4

dist/index.d.ts
import { GlobalConfig, MagnetarInstance, WriteLock } from '@magnetarjs/types';
export * from '@magnetarjs/types';
/** Any of the possible collection paths used so far */
declare type CollectionName = string;
/**

@@ -22,2 +20,2 @@ * Creates a magnetar instance.

export { CollectionName, Magnetar, getCollectionPathDocIdEntry, getCollectionWriteLocks };
export { Magnetar, getCollectionPathDocIdEntry, getCollectionWriteLocks };

@@ -768,7 +768,11 @@ "use strict";

for (const collectionName of collectionNames) {
if (options?.exclude?.includes(collectionName))
continue;
collection(collectionName).data?.clear();
}
}
async function _closeAllStreams() {
async function _closeAllStreams(options) {
for (const collectionName of collectionNames) {
if (options?.exclude?.includes(collectionName))
continue;
collection(collectionName).closeAllStreams();

@@ -775,0 +779,0 @@ }

{
"name": "@magnetarjs/core",
"version": "0.9.3",
"version": "0.9.4",
"sideEffects": false,

@@ -23,4 +23,4 @@ "description": "Magnetar core library.",

"dependencies": {
"@magnetarjs/types": "0.9.3",
"@magnetarjs/utils": "0.9.3",
"@magnetarjs/types": "0.9.4",
"@magnetarjs/utils": "0.9.4",
"getorset-anything": "^0.0.3",

@@ -31,3 +31,3 @@ "is-what": "^4.1.7",

"devDependencies": {
"@magnetarjs/test-utils": "0.9.3"
"@magnetarjs/test-utils": "0.9.4"
},

@@ -34,0 +34,0 @@ "keywords": [

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