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

@travetto/schema

Package Overview
Dependencies
Maintainers
1
Versions
329
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 3.1.1 to 3.1.2

4

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

@@ -33,3 +33,3 @@ "keywords": [

"peerDependencies": {
"@travetto/transformer": "^3.1.0"
"@travetto/transformer": "^3.1.2"
},

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

@@ -139,2 +139,10 @@ import { Class, AppError, ObjectUtil, ClassInstance, ConcreteClass } from '@travetto/base';

/**
* Return all subtypes by discriminator for a given class
* @param cls The base class to resolve from
*/
getSubTypesForClass(cls: Class): Map<string, Class> | undefined {
return this.#subTypes.get(cls);
}
/**
* Register sub types for a class

@@ -141,0 +149,0 @@ * @param cls The class to register against

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