Socket
Socket
Sign inDemoInstall

@discue/mongodb-resource-client

Package Overview
Dependencies
Maintainers
0
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@discue/mongodb-resource-client - npm Package Versions

1234

0.4.0

Diff

Changelog

Source

0.4.0 (2023-06-12)

Features

  • one-to-many-resource: add method to get doc without checking refs (9d1842c)
  • send usage events if eventEmitter is passed to constructor (678a179)
stfsy
published 0.3.0 •

Changelog

Source

0.3.0 (2023-06-10)

Features

  • add export for mongodb timestamp (465d9c4)
  • aggregations: update aggregations (6fcf2be)
  • allow projections for get and get all (c86f816)
  • enable passing mongo client to all modules (f2f423b)
  • ensure entities are referenced by host object (572ae84)
  • one-to many-resource: check all refs until root (5ddbb44)
  • one-to-many-resource: allow storage of nested resources (4afda9d)
  • one-to-many-resource: compute document path (337111e)
  • one-to-many-resource: enable lookup of documents along the hierarchy (bd06faf)
  • one-to-many-storage: hide _id in output of get all (121c7a3)
  • set given id as id instead of _id (fbea79e)
  • simple-resource: add find method and aggregation helpers (d1e6eca)
  • simple-resource: hide _id from get result (5ffdd4b)
  • simple-resource: hide _id in output of get all (c9e0524)
  • store created_at timestamp with every resource (8e8bd9f)
  • update updated_at timestamp with each update (82f7d21)
  • verify ids are unique and verify getall contract (2bdda29)

Bug Fixes

  • exports not es6 compatible (7eb55fd)
  • simple-resource-storage: requires resource id to return all docs (0257066)
  • simple-resource: init timestamp with current date (bbf12bd)

Refactorings

  • add options object for get and get all calls (c06a379)
  • refactor npm scripts (d5906fb)
  • reuse aggregation functions (be2ab7d)

Chores

  • allow passing collection name to helper (0631d9c)
  • docs: update readme (44b72f6)
  • make release notes script executable (8c806af)
  • one-to-few-resource: do not wait (95db52f)
  • one-to-many-resource: make sure getall always returns empty list at least (91c1d26)
  • remove jsdoc that breaks doc generation (e1d1c0e)
  • remove unused imports (81c07dd)
  • simple-resource: do not log resoure (36b9f10)
  • simple-resource: update docs of find method (331caa1)
stfsy
published 0.2.0 •

Changelog

Source

0.2.0 (2023-06-04)

Features

  • add storage modules and classes (aecf227)
  • one-to-many-resource-storage: allow storage of ref to host object (4950d3f)

Chores

  • add docker compose file for local development (9fb6b97)
  • add github workflow files (454a89f)
  • add module entry (2f39ec6)
  • add npm package files (289989c)
  • add project-related config files (bec222b)
  • add readme (9893950)
  • add release script (0cf8475)
  • add script that generates docs (9713e02)
  • add test script (4e57383)
  • deps-dev: bump eslint from 8.41.0 to 8.42.0 (9ec3c47)
  • deps: bump actions/stale from 7 to 8 (217e979)
  • deps: bump mongodb from 5.5.0 to 5.6.0 (bebea99)
  • deps: install deps for docs generation (fb0513d)
  • do not bind to localhost but 127.0.0.1 (e8dcac9)
  • docs: update readme (aa5e14d)
  • make connect timeout configurable (76c0f81)
  • pass release script name to bash (e6d43f6)
  • run release script during releases (76da28b)
  • set connect timeout and dont set ip family (5d7cdc2)
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