Permalink
Commits on Feb 24, 2017
  1. Revert "[New] add searched extensions to error messages"

    ljharb committed Feb 24, 2017
    This reverts commit 1260d9d.
  2. v1.3.0

    ljharb committed Feb 24, 2017
     - [New] add searched extensions to error messages
     - [New] Add err.code = 'MODULE_NOT_FOUND' (#81)
     - [Fix] `node-modules-paths`: `opts` should be optional, and `opts.paths` should not be concatenated when omitted (#96)
     - [Refactor] `async`: remove unnecessary slashes, since `path.join` adds them.
     - [Refactor] consistent spacing and quotes; run some basic linting manually.
     - [Tests] add `appveyor` (#113)
     - [Tests] [Refactor] refactor `node-modules-paths` and add tests.
     - [Tests] ensure node_path test is independent of the `tap` module’s “main”
     - [Tests] fix indentation, manual linting.
     - [Tests] use `path` methods to make tests pass on both linux and Windows.
     - [Tests] use `path.join` more often to normalize paths across OS’s
     - [Tests] make matrix more efficient
Commits on Dec 13, 2016
  1. v1.2.0

    ljharb committed Dec 13, 2016
     - [New] add missing core modules, and determine them dynamically by node version
     - [Fix] `resolve.sync` should re-throw non `ENOENT errors (#79)
     - [Fix] Create error outside process.nextTick (#103)
     - [Dev Deps] update `tape`; add `safe-publish-latest`
     - [Tests] test on every minor version of node
  2. readme: update API docs link for require.resolve()

    paulirish committed Apr 26, 2016
  3. [New] add missing core modules, and determine them dynamically by nod…

    ljharb committed Dec 13, 2016
    …e version.
    
    
    Closes #100. Closes #110. Closes #111. Fixes #112.
  4. [Tests] test on every minor version of node.

    ljharb committed Dec 13, 2016
    Closes #109. Closes #75. Closes #74. Closes #70.
  5. gitignore node_modules

    ljharb committed Dec 13, 2016
  6. [Dev Deps] update `tape`

    ljharb committed Dec 13, 2016
Commits on Jun 21, 2016
  1. [Fix] Create error outside process.nextTick

    thejameskyle committed with ljharb Jun 21, 2016
    This creates much more relevant stack traces for user input errors
Commits on May 19, 2016
  1. code style: tabs → spaces

    gasp committed with ljharb May 19, 2016
Commits on Jan 24, 2016
  1. 1.1.7

    substack committed Jan 24, 2016
Commits on Jan 23, 2016
  1. Fix node_modules paths on Windows

    goshakkk committed Jan 23, 2016
    This change moves 'prefix' test to happen after the absolute path is
    resolved. Without it, the prefix tests never actually fire when starting
    with a relative path, and the resulting dirs all end up looking like
    [ '/C:..', '/C:...' ] instead of [ 'C:...', 'C:...' ]
Commits on Aug 6, 2015
  1. Merge pull request #83 from jameswomack/comment_typo

    substack committed Aug 6, 2015
    (typo) Change againt to against
Commits on Apr 28, 2015
  1. [Fix] `resolve.sync` should re-throw non `ENOENT errors.

    stefanpenner committed with ljharb Apr 28, 2015
    Fixes #79.
Commits on Mar 15, 2015
  1. 1.1.6

    substack committed Mar 15, 2015
Commits on Mar 11, 2015
  1. Use path.dirname to walk up looking for a package.json

    matthewp committed Mar 11, 2015
    This Fixes async resolution when looking for a package.json file.
    Previously a regex was being used that was not allowing the recursive
    behavior the code is attempting. Replacing with path.dirname fixes the
    issue.
    
    Fixes #76
Commits on Feb 21, 2015
  1. 1.1.5

    substack committed Feb 21, 2015
  2. fix for the failing case

    substack committed Feb 21, 2015
Commits on Feb 20, 2015
  1. 1.1.4

    substack committed Feb 20, 2015
Commits on Feb 19, 2015
  1. flatter nodeModules function

    substack committed Feb 19, 2015
Commits on Feb 17, 2015
  1. nearly nearly working

    substack committed Feb 17, 2015
  2. passes pathfilter test

    substack committed Feb 17, 2015