Socket
Socket
Sign inDemoInstall

iridium

Package Overview
Dependencies
Maintainers
1
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iridium - npm Package Compare versions

Comparing version 1.3.3 to 1.3.4

6

lib/Model.js

@@ -178,5 +178,5 @@ /// <reference path="../nodelib/node.js"/>

var doHook = function(object) {
if (this.options.hooks.beforeCreate) {
if (this.options.hooks.beforeCreate.length === 0) this.options.hooks.beforeCreate.call(object);
else return this.options.hooks.beforeCreate.call(object, doInsert);
if ($.options.hooks.beforeCreate) {
if ($.options.hooks.beforeCreate.length === 0) $.options.hooks.beforeCreate.call(object);
else return $.options.hooks.beforeCreate.call(object, doInsert);
}

@@ -183,0 +183,0 @@ };

{
"name": "iridium",
"version": "1.3.3",
"version": "1.3.4",
"author": "Benjamin Pannell <admin@sierrasoftworks.com>",

@@ -5,0 +5,0 @@ "description": "A custom lightweight ORM for MongoDB designed for power-users",

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