question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement `glob.hasMagic`

See original GitHub issue

Environment

  • OS Version: no matter
  • Node.js Version: no matter

Actual behavior

Doesn’t have hasMagic function.

Expected behavior

Has hasMagic function. With same logic from https://github.com/isaacs/node-glob#globhasmagicpattern-options. Why? Allow full migrate from node-glob to fast-glob

Steps to reproduce

not required

Code sample

not required

Thanks!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:6
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mrmlnccommented, Apr 2, 2019

Sorry, I moved this issue to the milestones 3.0.0. Right now I work on performance issues.

1reaction
mrmlnccommented, Jul 4, 2018

@evilebottnawi,

Right now, I’m working on a different functionality that allows me to reduce the File System time by 10-20%.

I will come back to this issue later (in the next week, as I think).

Read more comments on GitHub >

github_iconTop Results From Across the Web

glob.hasMagic JavaScript and Node.js code examples - Tabnine
Check if the string looks like a glob pattern by using hasMagic if (glob.hasMagic(listItem)) { ... How to use. hasMagic. function. in. glob ......
Read more >
Is it ok to use glob.has_magic? - Stack Overflow
Personally I would copy the regexp. It's not like the definition of glob patterns will ever change, forcing you to change it in...
Read more >
How to use the glob.glob.sync function in glob - Snyk
How to use the glob.glob.sync function in glob. To help you get started, we've selected a few glob examples, based on popular ways...
Read more >
glob - npm
Start using glob in your project by running `npm i glob`. There are 26772 other projects in the npm registry using glob.
Read more >
Glob - master · Thomas Ribeyron / VIsioIMB_API - PLMlab
This is a glob implementation in JavaScript. ... glob.hasMagic(pattern, [options]). Returns true if there are any special characters in the pattern, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found