Socket
Socket
Sign inDemoInstall

nestjs-base-service

Package Overview
Dependencies
550
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
23Next

0.11.1

Diff

yulia-belyakova
published 0.11.0 •

Changelog

Source

0.11.0

2023-03-30

  • Make _processBaseFilter and _processBaseFilter methods of BaseService protected to allow them to be overriden.
tiagojsag
published 0.10.0 •

Changelog

Source

0.10.0

2023-01-10

  • Update TypeORM version to v0.3.x
  • Expose logger, so it can be integrated with Nest's logger
hotzevzl
published 0.9.0 •

Changelog

Source

0.9.0

2022-03-15

This release brings breaking changes to most of the auxiliary methods of BaseService, making them async where they were not so already, so that users of this module can await on async operations at every stage of request lifecycles handled via BaseService.

Most of these methods should have been async all along, similarly to extendFindAllQuery(), in case module users need to perform async operations throughout any of these lifecycle hooks.

Changed

  • [BREAKING CHANGE] BaseService.extendGetByIdQuery() is now async
  • [BREAKING CHANGE] BaseService.extendCreateResult() and BaseService.actionAfterCreate() are now async too; alas actionAfterCreate() was already async but not being awaited for
  • [BREAKING CHANGE] BaseService.setFilters(), BaseService.setFiltersUpdate() and BaseService.setFiltersDelete() are now async
  • [BREAKING CHANGE] BaseService.actionAfterUpdate() is now async
  • [BREAKING CHANGE] BaseService.canBeRemoved() is now async
tiagojsag
published 0.8.2 •

Changelog

Source

0.8.2

2021-11-18

  • Move @nestjs/common to peerDependency
tiagojsag
published 0.8.1 •

Changelog

Source

0.8.1

2021-11-18

  • Update nodejs requirement to >=14.17 instead of ~14.17
tiagojsag
published 0.8.0 •

Changelog

Source

0.8.0

2021-11-04

  • Bumped nodejs requirement to v14.17+
  • Updated all dependencies
  • Added typeorm as a peerDependency
tiagojsag
published 0.7.1 •

Changelog

Source

0.7.1

  • Minor improvements to the deployment workflow.
  • Remove broken 0.7.0 release.
hotzevzl
published 0.6.0 •

Changelog

Source

0.6.0

2021-04-30

Added

  • Ability to mute logger fully (e.g. for CI).

Changed

  • [BREAKING CHANGE] idProperty is now part of the service options provided to the constructor.
hotzevzl
published 0.5.2 •

Changelog

Source

0.5.2

2021-04-20

Added

  • Initial support for ResultDTO-like processing: we don't support yet using a ResultDTO distinct from Entity as generic parameters to BaseService, but if the Entity class is set up to include properties that do not map directly to database columns it can be used as a sort of DTO, and the hooks added in this release allow to reshape/extend data after it has been fetched from db.
23Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc