Spaces:
Sleeping
Sleeping
Download frontend/node_modules/@babel/eslint-parser/lib/convert/index.cjs from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 699 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/%40babel/eslint-parser/lib/convert/index.cjs
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/@babel/eslint-parser/lib/convert/index.cjs
-
curl -L -o index.cjs https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/%40babel/eslint-parser/lib/convert/index.cjs
699 Bytes
| ; | |
| Object.defineProperty(exports, "__esModule", { | |
| value: true | |
| }); | |
| exports.convertError = convertError; | |
| exports.convertFile = convertFile; | |
| const convertTokens = require("./convertTokens.cjs"); | |
| const convertComments = require("./convertComments.cjs"); | |
| const convertAST = require("./convertAST.cjs"); | |
| function convertFile(ast, code, tokLabels, visitorKeys) { | |
| ast.tokens = convertTokens(ast.tokens, code, tokLabels); | |
| convertComments(ast.comments); | |
| convertAST(ast, visitorKeys); | |
| return ast; | |
| } | |
| function convertError(err) { | |
| if (err instanceof SyntaxError) { | |
| err.lineNumber = err.loc.line; | |
| err.column = err.loc.column; | |
| } | |
| return err; | |
| } | |
| //# sourceMappingURL=index.cjs.map | |