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

h3-js

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

h3-js - npm Package Versions

23

4.1.0

Diff

Changelog

Source

[4.1.0] - 2023-01-19

Added

  • Add cellToChildPos, childPosToCell, and cellToChildrenSize functions. (#170)

Changed

  • Updated the core library to v4.1.0 (#170)

Fixed

  • Patch libh3 bundles to check for typeof document != "undefined" before accessing document. This allows h3-js to be used in a Web Worker and React Native (#169)
  • Fix H3Index type hints for cellToBoundary, cellArea, edgeLength (#171)
nrabinowitz
published 4.0.1 •

Changelog

Source

[4.0.1] - 2022-09-19

Changed

  • Updated the core library to v4.0.1 (#161)

Fixed

  • Fixed error when compacting with res 0 cells (#161)
nrabinowitz
published 4.0.0 •

Changelog

Source

[4.0.0] - 2022-08-23

Breaking Changes

  • Updated the core library to v4.0.0. This update renames the majority of the H3 functions. You can see a list of changed function names in the core library documentation. For the most part, upgrading to v4 for Javascript consumers should be a straightforward search & replace between the old names and the new. (#151, #144, #141, #139)
  • Added more cases in which JS errors may be thrown. In H3 v3, many functions would fail silently with invalid input, returning null or similar signal values. In H3 v4, we will throw descriptive errors for most instances of bad input. (#139)

Changed

  • Add Typescript typechecking, generate types with tsc (#153)

Fixed

  • Fail package publish if there are library changes (#148)

Added

  • Added legacy API wrapper with Typescript types (#146)
nrabinowitz
published 4.0.0-rc4 •

Changelog

Source

[4.0.0-rc4] - 2022-08-22

Breaking changes

  • Updated the core library to v4.0.0-rc5. (#151)

Changed

  • Add Typescript typechecking, generate types with tsc (#153)
nrabinowitz
published 4.0.0-rc3 •

Changelog

Source

[4.0.0-rc3] - 2022-08-11

Fixed

  • Fail package publish if there are library changes (#148)
nrabinowitz
published 4.0.0-rc2 •

Changelog

Source

[4.0.0-rc2] - 2022-08-11

Added

  • Added legacy API wrapper with Typescript types (#146)
nrabinowitz
published 4.0.0-rc1 •

Changelog

Source

[4.0.0-rc1] - 2022-07-28

Breaking Changes

  • Updated the core library to v4.0.0-rc4. (#141)
  • Updated the core library to v4.0.0-rc2. This update renames the majority of the H3 functions. You can see a list of changed function names in the core library documentation. For the most part, upgrading to v4 for Javascript consumers should be a straightforward search & replace between the old names and the new. (#139)
  • Added more cases in which JS errors may be thrown. In H3 v3, many functions would fail silently with invalid input, returning null or similar signal values. In H3 v4, we will throw descriptive errors for most instances of bad input. (#139)

Added

  • Added vertex mode functions (#138)
nrabinowitz
published 3.7.2 •

Changelog

Source

[3.7.2] - 2021-04-29

Fixed

  • Accept integer input to h3GetResolution (#113)
nrabinowitz
published 3.7.1 •

Changelog

Source

[3.7.1] - 2021-03-10

Fixed

  • Fixed bug in freeing geo polygon memory during polyfill (#104)
nrabinowitz
published 3.7.0 •

Changelog

Source

[3.7.0] - 2020-10-15

Added

  • Added bindings for new area and distance functions (#93):
    • cellArea
    • exactEdgeLength
    • pointDist
  • All functions accepting H3 index input now also accept a [lowerBits, upperBits] tuple of 32-bit integers (#91)

Fixed

  • Fixed type definition for UNITS (#94)

Changed

  • Updated the core library to 3.7.1 (#93)
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