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 0.2.0 to 0.2.1

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## [0.2.1](https://github.com/posva/pinia/compare/v0.2.0...v0.2.1) (2021-03-23)
### Bug Fixes
- **devtools:** time travel and state display ([043ae2a](https://github.com/posva/pinia/commit/043ae2ac229b55087d962432b7501483403742e2)), closes [#394](https://github.com/posva/pinia/issues/394) [#19](https://github.com/posva/pinia/issues/19)
# [0.2.0](https://github.com/posva/pinia/compare/0.1.0...0.2.0) (2021-03-08)

@@ -2,0 +8,0 @@

18

dist/pinia.cjs.js
/*!
* pinia v0.2.0
* pinia v0.2.1
* (c) 2021 Eduardo San Martin Morote

@@ -112,4 +112,2 @@ * @license MIT

const assign = Object.assign;
const target = typeof window !== 'undefined'

@@ -151,3 +149,6 @@ ? window

rootStore.registerModule(store.$id, store);
Object.defineProperty(rootStore.state, store.$id, stateDescriptor);
Object.defineProperty(rootStore.state, store.$id, {
enumerable: true,
...stateDescriptor,
});
// Vue.set(rootStore.state, store.name, store.state)

@@ -161,8 +162,13 @@ // the trailing slash is removed by the devtools

rootStore.state[store.$id] = state;
devtoolHook.emit('vuex:mutation', assign({}, mutation, {
devtoolHook.emit('vuex:mutation', {
type: `[${mutation.storeName}] ${mutation.type}`,
}), rootStore.state);
payload: mutation.payload,
},
// this doesn't seem to be used by the devtools but it's in vuex codebase
rootStore.state);
});
}
const assign = Object.assign;
const isClient = typeof window != 'undefined';

@@ -169,0 +175,0 @@ function innerPatch(target, patchToApply) {

/*!
* pinia v0.2.0
* pinia v0.2.1
* (c) 2021 Eduardo San Martin Morote

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

/*!
* pinia v0.2.0
* pinia v0.2.1
* (c) 2021 Eduardo San Martin Morote

@@ -106,4 +106,2 @@ * @license MIT

const assign = Object.assign;
const target = typeof window !== 'undefined'

@@ -145,3 +143,6 @@ ? window

rootStore.registerModule(store.$id, store);
Object.defineProperty(rootStore.state, store.$id, stateDescriptor);
Object.defineProperty(rootStore.state, store.$id, {
enumerable: true,
...stateDescriptor,
});
// Vue.set(rootStore.state, store.name, store.state)

@@ -155,8 +156,13 @@ // the trailing slash is removed by the devtools

rootStore.state[store.$id] = state;
devtoolHook.emit('vuex:mutation', assign({}, mutation, {
devtoolHook.emit('vuex:mutation', {
type: `[${mutation.storeName}] ${mutation.type}`,
}), rootStore.state);
payload: mutation.payload,
},
// this doesn't seem to be used by the devtools but it's in vuex codebase
rootStore.state);
});
}
const assign = Object.assign;
const isClient = typeof window != 'undefined';

@@ -163,0 +169,0 @@ function innerPatch(target, patchToApply) {

/*!
* pinia v0.2.0
* pinia v0.2.1
* (c) 2021 Eduardo San Martin Morote

@@ -108,4 +108,2 @@ * @license MIT

const assign = Object.assign;
const target = typeof window !== 'undefined'

@@ -147,3 +145,6 @@ ? window

rootStore.registerModule(store.$id, store);
Object.defineProperty(rootStore.state, store.$id, stateDescriptor);
Object.defineProperty(rootStore.state, store.$id, {
enumerable: true,
...stateDescriptor,
});
// Vue.set(rootStore.state, store.name, store.state)

@@ -157,8 +158,13 @@ // the trailing slash is removed by the devtools

rootStore.state[store.$id] = state;
devtoolHook.emit('vuex:mutation', assign({}, mutation, {
devtoolHook.emit('vuex:mutation', {
type: `[${mutation.storeName}] ${mutation.type}`,
}), rootStore.state);
payload: mutation.payload,
},
// this doesn't seem to be used by the devtools but it's in vuex codebase
rootStore.state);
});
}
const assign = Object.assign;
const isClient = typeof window != 'undefined';

@@ -165,0 +171,0 @@ function innerPatch(target, patchToApply) {

/*!
* pinia v0.2.0
* pinia v0.2.1
* (c) 2021 Eduardo San Martin Morote

@@ -107,4 +107,2 @@ * @license MIT

const assign = Object.assign;
const target = typeof window !== 'undefined'

@@ -146,3 +144,6 @@ ? window

rootStore.registerModule(store.$id, store);
Object.defineProperty(rootStore.state, store.$id, stateDescriptor);
Object.defineProperty(rootStore.state, store.$id, {
enumerable: true,
...stateDescriptor,
});
// Vue.set(rootStore.state, store.name, store.state)

@@ -156,8 +157,13 @@ // the trailing slash is removed by the devtools

rootStore.state[store.$id] = state;
devtoolHook.emit('vuex:mutation', assign({}, mutation, {
devtoolHook.emit('vuex:mutation', {
type: `[${mutation.storeName}] ${mutation.type}`,
}), rootStore.state);
payload: mutation.payload,
},
// this doesn't seem to be used by the devtools but it's in vuex codebase
rootStore.state);
});
}
const assign = Object.assign;
const isClient = typeof window != 'undefined';

@@ -164,0 +170,0 @@ function innerPatch(target, patchToApply) {

/*!
* pinia v0.2.0
* pinia v0.2.1
* (c) 2021 Eduardo San Martin Morote

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

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

@@ -5,0 +5,0 @@ "main": "dist/pinia.cjs.js",

@@ -25,2 +25,4 @@ <p align="center">

## ๐Ÿ‘‰ [Demo](https://vcuiu.csb.app/)
Pinia works both for Vue 2.x and Vue 3.x and you are currently on the branch that supports Vue 2.x. **If you are looking for the version compatible with Vue 3.x, check the [`v2` branch](https://github.com/posva/pinia/tree/v2)**.

@@ -27,0 +29,0 @@

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