@tsed/core 6.69.3 → 6.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/index.js +0 -17
- package/lib/index.js.map +1 -1
- package/lib/index.modern.js +1 -17
- package/lib/index.modern.js.map +1 -1
- package/lib/utils/index.d.ts +0 -1
- package/package.json +1 -2
- package/lib/utils/path/normalizePath.d.ts +0 -2
package/lib/index.modern.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import 'reflect-metadata';
|
|
2
|
-
import { join } from 'path';
|
|
3
2
|
|
|
4
3
|
function catchError(cb) {
|
|
5
4
|
try {
|
|
@@ -951,21 +950,6 @@ function toMap(input, keyOrFn) {
|
|
|
951
950
|
}, new Map());
|
|
952
951
|
}
|
|
953
952
|
|
|
954
|
-
const fixPath = require("normalize-path");
|
|
955
|
-
|
|
956
|
-
function normalizePath(item, ...paths) {
|
|
957
|
-
if (isString(item)) {
|
|
958
|
-
const path = join(item, ...paths);
|
|
959
|
-
return fixPath(path);
|
|
960
|
-
}
|
|
961
|
-
|
|
962
|
-
if (isArray(item)) {
|
|
963
|
-
return item.map(item => normalizePath(item));
|
|
964
|
-
}
|
|
965
|
-
|
|
966
|
-
return item;
|
|
967
|
-
}
|
|
968
|
-
|
|
969
953
|
class Entity {
|
|
970
954
|
constructor({
|
|
971
955
|
target,
|
|
@@ -2276,5 +2260,5 @@ function StoreMerge(key, value) {
|
|
|
2276
2260
|
});
|
|
2277
2261
|
}
|
|
2278
2262
|
|
|
2279
|
-
export { AnyToPromise, AnyToPromiseResponseTypes, AnyToPromiseStatus, CLASS_STORE, Configurable, DecoratorTypes, Deprecated, Entity, Enumerable, Env, EnvTypes, Hooks, METHOD_STORE, Metadata, NotConfigurable, NotEnumerable, PARAM_STORE, PROPERTY_STORE, Readonly, Store, StoreFn, StoreMerge, StoreSet, Type, UnsupportedDecoratorType, Writable, ancestorsOf, catchAsyncError, catchError, classOf, cleanObject, constructorOf, decorateMethodsOf, decoratorArgs, decoratorTypeOf, deepClone, deepExtends, deepMerge, descriptorOf, getClass, getClassOrSymbol, getConstructor, getConstructorArgNames, getEnumerableKeys, getInheritedClass, getValue, inheritedDescriptorOf, isArray, isArrayOrArrayClass, isArrowFn, isBoolean, isBooleanOrBooleanClass, isClass, isClassObject, isCollection, isDate, isEmpty, isEnumerable, isFunction, isInheritedFrom, isNil, isNumber, isNumberOrNumberClass, isObject, isObservable, isPlainObject, isPrimitive, isPrimitiveClass, isPrimitiveOrPrimitiveClass, isPromise, isProtectedKey, isStream, isString, isStringOrStringClass, isSymbol, isSymbolOrSymbolClass, mergeReducerBuilder, methodsOf, nameOf, nameOfClass, nameOfSymbol,
|
|
2263
|
+
export { AnyToPromise, AnyToPromiseResponseTypes, AnyToPromiseStatus, CLASS_STORE, Configurable, DecoratorTypes, Deprecated, Entity, Enumerable, Env, EnvTypes, Hooks, METHOD_STORE, Metadata, NotConfigurable, NotEnumerable, PARAM_STORE, PROPERTY_STORE, Readonly, Store, StoreFn, StoreMerge, StoreSet, Type, UnsupportedDecoratorType, Writable, ancestorsOf, catchAsyncError, catchError, classOf, cleanObject, constructorOf, decorateMethodsOf, decoratorArgs, decoratorTypeOf, deepClone, deepExtends, deepMerge, descriptorOf, getClass, getClassOrSymbol, getConstructor, getConstructorArgNames, getEnumerableKeys, getInheritedClass, getValue, inheritedDescriptorOf, isArray, isArrayOrArrayClass, isArrowFn, isBoolean, isBooleanOrBooleanClass, isClass, isClassObject, isCollection, isDate, isEmpty, isEnumerable, isFunction, isInheritedFrom, isNil, isNumber, isNumberOrNumberClass, isObject, isObservable, isPlainObject, isPrimitive, isPrimitiveClass, isPrimitiveOrPrimitiveClass, isPromise, isProtectedKey, isStream, isString, isStringOrStringClass, isSymbol, isSymbolOrSymbolClass, mergeReducerBuilder, methodsOf, nameOf, nameOfClass, nameOfSymbol, objectKeys, primitiveOf, prototypeOf, proxyDelegation, setValue, toMap, toStringConstructor, uniq, uniqBy, useDecorators, useMethodDecorator, useMethodDecorators };
|
|
2280
2264
|
//# sourceMappingURL=index.modern.js.map
|