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 3.4.4 to 4.0.0-rc.0

src/global.d.ts

2

__index__.ts

@@ -1,2 +0,2 @@

/// <reference path="./src/typings.d.ts" />
/// <reference path="./src/global.d.ts" />

@@ -3,0 +3,0 @@ export * from './src/decorator/field';

{
"name": "@travetto/schema",
"version": "3.4.4",
"version": "4.0.0-rc.0",
"description": "Data type registry for runtime validation, reflection and binding.",

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

"dependencies": {
"@travetto/registry": "^3.4.2"
"@travetto/registry": "^4.0.0-rc.0"
},
"peerDependencies": {
"@travetto/transformer": "^3.4.2"
"@travetto/transformer": "^4.0.0-rc.0"
},

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

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

/**
* @concrete .:PointImpl
* @concrete #PointImpl
*/

@@ -320,0 +320,0 @@ export type Point = [number, number];

@@ -1,2 +0,2 @@

import { RootIndex } from '@travetto/manifest';
import { RuntimeIndex } from '@travetto/manifest';
import { ClassConfig } from './service/types';

@@ -22,3 +22,3 @@

const id = schema.class.Ⲑid;
if (RootIndex.getFunctionMetadataFromClass(schema.class)?.synthetic && SYN_RE.test(schema.class.name)) {
if (RuntimeIndex.getFunctionMetadataFromClass(schema.class)?.synthetic && SYN_RE.test(schema.class.name)) {
if (!this.#schemaIdToName.has(id)) {

@@ -25,0 +25,0 @@ const name = schema.class.name.replace(SYN_RE, (_, pref, uid) => `__${(+uid % this.#base).toString().padStart(this.#digits, '0')}`);

@@ -1,2 +0,2 @@

import { EventEmitter } from 'events';
import { EventEmitter } from 'node:events';

@@ -3,0 +3,0 @@ import { Class } from '@travetto/base';

@@ -1,2 +0,2 @@

import { RootIndex } from '@travetto/manifest';
import { RuntimeIndex } from '@travetto/manifest';
import { Class, AppError } from '@travetto/base';

@@ -189,3 +189,3 @@ import { MetadataRegistry, RootRegistry, ChangeEvent } from '@travetto/registry';

subTypeField: 'type',
baseType: RootIndex.getFunctionMetadata(cls)?.abstract,
baseType: RuntimeIndex.getFunctionMetadata(cls)?.abstract,
metadata: {},

@@ -192,0 +192,0 @@ methods: {},

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