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

simpl-schema

Package Overview
Dependencies
Maintainers
2
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simpl-schema - npm Package Versions

1
8

1.7.0

Diff

Changelog

Source

1.7.0

If an array item (field ending with .$) has optional: true, this now allows it to have null items without any validation error being thrown. Previously adding optional: true to an array item had no effect.

aldeed
published 1.6.2 •

Changelog

Source

1.6.2

  • Adds SimpleSchema.regEx.idOfLength for variable length IDs
  • Removes deep-extend dependency to fix undefined Buffer errors
aldeed
published 1.6.1 •

Changelog

Source

1.6.1

Omit test files from the published package

aldeed
published 1.6.0 •

Changelog

Source

1.6.0

  • Removes all lodash packages
  • Replaces extend package with deep-extend, which is smaller and is the same package used by the message-box dependency
  • Improve the performance of handling fields with blackbox: true (thanks @cwouam)
  • Add a this context for all rule functions (see README) (thanks @Neobii)
  • Add a this context for all whole-doc validator functions (see README) (thanks @bhunjadi)
aldeed
published 1.5.9 •

Changelog

Source

1.5.9

Fix issues with autoValues not being available in other autoValues

aldeed
published 1.5.8 •

Changelog

Source

1.5.8

Update dependencies to fix vulnerabilities

aldeed
published 1.5.7 •

Changelog

Source

1.5.7

Update Babel config in an attempt to fully support IE11s

aldeed
published 1.5.6 •

Changelog

Source

1.5.6

  • Update dependencies
  • Adjust the way Babel builds so that you don't need to do .default when importing in a non-Babel Node project.
aldeed
published 1.5.5 •

Changelog

Source

1.5.5

  • Fix #294 - Now auto-converting values during cleaning does not convert if the value type is any of the types in a oneOf type
aldeed
published 1.5.4 •

Changelog

Source

1.5.4

  • Add $setOnInsert to modifiers for defaultValues only when isUpsert is set to true in clean options or in extended autoValue context. It used to be ignored but newer MongoDB versions throw an error. Might fix #304
  • Fix #307 - Test for empty object when creating schema (thanks @coagmano)
  • autoValue functions sort preserves fields order on the same depth (thanks @bhunjadi)
  • getAllowedValues now returns null when allowedValues isn't set (thanks @MohammedEssehemy)
  • Update Mocha and other dependencies
  • Readme updates (thanks @ozzywalsh)
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