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.11.3 to 0.11.4

15

dist/index.js

@@ -145,2 +145,3 @@ "use strict";

delete: [],
// delete has no payload
stream: _onMaps.flatMap((on) => on.stream ?? []).concat(readFns),

@@ -393,2 +394,3 @@ fetch: _onMaps.flatMap((on) => on.fetch ?? []).concat(readFns)

payload,
// should always use the payload as passed originally for clarity
actionConfig,

@@ -415,2 +417,3 @@ eventNameFnsMap,

error: resultFromPlugin
// in this case the result is the error
});

@@ -424,2 +427,5 @@ for (const fn of eventNameFnsMap.revert) {

}
if (actionName !== "fetch" && actionName !== "fetchCount") {
writeLock.resolve();
}
throw resultFromPlugin;

@@ -671,2 +677,3 @@ }

payload,
// should always use the payload as passed originally for clarity
eventNameFnsMap,

@@ -813,9 +820,17 @@ actionName: "stream",

insert: handleActionPerStore(sharedParams, "insert", import_types2.actionNameTypeMap.insert),
// prettier-ignore
merge: handleActionPerStore(sharedParams, "merge", import_types2.actionNameTypeMap.merge),
// prettier-ignore
assign: handleActionPerStore(sharedParams, "assign", import_types2.actionNameTypeMap.assign),
// prettier-ignore
replace: handleActionPerStore(sharedParams, "replace", import_types2.actionNameTypeMap.replace),
// prettier-ignore
deleteProp: handleActionPerStore(sharedParams, "deleteProp", import_types2.actionNameTypeMap.deleteProp),
// prettier-ignore
delete: handleActionPerStore(sharedParams, "delete", import_types2.actionNameTypeMap.delete),
// prettier-ignore
fetch: handleActionPerStore(sharedParams, "fetch", import_types2.actionNameTypeMap.fetch),
// prettier-ignore
stream: handleStreamPerStore([collectionPath, docId], moduleConfig, globalConfig, import_types2.actionNameTypeMap.stream, streaming, cacheStream, writeLockMap)
// prettier-ignore
};

@@ -822,0 +837,0 @@ executeSetupModulePerStore(globalConfig.stores, [collectionPath, docId], moduleConfig);

8

package.json
{
"name": "@magnetarjs/core",
"version": "0.11.3",
"version": "0.11.4",
"sideEffects": false,

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

"dependencies": {
"@magnetarjs/types": "0.11.3",
"@magnetarjs/utils": "0.11.3",
"@magnetarjs/types": "0.11.4",
"@magnetarjs/utils": "0.11.4",
"getorset-anything": "^0.0.3",

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

"devDependencies": {
"@magnetarjs/test-utils": "0.11.3"
"@magnetarjs/test-utils": "0.11.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