Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@planet/tessellator
Advanced tools
This is a module that, given a GeoJSON feature and a description of a set of dimensions will return an integer value representing a bitfield describing where the feature resides in the defined K-dimensional space.
npm install @planet/tessellator
const format = {
maxZoom: 13, //Max zoom at which tiles will be built.
dimensions: [ // Dimensions by which data can be filtered
{
name: 'acquired',
path: 'acquired', //Field in the feature's `properties` object
descr: 'Acquisition date',
type: 'date', // Type of key
range: ['2013/01/01', null], // Range of values
granularity: 86400000 * 7, // Granularity of values
primary: true //Primary dimension (one only) can be queried upon
},
{
name: 'Item Type',
path: 'item_type',
descr: 'Item Type',
type: 'list',
values: ['REScene', 'PSScene3Band', 'PSScene4Band']
},
{
name: 'Cloud Cover',
path: 'cloud_cover',
descr: 'Calculated Cloud Cover',
type: 'numericRange',
range: [0, 1],
granularity: 0.25
}
]
}
const tessellate = require('@planet/tessellator')(format);
let featureKey = tessellate(feature);
FAQs
Aggregate GeoJSON features in K-dimensions
We found that @planet/tessellator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.