Skip to content

Releases: inxilpro/node-app-root-path

3.1.0

02 Aug 14:59
506c98d
Compare
Choose a tag to compare

Added

Fixed

  • Add fallback for when imported as ESM (in which case require.main is unavailable) by @Pouja in #53

New Contributors

Full Changelog: v2.1.0...3.1.0

3.0.0

28 Oct 13:26
9e8c297
Compare
Choose a tag to compare

Improved Plug'n'Play and Webpack support.

2.2.1

25 Mar 16:54
Compare
Choose a tag to compare

Fixes issues with loading via webpack

2.2.0

22 Mar 08:54
Compare
Choose a tag to compare
  • Added support for Yarn Plug'n'Play
  • Adjusted browser-shim to address webpack warnings
  • Bumped minimum Node version to 6

v2.0.0

07 Sep 20:33
Compare
Choose a tag to compare

<a name"2.0.0">

2.0.0 (2016-09-07)

Features

  • Improved browser shim (6098bfd0)
  • Merge branch 'feature/browserify' into development (2b74dbd9)
  • Initial browserify shim (1722561c)

Breaking Changes

  • The provided require() method no longer supports passing require into it (not

commonly used, deprecated for a while)

(dc3eaa5a)

1.2.1

17 Jun 19:31
Compare
Choose a tag to compare

Changes:

  • Special logic to resolve correctly when in an electron renderer process
  • Special logic to handle an edge case when used in a globally-installed CLI project
  • Fixed a bug where setPath() did not update require('app-root-path').path
  • Moved some logic outside of the resolve() function so that it's not called multiple times

1.0.0

07 Nov 16:14
Compare
Choose a tag to compare

Locked API

0.1.1

29 Oct 18:46
Compare
Choose a tag to compare

Version 0.1.1 adds cross-browser path support (now supporting both C:\Users\JohnSmith\WebDev\ and /var/www/ — as well as anything else that node supports in its path module).

0.1.0

25 Aug 21:07
Compare
Choose a tag to compare
Merge branch 'release/0.1.0'

v0.0.1

07 Aug 20:40
Compare
Choose a tag to compare

Initial release