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

bookshelf-processor-plugin

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bookshelf-processor-plugin - npm Package Compare versions

Comparing version 0.1.0 to 1.0.0

.tern-project

5

CHANGELOG.md
# Changelog
**1.0.0** <small>_Sep 21, 2019_</small>
- Pass model context as 'this' in processors: [#1](https://github.com/bookshelf/processor-plugin/pull/1)
- Update all dev dependencies to their latest versions.
**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.

2

index.js

@@ -65,3 +65,3 @@ /**

processes.forEach(process => {
value = process(value)
value = process.call(this, value)
})

@@ -68,0 +68,0 @@

{
"name": "bookshelf-processor-plugin",
"version": "0.1.0",
"version": "1.0.0",
"description": "A plugin for Bookshelf that allows defining custom processor functions that transform model attributes.",

@@ -44,14 +44,14 @@ "main": "index.js",

"devDependencies": {
"bookshelf": "^0.15.1",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-prettier": "^3.1.0",
"husky": "^3.0.2",
"knex": "^0.19.1",
"lint-staged": "^9.2.1",
"bookshelf": "^1.0.0",
"eslint": "^6.4.0",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-prettier": "^3.1.1",
"husky": "^3.0.5",
"knex": "^0.19.4",
"lint-staged": "^9.2.5",
"mocha": "^6.2.0",
"nyc": "^14.1.1",
"prettier": "^1.18.2",
"sinon": "^7.4.0",
"sqlite3": "^4.0.9"
"sinon": "^7.4.2",
"sqlite3": "^4.1.0"
},

@@ -58,0 +58,0 @@ "author": {

@@ -14,3 +14,3 @@ # Bookshelf Processor Plugin

Then load the plugin using `bookshelf.plugin('bookshelf-processor-plugin')`. Now you are all set to start definining
Then load the plugin using `bookshelf.plugin('bookshelf-processor-plugin')`. Now you are all set to start defining
custom attribute processors on your models.

@@ -17,0 +17,0 @@

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