Socket
Socket
Sign inDemoInstall

@hexancore/common

Package Overview
Dependencies
Maintainers
0
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hexancore/common - npm Package Versions

2

0.15.0

Diff

Changelog

Source

[0.15.0] - 2024-06-27

Added

  • extractLoggerFromObject(), extractTestLoggerFromObject(), extractTestLoggerRecordsFromObject

Changed

  • AppMeta - default EnvProvider in NodeJS env.
  • separated http exports(/http and ./testing/http).
  • export ./testutil -> ./testing
  • separated Jest matchers export ./testing/jest

Removed

  • removed MailContent Value Object
mararok
published 0.14.0 •

Changelog

Source

[0.14.0] - 2024-06-15

Changed

  • shrinked build size

Removed

  • removed xss dep
  • removed bin docker
  • removed string.prototype.matchall dep

Fixed

  • small types fixes in strict mode
mararok
published 0.13.3 •

Changelog

Source

[0.13.3] - 2024-02-03

Fixed

  • ES module build .

Changed

  • DateTime.c() and DateTime.cs() - better support date/time string formats: 2023-10-01, 2023-10-01 08:50:00 2023-10-01T08:50:00.
  • ConsoleLogger - message -> msg timestamp -> time.

Removed

  • Removed ConsoleLogger log record app_id and app_env append(with logging solution like fluentd we can append it on higher level).
mararok
published 0.13.2 •

Changelog

Source

[0.13.2] - 2024-02-01

Added

  • RefId value object
mararok
published 0.13.1 •

Changelog

Source

[0.13.1] - 2024-01-25

Added

  • DateTime.formatRfc1123()
  • ARW() - more meaning name for wrapping Promise with AsyncResult

Changed

  • AsyncResult.fromPromise() -> AsyncResult.wrap().
  • AsyncResult.fromPromiseOkTrue() -> AsyncResult.warpOnOkTrue().
  • AsyncResult.from() - accepts functions returns Promise(async/await support).
  • RetryHelper.retryAsync() - returns AR.

Removed

  • AsyncResult.fromSafePromise() - AsyncResult.from supports both.

Deprecated

  • P() - use ARW()
  • PS() - use ARW()
  • PB() - use ARWB()
mararok
published 0.13.0 •

Changelog

Source

[0.13.0] - 2024-01-20

Added

  • JsonHelper class.
  • Added optional error type constraint Result and AsyncResult.

Changed

  • Handler in [Result|AsyncResult].onOk() and [Result|AsyncResult].onErr() now can return all values(Value will be Wrapped to Result if need).
  • [Result|AsyncResult].onErr() now can filter what fn can handle on first parameter.

Removed

  • Removed Result.onOkA - now onOk can change mode to async.
  • Removed using object event type map to callback in [Result|AsyncResult].onErr().
  • Removed [Result|AsyncResult].map() and [Result|AsyncResult].mapErr();
  • Removed UNKNOWN_ERROR_TYPE.
mararok
published 0.12.5 •

Changelog

Source

[0.12.5] - 2024-01-05

Added

  • AccountId and UserId.
mararok
published 0.12.4 •

Changelog

Source

[0.12.4] - 2023-12-26

Added

  • Jest matcher: toMatchSuccessResult.
  • function stripAnsiColors().
  • function wrapToIterable().
  • interface GetQueryOptions.
  • class RetryHelper.
  • type DropFirstItem.
  • type TupleTail.
  • type ParamsTail.
  • AccountId and UserId value Objects.
mararok
published 0.12.3 •

Changelog

Source

[0.12.3] - 2023-12-03

Added

  • many changes, initial changelog.
mararok
published 0.12.2 •

2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc