Security News
Supply Chain Attack Detected in @solana/web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@mapbox/bundle-fairy
Advanced tools
Detect bundles of geometry.
A bundle is a compressed (zipped .zip
) directory containing either:
Bunldes are used as an in-between format for two cases:
A bundle MUST include:
.zip
extension.geojson
or .csv
)A bundle MAY include:
.index
)metadata.json
file, which is exactly the output of mapnik-omnivore
A bundle MAY NOT include:
.geojson
AND a .csv
)geojson
or csv
npm install @mapbox/bundle-fairy
var fairy = require('@mapbox/bundle-fairy');
isBundle()
fairy.isBundle('./path/to/file.zip', function(err, isbundle) {
if (err) throw err;
console.log(isbundle); // true! or false :(
});
extract()
// ***** exact output of this function is yet to be determined *****
fairy.isBundle('./path/to/file.zip', function(err, uri) {
if (err) throw err;
console.log(uri); // uri string to extracted directory
});
Check if is bundle
$ bundle-fairy isbundle <zipfile>
Extract bundle
$ bundle-fairy extract <zipfile>
npm test
¯\_(ツ)_/¯
FAQs
Check if ZIP is a bundle and extract
The npm package @mapbox/bundle-fairy receives a total of 0 weekly downloads. As such, @mapbox/bundle-fairy popularity was classified as not popular.
We found that @mapbox/bundle-fairy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 108 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.