Skip to content

Releases: medikoo/ncjsm

4.3.2 (2023-01-13)

13 Jan 12:32
2b347ff

Choose a tag to compare

Bug Fixes

  • requireUncached: Fix modules cache recovery on global reset (c90dae4)

Comparison since last release

4.3.1 (2022-07-09)

09 Jul 09:13
8983518

Choose a tag to compare

Bug Fixes

Maintenance Improvements


Comparison since last release

4.3.0 (2022-01-24)

24 Jan 15:40
b45070e

Choose a tag to compare

Features

  • Support async callback in requireUncached (91fdb82)

Comparison since last release

4.2.0 (2021-04-30)

30 Apr 10:26
e27344b

Choose a tag to compare

Features

  • Require Uncached: Support clearing all require cache for callback (75c2229)

Comparison since last release

4.1.0 (2020-07-22)

30 Apr 10:26
1bf0ba0

Choose a tag to compare

Features

  • ignoreExternal option for getDependencies (158075b)

Comparison since last release

4.0.1 (2019-10-25)

25 Oct 09:00
7cbed62

Choose a tag to compare

Bug Fixes

  • Fix main module resolution in case pkg.main leads to broken path (331dd1c)

Tests


Comparison since last release

4.0.0 (2019-10-08)

25 Oct 09:00
267326e

Choose a tag to compare

Bug Fixes

  • Fix requireUncached moduleIds validation (eb2e026)

Features

  • By default crash resolve with MODULE_NOT_FOUND if module not found (0e446c4)

BREAKING CHANGES

  • resolve and resolve/sync now by default crash with MODULE_NOT_FOUND error, if module is not found. Old behavior was that null was returned.
    To maintain old behavior { silent: true } option needs to be passed

Comparison since last release

3.0.0 (2019-09-02)

02 Sep 11:55
4a028ff

Choose a tag to compare

Features

  • Change resolve return value format (747493e)
  • Expose realPath on resolve return object (5ad6b23)

Tests

  • Configure directory links tests (988c92a)
  • Cover symlink cases in resolve tests (c97d4a0)
  • Fix symlink type (a371ed0)
  • Improve naming (81785d6)
  • Improve var name (523498a)
  • Improve var naming (e48b5f0)
  • Maintain support for Node.js v6 (3341664)
  • Make symlink tests portable to windows (0b57b2a)
  • Refactor to async/await (6f20188)
  • Rename util (55a6d6f)
  • Skip symlink tests if not capable to create them (53cc946)

BREAKING CHANGES

  • 'resolve', and 'resolve/sync' utils now resolve with objects that
    expose path on targetPath property
    (so far path was returned directly)

Comparison since last release

2.3.0 (2019-04-30)

02 Sep 11:55
5879304

Choose a tag to compare

Features

  • improve validation in isModuleNotFoundError (8b2e641)

Comparison since last release

2.2.0 (2019-04-30)

02 Sep 11:55
7df3d86

Choose a tag to compare

Bug Fixes

  • Fix isModuleNotFound crash in Node.js v12 (c9b9cc8)

Features

  • Bring ES3 support to isModuleNotFoundError (e6d0132)

Comparison since last release