New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@typegoose/typegoose

Package Overview
Dependencies
Maintainers
1
Versions
231
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@typegoose/typegoose - npm Package Versions

1
24

7.1.0-0

Diff

hasezoey
published 7.0.0 •

Changelog

Source

7.0.0

To Migrate, please look at the migration guide

  • Update Dependencies
    • mongoose to 5.9.10
    • @types/mongoose to 5.7.12
  • Minimal NodeJS version is now 10.15
  • Minimal Typescript version is now 3.8.3
  • Typegoose class got completely removed
  • All Deprecated arrayProp options got remove
    • itemsRef replaced with plain ref
    • itemsRefPath replaced with plain refPath
    • itemsRefType replaced with plain refType
  • All enums got moved from src/types to src/internal/constants
  • All things from src/types now get exported as type
  • All Errors now get exported as errors
  • All non-essential types get exported as types
  • utils's getName function now gets exported
  • Add PropOption addNullToEnum
  • Remove Deprecated value overwrite for VirtualOptions
  • Remove instance properties from Model type (remove & T from ModelType)
  • Add class decorator queryMethod
  • [IC] rename file optionsProp to modelOptions
  • [IC] Replace mocha & chai with jest
  • [IC] Completely remove TG_USE_NEW_ENUM from documentation & code
  • [IC] Replace almost all if-throw with the internal assertion function
  • [IC] Move VirtualPopulate cache to Reflection
  • [IC] Move Plugins cache to Reflection
  • [IC] Move Hooks cache to Reflection
  • [IC] All remaining test's models now get exported with an name (not being exported as model anymore)
hasezoey
published 7.0.0-3 •

hasezoey
published 6.5.0 •

Changelog

Source

6.5.0

  • Update Dependencies
    • semver to 7.3.2
    • tslib to 1.11.1
    • loglevel to 1.6.8
  • Remove useNewEnum type from types
  • Add warning when value is an primitive and will result in an Mixed (fixes typegoose#152)
  • Add option language_override to IndexOptions
  • Fix spelling errors in documentation
  • [IC] Replace deprecated arrayProp options with proper ones in all tests & test-models
hasezoey
published 7.0.0-2 •

hasezoey
published 7.0.0-1 •

hasezoey
published 6.4.0 •

Changelog

Source

6.4.0

  • Update Dependencies
    • mongoose to 5.9.2
    • @types/mongoose to 5.7.1
    • semver to 7.1.3
    • loglevel to 1.6.7
    • tslib to 1.11.0
  • Completely remove __uniqueID, because it was not used internally anymore
hasezoey
published 6.3.2 •

Changelog

Source

6.3.2

  • Indexes: clone array instead of re-using it (fixes typegoose#194)
hasezoey
published 6.3.1 •

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