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

pinia

Package Overview
Dependencies
Maintainers
1
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pinia - npm Package Compare versions

Comparing version 2.2.2 to 2.2.3

25

dist/pinia.d.ts

@@ -11,2 +11,3 @@ import { App } from 'vue-demi';

import type { WatchOptions } from 'vue-demi';
import type { WritableComputedRef } from 'vue-demi';

@@ -171,3 +172,3 @@ /**

*/
export declare type _ExtractActionsFromSetupStore<SS> = SS extends undefined | void ? {} : _ExtractActionsFromSetupStore_Keys<SS> extends keyof SS ? Pick<SS, _ExtractActionsFromSetupStore_Keys<SS>> : never;
export declare type _ExtractActionsFromSetupStore<SS> = SS extends undefined | void ? {} : Pick<SS, _ExtractActionsFromSetupStore_Keys<SS>>;

@@ -185,3 +186,3 @@ /**

*/
export declare type _ExtractGettersFromSetupStore<SS> = SS extends undefined | void ? {} : _ExtractGettersFromSetupStore_Keys<SS> extends keyof SS ? Pick<SS, _ExtractGettersFromSetupStore_Keys<SS>> : never;
export declare type _ExtractGettersFromSetupStore<SS> = SS extends undefined | void ? {} : Pick<SS, _ExtractGettersFromSetupStore_Keys<SS>>;

@@ -199,3 +200,3 @@ /**

*/
export declare type _ExtractStateFromSetupStore<SS> = SS extends undefined | void ? {} : _ExtractStateFromSetupStore_Keys<SS> extends keyof SS ? _UnwrapAll<Pick<SS, _ExtractStateFromSetupStore_Keys<SS>>> : never;
export declare type _ExtractStateFromSetupStore<SS> = SS extends undefined | void ? {} : Pick<SS, _ExtractStateFromSetupStore_Keys<SS>>;

@@ -791,7 +792,19 @@ /**

*/
export declare type _StoreWithGetters<G> = {
readonly [k in keyof G]: G[k] extends (...args: any[]) => infer R ? R : UnwrapRef<G[k]>;
export declare type _StoreWithGetters<G> = _StoreWithGetters_Readonly<G> & _StoreWithGetters_Writable<G>;
/**
* Store augmented with readonly getters. For internal usage **only**.
*/
declare type _StoreWithGetters_Readonly<G> = {
readonly [K in keyof G as G[K] extends (...args: any[]) => any ? K : ComputedRef extends G[K] ? K : never]: G[K] extends (...args: any[]) => infer R ? R : UnwrapRef<G[K]>;
};
/**
* Store augmented with writable getters. For internal usage **only**.
*/
declare type _StoreWithGetters_Writable<G> = {
[K in keyof G as G[K] extends WritableComputedRef<any> ? K : never]: G[K] extends WritableComputedRef<infer R, infer _S> ? R : never;
};
/**
* Base store with state and functions. Should not be used directly.

@@ -957,3 +970,3 @@ */

declare type ToComputedRefs<T> = {
[K in keyof T]: ToRef<T[K]> extends Ref<infer U> ? ComputedRef<U> : ToRef<T[K]>;
[K in keyof T]: ToRef<T[K]> extends Ref ? ComputedRef<T[K]> : ToRef<T[K]>;
};

@@ -960,0 +973,0 @@

/*!
* pinia v2.2.2
* pinia v2.2.3
* (c) 2024 Eduardo San Martin Morote

@@ -4,0 +4,0 @@ * @license MIT

{
"name": "pinia",
"version": "2.2.2",
"version": "2.2.3",
"description": "Intuitive, type safe and flexible Store for Vue",

@@ -65,3 +65,3 @@ "main": "index.js",

"devDependencies": {
"@microsoft/api-extractor": "7.47.3",
"@microsoft/api-extractor": "7.47.9",
"@vue/test-utils": "^2.4.6"

@@ -68,0 +68,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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