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

monarch-orm

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

monarch-orm - npm Package Versions

2

0.7.0

Diff

Changelog

Source

0.7.0

Minor Changes

  • 2df301b: Hide exec from public API
  • 2df301b: Add createRelations API for schema relations
  • 58ffe8a: Implement only selected methods in Collection
  • b513167: Use subpath exports for types and operators
  • 60c2682: Add InferInput and InferOutput types to mirror find queries with omit/select and populate
  • 2df301b: Rename database.db() to database.use() and make db (underlying database) field public

Patch Changes

  • 2df301b: Drop MonarchPhantom
  • 2df301b: Propagate schema omit type with populate
princecodes
published 0.6.2 •

Changelog

Source

0.6.2

Patch Changes

  • 015bc8d: implement automatic promise resolution
princecodes
published 0.6.1 •

Changelog

Source

0.6.1

Patch Changes

  • 0f518de: Improve direct date support
princecodes
published 0.6.0 •

Changelog

Source

0.6.0

Minor Changes

  • 6217827: Add find cursor support

    As an alternative to find(...).exec() the new find(...).cursor() returns a MongoDb cursor which implements AsyncIterator. This allows you to consume the returned documents without loading all into memory in an array.

princecodes
published 0.5.3 •

Changelog

Source

0.5.3

Patch Changes

  • be834d2: implement population options
princecodes
published 0.5.2 •

Changelog

Source

0.5.2

Patch Changes

  • d21ff0f: fix reference chaining bug
princecodes
published 0.5.1 •

Changelog

Source

0.5.1

Patch Changes

  • 3549240: Fix populate method behavior in different edgecases

    • Improve handling of different reference types in populate function
    • Implement projection handling
    • Update schema definitions for optional fields
    • Add additional checks for relation types
    • Improve error handling in populate pipeline
princecodes
published 0.5.0 •

Changelog

Source

0.5.0

Minor Changes

  • a835c5c: Add collection.findById() method

Patch Changes

  • a835c5c: Add implicit default _id type to schema if none is provided: objectId().optional()
  • e3eda5f: - Improved error message formatting in MonarchMany, tuple and array for better clarity.
    • Fix wrong variable in MonarchDate error.
    • Updated the build script in package.json.
    • Modified parameter and return types in the toObjectId function.
princecodes
published 0.3.0 •

Changelog

Source

0.3.0

Minor Changes

  • b27f314: Infer populate output types
  • a75bde6: Add objectId type
  • a75bde6: Add biomejs for formatting and linting
  • 8de74a1: Accept mongodb db as first argument to createDatabase instead of mongodb client
  • b27f314: Changed virtuals API
  • a75bde6: Add support for schema relations and populate queries

Patch Changes

  • a75bde6: Fix bug where omit happens before original values is passed to virtuals
  • a75bde6: Refactor types to embed parser implementation in the class
  • a75bde6: Hide schema methods like toData and fromData from call site
  • bc13f77: Skip undefined fields during write operations in the toData method
princecodes
published 0.2.1 •

Changelog

Source

0.2.1

Patch Changes

  • a75821a: fix incorrect options for collection methods
2
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