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

@travetto/schema

Package Overview
Dependencies
Maintainers
1
Versions
323
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 4.0.2 to 4.0.3

6

package.json
{
"name": "@travetto/schema",
"version": "4.0.2",
"version": "4.0.3",
"description": "Data type registry for runtime validation, reflection and binding.",

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

"dependencies": {
"@travetto/registry": "^4.0.2"
"@travetto/registry": "^4.0.3"
},
"peerDependencies": {
"@travetto/transformer": "^4.0.1"
"@travetto/transformer": "^4.0.2"
},

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

@@ -109,3 +109,3 @@ import { RuntimeIndex } from '@travetto/manifest';

resolveInstanceType<T>(cls: Class<T>, o: T): Class {
cls = SchemaRegistry.get(cls.Ⲑid).class; // Resolve by id to handle any stale references
cls = this.get(cls.Ⲑid).class; // Resolve by id to handle any stale references

@@ -112,0 +112,0 @@ const base = this.getBaseSchema(cls);

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