Skip to content

Commit

Permalink
Merge pull request #31 from esridc/f/arcgis-core-4.25
Browse files Browse the repository at this point in the history
feat: upgrade to @arcgis/core 4.25
  • Loading branch information
tomwayson authored Feb 23, 2023
2 parents 6e85c6e + 3553e78 commit 5c7fd14
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 78 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ To programmatically focus a note for editing, use the `note.focus()` method.

`yarn add @esri/hub-text-notes-layer`

**NOTE: as of v1.0.0 this package has a peer dependency on `@arcgis/core`, so you must have that already installed**
**NOTE: as of v2.0.0 this package has a peer dependency on `@arcgis/core@4.25`, so you must have that already installed**

Then you can `import` the layer class:

Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@esri/hub-text-notes-layer",
"version": "1.0.0",
"version": "2.0.0",
"description": "Custom JSAPI layer for Hub text notes",
"module": "dist/HubTextNotesLayer.mjs",
"scripts": {
Expand All @@ -18,7 +18,7 @@
"author": "",
"license": "Apache-2.0",
"devDependencies": {
"@arcgis/core": "~4.23.0",
"@arcgis/core": "~4.25.5",
"@babel/core": "^7.10.3",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.10.3",
Expand All @@ -35,5 +35,8 @@
"mocha": "^7.1.2",
"rollup": "^2.18.0",
"rollup-plugin-terser": "^5.3.0"
},
"peerDependencies": {
"@arcgis/core": "~4.25.0"
}
}
146 changes: 71 additions & 75 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,18 @@
# yarn lockfile v1


"@a11y/[email protected]":
version "1.0.5"
resolved "https://registry.yarnpkg.com/@a11y/focus-trap/-/focus-trap-1.0.5.tgz#0748189c37ca21255c702aa5de3ee00ed4821d22"
integrity sha512-3JOd6g+BALysWS8LNf0qdB8ltR651H/RCLAvUmfS0LIHwHO579XfjZUIZbURYiAZrcbp1CBAq4QZ2YwKNQZ1hw==

"@arcgis/core@~4.23.0":
version "4.23.7"
resolved "https://registry.yarnpkg.com/@arcgis/core/-/core-4.23.7.tgz#636cb40b2faff593d7e7cc81fbea0c28d46add08"
integrity sha512-xi3eBV513CmoHQ6F1OurEt71aBt4FzDOaOrPKzsFVJnq0LeDPKUHfsBs4E8BoGLSk5df+gDCZG+WHTmzxu8c0w==
dependencies:
"@esri/arcgis-html-sanitizer" "~2.9.0"
"@esri/calcite-colors" "~6.0.1"
"@esri/calcite-components" "1.0.0-beta.77"
"@popperjs/core" "~2.11.4"
focus-trap "~6.7.3"
luxon "~2.3.1"
sortablejs "~1.14.0"
"@arcgis/core@^4.25.5":
version "4.26.1"
resolved "https://registry.yarnpkg.com/@arcgis/core/-/core-4.26.1.tgz#1b0e6450b23d3c236efe7abd75847b60ed06a6c3"
integrity sha512-7jL5ZM93AZTOv+g4fJp4u2f4Q1FqxM0LabsJKC/17z7hkszw6dPaqIA1Dh0JNB0RnArFHl4B3xboBetD6MYtEQ==
dependencies:
"@esri/arcgis-html-sanitizer" "~3.0.1"
"@esri/calcite-colors" "~6.1.0"
"@esri/calcite-components" "~1.0.7"
"@popperjs/core" "~2.11.6"
focus-trap "~7.2.0"
luxon "~3.2.1"
sortablejs "~1.15.0"

"@babel/code-frame@^7.10.3", "@babel/code-frame@^7.8.3":
version "7.10.3"
Expand Down Expand Up @@ -883,39 +878,45 @@
lodash "^4.17.13"
to-fast-properties "^2.0.0"

"@esri/arcgis-html-sanitizer@~2.9.0":
version "2.9.0"
resolved "https://registry.yarnpkg.com/@esri/arcgis-html-sanitizer/-/arcgis-html-sanitizer-2.9.0.tgz#2d58fd20323ee7950e1fb850ac80cbb9890568d8"
integrity sha512-kF5gfE2W16Nu/p4P69bsGmo7CKzKiTHlK3oWOqrDy/ptaMxEDCorHLm9UKULCA478xlOQM6lSnq4o3HYgST5Lw==
"@esri/arcgis-html-sanitizer@~3.0.1":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@esri/arcgis-html-sanitizer/-/arcgis-html-sanitizer-3.0.1.tgz#a4feaf3744bdd532012593fdb929b376a22c39cd"
integrity sha512-cwZJwsYCJZwtBQU2AmaiIVFg5nZcVwInPYja1/OgC9iKYO+ytZRoc5h+0S9/ygbFNoS8Nd0RX9A85stLX/BgiA==
dependencies:
lodash.isplainobject "^4.0.6"
xss "^1.0.10"
xss "1.0.13"

"@esri/calcite-colors@~6.0.1":
version "6.0.1"
resolved "https://registry.yarnpkg.com/@esri/calcite-colors/-/calcite-colors-6.0.1.tgz#770ec4d77bbbd4da32a66450eb93f4c780c0ff28"
integrity sha512-iGUIIpeMCJSTDGw4ZsxLwwxkml0QzOUJTtysjRryGbhSt183NEtwWKS+yQO19utXQz5LbQWjoav6x6CsawElkw==
"@esri/calcite-colors@~6.1.0":
version "6.1.0"
resolved "https://registry.yarnpkg.com/@esri/calcite-colors/-/calcite-colors-6.1.0.tgz#2d75e859a88772d8de91ccae40cbe29b8a4d27b8"
integrity sha512-wHQYWFtDa6c328EraXEVZvgOiaQyYr0yuaaZ0G3cB4C3lSkWefW34L/e5TLAhtuG3zJ/wR6pl5X1YYNfBc0/4Q==

"@esri/[email protected].0-beta.77":
version "1.0.0-beta.77"
resolved "https://registry.yarnpkg.com/@esri/calcite-components/-/calcite-components-1.0.0-beta.77.tgz#cc13e81195af800472ed47744fb409cb9d872adf"
integrity sha512-fCE9ikXHzUQTHJSMXNYB1/WrPpKtQMUBbaypbbwwxM8y3ifavN0a5ns7NAC+W7uQJA+29fGpAlIMjXr/483eXw==
"@esri/calcite-components@~1.0.7":
version "1.0.7"
resolved "https://registry.yarnpkg.com/@esri/calcite-components/-/calcite-components-1.0.7.tgz#44dc771834526b1514bc6051f82236c28c48d3e8"
integrity sha512-Ucw0Ly+hvWl4RDMEcHAv2amMItgMYzCGfJS5M7gnIu9bEXcY2Areo+o0KaqvvdAcIjChsRY9fy05ke3ypw0tuA==
dependencies:
"@a11y/focus-trap" "1.0.5"
"@popperjs/core" "2.11.2"
"@stencil/core" "2.13.0"
"@floating-ui/dom" "1.1.0"
"@stencil/core" "2.20.0"
"@types/color" "3.0.3"
color "4.2.0"
color "4.2.3"
focus-trap "7.2.0"
form-request-submit-polyfill "2.0.0"
lodash-es "4.17.21"
sortablejs "1.14.0"
sortablejs "1.15.0"

"@floating-ui/core@^1.0.5":
version "1.2.1"
resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.2.1.tgz#074182a1d277f94569c50a6b456e62585d463c8e"
integrity sha512-LSqwPZkK3rYfD7GKoIeExXOyYx6Q1O4iqZWwIehDNuv3Dv425FIAE8PRwtAx1imEolFTHgBEcoFHm9MDnYgPCg==

"@popperjs/[email protected]":
version "2.11.2"
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.2.tgz#830beaec4b4091a9e9398ac50f865ddea52186b9"
integrity sha512-92FRmppjjqz29VMJ2dn+xdyXZBrMlE42AV6Kq6BwjWV7CNUW1hs2FtxSNLQE+gJhaZ6AAmYuO9y8dshhcBl7vA==
"@floating-ui/[email protected]":
version "1.1.0"
resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.1.0.tgz#29fea1344fdef15b6ba270a733d20b7134fee5c2"
integrity sha512-TSogMPVxbRe77QCj1dt8NmRiJasPvuc+eT5jnJ6YpLqgOD2zXc5UA3S1qwybN+GVCDNdKfpKy1oj8RpzLJvh6A==
dependencies:
"@floating-ui/core" "^1.0.5"

"@popperjs/core@~2.11.4":
"@popperjs/core@~2.11.6":
version "2.11.6"
resolved "https://registry.yarnpkg.com/@popperjs/core/-/core-2.11.6.tgz#cee20bd55e68a1720bdab363ecf0c821ded4cd45"
integrity sha512-50/17A98tWUfQ176raKiOGXuYpLyyVMkxxG6oylzL3BPOlA6ADGdK7EYunSa4I064xerltq9TGXs8HmOk5E+vw==
Expand Down Expand Up @@ -963,10 +964,10 @@
estree-walker "^1.0.1"
picomatch "^2.2.2"

"@stencil/core@2.13.0":
version "2.13.0"
resolved "https://registry.yarnpkg.com/@stencil/core/-/core-2.13.0.tgz#993fd74a5c7c8fe8af75848ca9df2211cd05b818"
integrity sha512-EEKHOHgYpg3/iFUKMXTZJjUayRul7sXDwNw0OGgkEOe4t7JWiibDkzUHuruvpbqEydX+z1+ez5K2bMMY76c2wA==
"@stencil/core@2.20.0":
version "2.20.0"
resolved "https://registry.yarnpkg.com/@stencil/core/-/core-2.20.0.tgz#0e68b5b42e727233803291eb0367ab2b53f7f1f3"
integrity sha512-ka+eOW+dNteXIfLCRipNbbAlBEQjqJ2fkx3fxzlKgnNHEQMdZiuIjlWt63KzvOJStNeuADdQXo89BB1dC2VRUw==

"@types/color-convert@*":
version "2.0.0"
Expand Down Expand Up @@ -1320,10 +1321,10 @@ color-string@^1.9.0:
color-name "^1.0.0"
simple-swizzle "^0.2.2"

[email protected].0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/color/-/color-4.2.0.tgz#0c782459a3e98838ea01e4bc0fb43310ca35af78"
integrity sha512-hHTcrbvEnGjC7WBMk6ibQWFVDgEFTVmjrz2Q5HlU6ltwxv0JJN2Z8I7uRbWeQLF04dikxs8zgyZkazRJvSMtyQ==
[email protected].3:
version "4.2.3"
resolved "https://registry.yarnpkg.com/color/-/color-4.2.3.tgz#d781ecb5e57224ee43ea9627560107c0e0c6463a"
integrity sha512-1rXeuUUiGGrykh+CeBdu5Ie7OJwinCgQY0bc7GCRxy5xVHy+moaqkpL/jqQq0MtQOeYcrqEz4abc5f0KtU7W4A==
dependencies:
color-convert "^2.0.1"
color-string "^1.9.0"
Expand Down Expand Up @@ -1693,12 +1694,12 @@ flatted@^2.0.0:
resolved "https://registry.yarnpkg.com/flatted/-/flatted-2.0.2.tgz#4575b21e2bcee7434aa9be662f4b7b5f9c2b5138"
integrity sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==

focus-trap@~6.7.3:
version "6.7.3"
resolved "https://registry.yarnpkg.com/focus-trap/-/focus-trap-6.7.3.tgz#b5dc195b49c90001f08a63134471d1e6dd381ddd"
integrity sha512-8xCEKndV4KrseGhFKKKmczVA14yx1/hnmFICPOjcFjToxCJYj/NHH43tPc3YE/PLnLRNZoFug0EcWkGQde/miQ==
focus-trap@7.2.0, focus-trap@~7.2.0:
version "7.2.0"
resolved "https://registry.yarnpkg.com/focus-trap/-/focus-trap-7.2.0.tgz#25af61b5635d3c18cd2fd176087db7b60be72c6b"
integrity sha512-v4wY6HDDYvzkBy4735kW5BUEuw6Yz9ABqMYLuTNbzAFPcBOGiGHwwcNVMvUz4G0kgSYh13wa/7TG3XwTeT4O/A==
dependencies:
tabbable "^5.2.1"
tabbable "^6.0.1"

follow-redirects@^1.0.0:
version "1.11.0"
Expand Down Expand Up @@ -2140,11 +2141,6 @@ [email protected]:
resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.21.tgz#43e626c46e6591b7750beb2b50117390c609e3ee"
integrity sha512-mKnC+QJ9pWVzv+C4/U3rRsHapFfHvQFoFB92e52xeyGMcX6/OlIl78je1u8vePzYZSkkogMPJ2yjxxsb89cxyw==

lodash.isplainobject@^4.0.6:
version "4.0.6"
resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"
integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==

lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15:
version "4.17.15"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
Expand Down Expand Up @@ -2182,10 +2178,10 @@ loose-envify@^1.0.0:
dependencies:
js-tokens "^3.0.0 || ^4.0.0"

luxon@~2.3.1:
version "2.3.2"
resolved "https://registry.yarnpkg.com/luxon/-/luxon-2.3.2.tgz#5f2f3002b8c39b60a7b7ad24b2a85d90dc5db49c"
integrity sha512-MlAQQVMFhGk4WUA6gpfsy0QycnKP0+NlCBJRVRNPxxSIbjrCbQ65nrpJD3FVyJNZLuJ0uoqL57ye6BmDYgHaSw==
luxon@~3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/luxon/-/luxon-3.2.1.tgz#14f1af209188ad61212578ea7e3d518d18cee45f"
integrity sha512-QrwPArQCNLAKGO/C+ZIilgIuDnEnKx5QYODdDtbFaxzsbZcc/a7WFq7MhsVYgRlwawLtvOUESTlfJ+hc/USqPg==

magic-string@^0.25.2:
version "0.25.9"
Expand Down Expand Up @@ -2696,10 +2692,10 @@ [email protected]:
socket.io-client "2.1.1"
socket.io-parser "~3.2.0"

sortablejs@1.14.0, sortablejs@~1.14.0:
version "1.14.0"
resolved "https://registry.yarnpkg.com/sortablejs/-/sortablejs-1.14.0.tgz#6d2e17ccbdb25f464734df621d4f35d4ab35b3d8"
integrity sha512-pBXvQCs5/33fdN1/39pPL0NZF20LeRbLQ5jtnheIPN9JQAaufGjKdWduZn4U7wCtVuzKhmRkI0DFYHYRbB2H1w==
sortablejs@1.15.0, sortablejs@~1.15.0:
version "1.15.0"
resolved "https://registry.yarnpkg.com/sortablejs/-/sortablejs-1.15.0.tgz#53230b8aa3502bb77a29e2005808ffdb4a5f7e2a"
integrity sha512-bv9qgVMjUMf89wAvM6AxVvS/4MX3sPeN0+agqShejLU5z5GX4C75ow1O2e5k4L6XItUyAK3gH6AxSbXrOM5e8w==

source-map-support@~0.5.12:
version "0.5.19"
Expand Down Expand Up @@ -2857,10 +2853,10 @@ supports-preserve-symlinks-flag@^1.0.0:
resolved "https://registry.yarnpkg.com/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz#6eda4bd344a3c94aea376d4cc31bc77311039e09"
integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==

tabbable@^5.2.1:
version "5.3.3"
resolved "https://registry.yarnpkg.com/tabbable/-/tabbable-5.3.3.tgz#aac0ff88c73b22d6c3c5a50b1586310006b47fbf"
integrity sha512-QD9qKY3StfbZqWOPLp0++pOrAVb/HbUi5xCc8cUo4XjP19808oaMiDzn0leBY5mCespIBM0CIZePzZjgzR83kA==
tabbable@^6.0.1:
version "6.1.1"
resolved "https://registry.yarnpkg.com/tabbable/-/tabbable-6.1.1.tgz#40cfead5ed11be49043f04436ef924c8890186a0"
integrity sha512-4kl5w+nCB44EVRdO0g/UGoOp3vlwgycUVtkk/7DPyeLZUCuNFFKCFG6/t/DgHLrUPHjrZg6s5tNm+56Q2B0xyg==

terser@^4.6.2:
version "4.6.12"
Expand Down Expand Up @@ -3022,10 +3018,10 @@ xmlhttprequest-ssl@~1.5.4:
resolved "https://registry.yarnpkg.com/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz#c2876b06168aadc40e57d97e81191ac8f4398b3e"
integrity sha1-wodrBhaKrcQOV9l+gRkayPQ5iz4=

xss@^1.0.10:
version "1.0.14"
resolved "https://registry.yarnpkg.com/xss/-/xss-1.0.14.tgz#4f3efbde75ad0d82e9921cc3c95e6590dd336694"
integrity sha512-og7TEJhXvn1a7kzZGQ7ETjdQVS2UfZyTlsEdDOqvQF7GoxNfY+0YLCzBy1kPdsDDx4QuNAonQPddpsn6Xl/7sw==
[email protected].13:
version "1.0.13"
resolved "https://registry.yarnpkg.com/xss/-/xss-1.0.13.tgz#6e48f616128b39f366dfadc57411e1eb5b341c6c"
integrity sha512-clu7dxTm1e8Mo5fz3n/oW3UCXBfV89xZ72jM8yzo1vR/pIS0w3sgB3XV2H8Vm6zfGnHL0FzvLJPJEBhd86/z4Q==
dependencies:
commander "^2.20.3"
cssfilter "0.0.10"
Expand Down

0 comments on commit 5c7fd14

Please sign in to comment.