@tomtom-org/maps-sdk 0.51.5 → 0.53.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,38 @@
1
+ [
2
+ {
3
+ "name": "@turf/turf",
4
+ "version": "7.4.0",
5
+ "license": "MIT",
6
+ "bundled": false,
7
+ "description": "a JavaScript library for performing geospatial operations with GeoJSON",
8
+ "repository": "git://github.com/Turfjs/turf.git",
9
+ "homepage": "https://github.com/Turfjs/turf",
10
+ "author": "Turf Authors",
11
+ "licenseText": "The MIT License (MIT)\n\nCopyright (c) 2017 TurfJS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of\nthe Software, and to permit persons to whom the Software is furnished to do so,\nsubject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS\nFOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR\nCOPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\nCONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
12
+ },
13
+ {
14
+ "name": "lodash-es",
15
+ "version": "4.18.1",
16
+ "license": "MIT",
17
+ "bundled": false,
18
+ "description": "Lodash exported as ES modules.",
19
+ "repository": "lodash/lodash",
20
+ "homepage": "https://lodash.com/custom-builds",
21
+ "author": "John-David Dalton <john.david.dalton@gmail.com>",
22
+ "contributors": [
23
+ "John-David Dalton <john.david.dalton@gmail.com>",
24
+ "Mathias Bynens <mathias@qiwi.be>"
25
+ ],
26
+ "licenseText": "Copyright OpenJS Foundation and other contributors <https://openjsf.org/>\n\nBased on Underscore.js, copyright Jeremy Ashkenas,\nDocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>\n\nThis software consists of voluntary contributions made by many\nindividuals. For exact contribution history, see the revision history\navailable at https://github.com/lodash/lodash\n\nThe following license applies to all parts of this software except as\ndocumented below:\n\n====\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n====\n\nCopyright and related rights for sample code are waived via CC0. Sample\ncode is defined as all source code displayed within the prose of the\ndocumentation.\n\nCC0: http://creativecommons.org/publicdomain/zero/1.0/\n\n====\n\nFiles located in the node_modules and vendor directories are externally\nmaintained libraries used by this software which have their own\nlicenses; we recommend you read them, as their terms may differ from the\nterms above."
27
+ },
28
+ {
29
+ "name": "maplibre-gl",
30
+ "version": "6.9.0",
31
+ "license": "BSD-3-Clause",
32
+ "bundled": false,
33
+ "description": "BSD licensed community fork of mapbox-gl, a WebGL interactive maps library",
34
+ "repository": "https://github.com/maplibre/maplibre-gl-js",
35
+ "homepage": "https://maplibre.org/",
36
+ "licenseText": "Copyright (c) 2023, MapLibre contributors\n\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright notice,\n this list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n * Neither the name of MapLibre GL JS nor the names of its contributors\n may be used to endorse or promote products derived from this software\n without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\nCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\nEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\nPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\n-------------------------------------------------------------------------------\n\nContains code from mapbox-gl-js v1.13 and earlier\n\nVersion v1.13 of mapbox-gl-js and earlier are licensed under a BSD-3-Clause license\n\nCopyright (c) 2020, Mapbox\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice,\n this list of conditions and the following disclaimer.\n* Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n* Neither the name of Mapbox GL JS nor the names of its contributors\n may be used to endorse or promote products derived from this software\n without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\nCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\nEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\nPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR\nPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING\nNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\nEVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n\n\n-------------------------------------------------------------------------------\n\nContains code from glfx.js\n\nCopyright (C) 2011 by Evan Wallace\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n--------------------------------------------------------------------------------\n\nContains a portion of d3-color https://github.com/d3/d3-color\n\nCopyright 2010-2016 Mike Bostock\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n* Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n* Neither the name of the author nor the names of contributors may be used to\n endorse or promote products derived from this software without specific prior\n written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
37
+ }
38
+ ]
package/package.json CHANGED
@@ -2,8 +2,16 @@
2
2
  "name": "@tomtom-org/maps-sdk",
3
3
  "author": "TomTom International B.V.",
4
4
  "license": "See in LICENSE.txt",
5
- "version": "0.51.5",
6
- "description": "TomTom Maps for JavaScript",
5
+ "version": "0.53.0",
6
+ "description": "TomTom maps, search, geocoding, routing, isochrones, EV and traffic for JavaScript — typed GeoJSON services and a MapLibre GL JS map.",
7
+ "homepage": "https://docs.tomtom.com/maps-sdk-js/introduction/overview",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/tomtom-international/maps-sdk-js.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/tomtom-international/maps-sdk-js/issues"
14
+ },
7
15
  "keywords": [
8
16
  "tomtom",
9
17
  "sdk",
@@ -15,20 +23,31 @@
15
23
  "routing",
16
24
  "traffic",
17
25
  "web",
18
- "nodejs"
26
+ "nodejs",
27
+ "maplibre",
28
+ "maplibre-gl",
29
+ "geojson",
30
+ "typescript",
31
+ "directions",
32
+ "reverse-geocoding",
33
+ "autocomplete",
34
+ "poi",
35
+ "isochrone",
36
+ "ev-charging",
37
+ "navigation"
19
38
  ],
20
39
  "devDependencies": {
21
- "@biomejs/biome": "^2.5.6",
22
- "@size-limit/file": "^13.0.2",
23
- "@size-limit/preset-app": "^13.0.2",
24
- "size-limit": "^13.0.2",
40
+ "@biomejs/biome": "^2.5.10",
41
+ "@size-limit/file": "^13.0.3",
42
+ "@size-limit/preset-app": "^13.0.3",
43
+ "size-limit": "^13.0.3",
25
44
  "typedoc": "^0.28.20",
26
45
  "yaml": "^2.9.0"
27
46
  },
28
47
  "peerDependencies": {
29
- "@turf/turf": "^7.3.5",
48
+ "@turf/turf": "^7.4.0",
30
49
  "lodash-es": "^4.18.1",
31
- "maplibre-gl": "^6.4.0",
50
+ "maplibre-gl": "^6.9.0",
32
51
  "zod": "^4.4.3"
33
52
  },
34
53
  "size-limit": [
@@ -56,7 +75,8 @@
56
75
  "package.json",
57
76
  "README.md",
58
77
  "CHANGELOG.md",
59
- "LICENSE.txt"
78
+ "LICENSE.txt",
79
+ "THIRD_PARTY.txt"
60
80
  ],
61
81
  "exports": {
62
82
  "./core": {
@@ -77,11 +97,13 @@
77
97
  "build:api-reference": "typedoc",
78
98
  "build:examples": "pnpm -F @tomtom-org/maps-sdk-examples build",
79
99
  "build:examples:sandpack": "pnpm -F @tomtom-org/maps-sdk-examples build:sandpack",
80
- "build:sdk": "pnpm -F core build && pnpm -F services build && pnpm -F map build",
100
+ "build:sdk": "pnpm -F core build && pnpm -F services build && pnpm -F map build && pnpm build:third-party",
101
+ "build:third-party": "node shared-configs/aggregateThirdParty.ts",
102
+ "build:third-party:plugins": "node shared-configs/aggregateThirdParty.ts --plugins",
81
103
  "eval:explorer": "pnpm -F @testing/ai-eval-explorer dev",
82
104
  "eval:explorer:build": "pnpm -F @testing/ai-eval-explorer build",
83
105
  "build:agent-eval": "pnpm -F agent-eval build",
84
- "build:plugins": "pnpm -F './plugins/*' build",
106
+ "build:plugins": "pnpm -F './plugins/*' build && pnpm build:third-party:plugins",
85
107
  "clean": "pnpm -r --no-bail clean:dist && pnpm -r --no-bail clean:cache",
86
108
  "e2e-test:agent-toolkit:sandbox": "pnpm -F @tomtom-org/maps-sdk-plugin-agent-toolkit test:e2e",
87
109
  "e2e-test:examples": "pnpm -F @tomtom-org/maps-sdk-examples test:e2e",
@@ -101,8 +123,8 @@
101
123
  "sync-docs-package-version": "bash documentation/scripts/update-sdk-version-in-docs.sh",
102
124
  "sync-examples-package-version": "bash examples/scripts/sync-examples-package-version.sh",
103
125
  "test:agent-eval": "pnpm -F agent-eval test",
104
- "test:sdk": "pnpm -F core test && pnpm -F services test && pnpm -F map test",
105
- "test:sdk:coverage": "pnpm -F core test:coverage && pnpm -F services test:coverage && pnpm -F map test:coverage && pnpm -F plugins test:coverage",
126
+ "test:sdk": "pnpm -F shared-configs test && pnpm -F core test && pnpm -F services test && pnpm -F map test",
127
+ "test:sdk:coverage": "pnpm -F shared-configs test:coverage && pnpm -F core test:coverage && pnpm -F services test:coverage && pnpm -F map test:coverage && pnpm -F plugins test:coverage",
106
128
  "test:plugins": "pnpm --filter './plugins/*' run --if-present test",
107
129
  "test:examples": "pnpm -F @tomtom-org/maps-sdk-examples test",
108
130
  "type-check:examples": "pnpm -F @tomtom-org/maps-sdk-examples type-check",
@@ -1 +1,102 @@
1
- No third parties dependencies
1
+ The following third-party components are declared as peer dependencies. Their code is
2
+ NOT bundled into this package: your package manager installs them alongside it and
3
+ your application bundles them. The licenses below apply to those copies, and each of
4
+ these components may in turn install its own dependencies under their own licenses.
5
+
6
+ Name: lodash-es
7
+ Version: 4.18.1
8
+ License: MIT
9
+ Bundled: false (peer dependency)
10
+ Description: Lodash exported as ES modules.
11
+ Repository: lodash/lodash
12
+ Homepage: https://lodash.com/custom-builds
13
+ Author: John-David Dalton <john.david.dalton@gmail.com>
14
+ Contributors:
15
+ John-David Dalton <john.david.dalton@gmail.com>
16
+ Mathias Bynens <mathias@qiwi.be>
17
+ License Text:
18
+ ===
19
+
20
+ Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
21
+
22
+ Based on Underscore.js, copyright Jeremy Ashkenas,
23
+ DocumentCloud and Investigative Reporters & Editors <http://underscorejs.org/>
24
+
25
+ This software consists of voluntary contributions made by many
26
+ individuals. For exact contribution history, see the revision history
27
+ available at https://github.com/lodash/lodash
28
+
29
+ The following license applies to all parts of this software except as
30
+ documented below:
31
+
32
+ ====
33
+
34
+ Permission is hereby granted, free of charge, to any person obtaining
35
+ a copy of this software and associated documentation files (the
36
+ "Software"), to deal in the Software without restriction, including
37
+ without limitation the rights to use, copy, modify, merge, publish,
38
+ distribute, sublicense, and/or sell copies of the Software, and to
39
+ permit persons to whom the Software is furnished to do so, subject to
40
+ the following conditions:
41
+
42
+ The above copyright notice and this permission notice shall be
43
+ included in all copies or substantial portions of the Software.
44
+
45
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
46
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
47
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
48
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
49
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
50
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
51
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
52
+
53
+ ====
54
+
55
+ Copyright and related rights for sample code are waived via CC0. Sample
56
+ code is defined as all source code displayed within the prose of the
57
+ documentation.
58
+
59
+ CC0: http://creativecommons.org/publicdomain/zero/1.0/
60
+
61
+ ====
62
+
63
+ Files located in the node_modules and vendor directories are externally
64
+ maintained libraries used by this software which have their own
65
+ licenses; we recommend you read them, as their terms may differ from the
66
+ terms above.
67
+
68
+
69
+ ---
70
+
71
+ Name: zod
72
+ Version: 4.4.3
73
+ License: MIT
74
+ Bundled: false (peer dependency)
75
+ Description: TypeScript-first schema declaration and validation library with static type inference
76
+ Repository: git+https://github.com/colinhacks/zod.git
77
+ Homepage: https://zod.dev
78
+ Author: Colin McDonnell <zod@colinhacks.com>
79
+ License Text:
80
+ ===
81
+
82
+ MIT License
83
+
84
+ Copyright (c) 2025 Colin McDonnell
85
+
86
+ Permission is hereby granted, free of charge, to any person obtaining a copy
87
+ of this software and associated documentation files (the "Software"), to deal
88
+ in the Software without restriction, including without limitation the rights
89
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
90
+ copies of the Software, and to permit persons to whom the Software is
91
+ furnished to do so, subject to the following conditions:
92
+
93
+ The above copyright notice and this permission notice shall be included in all
94
+ copies or substantial portions of the Software.
95
+
96
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
97
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
98
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
99
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
100
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
101
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
102
+ SOFTWARE.