@ne1410s/codl
Advanced tools
Comparing version 0.1.101 to 0.1.102
@@ -630,3 +630,3 @@ 'use strict'; | ||
ReflectValidation.validate = function (target, type) { | ||
var proto = (type === null || type === void 0 ? void 0 : type.prototype) || Object.getPrototypeOf(target || {}); | ||
var proto = (type === null || type === undefined ? undefined : type.prototype) || Object.getPrototypeOf(target || {}); | ||
if (!proto) | ||
@@ -679,3 +679,3 @@ throw new TypeError('No type data could be found'); | ||
ReflectValidation.getTestInstructions = function (allChecks, proto, trg, pfx) { | ||
if (pfx === void 0) { pfx = ''; } | ||
if (pfx === undefined) { pfx = ''; } | ||
var fnScorer = function (ins) { | ||
@@ -682,0 +682,0 @@ return ins.fn === RequiredValidator |
@@ -628,3 +628,3 @@ import 'reflect-metadata'; | ||
ReflectValidation.validate = function (target, type) { | ||
var proto = (type === null || type === void 0 ? void 0 : type.prototype) || Object.getPrototypeOf(target || {}); | ||
var proto = (type === null || type === undefined ? undefined : type.prototype) || Object.getPrototypeOf(target || {}); | ||
if (!proto) | ||
@@ -677,3 +677,3 @@ throw new TypeError('No type data could be found'); | ||
ReflectValidation.getTestInstructions = function (allChecks, proto, trg, pfx) { | ||
if (pfx === void 0) { pfx = ''; } | ||
if (pfx === undefined) { pfx = ''; } | ||
var fnScorer = function (ins) { | ||
@@ -680,0 +680,0 @@ return ins.fn === RequiredValidator |
@@ -632,3 +632,3 @@ (function (global, factory) { | ||
ReflectValidation.validate = function (target, type) { | ||
var proto = (type === null || type === void 0 ? void 0 : type.prototype) || Object.getPrototypeOf(target || {}); | ||
var proto = (type === null || type === undefined ? undefined : type.prototype) || Object.getPrototypeOf(target || {}); | ||
if (!proto) | ||
@@ -681,3 +681,3 @@ throw new TypeError('No type data could be found'); | ||
ReflectValidation.getTestInstructions = function (allChecks, proto, trg, pfx) { | ||
if (pfx === void 0) { pfx = ''; } | ||
if (pfx === undefined) { pfx = ''; } | ||
var fnScorer = function (ins) { | ||
@@ -684,0 +684,0 @@ return ins.fn === RequiredValidator |
{ | ||
"name": "@ne1410s/codl", | ||
"version": "0.1.101", | ||
"version": "0.1.102", | ||
"description": "Indulge your apps with codl: a component model library", | ||
@@ -44,3 +44,3 @@ "main": "dist/ne14_codl.cjs.min.js", | ||
"rimraf": "^5.0.10", | ||
"rollup": "^4.29.2", | ||
"rollup": "^4.30.0", | ||
"rollup-plugin-typescript2": "^0.36.0", | ||
@@ -47,0 +47,0 @@ "tslib": "^2.8.1", |
118200