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

@funboxteam/diamonds

Package Overview
Dependencies
Maintainers
4
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@funboxteam/diamonds - npm Package Versions

23

8.9.0

Diff

Changelog

Source

8.9.0 (31.05.2023)

Ensured Node.js 18 support.

deepClone typings have become more strict due to the goal to remove any. Thus, this helper does not expect any anymore. Instead it expects boolean | number | bigint | string | undefined | null | Date, or array of them, or an object with values of these types. The array and theh object may be nested.

We believe that this is not a breaking change, because this change makes types more correct and more close to the implementation. It means that if your code does not satisfy the types of deepClone, you're probably not using it right.

Nevertheless, we've deprecated deepClone due to existence of structuredClone.

funbox
published 8.8.0 •

Changelog

Source

8.8.0 (14.12.2022)

Now formatNumberString & formatPhoneNumberString accept not only numbers, but strings.

igoradamenko
published 8.7.0 •

Changelog

Source

8.7.0 (05.10.2022)

Added flag formatThousands to formatNumberString helper, which forces the helper to format numbers from 1000 to 9999.

igoradamenko
published 8.6.0 •

Changelog

Source

8.6.0 (04.10.2022)

Added sleep.

igoradamenko
published 8.5.2 •

Changelog

Source

8.5.2 (17.09.2022)

Fixed enableBodyScroll behavior while restoring the previously scrolled position.

Now it tries to ignore scroll-behavior: smooth on the root node, and jumps instead of smoothly scrolling.

igoradamenko
published 8.5.1 •

Changelog

Source

8.5.1 (12.09.2022)

Fixed export of shuffle -_-"

igoradamenko
published 8.5.0 •

Changelog

Source

8.5.0 (12.09.2022)

Added shuffle.

igoradamenko
published 8.4.2 •

Changelog

Source

8.4.2 (05.09.2022)

Fixed cookieStringToObject handling empty string passed.

igoradamenko
published 8.4.1 •

Changelog

Source

8.4.1 (31.08.2022)

Fixed export of cookieStringToObject -_-"

igoradamenko
published 8.4.0 •

Changelog

Source

8.4.0 (31.08.2022)

Added cookieStringToObject.

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