Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hexancore/common

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hexancore/common - npm Package Versions

23

0.16.2

Diff

Changelog

Source

[0.16.2] - 2024-10-05

Changed

  • reworked HObjects(no backward compatible changes)
    • AbstractValueObject -> HValueObject
    • Removed generic self from HObjects
mararok
published 0.16.1 •

Changelog

Source

[0.16.1] - 2024-09-29

Changed

  • reworked HObjects(no backward compatible changes)
  • renamed ValueObjects:
    • DateTime -> HDateTime
    • UIntValue -> UInt
    • UBigInt -> UBigInt64
    • StringValue -> HString
    • RegexStringValue -> HRegexString
mararok
published 0.16.0 •

Changelog

Source

[0.16.0] - 2024-09-23

Added

  • added HObject concept with parse from unknown method generated from AOT(Transformer in core).
  • added first package benchmark stuff
  • added types: NonMethodRequiredPropertyNames,NonMethodOptionalPropertyNames,NonMethodProperties, ToJSONReturnType, JsonObjectType

Changed

  • refactor ValueObject concept to HObject.
  • pascalCaseToSnakeCase() - implemented faster version.
  • OK() returns constant objects for: true, false, undefined, null values for performence.
mararok
published 0.15.0 •

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.
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