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

hltv

Package Overview
Dependencies
Maintainers
1
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hltv - npm Package Compare versions

Comparing version 2.20.1 to 2.20.2

2

lib/endpoints/getEvents.d.ts

@@ -6,3 +6,3 @@ import { HLTVConfig } from '../config';

size?: EventSize | undefined;
month?: 0 | 1 | 2 | 4 | 3 | 10 | 9 | 8 | 7 | 6 | 5 | 11 | undefined;
month?: 0 | 1 | 2 | 4 | 3 | 10 | 5 | 9 | 8 | 7 | 6 | 11 | undefined;
}) => Promise<EventResult[]>;

@@ -59,3 +59,3 @@ "use strict";

var teamEls = matchEl.find('img.matchTeamLogo');
var stars = matchEl.find('.matchRating i').length;
var stars = 5 - matchEl.find('.matchRating i.faded').length;
var team1 = {

@@ -81,3 +81,3 @@ name: teamEls.first().attr('title'),

var title = matchEl.find('.matchInfoEmpty').text() || undefined;
var stars = matchEl.find('.matchRating i').length;
var stars = matchEl.find('.matchRating i:not(.faded)').length;
var format = matchEl.find('.matchMeta').text();

@@ -84,0 +84,0 @@ var event;

@@ -110,3 +110,3 @@ "use strict";

id: Number(eventEl.find('.image-and-label').first().attr('href').split('=')[1]),
name: eventEl.find('.image-and-label').first().attr('title')
name: eventEl.find('.image-and-label span').first().text()
}

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

@@ -69,3 +69,3 @@ import { HLTVConfig } from './config';

size?: EventSize | undefined;
month?: 0 | 1 | 2 | 4 | 3 | 10 | 9 | 8 | 7 | 6 | 5 | 11 | undefined;
month?: 0 | 1 | 2 | 4 | 3 | 10 | 5 | 9 | 8 | 7 | 6 | 11 | undefined;
}) => Promise<import("./models/EventResult").EventResult[]>;

@@ -72,0 +72,0 @@ getPlayerStats: ({ id, startDate, endDate, matchType, rankingFilter }: {

{
"name": "hltv",
"version": "2.20.1",
"version": "2.20.2",
"description": "The unofficial HLTV Node.js API",

@@ -50,3 +50,3 @@ "main": "lib/index.js",

"ts-jest": "^25.0.0",
"ts-node": "^8.0.2",
"ts-node": "^9.0.0",
"typescript": "^3.5.2"

@@ -53,0 +53,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