Skip to content

Releases: baileyherbert/utimes

v5.2.1

27 Sep 06:34
Compare
Choose a tag to compare
  • Fixed a build error due to missing assert() on some darwin machines

v5.2.0

20 Aug 10:36
Compare
Choose a tag to compare
  • Added support for Date objects as timestamp inputs
  • Added automatic fallback to fs when the native binding is not found
  • Fixed errors when importing the package in a browser environment, it will silently fail instead
  • Fixed dependencies being resolved when the package is included in a browser bundle
  • Updated @mapbox/node-pre-gyp to fix build issues

v5.1.1

17 Mar 08:46
Compare
Choose a tag to compare
  • Fixed incorrect function name in errors

v5.1.0

16 Mar 21:56
Compare
Choose a tag to compare
  • Added synchronous variants of the functions (utimesSync & lutimesSync)

v5.0.0

14 Mar 18:38
Compare
Choose a tag to compare

Package changes

  • Bumped node-addon-api to v4
  • Breaking: Errors now contain descriptive, platform-specific messages
  • Breaking: Functions no longer return promises when callbacks are supplied
  • Breaking: Now requires node>=10.0.0

Workflow changes

  • Starting with this version, prebuilt binaries will be uploaded and attached to the release on GitHub
  • The number of binaries per release have been reduced as each works across all supported Node versions
  • Linux now has prebuilt binaries for both armv7 and arm64

v4.1.1

10 Sep 03:35
Compare
Choose a tag to compare
  • Converted the package to TypeScript: f361d13
  • Added a lutimes function to update symbolic links: 7920f0d