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

refactor: remove resolve dependency #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elliotttf
Copy link

This replaces the dependency on resolve with node's native require.resolve method which supports custom paths as of node 8.9.0.

This will address false positive findings related to resolve's monorepo-symlink-test file.

This replaces the dependency on resolve with node's native
require.resolve method which supports custom paths as of
[node 8.9.0](https://nodejs.org/dist/latest-v8.x/docs/api/modules.html#modules_require_resolve_request_options)
elliotttf added a commit to elliotttf/knex that referenced this pull request Jun 21, 2024
This replaces the dependency on resolve-from with node's native
`require.resolve` method.

If this and gulpjs/rechoir#47 are merged, a false positive related to
[resolve's `monorepo-symlink-test`](browserify/resolve#312)
file will be resolved.
@jozefizso

This comment has been minimized.

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

Successfully merging this pull request may close these issues.

2 participants