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

mingo

Package Overview
Dependencies
Maintainers
1
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mingo - npm Package Versions

1
14

6.1.2

Diff

Changelog

Source

6.1.2 / 2022-10-02

Fixes

  • Fix breaking change in 6.1.1. Closes 274
  • Fix $dateToString formatter %V to be week of year in ISO 8601 format (i.e. 01-53)
  • Fix $dateToString formatter %u to be day of week number in ISO 8601 format (i.e. 1-7)
  • Add $dateToString formatter %U for week of year.
kofrasa
published 6.1.1 •

Changelog

Source

6.1.1 / 2022-09-30

Fixes

  • Handle timezone correctly for $dateToParts. Closes #256
kofrasa
published 6.1.0 •

Changelog

Source

6.1.0 / 2022-07-27

Fixes

  • Allow multiple expressions to $ifNull conditional.

New

  • Added $dateDiff operator. See #244
kofrasa
published 6.0.6 •

Changelog

Source

6.0.6 / 2022-04-29

Fixes

  • Correctly handle comparison of multiple deeply nested arrays. Fixes #238
kofrasa
published 6.0.5 •

Changelog

Source

6.0.5 / 2022-02-24

Fixes

  • Handle timezone letters for $dateFromString. Fixes #228
kofrasa
published 6.0.4 •

Changelog

Source

6.0.4 / 2022-02-09

Fixes

  • Handle hash collisions to correct behaviour of set operators; setEqual, $setIntersection, $setIsSubset, and $setUnion.
  • Support arbitrary number of arrays in $setIntersection.
kofrasa
published 6.0.3 •

Changelog

Source

6.0.3 / 2022-02-03

Fixes

  • Remove use of console.assert. See #226
  • Remove deprecated mingo/init import.
kofrasa
published 6.0.2 •

Changelog

Source

6.0.2 / 2022-02-02

Fixes

  • Fix incorrect date bug when handling underflows in dateFromParts. See #224
kofrasa
published 6.0.1 •

Changelog

Source

6.0.1 / 2022-02-01

Fixes

  • Fixed bug in $dateFromParts which incorrectly computes the dates for some input values. See #223.
kofrasa
published 6.0.0 •

Changelog

Source

6.0.0 / 2022-01-31

New

  • Add option processingMode to control input and output behaviour.
  • Add option scriptEnabled to control whether to enable custom function operators; $where, $function, and $accumulator.
  • Add new operator type OperatorType.WINDOW.
  • Add aggregation expression operators;
    • $accumulator
    • $function
    • $getField
    • $setField
    • $unsetField
    • $sampleRate
    • $replaceOne
    • $replaceAll
  • Add pipeline operators.
    • $setWindowFields
    • $merge
    • $unionWith
  • Add window operators for $setWindowFields.
    • $denseRank
    • $derivative
    • $documentNumber
    • $expMovingAvg
    • $integral
    • $rank
    • $shift
  • Add accumulator operators.
    • $count
    • $covarianceSamp
    • $covariancePop
  • Add support for $$NOW system variable.
  • Add ISO date operators.
    • $isoWeek
    • $isoWeekYear
    • $isoDayOfWeek
  • Add support for iso8601 option to $dateToParts.
  • Add useStrictMode option to enable useful non-standard behaviour on specific operators.
    • The $elemMatch projection operator return all matching nested documents instead when useStrictMode is false.

Removed

  • Removed support for string function body in $where operator.
  • Remove addOperators function.
  • Removed Collection type.

Fixes

  • Fixed computation bug in $dateAdd and $dateSubtract operators.
  • Fix bug in sortBy which causes duplicate values.
  • Fix ranking for duplicate values for $denseRank operator.
  • Fix cursor navigation bugs.
  • Fix timezone handling in $dateToString operator.
  • Return list of single item for $count aggregation operator.
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