Socket
Socket
Sign inDemoInstall

mongoose

Package Overview
Dependencies
Maintainers
0
Versions
883
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

test/types.number.test.js

6

History.md
1.0.4 / 2011-02-02
==================
* Added MongooseNumber#toString
* Added MongooseNumber unit tests
1.0.3 / 2011-02-02

@@ -3,0 +9,0 @@ ==================

2

lib/mongoose/index.js

@@ -256,3 +256,3 @@

exports.version = '1.0.3';
exports.version = '1.0.4';

@@ -259,0 +259,0 @@ /**

@@ -67,2 +67,12 @@

/**
* Re-declare toString (for `console.log`)
*
* @api public
*/
MongooseNumber.prototype.toString = function () {
return String(this.valueOf());
};
/**
* Module exports

@@ -69,0 +79,0 @@ */

{
"name": "mongoose"
, "description": "Mongoose MongoDB ORM"
, "version": "1.0.3"
, "version": "1.0.4"
, "author": "Guillermo Rauch <guillermo@learnboost.com>"

@@ -6,0 +6,0 @@ , "keywords": ["mongodb", "mongoose", "orm", "data", "datastore", "nosql"]

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