PHP 7.4.33
Preview: normalizePathSeparatorsToSystem.js Size: 1.27 KB
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/metro-file-map/src/lib/normalizePathSeparatorsToSystem.js
"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true,
});
exports.default = void 0;
var path = _interopRequireWildcard(require("path"));
function _getRequireWildcardCache(e) {
  if ("function" != typeof WeakMap) return null;
  var r = new WeakMap(),
    t = new WeakMap();
  return (_getRequireWildcardCache = function (e) {
    return e ? t : r;
  })(e);
}
function _interopRequireWildcard(e, r) {
  if (!r && e && e.__esModule) return e;
  if (null === e || ("object" != typeof e && "function" != typeof e))
    return { default: e };
  var t = _getRequireWildcardCache(r);
  if (t && t.has(e)) return t.get(e);
  var n = { __proto__: null },
    a = Object.defineProperty && Object.getOwnPropertyDescriptor;
  for (var u in e)
    if ("default" !== u && {}.hasOwnProperty.call(e, u)) {
      var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;
      i && (i.get || i.set) ? Object.defineProperty(n, u, i) : (n[u] = e[u]);
    }
  return (n.default = e), t && t.set(e, n), n;
}
let normalizePathSeparatorsToSystem;
if (path.sep === "/") {
  normalizePathSeparatorsToSystem = (filePath) => filePath;
} else {
  normalizePathSeparatorsToSystem = (filePath) =>
    filePath.replace(/\//g, path.sep);
}
var _default = (exports.default = normalizePathSeparatorsToSystem);

Directory Contents

Dirs: 0 × Files: 21
Name Size Perms Modified Actions
1.60 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
1.88 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
1.74 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
2.21 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
588 B lrw-r--r-- 2025-03-28 11:04:32
Edit Download
2.37 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
2.60 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
4.70 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
6.93 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
1.25 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
574 B lrw-r--r-- 2025-03-28 11:04:32
Edit Download
1.27 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
583 B lrw-r--r-- 2025-03-28 11:04:32
Edit Download
7.11 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
11.35 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
2.32 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
2.62 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
553 B lrw-r--r-- 2025-03-28 11:04:32
Edit Download
775 B lrw-r--r-- 2025-03-28 11:04:32
Edit Download
25.35 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
39.15 KB lrw-r--r-- 2025-03-28 11:04:32
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).