node-mock-geolocation 1.0.11-1
Package Information
| Description | mock implementation of the browser geolocation API This module replaces navigator.geolocation with a controllable implementation and can restore the original object afterwards. It supplies coordinates and timestamps to position requests and watchers, simulates geolocation errors, and supports cancelling position watches. |
|---|---|
| Maintainer | Home Assistant Team <team+homeassistant@tracker.debian.org> |
| Changed By | Edward Betts <edward@4angle.com> |
| Sponsor | edward@debian.org |
| Distribution | unstable |
| Architecture | all |
| VCS | git: https://salsa.debian.org/homeassistant-team/js/node-mock-geolocation.git (browse) |
| Closes | #1152411 |
| Tracker | https://tracker.debian.org/pkg/node-mock-geolocation |
| Uploaded | 3 hours ago |
New Package Report
.changes
| Architecture | all source |
|---|---|
| Distribution | unstable |
| Date | Wed, 28 Oct 2026 21:11:46 +0000 |
| Source | node-mock-geolocation |
| Version | 1.0.11-1 |
| Changed-By | Edward Betts <edward@4angle.com> |
Changelog
node-mock-geolocation (1.0.11-1) unstable; urgency=medium . * Initial release. (Closes: #1152411)
.dsc
| Section | javascript |
|---|---|
| Priority | optional |
| Component | main |
| Package-List | node-mock-geolocation deb javascript optional arch=all |
debian/copyright
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: mock-geolocation
Upstream-Contact: Mstislav Zhivodkov <stevemyz@gmail.com>
Source: https://github.com/2gis/mock-geolocation
Files: *
Copyright: 2016 2GIS
2014-2015 Mstislav Zhivodkov <stevemyz@gmail.com>
2015 Thomas Mayrhofer <thomas@mayrhofer.at>
License: Expat
Comment: The release declares MIT in package.json but omits the license text.
The text and 2GIS copyright notice were added upstream in commit
05a37b9, available at
https://github.com/2gis/mock-geolocation/blob/master/LICENSE.md
Files: debian/*
Copyright: 2026 Edward Betts <edward@4angle.com>
License: Expat
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.
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 2 hours ago.
Report
DFSG NEW review for node-mock-geolocation version 1.0.11-1
Summary
- Licensing is DFSG-compliant and
debian/copyrightis 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: 1 found
Licensing
debian/copyright is DEP-5: Files: * gives Expat with the three upstream holders and a Comment explaining that upstream's 1.0.11 tarball declares MIT only in package.json and ships no licence text (reproduced in full in the stand-alone License: Expat paragraph), and Files: debian/* gives Edward Betts/Expat. The only licence anywhere in the tree is Expat/MIT, so there is no incompatibility, nothing non-free, no third-party code, and no file lacking a licence: the npm package licence in package.json covers the upstream files, and the packaging files are covered by the debian/* stanza. The scan's minified file is generated from src/geolocate.js, which is shipped.
Packaging
Modern, correct nodejs packaging: compat 14 with dh $@, dh-nodejs with dh-sequence-nodejs-no-lerna and dh-sequence-single-binary, terser in Build-Depends for the dist rebuild in rules, 3.0 (quilt), a real autopkgtest (autopkgtest-pkg-nodejs plus debian/tests/pkg-js/test and a substantive geolocation.cjs), a valid DEP-5 copyright, current Standards-Version 4.7.4, Vcs-* and Homepage set, and a sane initial changelog. Build-Depends are all satisfiable and the runtime dependency handling is standard. No issues worth reporting.
Issues
None.
Verified
dist/geolocate.min.js, the minified file the scan flagged, is not a built file without source:src/geolocate.js(225 lines) is present,dist/geolocate.jsis a copy of it, anddebian/rulesregenerates both fromsrc/geolocate.jswithterserinoverride_dh_auto_build, so the preferred form for modification is in the package.- No file in the upstream tarball carries a copyright or licence header; the only upstream licence statement is
package.json's"license": "MIT".debian/copyrighthandles this correctly: theFiles: *Commentrecords that the release omits the licence text, and the stand-aloneLicense: Expatparagraph reproduces the full text. The holders named (2016 2GIS, 2014-2015 Mstislav Zhivodkov, 2015 Thomas Mayrhofer) match the package'sauthorfield and upstream's later LICENSE.md; the pre-review author scan found no holder thatdebian/copyrightomits. - All 10 upstream files and every file under
debian/were read in full or in the ranges needed. No binary, image, font, sound or archive files are in the tree.index.htmlis a demo; it loads the 2GIS Maps API fromhttp://maps.api.2gis.ruat runtime but embeds no third-party code, and it is not installed (debian/nodejs/filesinstalls onlyindex.js,src/,dist/, pluspackage.json, which dh-nodejs installs automatically). debian/copyrightis machine-readable and needs no replacement:Formatis the current 1.0 URL,Commentis allowed in a Files stanza,Files: *is followed byFiles: debian/*so the latter wins for packaging, and/usr/share/common-licensesis not referenced (Expat text is inline, as required). NoFiles-Excluded, and no repacked-away files are named.- Build-Depends are satisfiable (apt-cache):
dh-sequence-nodejs-no-lernais provided bydh-nodejs0.17.14,dh-sequence-single-binarybydebhelper14.5,terseris a real binary package (from node-terser), and unstable'snodejs24.22 satisfiesnodejs (>= 18). - The test really runs: the nodejs dh buildsystem's
teststep executesdebian/tests/pkg-js/test(it is whatdh_auto_testruns), which is whynodejs <!nocheck>is right; dh itself skipsdh_auto_testundernocheckat compat 13+. The same script is theautopkgtest-pkg-nodejstest, andrequire-SKIPcorrectly suppresses the generic bare-require test for a module that needs browser globals. - At compat 14 the binary's
Depends: ${misc:Depends}is correct; dh-nodejs addsnodejs:anyonly when the package installs a /usr/bin link, and this package installs no command (compare node-mkdirp, which likewise has no Depends). - Standards-Version 4.7.4 is current against Policy 4.7.4.1; source format is
3.0 (quilt)with no patches; the changelog is correctly dated/signed (1.0.11-1, unstable) and matches the upstream version;debian/upstream/metadatafields are valid; Vcs-* and Homepage agree with the copyright Source. - uscan found the packaged version as the newest upstream release (upstream
1.0.11, packaged1.0.11).
Not confirmed
- The changelog closes Debian bug #1152411 as the ITP; I could not check the bug report itself.
- The 2016 2GIS notice and the 2015 Thomas Mayrhofer holder in
debian/copyrightcome from upstream's later LICENSE.md and git history, which are not in the 1.0.11 tarball; nothing in the shipped files confirms them, but nothing contradicts them and the licence (Expat/MIT) is the same in package.json.
Proposed changes
None.
Uploader's response to the LLM review
The uploader was emailed about the review 2 hours ago.