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

mongoose-create-hooks

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-create-hooks - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

11

index.js

@@ -8,13 +8,2 @@ var async = require('async')

/****************************************************************
* wasNew
* Campo cuyo examen permite determinar si los metodos definidos
* mediante schema#preCreate() deben ser ejecutados (documentos
* recience creados) o no (documentos anteriormente creados y
* ahora actualizados)
*/
schema.add({"_wasNew": Boolean});
/****************************************************************
* PRE HOOKS

@@ -21,0 +10,0 @@ * These hooks run before an instance has been updated

2

package.json
{
"name": "mongoose-create-hooks",
"version": "0.2.0",
"version": "0.2.1",
"description": "Add hooks triggerable upon original document save",

@@ -5,0 +5,0 @@ "main": "index.js",

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