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

@typegoose/typegoose

Package Overview
Dependencies
Maintainers
1
Versions
223
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typegoose/typegoose - npm Package Versions

1
23

6.3.1

Diff

Changelog

Source

6.3.1

  • Hopefully fix the Strictmode error of the new Ref-Type
hasezoey
published 6.3.0 •

Changelog

Source

6.3.0

  • Update Dependencies
    • mongoose to 5.8.11
    • @types/mongoose to 5.7.0
    • semver to 7.1.2
  • Add @types/mongoose to peerDependencies
  • Add generic type to @plugin to set the type for the options
  • Use a modified Ref-Type to automatically get the type (if the Ref'd type has string as _id, it automatically sets the RefType to string)
hasezoey
published 6.2.2 •

Changelog

Source

6.2.2

  • Fix use of "rawOptions.type" after deletion (fixes typegoose#178)
hasezoey
published 6.2.1 •

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"
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