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

proton-model

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proton-model - npm Package Compare versions

Comparing version 1.1.8 to 1.1.9

8

index.js

@@ -48,5 +48,5 @@ 'use strict'

console.log('Schema', this.mongoose.Schema, this._schema)
// this._createStaticMethods(constructor)
// this._createInstanceMethods(prototype)
// this._createVirtualMethods(prototype)
this._createStaticMethods(constructor)
// this._createInstanceMethods(prototype)
// this._createVirtualMethods(prototype)
return this._schema

@@ -70,3 +70,3 @@

if (this._isStaticMethod(name, method)) {
this._schema.static(name, method.value)
this._schema.statics[name] = method.value
}

@@ -73,0 +73,0 @@ })

{
"name": "proton-model",
"version": "1.1.8",
"version": "1.1.9",
"description": "",

@@ -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