@boardgamers/powergrid
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "@boardgamers/powergrid", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
import { sortBy, flatten, flattenDeep, fromPairs, pick } from "lodash"; | ||
import type PlayerColor from "./enums/player-color"; | ||
import type {UsCity} from "./maps/us"; | ||
import Resource from "./enums/resource"; | ||
@@ -110,3 +111,3 @@ import type Plant from "./plant"; | ||
while (pickedZones.size < nZones) { | ||
const cities = shuffle(flatten(model.zones.filter(zone => pickedZones.has(zone.key)).map(zone => zone.cities)), rng); | ||
const cities: UsCity[] = shuffle(flatten(model.zones.filter(zone => pickedZones.has(zone.key)).map(zone => zone.cities)), rng); | ||
@@ -113,0 +114,0 @@ let found = false; |
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
54390
1354