DFSG NEW Queue

DFSG, Licensing & New Packages Team

node-maplibre-gl-style-spec 26.9.0-1

Package Information

DescriptionMapLibre style specification and manipulation utilities

This library defines the JSON format used to describe MapLibre map styles. It validates styles, evaluates filters and expressions, compares styles and migrates older style documents.

Command-line tools provide style validation, formatting and migration.

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-maplibre-gl-style-spec.git (browse)
Closes#1155102
Trackerhttps://tracker.debian.org/pkg/node-maplibre-gl-style-spec
Uploaded2 hours ago

New Package Report

.changes◂
Version26.9.0-1
Changed-ByEdward Betts <edward@4angle.com>
Architectureall source
Distributionunstable
DateTue, 24 Nov 2026 07:27:42 +0000
Sourcenode-maplibre-gl-style-spec
Changelog◂
node-maplibre-gl-style-spec (26.9.0-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #1155102)
.dsc◂
Componentmain
Package-Listnode-maplibre-gl-style-spec deb javascript optional arch=all
Sectionjavascript
Priorityoptional
debian/copyright◂
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: @maplibre/maplibre-gl-style-spec
Upstream-Contact: MapLibre contributors
Source: https://github.com/maplibre/maplibre-style-spec

Files: *
Copyright: 2020 MapLibre contributors (all rights reserved)
           2020 Mapbox
           2011 Evan Wallace
           2010-2016 Mike Bostock (all rights reserved)
License: BSD-3-clause-MapLibre and BSD-3-clause-Mapbox and BSD-3-clause-d3 and Expat

Files: src/util/cheap_ruler.ts
Copyright: 2020 MapLibre contributors (all rights reserved)
           2020 Mapbox
License: BSD-3-clause-MapLibre and ISC
Comment: Adapted from https://github.com/mapbox/cheap-ruler

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


License: BSD-3-clause-MapLibre
 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 MapLibre GL JS 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: BSD-3-clause-Mapbox
 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 GL JS 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: BSD-3-clause-d3
 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 the author nor the names of 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: Expat
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.

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.

DFSG Assistant LLM REVIEW 0 blocker, 0 important, 0 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 0 hours ago.

Report◂

DFSG NEW review for node-maplibre-gl-style-spec version 26.9.0-1

Summary

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

Licensing

debian/copyright is DEP-5 and accurate. LICENSE.txt's four copyright holders (2020 MapLibre contributors, 2020 Mapbox, 2011 Evan Wallace, 2010-2016 Mike Bostock) and all five licence texts it contains (BSD-3-clause-MapLibre, BSD-3-clause-Mapbox, BSD-3-clause-d3, Expat) are reproduced, and the one third-party derivation that carries its own lineage, src/util/cheap_ruler.ts, has its own stanza with the ISC text Debian added for it. All licences are DFSG-free and mutually compatible, no file carries a restrictive or missing term, and the tree holds no built, minified or unlicensed artefact. Upstream's package.json declares "license": "ISC" while LICENSE.txt and README say BSD-3-Clause; Debian follows LICENSE.txt, the operative grant, so this is an upstream metadata inconsistency, not a copyright-file error.

Packaging

Packaging is in good shape: compat 14 with the dh-nodejs (no-lerna) sequence, every Build-Depends and Depends name exists in the archive, the debian/nodejs files (dist, links, extlinks, build hook) match what debian/build.cjs produces and what dist actually imports, dh-nodejs installs package.json and creates the /usr/bin symlinks from package.json#bin itself, Standards-Version 4.7.4 is current, and a pkg-js autopkgtest and upstream/metadata are present. No patches, maintainer scripts or install files are needed, and the changelog is a correct initial release.

Issues

None.

Verified ◂
  • Read every file under debian/ in full: control, rules, changelog, copyright, clean, build.cjs, tsconfig.json, the .docs file, source/format, upstream/metadata, nodejs/{build,files,links,extlinks} and all six files of tests/pkg-js.
  • debian/copyright is copyright-format 1.0: header with Upstream-Name/Source, Files: *, an overriding Files: src/util/cheap_ruler.ts stanza and Files: debian/*, plus stand-alone License paragraphs for all five short names used; the Format URL is the current one.
  • LICENSE.txt is transcribed faithfully: 2020 MapLibre contributors (BSD-3-clause-MapLibre), 2020 Mapbox (BSD-3-clause-Mapbox), 2011 Evan Wallace/glfx.js (Expat), 2010-2016 Mike Bostock/d3-color (BSD-3-clause-d3), each with its full text in debian/copyright.
  • The pre-scan's holder check over 906 files named every holder it found; a tree-wide grep for Copyright/(C)/©/SPDX-License-Identifier/Licensed under/Permission is hereby granted/GNU/Apache/MPL/public domain/All rights reserved returns nothing besides LICENSE.txt and the licence texts already in debian/copyright, so no file has a notice debian/copyright lacks.
  • src/util/cheap_ruler.ts is the only file with an attribution comment (taken from https://github.com/mapbox/cheap-ruler/); its stanza gives Mapbox copyright and the ISC text. node-cheap-ruler is not in the reviewing system's lists, so the embedded subset could not have been replaced by a Debian package.
  • src/expression/types/color_spaces.ts says See https://observablehq.com/@mbostock/lab-and-rgb (d3-color lineage) and src/expression/types/color.ts points at chroma.js for the hue-interpolation algorithm; Mike Bostock and the d3 licence text are in debian/copyright, and the chroma reference is a comment on a standard algorithm, not a copied work with a notice.
  • No built files: dist/ and src/types.g.ts are absent from the tree; src/types.g.ts is written by build/generate-style-spec.ts (build/generate-style-spec.ts:175-176) and removed by debian/clean, and src/reference/v8.json is that generator's input (line 2), not its output.
  • docs/assets/hillshade_methods.png and docs/assets/resampling.png are documentation images (with logo.svg, the other SVGs and extra.css) not installed by any binary package: debian/nodejs/files installs only dist and the .docs file installs README.md; they are covered by Files: *.
  • CONTRIBUTING.md's proprietary license paragraph is the project's policy against backporting Mapbox code, not a licence term of this package; package-lock.json's CC-BY-3.0 line is the spdx-exceptions devDependency, and the lockfile is not installed (only dist is).
  • No debian/patches (source format 3.0 (quilt) with nothing applied), no maintainer scripts, no .install/.links/*.dirs, no Files-Excluded needed.
  • Every name in Build-Depends and Depends was checked with apt-cache: all exist in the archive; node-mapbox-unitbezier is only in the archive (1.0.0-1, accepted for unstable) and not yet in the reviewing system's lists, which is not a fault.
  • Depends covers everything dist imports: minimist, @mapbox/jsonlint-lines-primitives, @mapbox/unitbezier, quickselect, tinyqueue, and json-stringify-pretty-compact plus @types/{node,geojson} through node-vega-lite (Provides node-json-stringify-pretty-compact = 4.0.0), nodejs (Provides node-types-node) and node-geojson (Provides node-types-geojson); debian/nodejs/links creates matching in-package symlinks.
  • dh-nodejs installs package.json together with the debian/nodejs/files entry and builds /usr/bin/gl-style-{validate,format,migrate} from package.json#bin, adding nodejs:any to ${misc:Depends}; debian/nodejs/extlinks correctly marks the test-only modules test so a nocheck configure skips them while the builder json-stringify-pretty-compact link uses the unconditional node-vega-lite Build-Depends.
  • Compat 14 is used correctly (no missing relationship substvars; dh_nodejs_substvars only handles Provides), Standards-Version 4.7.4 against Policy 4.7.4.1 is current, the changelog is an initial release closing #1155102, and Vcs-*/Homepage/upstream metadata are consistent with the Source field.
  • Testsuite: autopkgtest-pkg-nodejs is backed by debian/tests/pkg-js/{test,files,jest.config.cjs,transform.cjs,vitest.cjs,build.test.cjs} plus src, test/integration and test/lib in the files list; the same script runs at build time through dh_auto_test, with jest, node-glob and node-typescript in Build-Depends.
  • uscan found the packaged version as the newest upstream release (upstream 26.9.0, packaged 26.9.0).
Not confirmed ◂
  • docs/assets/hillshade_methods.png and docs/assets/resampling.png were not opened (binary images); they were judged from their path and from the documentation that uses them.
  • Could not check how the pkg-js autopkgtest runner sets up its testbed: debian/tests/pkg-js/build.test.cjs uses ../../../dist, which exists only after a build, and the jest run needs jest, node-typescript and node-glob, which are Build-Depends marked <!nocheck> and not Depends. No pkg-js autopkgtest framework file is installed on the reviewing system to read, so an autopkgtest run is what would show whether dist and those tools are available there.
Proposed changes ◂

None.

Uploader's response to the LLM review

The uploader was emailed about the review 0 hours ago.

Back to Dashboard | View all reviews for this package