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

mongojs

Package Overview
Dependencies
Maintainers
3
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongojs - npm Package Versions

13
11

2.1.0

Diff

Changelog

Source

v2.1.0

9 December 2015

saintedlama
published 2.0.0 •

Changelog

Source

v2.0.0

2 December 2015

  • Use mongodb-native instead of mongodb-core driver #256
  • Increase coverage by adding tests for eval, drop database, db stats, create and drop users 37c690b
  • Introduce _getCollection to avoid duplicate _getConnection + connection.collection(this._fullName) code 44b8ee8
  • Generate functions to set limit, batchSize, sort and skip 3d375f8
  • Make database an EventEmitter and emit events for error and connect cb70b55
  • Add tests for mongojs bson type exports ea1b07a
  • Fix connection string building for connection strings omitting mongodb:// prefix or host of db cb973f0
  • Add tests for connection string parsing f9ab363
  • Simplify remove 67acfa2
  • Fix code style to match standard version 5 code style 54a9ab9
  • Test toString implementations for mongos and replica set connection strings 6e182e3
  • Cleanup getCollectionNames implementation by using mongodb-native functionality f49c38e
  • Remove duplicate code from aggregate bbb030c
  • Remove destroy event test 11b513d
  • Correct connecting section 689f161
  • Update dependencies and move to standard version 5 0268423
  • Implement workaround for harmony proxy in combination with event emitter inheritance 56f1eb8
  • Fix checks for insert and 7b01fa9
  • Make checking for err object less verbose d079280
  • Adhere to standard code style 6f5ecd0
  • Run geotag update instead of plain geotag in geotag npm script 3c59a49
  • Call EventEmitter constructor 26cc395
  • Clarify comment f240a7e
  • Add a connection error handler 3426d64
  • Expose NumberLong alias for shell compatibility c864aef
  • Ignore vi temporary files 99811b5
  • Test mongojs in node.js 5 environments 12a639c
watson
published 1.4.1 •

Changelog

Source

v1.4.1

12 October 2015

  • Use mongodb instead of mongodb-core and add minimal test to require mongojs and access all bson types 3026b7f
  • Implement basic functionality to insert and remove documents to drive all further tests 246976e
  • Implement mongojs and mongodb-native connection passing 60297a3
  • Implement aggregations 73a79ac
  • Implement find using cursor 4257022
  • Fix code style issues bae604e
  • Implement cursor operations 482cb84
  • Add support for finalize in mapReduce c67fbbf
  • Implement group 31d98d2
  • Implement update and getIndexes 1df7336
  • Add test to verify that connecting to a non existing database yields an error in the provided operation callback 48a00df
  • Test stats 37c2fb5
  • Implement isCapped 180abe8
  • Implement bulk operations e5a60d1
  • Implement passing mongojs connections 3a89ec7
  • Fix distinct tests ac5c2fc
  • Fix next implementation by checking if the cursor was closed and quite in a graceful manner 143c836
  • Implement command execution on collection level 749dfd7
  • Implement close b66eb5b
  • Implement cursor destroy/close d95e6a6
  • Add TODO concerning command interface hits bad1461
  • Fix code style issues d461975
  • Rename ready event to connect in README.md 6341c35
  • Fix code style 54bae03
watson
published 1.4.0 •

Changelog

Source

v1.4.0

6 October 2015

  • Expose bson stuff visible in the shell #251
  • Fix build of MongoDB >2.4 on Travis ebf6bc8
  • Run tests against Node.js v4.x instead of iojs 0e1b573
saintedlama
published 1.3.0 •

Changelog

Source

v1.3.0

14 August 2015

  • Fixed insert error detection and passing #237
  • Return on connection error #240
  • Implement events #229
  • Add test for pull request #237 "Fixed insert error detection and passing" 469f48c
  • Merge options and connString + cols object into options object f11bcd1
  • Add test to assure an unopened db can be closed bf7473e
  • Pass options to mongodb topology instance constructor 27939a7
  • Fix upgrading section 9d49f53
  • Added more existence checks to insert d2773ec
  • Insert final newline to adhere to standard code style 8d06cfe
  • Remove events not working from Upgrading notice ba18f23
watson
published 1.2.1 •

Changelog

Source

v1.2.1

26 July 2015

  • Upgrade dependencies #228
  • Practise what we preach: Use standard code style in examples 7b163a9
  • Add contribution guidelines 885d529
  • Clean up README.md 8c4a2df
  • Add editorconfig 8a6c786
  • Upgrade all dev-dependency modules a0caa82
  • No need to use custom npm version when node.js v0.8 isn't tested 581a6db
  • Fix Travis-CI build to properly test against MongoDB 3.0 af83bf0
  • Add warning block for MongoDB 3 auth 578dcc7
  • Bump copyright year 3795d14
watson
published 1.2.0 •

Changelog

Source

v1.2.0

25 July 2015

  • Implement the 'standard' linter #227
  • Remove semicolons e7146c8
  • Insert space before function opening bracket 8945d41
  • Insert space between colon and value in object literals e59971e
  • Use t.error to handle errors instead of t.ok(!err) and friends 65b7acf
  • Remove spaces before comma fcce1f7
  • Use single quotes when defining strings 1372ed6
  • Handle all errors 481935a
  • Insert space between comma and next value b00dabb
  • Remove spaces before colon in object literals 7b56b0f
  • Remove trailing spaces 737ceb8
  • Remove unused variables 90af4b4
  • Don't overwrite setImmediate 6912f95
  • Don't run subsequent tests if previous tests fail 14d3e0c
  • Don't assign while returning 2a589ae
  • Add standard test 195ffce
  • Add Thomas Watson as contributer 0945e27
  • Ensure while loops evaluate a conditional expression ac9f4db
  • Upgrade readable-stream to ^2.0.2 933eacb
  • Remove trailing comma in object literal 31ea45e
  • Insert proper spaces in ternaries 60c1036
  • Disable linter for problematic JavaScript running inside MongoDB 8973b36
  • Add space before opening function curly brackets 560795b
  • Fix indentation e964661
  • Add standard code style badge to README.md a61b451
  • remove tip jar 9924c3b
saintedlama
published 1.1.0 •

Changelog

Source

v1.1.0

25 July 2015

  • Add support for ScramSHA1 #209
  • Add upsert() method for Bulk.find #213
  • Allow array-based aggregation pipelines #204
  • add support for SCRAM-SHA-1 auth mechanism. c9025bb
  • Fix naming and reference ScamSHA1 via mongodb.ScamSHA1 ec3ef7d
  • Added tests for upsert() method 2bcbed3
  • Add npm run geotag script 772dff2
  • Add "npm run cover" command using istanbul for coverage and ignore coverage dir fa90791
  • Add "Upgrading from 0.x.x to 1.0.x" section e1157b0
  • Close connection to test closing connections 7c4cad4
  • Fix harmony tests and coverage commands by adding --harmony-proxies flag to enable Proxy functionality d467340
  • Split set upsert to true and return this for readability 5d96ebb
  • Remove superfluous ; 2f0c62b
  • Remove unused require('each-series') d4bf755
  • Add aggregation pipeline breaking changes to Upgrading from 0.x.x to 1.0.x 70d6bc5
watson
published 1.0.2 •

Changelog

Source

v1.0.2

27 June 2015

  • Add upsert() method for Bulk.find #1
  • Add check for cb undefined in createIndex #203
  • Use cursor.kill instead of cursor.close #207
  • Allow array-base aggregation pipelines 7dd97fd
  • Update bulk.js 15c053b
  • Test all branches on Travis-CI 63a4b7b
  • Test against Node.js 0.12 instead of 0.11 on Travis CI 0b01039
  • Use Number.MAX_VALUE instead of -1 for tailable cursor retries. aebc43c
  • Update to latest mongodb-core. 030d585
  • Use SVG build status from travis master branch builds 453b522
  • Add check for cb undefined to prevent calls to ensureIndex with index field and options given but without cb throw an error 9eae343
sorribas
published 1.0.1 •

Changelog

Source

v1.0.1

16 June 2015

  • Update mongodb-core patch level #198
  • Update mongodb-core patch level. 4443c94
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