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.1 to 0.9.2

13

dist/index.js

@@ -317,3 +317,3 @@ "use strict";

const actionPromise = new Promise(async (resolve, reject) => {
const force = (payload == null ? void 0 : payload.force) === true;
const force = payload?.force === true;
if (actionName === "fetch" && force) {

@@ -421,3 +421,3 @@ await writeLock.promise;

if ((0, import_is_what4.isBoolean)(reachedEnd))
setLastFetched == null ? void 0 : setLastFetched({ reachedEnd, cursor });
setLastFetched?.({ reachedEnd, cursor });
for (const docMetaData of docs) {

@@ -769,5 +769,4 @@ executeOnFns(doOnFetchFns, docMetaData.data, [docMetaData]);

async function clearAllData() {
var _a;
for (const collectionName of collectionNames) {
(_a = collection(collectionName).data) == null ? void 0 : _a.clear();
collection(collectionName).data?.clear();
}

@@ -785,3 +784,7 @@ }

const pathFilterIdentifier = getPathFilterIdentifier(modulePath, moduleConfig);
const fetchPromises = (0, import_getorset_anything2.mapGetOrSet)(fetchPromiseMap, pathFilterIdentifier, () => /* @__PURE__ */ new Map());
const fetchPromises = (0, import_getorset_anything2.mapGetOrSet)(
fetchPromiseMap,
pathFilterIdentifier,
() => /* @__PURE__ */ new Map()
);
const pathWhereOrderByIdentifier = getPathWhereOrderByIdentifier(modulePath, moduleConfig);

@@ -788,0 +791,0 @@ const fetchMeta = {

{
"name": "@magnetarjs/core",
"version": "0.9.1",
"version": "0.9.2",
"sideEffects": false,

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

"dependencies": {
"@magnetarjs/types": "0.9.1",
"@magnetarjs/utils": "0.9.1",
"getorset-anything": "^0.0.2",
"is-what": "^3.14.1",
"merge-anything": "^4.0.5"
"@magnetarjs/types": "0.9.2",
"@magnetarjs/utils": "0.9.2",
"getorset-anything": "^0.0.3",
"is-what": "^4.1.7",
"merge-anything": "^5.1.1"
},
"devDependencies": {
"@magnetarjs/test-utils": "0.9.1"
"@magnetarjs/test-utils": "0.9.2"
},

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