DFSG NEW Queue

DFSG, Licensing & New Packages Team

node-mapbox-gl-utils 3.0.0+~cs1.1.0+2.3.0-1

Package Information

DescriptionMapbox vector tile, geometry and font rendering utilities

This package contains three JavaScript modules.

* @mapbox/vector-tile reads layers, features and geometry from Mapbox Vector Tiles and converts features to GeoJSON. * @mapbox/point-geometry provides a Point class with coordinate transformations, distance calculations and vector arithmetic. * @mapbox/tiny-sdf generates signed distance fields from font glyphs using Canvas 2D, for text rendering with WebGL.

MaintainerHome Assistant Team <team+homeassistant@tracker.debian.org>
Changed ByEdward Betts <edward@4angle.com>
Sponsoredward@debian.org
Distributionunstable
Architectureall
VCSgit: https://salsa.debian.org/homeassistant-team/js/node-mapbox-gl-utils.git (browse)
Closes#1152637
Trackerhttps://tracker.debian.org/pkg/node-mapbox-gl-utils
Uploaded4 hours ago

New Package Report

.changes◂
Version3.0.0+~cs1.1.0+2.3.0-1
Changed-ByEdward Betts <edward@4angle.com>
Architectureall source
Distributionunstable
DateFri, 30 Oct 2026 19:36:08 +0000
Sourcenode-mapbox-gl-utils
Changelog◂
node-mapbox-gl-utils (3.0.0+~cs1.1.0+2.3.0-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1152637)
.dsc◂
Priorityoptional
Componentmain
Package-Listnode-mapbox-gl-utils deb javascript optional arch=all
Sectionjavascript
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Mapbox vector tile, geometry and font rendering utilities
Upstream-Contact: Mapbox contributors
Source: https://github.com/mapbox/vector-tile-js
 https://github.com/mapbox/point-geometry
 https://github.com/mapbox/tiny-sdf

Files: mapbox-vector-tile/*
Copyright: 2024 Mapbox
License: BSD-3-Clause

Files: mapbox-point-geometry/*
Copyright: 2024 Mapbox
License: ISC

Files: mapbox-tiny-sdf/*
Copyright: 2016-2024 Mapbox, Inc.
License: BSD-2-Clause

Files: debian/*
Copyright: 2026 Edward Betts <edward@4angle.com>
License: BSD-3-Clause


License: BSD-3-Clause
 All rights reserved.
 .
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
 .
 * Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.
 * Neither the name of Mapbox nor the names of its contributors may be used to
   endorse or promote products derived from this software without specific
   prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

License: ISC
 Permission to use, copy, modify, and/or distribute this software for any
 purpose with or without fee is hereby granted, provided that the above
 copyright notice and this permission notice appear in all copies.
 .
 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
 REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
 AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
 INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
 LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
 OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 PERFORMANCE OF THIS SOFTWARE.

License: BSD-2-Clause
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions are met:
 .
 1. Redistributions of source code must retain the above copyright notice, this
   list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the above copyright notice,
   this list of conditions and the following disclaimer in the documentation
   and/or other materials provided with the distribution.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS”
 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 1 minor

This is an LLM based review using a Debian Inference based workflow. It was not written by a member of the DFSG team and has not been checked by one. It is not a decision on the package: it may be wrong, and it may have missed things.

Reviewed 2 hours ago.

Report◂

DFSG NEW review for node-mapbox-gl-utils version 3.0.0+~cs1.1.0+2.3.0-1

Summary

  • Licensing is DFSG-compliant and debian/copyright is accurate: Yes
  • Packaging is of good quality: Yes
  • Issues: 0 blocker, 0 important, 1 minor
  • debian/watch: version 5
  • debian/copyright: machine-readable
  • Scan before the review: 9 found

Licensing

debian/copyright is DEP-5 with the correct Format line. It has one Files stanza per upstream component plus debian/*, and each licence short name matches the component's own LICENSE file both in identity and version: mapbox-vector-tile is BSD-3-Clause, mapbox-point-geometry ISC, mapbox-tiny-sdf BSD-2-Clause (its LICENSE.txt even carries an SPDX line), and the three package.json license fields agree with those names. The Copyright holders (Mapbox / Mapbox, Inc., 2024 and 2016-2024) match the notices, and no other holder appears anywhere in the tree. All three licences are free with no non-commercial, no-modification or field-of-use terms, full texts are reproduced (none of them is in /usr/share/common-licenses), and BSD-3/ISC/BSD-2 combine freely in one binary. The binary test data are accounted for and are not built files. The only inaccuracy is that the one Debian-added top-level file, .gitignore, matches none of the four Files patterns.

Packaging

Tidy pkg-js packaging for a three-component repack. debhelper compat 14 with dh-sequence-nodejs-no-lerna and dh-sequence-single-binary; debian/nodejs/{main,additional_components,root_modules} install all three modules at /usr/share/nodejs/@mapbox/{vector-tile,point-geometry,tiny-sdf} and dh-nodejs generates Provides for each of them plus node-mapbox-vector-tile. The .d.ts files are generated from index.js + tsconfig.json by debian/nodejs//build (tsc) and removed again by debian/clean, so the generated code has its input. Build-Depends are all real: node-geojson provides node-types-geojson (= 7946.0.16) for the @types/geojson extlink that tsc needs, node-pbf is in NEW at 5.1.2, and node-canvas/node-pngjs/fonts-noto-cjk are correctly marked <!nocheck> because dh_auto_test runs debian/tests/pkg-js/test during the build. Testsuite: autopkgtest-pkg-nodejs with debian/tests/pkg-js present, dgit-maint-merge quilt patch with the Debian delta alone, sane initial changelog closing #1152637, Vcs- and upstream/metadata present, Standards-Version 4.7.4 against Policy 4.7.4.1.

Issues

minor licensing 1. No Files stanza covers the top-level .gitignore, so that file has no declared copyright or licence ◂
  • Files: .gitignore, debian/copyright (stanzas mapbox-vector-tile/*, mapbox-point-geometry/*, mapbox-tiny-sdf/*, debian/*), debian/patches/dgit-changes
  • Basis: checked, in the package or with a reference tool
  • Evidence: The dgit patch adds the file: new file mode 100644 ... +++ b/.gitignore with contents node_modules and .DS_Store. debian/copyright has no Files: * stanza and no header License: field, and none of its four patterns (mapbox-vector-tile/*, mapbox-point-geometry/*, mapbox-tiny-sdf/*, debian/*) is anchored at /, so .gitignore is the only file in the tree that no stanza matches.
  • Problem: copyright-format 1.0 (sections 5.1 and 5.2) expects the copyright and licence of the package to be given either by a Files stanza matching the file or by the header's License field. Every other path in the source is covered; this one is not, and it is Debian's own addition, so the missing grant is the packager's to state.
  • Fix: Add a Files: * stanza before the standalone Licence paragraphs (Copyright: 2026 Edward Betts edward@4angle.com, License: BSD-3-Clause), or a dedicated Files: .gitignore stanza naming the same holder and licence.
Verified ◂
  • mapbox-vector-tile/test/fixtures/12-1143-1497.vector.pbf: Mapbox Vector Tile protobuf test fixture read by mapbox-vector-tile/test/parse.test.js; hand-checked-in test data, not build output; covered by the BSD-3-Clause mapbox-vector-tile/* stanza.
  • mapbox-vector-tile/test/fixtures/14-8801-5371.vector.pbf: same kind; also the tile read by mapbox-vector-tile/bench.js and the first fixture used in parse.test.js; test data, covered by the BSD-3-Clause stanza.
  • mapbox-vector-tile/test/fixtures/lots-of-tags.vector.pbf: same kind; vector-tile test fixture, covered by the BSD-3-Clause stanza.
  • mapbox-vector-tile/test/fixtures/multi-polygon.pbf: same kind; vector-tile test fixture, covered by the BSD-3-Clause stanza.
  • mapbox-vector-tile/test/fixtures/multipolygon-with-closepath.pbf: same kind; vector-tile test fixture, covered by the BSD-3-Clause stanza.
  • mapbox-vector-tile/test/fixtures/multipolygon.pbf: same kind; vector-tile test fixture, covered by the BSD-3-Clause stanza.
  • mapbox-vector-tile/test/fixtures/polygon-with-inner.pbf: same kind; vector-tile test fixture, covered by the BSD-3-Clause stanza.
  • mapbox-vector-tile/test/fixtures/singleton-multi-polygon.pbf: same kind; vector-tile test fixture, covered by the BSD-3-Clause stanza.
  • mapbox-vector-tile/test/fixtures/stacked-multipolygon.pbf: same kind; vector-tile test fixture, covered by the BSD-3-Clause stanza.
  • The seven further .pbf files the scan did not list -- mapbox-vector-tile/test/fixtures/{multi-line,multi-point,singleton-multi-line,singleton-multi-point,zero-line,zero-point,zero-polygon}.pbf -- are the same kind of vector-tile test fixture and are equally covered by the BSD-3-Clause stanza.
  • mapbox-tiny-sdf/test/fixtures/{1-raw.png,1-sdf.png,1-metrics.json,1-out.json} are test expectations: test/test.js regenerates them itself (if (process.env.UPDATE) writeFileSync(...)) and compares against them; covered by the BSD-2-Clause mapbox-tiny-sdf/* stanza.
  • Full text of the three LICENSE files read and compared with the License paragraphs: mapbox-vector-tile/LICENSE.txt = BSD-3-Clause naming Mapbox, mapbox-point-geometry/LICENSE = ISC, mapbox-tiny-sdf/LICENSE.txt = BSD-2-Clause Copyright (c) 2016-2024 Mapbox, Inc.; the copyright years and entities in debian/copyright match them.
  • No SPDX headers, copyright notices or other licence statements exist in any .js, .json, .html, .proto, .yml or .md file outside the LICENSE files and package.json license fields (grep for Copyright/(C)/©/SPDX/Licensed under/GNU/Apache/Mozilla/public domain/All rights reserved over the whole tree). package-lock.json license entries describe npm dev-dependencies that are not shipped.
  • mapbox-tiny-sdf/index.html contains import {mat4} from 'https://cdn.skypack.dev/pin/gl-matrix@v3.3.0-.../gl-matrix.js'; no third-party code is embedded (so no missing licence text), it is an upstream browser demo page, and it is not installed in the binary package (package.json files is only index.d.ts, plus index.js as main).
  • mapbox-vector-tile/proto/vector_tile.proto (the protocol version 1 schema) has no notice of its own and is distributed by upstream under the repository's BSD-3-Clause LICENSE.txt, which is what the mapbox-vector-tile/* stanza says.
  • Runtime imports are only @mapbox/point-geometry from vector-tile, which the same binary provides; pbf and geojson appear only as JSDoc @import type references (mapbox-vector-tile/index.js:4-5). The Depends on node-geojson and node-pbf therefore mirror upstream's package.json dependencies and are needed at build/test time (tsc type resolution, pbf in parse.test.js); not reported as a fault.
  • The only file at the top level of the tree besides the three component directories and debian/ is .gitignore, added by debian/patches/dgit-changes.
  • debhelper behaviour checked against the installed tools: /usr/share/perl5/Debian/Debhelper/Buildsystem/nodejs.pm sub test runs debian/tests/pkg-js/test at build time, sub build runs debian/nodejs//build (tsc --project tsconfig.json), install forces package.json#main and populates ${nodejs:Provides} for every root component (node-mapbox-vector-tile (= 3.0.0), node-mapbox-point-geometry (= 1.1.0), node-mapbox-tiny-sdf (= 2.3.0)).
  • apt-cache checks: node-geojson 0.5.0+~7946.0.16-1 provides node-types-geojson (= 7946.0.16); node-canvas 3.2.3+dfsg-3; node-pngjs 3.0.0-1; node-typescript 6.0.3-2 (>= 5.5 satisfied); fonts-noto-cjk 1:20240730+repack1-1; dh-sequence-single-binary provided by debhelper 14.5; dh-sequence-nodejs-no-lerna provided by dh-nodejs 0.17.14; node-pbf is not in the archive yet but is built by source node-pbf 5.1.2-1 in NEW.
  • Standards-Version 4.7.4 against Policy 4.7.4.1 (policy tool): first two components match, so not an issue.
  • uscan found the packaged version as the newest upstream release (upstream 3.0.0, packaged 3.0.0).
Not confirmed ◂
  • I did not inspect Debian's node-pngjs 3.0.0 to see whether the PNG.sync.read API that mapbox-tiny-sdf/test/test.js uses exists there; upstream's devDependency is pngjs ^7.0.0 and the version constraints are not checked by anything in the package (debian/nodejs/extlinks names it only as pngjs test). A build would show it.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 2 hours ago.

Back to Dashboard | View all reviews for this package