
Security News
TypeScript is Porting Its Compiler to Go for 10x Faster Builds
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
@pinia-orm/axios-edge
Advanced tools
Intuitive, type safe and flexible ORM for Pinia based on Vuex ORM Next
You want to migrate from vuex to pinia and with it vuex-orm to pinia-orm but you don't know yet? Well maybe this table will help you to decide. This comparison is just about facts and current state.
Features | pinia-orm@v1.4.0 | @vuex-orm/core@0.36.4 | @vuex-orm/core@1.0.0-draft.16 |
---|---|---|---|
Bundle Size (Min + GZIP) | 9.9 KB | 16.7 KB | 12.6 KB |
Relations (hasMany, belongsTo, morphOne, hasManyBy, hasOne, morphTo) | β | β | β |
Relations (morphMany, belongsToMany, hasManyThrough) | β | β | β |
Relations (morphToMany, morphedByMany) | β | β | β |
Mutators | β | β | β |
Casts | β | β | β |
Decorators | β | β | β |
Single Table Inheritance | β | β | β |
Lifecycle Hooks | β | β | β |
Aggregates | β | β | β |
Query (orHas, doesntHave, orDoesntHave, whereHas, orWhereHas, groupBy) | β | β | β |
Collection Helpers | β | (β ) can use pinia-orm helpers too | (β ) can use pinia-orm helpers too |
Hidden Fields | β | β | β |
Metadata field | β | β | β |
Caching of queries with gc | β | (β ) with plugin | β |
If you decide to migrate then there are some breaking changes. A guide how to migrate will be written. Small overview:
null
vuex-orm-next
and not on vuex-orm
!corepack enable
(use npm i -g corepack
for Node.js < 16.10)pnpm install
pnpm build
cd packages/pinia-orm && pnpm test:ui
Made with β€οΈ
Published under MIT License.
FAQs
Axios plugin for pinia-orm
The npm package @pinia-orm/axios-edge receives a total of 9 weekly downloads. As such, @pinia-orm/axios-edge popularity was classified as not popular.
We found that @pinia-orm/axios-edge demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
TypeScript is porting its compiler to Go, delivering 10x faster builds, lower memory usage, and improved editor performance for a smoother developer experience.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Koreaβs Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.