Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem parsing names with / in them #169

Open
th3r0b0t opened this issue Feb 19, 2025 · 0 comments
Open

Problem parsing names with / in them #169

th3r0b0t opened this issue Feb 19, 2025 · 0 comments

Comments

@th3r0b0t
Copy link

th3r0b0t commented Feb 19, 2025

Hello,
This is a package.json file:

...
"imports": {
        "#engine": "./engines/export.mjs",
        "#engine/especials": "",
        "#controller": "./controllers/export.mjs",
        "#controller/especials": ""
    }

and these are my filters:

$ node jsontool.cjs 'imports.["#engine"]'  -f package.json #works
$ node jsontool.cjs 'imports.["#engine/especials"]'  -f package.json #doesn't work
$ node jsontool.cjs 'imports.#engine//especials'  -f package.json #no luck
$ node jsontool.cjs 'imports."#engine/especials"'  -f package.json #nope
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant