Spaces:
Sleeping
Sleeping
pythonic-rag-FastAPIReact / frontend /node_modules /@babel /eslint-parser /lib /convert /convertComments.cjs
Download frontend/node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs from sepidnes/pythonic-rag-FastAPIReact: direct link, hf CLI and curl.
- Browser
- Download file 298 Bytes
-
https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/%40babel/eslint-parser/lib/convert/convertComments.cjs
- Command line
-
hf download hf://spaces/sepidnes/pythonic-rag-FastAPIReact@56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/@babel/eslint-parser/lib/convert/convertComments.cjs
-
curl -L -o convertComments.cjs https://huggingface.co/spaces/sepidnes/pythonic-rag-FastAPIReact/resolve/56fda741e84da791ee2e6198479f1d5630989f6c/frontend/node_modules/%40babel/eslint-parser/lib/convert/convertComments.cjs
298 Bytes
| ; | |
| module.exports = function convertComments(comments) { | |
| for (const comment of comments) { | |
| comment.type = comment.type === "CommentBlock" ? "Block" : "Line"; | |
| comment.range || (comment.range = [comment.start, comment.end]); | |
| } | |
| }; | |
| //# sourceMappingURL=convertComments.cjs.map | |