Skip to content

Commit bc526d8

Browse files
authored
chore: bump a5 to 0.5.0 (#9788)
1 parent 3fd2bb5 commit bc526d8

File tree

3 files changed

+10
-35
lines changed

3 files changed

+10
-35
lines changed

modules/geo-layers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"@math.gl/culling": "^4.1.0",
5353
"@math.gl/web-mercator": "^4.1.0",
5454
"@types/geojson": "^7946.0.8",
55-
"a5-js": "^0.4.0",
55+
"a5-js": "^0.5.0",
5656
"h3-js": "^4.1.0",
5757
"long": "^3.2.0"
5858
},

modules/geo-layers/src/a5-layer/a5-layer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import {AccessorFunction, DefaultProps} from '@deck.gl/core';
66
import GeoCellLayer, {GeoCellLayerProps} from '../geo-cell-layer/GeoCellLayer';
7-
import {cellToBoundary, hexToBigInt} from 'a5-js';
7+
import {cellToBoundary, hexToU64} from 'a5-js';
88
import {flattenPolygon} from '../h3-layers/h3-utils';
99

1010
const defaultProps: DefaultProps<A5LayerProps> = {
@@ -43,7 +43,7 @@ export default class A5Layer<DataT = any, ExtraProps extends {} = {}> extends Ge
4343
getPolygon: (x: DataT, objectInfo) => {
4444
const pentagon = getPentagon(x, objectInfo);
4545
const boundary = cellToBoundary(
46-
typeof pentagon === 'string' ? hexToBigInt(pentagon) : pentagon,
46+
typeof pentagon === 'string' ? hexToU64(pentagon) : pentagon,
4747
{closedRing: true, segments: 'auto'}
4848
);
4949
return flattenPolygon(boundary);

yarn.lock

Lines changed: 7 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -2423,10 +2423,10 @@ JSONStream@^1.3.5:
24232423
jsonparse "^1.2.0"
24242424
through ">=2.2.7 <3"
24252425

2426-
a5-js@^0.4.0:
2427-
version "0.4.0"
2428-
resolved "https://registry.yarnpkg.com/a5-js/-/a5-js-0.4.0.tgz#97449db5ceb88606ea8468d406345ebdf29120da"
2429-
integrity sha512-U3sPg6V6l9ULHlPqvry09XVCcYR6KeyufYYZCv4jGi4ED3rPe8yEMj0kuGfn3D9fS66yjNX2EWUMtKrj4gWb+w==
2426+
a5-js@^0.5.0:
2427+
version "0.5.0"
2428+
resolved "https://registry.yarnpkg.com/a5-js/-/a5-js-0.5.0.tgz#b0241651efdf573229d6f8e25243be31cd0b9451"
2429+
integrity sha512-VAw19sWdYadhdovb0ViOIi1SdKx6H6LwcGMRFKwMfgL5gcmL/1fKJHfgsNgNaJ7xC/eEyjs6VK+VVd4N0a+peg==
24302430
dependencies:
24312431
gl-matrix "^3.4.3"
24322432

@@ -8389,16 +8389,7 @@ streamx@^2.15.0, streamx@^2.18.0:
83898389
optionalDependencies:
83908390
bare-events "^2.2.0"
83918391

8392-
"string-width-cjs@npm:string-width@^4.2.0":
8393-
version "4.2.3"
8394-
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
8395-
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
8396-
dependencies:
8397-
emoji-regex "^8.0.0"
8398-
is-fullwidth-code-point "^3.0.0"
8399-
strip-ansi "^6.0.1"
8400-
8401-
"string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
8392+
"string-width-cjs@npm:string-width@^4.2.0", "string-width@^1.0.2 || 2 || 3 || 4", string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3:
84028393
version "4.2.3"
84038394
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
84048395
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -8504,7 +8495,7 @@ string_decoder@~1.1.1:
85048495
dependencies:
85058496
safe-buffer "~5.1.0"
85068497

8507-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
8498+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1:
85088499
version "6.0.1"
85098500
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
85108501
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -8518,13 +8509,6 @@ strip-ansi@^3.0.0:
85188509
dependencies:
85198510
ansi-regex "^2.0.0"
85208511

8521-
strip-ansi@^6.0.0, strip-ansi@^6.0.1:
8522-
version "6.0.1"
8523-
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
8524-
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
8525-
dependencies:
8526-
ansi-regex "^5.0.1"
8527-
85288512
strip-ansi@^7.0.1:
85298513
version "7.1.0"
85308514
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45"
@@ -9372,7 +9356,7 @@ wordwrap@^1.0.0:
93729356
resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb"
93739357
integrity sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==
93749358

9375-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
9359+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
93769360
version "7.0.0"
93779361
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
93789362
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -9390,15 +9374,6 @@ wrap-ansi@^6.0.1:
93909374
string-width "^4.1.0"
93919375
strip-ansi "^6.0.0"
93929376

9393-
wrap-ansi@^7.0.0:
9394-
version "7.0.0"
9395-
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
9396-
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
9397-
dependencies:
9398-
ansi-styles "^4.0.0"
9399-
string-width "^4.1.0"
9400-
strip-ansi "^6.0.0"
9401-
94029377
wrap-ansi@^8.1.0:
94039378
version "8.1.0"
94049379
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"

0 commit comments

Comments
 (0)