New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

navmesh

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

navmesh - npm Package Compare versions

Comparing version 2.3.0 to 2.3.1

0

dist/channel.d.ts

@@ -0,0 +0,0 @@ import Vector2 from "./math/vector-2";

@@ -0,0 +0,0 @@ export interface Point {

@@ -0,0 +0,0 @@ /**

3

dist/map-parsers/build-polys-from-grid-map.d.ts

@@ -21,4 +21,7 @@ import { PolyPoints } from "../common-types";

* Defaults to assuming "truthy" means walkable.
* @param [shrinkAmount=0] Amount to "shrink" the mesh away from the tiles. This adds more polygons
* to the generated mesh, but can be helpful for preventing agents from getting caught on edges.
* This supports values between 0 and tileWidth/tileHeight (whichever dimension is smaller).
*/
export default function buildPolysFromGridMap<TileType>(map: TileType[][], tileWidth?: number, tileHeight?: number, isWalkable?: TileWalkableTest<TileType>, shrinkAmount?: number): PolyPoints[];
//# sourceMappingURL=build-polys-from-grid-map.d.ts.map

@@ -0,0 +0,0 @@ export declare type TileWalkableTest<TileType> = (tile: TileType, x: number, y: number) => boolean;

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ import { Point } from "../common-types";

@@ -0,0 +0,0 @@ import { Point } from "../common-types";

@@ -0,0 +0,0 @@ import Vector2 from "./vector-2";

@@ -0,0 +0,0 @@ import { Point } from "../common-types";

@@ -0,0 +0,0 @@ import { Point } from "../common-types";

@@ -0,0 +0,0 @@ import jsastar from "javascript-astar";

@@ -0,0 +0,0 @@ import NavPoly from "./navpoly";

@@ -0,0 +0,0 @@ import Line from "./math/line";

@@ -0,0 +0,0 @@ import { Point } from "./common-types";

4

package.json
{
"name": "navmesh",
"version": "2.3.0",
"version": "2.3.1",
"description": "A library for fast pathfinding using navigation meshes in JS",

@@ -55,3 +55,3 @@ "main": "dist/navmesh.js",

"homepage": "https://github.com/mikewesthad/phaser-navmesh-plugin#readme",
"gitHead": "3a3d21e259e67480fab9ec76c674d849855fa81f"
"gitHead": "03190dcb4352d0d39c7e72f5d1af4b10dfb4f705"
}

@@ -27,2 +27,5 @@ import { Point, PolyPoints } from "../common-types";

* Defaults to assuming "truthy" means walkable.
* @param [shrinkAmount=0] Amount to "shrink" the mesh away from the tiles. This adds more polygons
* to the generated mesh, but can be helpful for preventing agents from getting caught on edges.
* This supports values between 0 and tileWidth/tileHeight (whichever dimension is smaller).
*/

@@ -29,0 +32,0 @@ export default function buildPolysFromGridMap<TileType>(

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc