@sbj42/word-search-generator
Advanced tools
Comparing version 0.1.0 to 0.1.1
"use strict"; | ||
var WordSearch = (function () { | ||
exports.__esModule = true; | ||
var WordSearch = /** @class */ (function () { | ||
function WordSearch(width, height, grid, words) { | ||
@@ -24,2 +25,3 @@ this.width = width; | ||
}()); | ||
var defaultMinLength = 3; | ||
var defaultSize = 10; | ||
@@ -38,3 +40,3 @@ var effort = 10000; | ||
if (options.minLength == null) | ||
options.minLength = 3; | ||
options.minLength = defaultMinLength; | ||
if (options.maxLength != null && options.maxLength < options.minLength) | ||
@@ -41,0 +43,0 @@ options.maxLength = options.minLength; |
{ | ||
"name": "@sbj42/word-search-generator", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "A program to generate word search puzzles", | ||
@@ -25,3 +25,3 @@ "main": "dist/generator.js", | ||
"homepage": "https://github.com/sbj42/maze-generator-core#readme", | ||
"devDependencies": { | ||
"xdevDependencies": { | ||
"gulp": "^3.9.1", | ||
@@ -31,3 +31,9 @@ "gulp-typescript": "^3.1.3", | ||
"@types/node": "^6.0.49" | ||
}, | ||
"devDependencies": { | ||
"@types/node": "^13.13.4", | ||
"gulp": "^4.0.2", | ||
"gulp-typescript": "^6.0.0-alpha.1", | ||
"typescript": "^3.8.3" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
26411
137
6