UNPKG

bookshelf-virtuals-plugin

Version:

A plugin for Bookshelf that allows getting or setting virtual properties on model instances.

28 lines (15 loc) 962 B
# Changelog **1.0.0** <small>_Jun 20, 2020_</small> - [Diff](https://github.com/bookshelf/virtuals-plugin/compare/v0.1.1...v1.0.0) #### Breaking changes - Requires Node.js 10 or newer: [#14](https://github.com/bookshelf/virtuals-plugin/pull/14) #### Dependencies - Update dev dependencies: [#13](https://github.com/bookshelf/virtuals-plugin/pull/13), [#14](https://github.com/bookshelf/virtuals-plugin/pull/14), [#15](https://github.com/bookshelf/virtuals-plugin/pull/15) **0.1.1** <small>_Aug 9, 2019_</small> - [Diff](https://github.com/bookshelf/virtuals-plugin/compare/v0.1.0...v0.1.1) #### Refactoring - Move some function definitions to the top. - Remove unused npm scripts. - Replace some lodash methods with native alternatives. #### Test Suite - Add tests to cover more scenarios. **0.1.0** <small>_Aug 9, 2019_</small> - Initial version of the plugin as a standalone package. This code is the same that was in Bookshelf core at this point.