Permalink
Commits on Sep 1, 2017
  1. [Tests] up to `v8.4`; node 0.6 is failing due to travis-ci changes; a…

    ljharb committed Sep 1, 2017
    …llow it to fail for now.
  2. [Docs] update repo URL

    ljharb committed Sep 1, 2017
Commits on Jul 26, 2017
  1. v1.4.0

    ljharb committed Jul 26, 2017
     - [New]: add `preserveSymlinks` option (#130)
     - [Fix] `sync`: fix when package.json main = ‘.’ or main = ‘./‘ (#125)
     - [Dev Deps] update `eslint`, `@ljharb/eslint-config`, `tape`
     - [Tests] up to `node` `v8.2`, `v7.10`, `v6.11`; npm 4.6+ breaks on node < 4
     - [Tests] fix 0.6 and linting
  2. [Tests] fix 0.6 and linting

    ljharb committed Jul 26, 2017
  3. Only apps should have lockfiles

    ljharb committed Jul 26, 2017
Commits on Jul 25, 2017
  1. [New]: add `preserveSymlinks` option

    zkochan committed with ljharb Jul 25, 2017
    Add the possibility to make `resolve` use real paths during resolution.
    
    Fixes #130.
Commits on Apr 20, 2017
  1. [Fix] `sync`: fix when package.json main = ‘.’ or main = ‘./‘

    stefanpenner committed with ljharb Apr 20, 2017
    Fixes #125.
  2. v1.3.3

    ljharb committed Apr 20, 2017
     - [Fix] `sync`: ensure that the path is a string, explicitly
     - [Fix] correctly resolve dir paths when file with the same name exists (#124)
     - [Fix] error code MODULE_NOT_FOUND instead of ENOTDIR (#121)
     - [Dev Deps] update `eslint`
     - [Tests] improve failure scenarios
     - [Tests] [eslint] add `npm run lint`
     - [Tests] up to `node` `v7.9`, `v6.10`, `v4.8`; comment out OSX builds
     - [Tests] node 0.6 can’t support an npm that understands scoped packages
  3. [Tests] up to `node` `v7.9`

    ljharb committed Apr 20, 2017
Commits on Apr 19, 2017
  1. [Dev Deps] update `eslint`

    ljharb committed Apr 5, 2017
  2. [Fix] correctly resolve dir paths when file with the same name exists

    kamilogorek committed Apr 19, 2017
Commits on Mar 13, 2017
  1. [Tests] node 0.6 can’t support an npm that understands scoped packages

    ljharb committed Mar 13, 2017
    - work around this by installing deps in 0.8 instead.
  2. [Tests] up to `node` `v7.7`, `v6.10`, `v4.8`; comment out OSX builds …

    ljharb committed Mar 13, 2017
    …since they block linux builds.
Commits on Mar 12, 2017
  1. [Fix] `sync`: ensure that the path is a string, explicitly.

    ljharb committed Mar 12, 2017
    Also, make the sync/async error messages here the same, and ensure it works in node 0.6 (which doesn’t throw on non-strings in `path.join`)
Commits on Feb 27, 2017
Commits on Feb 26, 2017
  1. v1.3.2

    ljharb committed Feb 26, 2017
     - [Fix] for browserify compat, do not assume `process.versions.node` exists (#120)
  2. Merge tag 'v1.2.1'

    ljharb committed Feb 26, 2017
  3. Fix prepublish script.

    ljharb committed Feb 26, 2017
  4. v1.2.1

    ljharb committed Feb 26, 2017
     - [Fix] for browserify compat, do not assume `process.versions.node` exists (#120)
Commits on Feb 24, 2017
  1. v1.3.1

    ljharb committed Feb 24, 2017
     - Revert "[New] add searched extensions to error messages" (#114, #119)
  2. Revert "[New] add searched extensions to error messages"

    ljharb committed Feb 24, 2017
    This reverts commit 1260d9d.
  3. 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
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 Apr 28, 2015
  1. [Fix] `resolve.sync` should re-throw non `ENOENT errors.

    stefanpenner committed with ljharb Apr 28, 2015
    Fixes #79.