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

@pinia/colada

Package Overview
Dependencies
Maintainers
0
Versions
33
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.12.0 to 0.12.1

14

dist/index.d.ts

@@ -812,11 +812,17 @@ import * as vue from 'vue';

/**
* The last successful data resolved by the query.
* The last successful data resolved by the query. Alias for `state.value.data`.
*
* @see {@link state}
*/
data: ShallowRef<TResult | undefined>;
/**
* The error rejected by the query.
* The error rejected by the query. Alias for `state.value.error`.
*
* @see {@link state}
*/
error: ShallowRef<TError | null>;
/**
* The status of the query.
* The status of the query. Alias for `state.value.status`.
*
* @see {@link state}
* @see {@link DataStateStatus}

@@ -834,3 +840,3 @@ */

/**
* Returns whether the request is currently fetching data.
* Returns whether the request is currently fetching data. Alias for `asyncStatus.value === 'loading'`
*/

@@ -837,0 +843,0 @@ isLoading: ShallowRef<boolean>;

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

get stale() {
return Date.now() >= this.when + this.options.staleTime;
return !this.when || Date.now() >= this.when + this.options.staleTime;
},

@@ -708,3 +708,3 @@ get active() {

get stale() {
return Date.now() >= this.when + this.options.staleTime;
return !this.when || Date.now() >= this.when + this.options.staleTime;
},

@@ -711,0 +711,0 @@ get active() {

{
"name": "@pinia/colada",
"type": "module",
"version": "0.12.0",
"version": "0.12.1",
"description": "The smart data fetching layer for Pinia",

@@ -113,3 +113,3 @@ "publishConfig": {

"vue": "^3.5.12",
"@pinia/colada": "0.12.0"
"@pinia/colada": "0.12.1"
},

@@ -116,0 +116,0 @@ "simple-git-hooks": {

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

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