Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@foal/mongoose

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@foal/mongoose - npm Package Compare versions

Comparing version 1.8.1 to 1.9.0

3

lib/utils/fetch-user.util.js

@@ -20,2 +20,5 @@ "use strict";

return (id) => {
if (typeof id === 'number') {
throw new Error('Unexpected type for MongoDB user ID: number.');
}
return new Promise((resolve, reject) => {

@@ -22,0 +25,0 @@ userModel.findOne({ _id: id }, (err, res) => {

4

package.json
{
"name": "@foal/mongoose",
"version": "1.8.1",
"version": "1.9.0",
"description": "FoalTS integration of Mongoose",

@@ -62,3 +62,3 @@ "main": "./lib/index.js",

},
"gitHead": "6edc64b6e739753521b302e6c9dde55255845686"
"gitHead": "c0e648721ef9e8cd5a3f645d06ea660605f44ddb"
}

@@ -58,3 +58,3 @@ <p align="center">

[=> Continue with the tutorial](https://foalts.gitbook.io/docs/content/)
[=> Continue with the tutorial](https://foalts.gitbook.io/docs/)

@@ -61,0 +61,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