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.

path 'eslint/lib/util/glob-util' should be available until next major version

See original GitHub issue

The version of ESLint you are using. v5.3.0

The problem you want to solve. The path eslint/lib/util/glob-util has been changed to eslint/lib/util/glob-utils with v5.3.0. This change can be considered a breaking change. Hence it should only be introduced with a new major version.

Your take on the correct solution to problem. Revert the renaming and hold it back until v6.0.0 gets released

Are you willing to submit a pull request to implement this change? Yes

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:17 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
platinumazurecommented, Dec 26, 2018

@rfermann I found issue #11005; that issue was originally a feature request for a new CLI flag that exposes the glob utility method. The team consensus, as far as I can tell, seems to be that we don’t want to add a CLI option but we might be willing to expose it in CLIEngine. I believe exposing in CLIEngine would satisfy your use case as well.

To avoid confusion from the previous discussion in that issue, I would like to discuss further in a new issue. I’ll create a new issue with a concrete API proposal later today and I’ll link it here. If you think it will satisfy your use case, then you may wish to close this issue. Thanks for your patience as we try to figure out the best and most maintainable solution here!

1reaction
not-an-aardvarkcommented, Dec 23, 2018

Fair enough. I still think we’ve clearly expressed the limits of our public API in our documentation, and our internal utility modules are not public. It’s unfortunate that the design of require allows access to package internals in cases like this (if there was a good way to make a package’s internal modules private, I’d be in favor of using it), but that doesn’t change the fact that this is a private API that shouldn’t be relied upon, and isn’t covered by semver.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Find and version bump outdated packages in Flutter (across ...
With the latest beta versions of Flutter (v1.17) there is now a pub command to check for, and update, outdated dependencies.
Read more >
Find the Path to Go Module Major Versions With GoCenter
GoCenter can help you know, for any Go modules version, whether there are any other major versions available, and inform you of any ......
Read more >
7 Understanding Maven Version Numbers - Oracle Help Center
3. The version number scheme used by Oracle-provided artifacts ensures correct sorting of version numbers, for example, Maven will resolve the following ......
Read more >
Hold package until upgrade to next major version - Ask Ubuntu
Now my question: Some time in the near future, the developers will issue version 3.5.2 or even 3.6 of thisprogram . Is there...
Read more >
go.mod file reference - The Go Programming Language
For module versions v2 and later, this value must end with the major version ... Even if you're not at first intending to...
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