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

drugwars

Package Overview
Dependencies
Maintainers
1
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

drugwars - npm Package Compare versions

Comparing version 0.0.70 to 0.0.71

2

lib/army.js

@@ -64,3 +64,3 @@ 'use strict';

for (var i = 0; i < unit.amount; i += 1) {
if (_this.name === 'defender' && unit.key === 'hobo' || _this.name === 'defender' && unit.key === 'spy') {} else {
if (_this.name === 'defender' && unit.key === 'hobo' || unit.key === 'spy') {} else {
_this.units.push(new _unit2.default(unit.key, i + 1, name, log));

@@ -67,0 +67,0 @@ }

{
"name": "drugwars",
"version": "0.0.70",
"version": "0.0.71",
"description": "A lightweight JavaScript library for DrugWars",

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

@@ -38,3 +38,3 @@ import { orderBy } from 'lodash';

for (let i = 0; i < unit.amount; i += 1) {
if (this.name === 'defender' && unit.key === 'hobo' || this.name === 'defender' && unit.key === 'spy' ) {
if (this.name === 'defender' && unit.key === 'hobo' || unit.key === 'spy' ) {
}

@@ -41,0 +41,0 @@ else

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

Sorry, the diff of this file is not supported yet

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