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

@pinia/colada

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pinia/colada - npm Package Compare versions

Comparing version 0.5.2 to 0.5.3

17

dist/index.js

@@ -8,3 +8,3 @@ // src/use-mutation.ts

shallowReactive,
getCurrentScope,
getCurrentScope as getCurrentScope2,
computed as computed2,

@@ -19,2 +19,3 @@ triggerRef,

computed,
getCurrentScope,
onScopeDispose,

@@ -27,5 +28,7 @@ ref,

target.addEventListener(event, listener, options);
onScopeDispose(() => {
target.removeEventListener(event, listener);
});
if (getCurrentScope()) {
onScopeDispose(() => {
target.removeEventListener(event, listener);
});
}
}

@@ -165,3 +168,3 @@ var IS_CLIENT = typeof window !== "undefined";

const caches = shallowReactive(cachesRaw);
const scope = getCurrentScope();
const scope = getCurrentScope2();
function ensureEntry(keyRaw, options) {

@@ -357,3 +360,3 @@ if (process.env.NODE_ENV !== "production" && keyRaw.length === 0) {

onScopeDispose as onScopeDispose2,
getCurrentScope as getCurrentScope2,
getCurrentScope as getCurrentScope3,
watch as watch2,

@@ -434,3 +437,3 @@ getCurrentInstance

}
if (getCurrentScope2()) {
if (getCurrentScope3()) {
onScopeDispose2(() => {

@@ -437,0 +440,0 @@ });

{
"name": "@pinia/colada",
"packageManager": "pnpm@8.14.1",
"version": "0.5.2",
"version": "0.5.3",
"type": "module",

@@ -6,0 +6,0 @@ "description": "The smart data fetching layer for Pinia",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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