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

@code-dot-org/maze

Package Overview
Dependencies
Maintainers
12
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@code-dot-org/maze - npm Package Compare versions

Comparing version 2.13.0 to 2.14.0

src/neighborhoodDrawer.js

2

package.json
{
"name": "@code-dot-org/maze",
"version": "2.13.0",
"version": "2.14.0",
"description": "standalone project for the Maze app type",

@@ -5,0 +5,0 @@ "main": "dist/main.js",

import Subtype from "./subtype";
import NeighborhoodCell from "./neighborhoodCell";
import NeighborhoodSquareDrawer from "./neighborhoodSquareDrawer";
import NeighborhoodCircleDrawer from "./neighborhoodCircleDrawer";
import NeighborhoodDrawer from "./neighborhoodDrawer";
import { Direction } from "./tiles";

@@ -79,20 +78,10 @@

**/
createDrawer(svg, drawer = "square") {
if (drawer === "square") {
this.drawer = new NeighborhoodSquareDrawer(
this.maze_.map,
this.skin_,
svg,
this.squareSize,
this
);
} else {
this.drawer = new NeighborhoodCircleDrawer(
this.maze_.map,
this.skin_,
svg,
this.squareSize,
this
);
}
createDrawer(svg) {
this.drawer = new NeighborhoodDrawer(
this.maze_.map,
this.skin_,
svg,
this.squareSize,
this
);
}

@@ -99,0 +88,0 @@

Sorry, the diff of this file is too big to display

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