
Security News
AI Slop Is Polluting Bug Bounty Platforms with Fake Vulnerability Reports
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.
compare-geojson
Advanced tools
DEPRECATED! Go to @mapbox/osm-compare
Compare functions are small atomic functions that are designed identify what changed during a feature edit on OpenStreetMap. Compare functions can be broadly split up into two categories:
Compare functions take as inputs the following:
oldVersion
- GeoJSON of the feature's old versionnewVersion
- GeoJSON of the feature's new versioncallback
- A function to call after processing.Compare functions output the following:
error
- Error if any during processing or null
.result
- Object containing key value pairs representing findings of the compare function or an empty object.# Format of compare function result where value can be primary data types or objects
{
'result:comparator_name': value
}
# Format of compare function if no result, (default)
{
'result:comparator_name': {}
}
git clone https://github.com/mapbox/osm-compare
cd osm-compare
npm install
npm test
tests/fixtures/
comparators/
(check comparators/example.js for format)npm test
index.js
cd compare-geojson/tests/
tests/fixtures/
folder (check tests/fixtures/example.json for format)node tests/test_compare_function.js tests/fixtures/example.json
npm version [major|minor|patch]
.git push --tags
npm publish
DEPRECATED! Go to @mapbox/osm-compare
FAQs
Compare a features new and old versions in GeoJSON
The npm package compare-geojson receives a total of 24 weekly downloads. As such, compare-geojson popularity was classified as not popular.
We found that compare-geojson demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.
Research
Security News
The Socket Research team investigates a malicious Python package disguised as a Discord error logger that executes remote commands and exfiltrates data via a covert C2 channel.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.