Spaces:
Running
Running
Download node_modules/next/dist/server/normalizers/prefixing-normalizer.js from cafe3310/ling-open-studio: direct link, hf CLI and curl.
- Browser
- Download file 712 Bytes
-
https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/normalizers/prefixing-normalizer.js
- Command line
-
hf download hf://spaces/cafe3310/ling-open-studio/node_modules/next/dist/server/normalizers/prefixing-normalizer.js
-
curl -L -o prefixing-normalizer.js https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/normalizers/prefixing-normalizer.js
712 Bytes
| ; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| Object.defineProperty(exports, "PrefixingNormalizer", { | |
| enumerable: true, | |
| get: function() { | |
| return PrefixingNormalizer; | |
| } | |
| }); | |
| const _path = /*#__PURE__*/ _interop_require_default(require("../../shared/lib/isomorphic/path")); | |
| function _interop_require_default(obj) { | |
| return obj && obj.__esModule ? obj : { | |
| default: obj | |
| }; | |
| } | |
| class PrefixingNormalizer { | |
| constructor(...prefixes){ | |
| this.prefix = _path.default.posix.join(...prefixes); | |
| } | |
| normalize(pathname) { | |
| return _path.default.posix.join(this.prefix, pathname); | |
| } | |
| } | |
| //# sourceMappingURL=prefixing-normalizer.js.map |