Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sbj42/maze-generator

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sbj42/maze-generator - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

2

package.json
{
"name": "@sbj42/maze-generator",
"version": "2.0.5",
"version": "2.0.6",
"description": "An infrastructure for generating mazes",

@@ -5,0 +5,0 @@ "main": "src",

@@ -30,6 +30,10 @@ var Maze = require('@sbj42/maze-generator-core').Maze;

var generator;
try {
generator = require(options.generator);
} catch (e) {
throw new Error('failed to load plugin ' + options.generator + ': ' + e.toString());
if (typeof(options.generator) == 'string') {
try {
generator = require(options.generator);
} catch (e) {
throw new Error('failed to load plugin ' + options.generator + ': ' + e.toString());
}
} else {
generator = options.generator;
}

@@ -36,0 +40,0 @@ generator(maze, options);

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