Spaces:
Running
Running
Download node_modules/next/dist/server/web/error.js from cafe3310/ling-open-studio: direct link, hf CLI and curl.
- Browser
- Download file 1.42 kB
-
https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/web/error.js
- Command line
-
hf download hf://spaces/cafe3310/ling-open-studio/node_modules/next/dist/server/web/error.js
-
curl -L -o error.js https://huggingface.co/spaces/cafe3310/ling-open-studio/resolve/main/node_modules/next/dist/server/web/error.js
1.42 kB
| ; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| 0 && (module.exports = { | |
| PageSignatureError: null, | |
| RemovedPageError: null, | |
| RemovedUAError: null | |
| }); | |
| function _export(target, all) { | |
| for(var name in all)Object.defineProperty(target, name, { | |
| enumerable: true, | |
| get: all[name] | |
| }); | |
| } | |
| _export(exports, { | |
| PageSignatureError: function() { | |
| return PageSignatureError; | |
| }, | |
| RemovedPageError: function() { | |
| return RemovedPageError; | |
| }, | |
| RemovedUAError: function() { | |
| return RemovedUAError; | |
| } | |
| }); | |
| class PageSignatureError extends Error { | |
| constructor({ page }){ | |
| super(`The middleware "${page}" accepts an async API directly with the form: | |
| export function middleware(request, event) { | |
| return NextResponse.redirect('/new-location') | |
| } | |
| Read more: https://nextjs.org/docs/messages/middleware-new-signature | |
| `); | |
| } | |
| } | |
| class RemovedPageError extends Error { | |
| constructor(){ | |
| super(`The request.page has been deprecated in favour of \`URLPattern\`. | |
| Read more: https://nextjs.org/docs/messages/middleware-request-page | |
| `); | |
| } | |
| } | |
| class RemovedUAError extends Error { | |
| constructor(){ | |
| super(`The request.ua has been removed in favour of \`userAgent\` function. | |
| Read more: https://nextjs.org/docs/messages/middleware-parse-user-agent | |
| `); | |
| } | |
| } | |
| //# sourceMappingURL=error.js.map |