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

[New] include filename in error message #162

Merged
merged 3 commits into from
Jun 15, 2018
Merged

Conversation

tcchau
Copy link
Contributor

@tcchau tcchau commented May 23, 2018

Incorporates changes submitted by @jmm to fix Issue #60, resolves test errors. Was originally PR #64.

Fixes #60. Closes #64. Replaces #161.

@ljharb ljharb self-requested a review June 15, 2018 06:28
@ljharb ljharb force-pushed the master branch 4 times, most recently from c571196 to 57b5bec Compare June 15, 2018 07:00
@ljharb ljharb merged commit f721079 into browserify:master Jun 15, 2018
ljharb added a commit that referenced this pull request Jun 15, 2018
[New] include filename in error message
ljharb added a commit that referenced this pull request Jun 15, 2018
 - [New] include filename in error message (#162)
 - [New] core: add `trace_events`, `v8/tools/arguments`
 - [New] add fs/promises to the list of core modules
 - [Fix] core: `_tls_legacy` is removed in node 10
 - [Tests] up to `node` `v10.1`, `v9.11`, `v8.11`, `v6.14`, `4.9`
ljharb added a commit that referenced this pull request Jun 15, 2018
v1.8.0

 - [New] include filename in error message (#162)
 - [New] core: add `trace_events`, `v8/tools/arguments`
 - [New] add fs/promises to the list of core modules
 - [Fix] core: `_tls_legacy` is removed in node 10
 - [Tests] up to `node` `v10.1`, `v9.11`, `v8.11`, `v6.14`, `4.9`
@ljharb
Copy link
Member

ljharb commented Jun 15, 2018

Released in v1.8.0

goto-bus-stop added a commit that referenced this pull request Jun 17, 2018
PR #162 introduced a `parent` variable that contains either the full
filename of the requiring module or the `basedir`. Some of the places
where `basedir` was used were updated to use `parent` instead, but
that's not correct; the `path.resolve()` calls would receive the full
filename instead of the directory name.

This patch reverts the improper `parent` uses to `basedir`.
ljharb pushed a commit that referenced this pull request Jun 17, 2018
PR #162 introduced a `parent` variable that contains either the full
filename of the requiring module or the `basedir`. Some of the places
where `basedir` was used were updated to use `parent` instead, but
that's not correct; the `path.resolve()` calls would receive the full
filename instead of the directory name.

This patch reverts the improper `parent` uses to `basedir`.
ljharb added a commit that referenced this pull request Jun 17, 2018
 - [Fix] resolution when `filename` option is passed (#167, #162)
 - [Docs] clean up readme code
 - [Tests] improve output of symlink tests that fail on Mac
 - [Tests] up to `node` `v10.4`
ljharb added a commit that referenced this pull request Jun 17, 2018
v1.8.1

 - [Fix] resolution when `filename` option is passed (#167, #162)
 - [Docs] clean up readme code
 - [Tests] improve output of symlink tests that fail on Mac
 - [Tests] up to `node` `v10.4`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

"Error: Cannot find module" output should include filename
3 participants