@travetto/schema
Advanced tools
Comparing version 3.4.4 to 4.0.0-rc.0
@@ -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: {}, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
92907
1
+ Added@travetto/base@4.1.2(transitive)
+ Added@travetto/manifest@4.1.0(transitive)
+ Added@travetto/registry@4.1.2(transitive)
+ Added@travetto/transformer@4.1.2(transitive)
+ Added@types/debug@4.1.12(transitive)
+ Added@types/ms@0.7.34(transitive)
+ Addeddebug@4.4.0(transitive)
+ Addedms@2.1.3(transitive)
- Removed@travetto/base@3.4.2(transitive)
- Removed@travetto/manifest@3.4.0(transitive)
- Removed@travetto/registry@3.4.2(transitive)
- Removed@travetto/transformer@3.4.3(transitive)
- Removed@types/source-map-support@0.5.10(transitive)
- Removedbuffer-from@1.1.2(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedsource-map-support@0.5.21(transitive)