Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@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
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.