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.0.7 to 1.0.8

7

index.js

@@ -13,3 +13,2 @@ 'use strict'

this._bindToApp()
this.expose()
}

@@ -27,3 +26,3 @@

expose() {
global[this.name] = this
global[this.name] = this.model
return true

@@ -41,3 +40,5 @@ }

_generateModel() {
return this.mongoose.model(this.name, this._buildSchema())
this.model = this.mongoose.model(this.name, this._buildSchema())
this.expose()
return this.model
}

@@ -44,0 +45,0 @@

{
"name": "proton-model",
"version": "1.0.7",
"version": "1.0.8",
"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