Socket
Book a DemoInstallSign in
Socket

@travetto/schema

Package Overview
Dependencies
Maintainers
1
Versions
331
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@travetto/schema - npm Package Compare versions

Comparing version

to
6.0.0

6

package.json
{
"name": "@travetto/schema",
"version": "6.0.0-rc.2",
"version": "6.0.0",
"description": "Data type registry for runtime validation, reflection and binding.",

@@ -30,6 +30,6 @@ "keywords": [

"dependencies": {
"@travetto/registry": "^6.0.0-rc.2"
"@travetto/registry": "^6.0.0"
},
"peerDependencies": {
"@travetto/transformer": "^6.0.0-rc.3"
"@travetto/transformer": "^6.0.0"
},

@@ -36,0 +36,0 @@ "peerDependenciesMeta": {

@@ -28,2 +28,3 @@ <!-- This file was generated by @travetto/doc and should not be modified directly -->

* `examples` - A set of examples as [JSON](https://www.json.org) or [YAML](https://en.wikipedia.org/wiki/YAML)
The `title` will be picked up from the [JSDoc](http://usejsdoc.org/about-getting-started.html) comments, and additionally all fields can be set using the [@Describe](https://github.com/travetto/travetto/tree/main/module/schema/src/decorator/common.ts#L15) decorator.

@@ -89,2 +90,3 @@

* [@SubTypeField](https://github.com/travetto/travetto/tree/main/module/schema/src/decorator/field.ts#L204) allows for promoting a given field as the owner of the sub type discriminator (defaults to `type`).
Additionally, schemas can be nested to form more complex data structures that are able to bound and validated.

@@ -95,2 +97,3 @@

* `examples` - A set of examples as [JSON](https://www.json.org) or [YAML](https://en.wikipedia.org/wiki/YAML)
And similarly, the `description` will be picked up from the [JSDoc](http://usejsdoc.org/about-getting-started.html) comments, and additionally all fields can be set using the [@Describe](https://github.com/travetto/travetto/tree/main/module/schema/src/decorator/common.ts#L15) decorator.

@@ -97,0 +100,0 @@

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.