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

flea-killer

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flea-killer - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

6

lib/league.js

@@ -53,3 +53,3 @@ // League scraper

// Teams in the league
$('.league-standings tr.first th .tt-content').each(function() {
$('.league-standings tr:nth-child(2) th .tt-content').each(function() {
league.stats.push($(this).text());

@@ -79,4 +79,4 @@ });

team.stats[stat] = {
points: parseFloat(row.find('td:nth-child(' + (3 * index + 4) + ')').text()),
value: parseFloat(row.find('td:nth-child(' + (3 * index + 5) + ')').text().replace(/,/g, ''))
points: parseFloat(row.find('td:nth-child(' + (3 * index + 4) + ')' + ' .text-muted').text()),
value: parseFloat(row.find('td:nth-child(' + (3 * index + 4) + ')' + ' .nowrap').text().replace(/,/g, ''))
}

@@ -83,0 +83,0 @@ });

{
"name": "flea-killer",
"version": "0.1.3",
"version": "0.1.4",
"description": "Fleaflicker Baseball API",

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

@@ -64,4 +64,4 @@ var expect = require('chai').expect,

// Cant test individual stats that well
// expect(league.teams[0].stats.HR.points).to.equal(7);
// expect(league.teams[0].stats.HR.value).to.equal(30);
// expect(league.teams[0].stats.HR.points).to.equal(10);
// expect(league.teams[0].stats.HR.value).to.equal(99);
done();

@@ -68,0 +68,0 @@ });

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