
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
@jibestream-dev/jmap-zone-kit
Advanced tools
Kit for the Jibestream SDK to utilize Zones plotted in the CMS
jmap.core.BaseCollectionClass representing a collection of Devices.
Kit for working with Jibestream Zones
Kind: global class
StringStringStringClass representing a Zone
StringKind: instance property of Zone
StringKind: instance property of Zone
StringKind: instance property of Zone
jmap.core.BaseCollectionClass representing a collection of Devices.
Kind: global class
Extends: jmap.core.BaseCollection
jmap.core.BaseCollection
Create a collection of Devices.
BooleanReturns a boolean for whather or not argument is constructed as an Device object
Kind: instance method of ZoneCollection
Returns: Boolean - Boolean based on evaluation result
| Param | Type | Description |
|---|---|---|
| item | Object | Item to evaluate |
Array.<Zone>Kind: instance method of ZoneCollection
Returns: Array.<Zone> - - The desired Zone/s (or an empty array if name is invalid)
Access: public
| Param | Type | Description |
|---|---|---|
| name | string | The name of the desired Zone/s |
Example
const name = 'Food Court'
const zone = e(name)
Array.<Zone>Kind: instance method of ZoneCollection
Returns: Array.<Zone> - - The desired Zone/s (or an empty array if waypoint is invalid)
Access: public
| Param | Type | Description |
|---|---|---|
| waypoint | Waypoint | The waypoint to search with |
Example
const waypoint = control.currentMap.waypoints[0]
const zone = getByWaypoint(waypoint)
Array.<Zone>Kind: instance method of ZoneCollection
Returns: Array.<Zone> - - The desired Zone/s (or an empty array if map is invalid)
Access: public
| Param | Type | Description |
|---|---|---|
| map | Map | The map on which we're searching |
Example
const map = control.currentMap
const zone = getByMap(map)
Kit for working with Jibestream Zones
Kind: global class
Array.<jmap.core.Waypoint>Array.<jmap.core.Destination>Array.<jmap.core.Amentity>jmap.Boundsjmap.jungle.shape.PolygonPolygonZoneKitArray.<Number>jmap.core.WaypointZoneKitZoneKitZoneKitCreate a ZoneKit.
| Param | Type | Description |
|---|---|---|
| core | jmap.core | instantiated JCore |
| control | jmap.JController | instantiated JController |
Array.<jmap.core.Waypoint>Kind: instance method of ZoneKit
Returns: Array.<jmap.core.Waypoint> - - The waypoints associated with a given zone (or an empty array)
Access: public
| Param | Type | Description |
|---|---|---|
| zone | Zone | The Zone we're using to search for waypoints |
Example
const zone = zoneKit.zones.getAll()[0]
const waypoints = zoneKit.getWaypointsInZone(zone)
Array.<jmap.core.Destination>Kind: instance method of ZoneKit
Returns: Array.<jmap.core.Destination> - - The destinations associated with a given zone
(or an empty array)
Access: public
| Param | Type | Description |
|---|---|---|
| zone | Zone | The Zone we're using to search for destinations |
Example
const zone = zoneKit.zones.getAll()[0]
const destinations = zoneKit.getDestinationsInZone(zone)
Array.<jmap.core.Amentity>Kind: instance method of ZoneKit
Returns: Array.<jmap.core.Amentity> - - The amenities associated with a given zone (or an empty array)
Access: public
| Param | Type | Description |
|---|---|---|
| zone | Zone | The Zone we're using to search for destinations |
Example
const zone = zoneKit.zones.getAll()[0]
const amentities = zoneKit.getAmenitiesInZone(zone)
jmap.BoundsKind: instance method of ZoneKit
Returns: jmap.Bounds - - A Bounds object
Access: public
| Param | Type | Description |
|---|---|---|
| zone | Zone | The Zone we're using to calculate bounding boxes |
| map | jmap.core.Map | The map we'll use to calculate the bounding box |
Example
const zone = zoneKit.zones.getAll()[0]
const map = control.currentMap
const bounds = zoneKit.getBoundsOfZone(zone, map)
jmap.jungle.shape.PolygonKind: instance method of ZoneKit
Returns: jmap.jungle.shape.Polygon - - A Polygon object
Access: public
| Param | Type | Description |
|---|---|---|
| zone | Zone | The Zone we're using to calculate polygons |
| map | jmap.core.Map | The map we'll use to calculate the polygon |
Example
const zone = zoneKit.zones.getAll()[0]
const map = control.currentMap
const polygon = zoneKit.getPolygonOfZone(zone, map)
PolygonKind: instance method of ZoneKit
Returns: Polygon - - The polygon that was drawn
Access: public
| Param | Type | Description |
|---|---|---|
| zone | Zone | The Zone we wish to highlight using a polygon |
| map | jmap.core.Map | The map we wish to draw the polygon on |
| style | jmap.Style | The way in which the polygon should be styled. Default style uses zone.color |
Example
const zone = zoneKit.zones.getAll()[0]
const map = control.currentMap
const polygon = zoneKit.drawPolygonOfZone(zone, map)
ZoneKitKind: instance method of ZoneKit
Returns: ZoneKit - - The current ZoneKit instance
Access: public
| Param | Type | Description |
|---|---|---|
| [cb] | function | The callback function, which will run once the Zones have been retrieved. The Zones will be stored in this.zones |
Example
const fn = (error, zones) => console.log(zones)
zoneKit.getZones(fn)
Array.<Number>Kind: instance method of ZoneKit
Returns: Array.<Number> - - The centroid in the form of [x, y]
Access: public
| Param | Type | Description |
|---|---|---|
| zone | Zone | The zone we wish to find the centroid of |
| map | jmap.core.Map | The map on which we'll use to find the centroid |
Example
const zone = zoneKit.zones.getAll()[0]
const map = control.currentMap
const centroid = zoneKit.getCentroidOfZone(zone, map)
jmap.core.WaypointKind: instance method of ZoneKit
Returns: jmap.core.Waypoint - - The closest waypoint within the specified Zone
to the provided point
Access: public
| Param | Type | Default | Description |
|---|---|---|---|
| zone | Zone | The zone we wish to search within | |
| jMapPoint | jMapPoint | The point we wish to search with | |
| [searchType] | String | 'proximity' | Either 'proximity' or 'grid' |
Example
const jMapPoint = { x: 2750, y: 2750, mapId: control.currentMap.id }
const zone = zoneKit.zones.getAll()[0]
const waypoint = zoneKit.getClosestWaypointInZoneToPoint(zone, jMapPoint)
ZoneKitKind: instance method of ZoneKit
Returns: ZoneKit - - The current ZoneKit instance
Access: public
| Param | Type | Description |
|---|---|---|
| zone | Zone | The zone we wish to highlight |
| style | jmap.Style | The way in which the unit will be styled |
Example
const zone = zoneKit.zones.getAll()[0]
const style = new jmap.Style({ fill: '#4a85e2' })
zoneKit.highlightUnitsInZone(zone, style)
ZoneKitKind: instance method of ZoneKit
Returns: ZoneKit - - The current ZoneKit instance
Access: public
| Param | Type | Description |
|---|---|---|
| zonesExitedCallback | function | Callback for zones being exited |
| zonesEnteredCallback | function | Callback for zones being entered |
Example
function watchMovingObjCallback(zones) {
}
zoneKit.watchMovingObjects(watchMovingObjCallback, watchMovingObjCallback)
ZoneKitKind: instance method of ZoneKit
Returns: ZoneKit - - The current ZoneKit instance
Access: public
Example
zonKit.unwatchMovingObjects()
FAQs
Kit for the Jibestream SDK to utilize Zones plotted in the CMS
The npm package @jibestream-dev/jmap-zone-kit receives a total of 88 weekly downloads. As such, @jibestream-dev/jmap-zone-kit popularity was classified as not popular.
We found that @jibestream-dev/jmap-zone-kit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.