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

@boardgamers/powergrid

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boardgamers/powergrid - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

package.json
{
"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;

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