Socket
Socket
Sign inDemoInstall

@typegoose/typegoose

Package Overview
Dependencies
Maintainers
1
Versions
221
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typegoose/typegoose - npm Package Versions

1
22

6.2.1

Diff

Changelog

Source

6.2.1

  • Fix functions isString and isNumber to check against their mongoose.Schema.Types.*.name equivalent (fixes typegoose#149)
hasezoey
published 6.2.0 •

Changelog

Source

6.2.0

This Update may break some code (mongoose upgrade, inline _id change, enum changes)

  • Update Dependencies
    • Upgrade mongoose from 5.7.7 to 5.8.3
    • Upgrade @types/mongoose from 5.5.30 to 5.5.35
    • [IC] Upgrade Typescript from 3.7.2 to 3.7.4
    • [IC] Upgrade NYC from 14.1.1 to 15.0.0
  • The option useNewEnum (and TG_USE_NEW_ENUM) got removed, because it would interfere with the number-enums
  • Added the ability to use number-enums on number-type props
  • Changed behaviour of string-enums to only work on string-type props
  • Fix PropOptions type for autopopulate
  • [IC] When the type is a Schema, it is now handled by mapOptions & mapArrayOptions
  • [IC] fix tests not exiting after completion
  • [IC] add tslint-plugin tslint-consistent-codestyle
hasezoey
published 6.1.8 •

Changelog

Source

6.1.8

  • backport for:
    • fixes typegoose#160
    • [IC] mapArrayOptions now uses mapOptions
    • [IC] adding function mapOptions
hasezoey
published 6.1.7 •

Changelog

Source

6.1.7

  • add support for environment variables here the new documentation
  • [IC] warnMixed now uses the right target
  • [IC] add function utils.getRightTarget
hasezoey
published 6.1.6 •

Changelog

Source

6.1.6

  • handle _id: false/true better
  • add function getClass
  • [IC] fix using "name"-getter in getName
hasezoey
published 6.1.5 •

Changelog

Source

6.1.5

  • Option merging is now properly done
  • [IC] fix giving wrong key to customMerger
  • [IC] remove the need to use "cloneDeepWith"
hasezoey
published 6.1.4 •

Changelog

Source

6.1.4

  • Apply Global Options without needing @modelOptions
  • [IC] add function "utils.assignGlobalModelOptions"
hasezoey
published 6.1.3 •

Changelog

Source

6.1.3

  • fix bug when "buildSchema" didn't get called when overwriting the type in @prop
  • [IC] add tests for Generic Discriminators
hasezoey
published 6.1.2 •

Changelog

Source

6.1.2

  • Allow setting _id: false (and apply it) for @mapProp
  • [IC] De-duplicate code for _id if subDocument
hasezoey
published 6.1.1 •

Changelog

Source

6.1.1

  • deleteModel now deletes the model from the connection it is on typegoose#119
  • [IC] de-duplicate test code for connecting
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