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

mvom

Package Overview
Dependencies
Maintainers
3
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mvom - npm Package Versions

1
6

2.0.0-alpha.0

Diff

Changelog

Source

[2.0.0-alpha.0] - 2022-03-11

Breaking Changes

  • Minimum Node version is now 14.19.0
  • The Schema constructor definitions no longer accept constructors for the type property in schema property definitions. Instead, the type will be string literals indicating the property's type (e.g. 'string').
  • Several exported types have been improved or renamed
  • There is no longer a default export from the library. The main export now includes named exports Connection, Document, Schema, and the various Error classes.
  • createConnection has been changed from a standalone exported function to a static method on the Connection class. This is now the only supported mechanism for instantiating a Connection.
  • ConnectionManagerError has been renamed as MvisError and its properties similarly renamed since the official Rocket product is "MVIS"

Changed

  • Migrated library from BitBucket to GitHub
  • Update repository URL in package.json (#3)
  • Update all dependencies to latest version
  • Library has been completely converted to TypeScript (#14, #18, #20, #22, and #23)
  • Uses STORIS published eslint, prettier, and typescript configurations
  • Convert changelog to the Keep-a-Changelog standard

Added

  • Use GitHub actions for CI (#1)
  • Use Renovate to keep dependencies up to date (#2)
shawnmcknight
published 1.0.0 •

Changelog

Source

[1.0.0] - 2022-02-22

No changes; only publish 1.0.0 stable release

kthompson23
published 1.0.0-rc.1 •

Changelog

Source

[1.0.0-rc.1] - 2021-10-19

Fixed

  • Fix projection error on schemaless models
shawnmcknight
published 1.0.0-rc.0 •

Changelog

Source

[1.0.0-rc.0] - 2021-10-18

Breaking changes

  • Node 12 is now minimum version

Added

  • Allow explicit $and operator for queries
  • Improve Query unit tests
  • Allow schematically defined foreign key validations
  • Allow projection operators to be passed to queries to limit returned data from data server and transformations
  • Allow reading binary files as Base64 encoded

Changed

  • Update dependencies to remove security warnings
shawnmcknight
published 0.9.4 •

Changelog

Source

[0.9.4] - 2021-06-30

Changed

  • Update all dependencies
  • Format the ISOCalendarDateTime type to have the time component left padded with zeroes
shawnmcknight
published 0.9.3 •

Changelog

Source

[0.9.3] - 2021-05-07

Changed

  • Update production dependencies to remedy high vulnerability security issues
shawnmcknight
published 0.9.2 •

Changelog

Source

[0.9.2] - 2020-11-19

Fixed

  • Several properties on the Document instance were intended to not be enumerable and were not getting configured properly to ensure that. This change ensures that the transformDocumentToRecord, _transformRecordToDocument, and validate properties are not configurable, not enumerable, and not writable. Since Model inherits from Document, this will affect instances of that class as well.
shawnmcknight
published 0.9.1 •

Changelog

Source

[0.9.1] - 2020-05-22

Fixed

  • When a document's property is a schema type of Array or NestedArray, required validation will fail when the property is not defined. This is because during validation the undefined property gets cast to null and then the array gets cast to [null] during validation which fails. The issue is that undefined and null values are not cast to arrays prior to validation in the same way that DocumentArrays are. This change casts null and undefined properties to [] and scalars to an array of that scalar during property validation.
shawnmcknight
published 0.9.0 •

Changelog

Source

[0.9.0] - 2020-05-18

Breaking changes

  • Eliminate implicit required validation of primitive arrays that was occurring if the primitive's schema definition indicated it was required. This effectively made it so that arrays must have a length greater than 0 if the contents of the array were required. This caused the required flag to effectively serve double-duty -- preventing null/undefined contents of arrays and enforcing that arrays contained contents.
kthompson23
published 0.8.0 •

Changelog

Source

[0.8.0] - 2020-04-21

Added

  • Add support to encrypt and decrypt strings and ISO calendar dates. String and ISOCalendarDate type fields can be marked as encrypted. The Schema constructor now accepts optional encrypt and decrypt functions. If a field is marked as encrypted these provided functions will be run.
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