@tsed/core 6.69.3 → 6.70.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 CHANGED
@@ -1,5 +1,4 @@
1
1
  require('reflect-metadata');
2
- var path = require('path');
3
2
 
4
3
  function catchError(cb) {
5
4
  try {
@@ -950,21 +949,6 @@ function toMap(input, keyOrFn) {
950
949
  }, new Map());
951
950
  }
952
951
 
953
- const fixPath = require("normalize-path");
954
-
955
- function normalizePath(item, ...paths) {
956
- if (isString(item)) {
957
- const path$1 = path.join(item, ...paths);
958
- return fixPath(path$1);
959
- }
960
-
961
- if (isArray(item)) {
962
- return item.map(item => normalizePath(item));
963
- }
964
-
965
- return item;
966
- }
967
-
968
952
  class Entity {
969
953
  constructor({
970
954
  target,
@@ -2352,7 +2336,6 @@ exports.methodsOf = methodsOf;
2352
2336
  exports.nameOf = nameOf;
2353
2337
  exports.nameOfClass = nameOfClass;
2354
2338
  exports.nameOfSymbol = nameOfSymbol;
2355
- exports.normalizePath = normalizePath;
2356
2339
  exports.objectKeys = objectKeys;
2357
2340
  exports.primitiveOf = primitiveOf;
2358
2341
  exports.prototypeOf = prototypeOf;