New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

splatoon3api

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

splatoon3api - npm Package Compare versions

Comparing version
2.0.3
to
2.0.4
+9
-0
CHANGELOG.md

@@ -5,2 +5,11 @@ # Change Log

## 2.0.4 - 2025-01-13
### Added
- Salmonrun schedules now contain information about the current boss
### Changed
### Fixed
## 2.0.3 - 2025-01-10

@@ -7,0 +16,0 @@

+8
-6

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

json.data.coopGroupingSchedule.regularSchedules.nodes.forEach((node, index) => {
var _a, _b;
var _a, _b, _c;
if (json.data.coopGroupingSchedule.regularSchedules.nodes[index]) {

@@ -31,7 +31,8 @@ data.regularSchedules[index] = {

},
weapons: []
weapons: [],
boss: (_b = translation.bosses[json.data.coopGroupingSchedule.regularSchedules.nodes[index].setting.boss.id]) === null || _b === void 0 ? void 0 : _b.name
};
for (let i = 0; i < 4; i++) {
data.regularSchedules[index].weapons.push({
name: (_b = translation.weapons[json.data.coopGroupingSchedule.regularSchedules.nodes[index].setting.weapons[i].__splatoon3ink_id]) === null || _b === void 0 ? void 0 : _b.name,
name: (_c = translation.weapons[json.data.coopGroupingSchedule.regularSchedules.nodes[index].setting.weapons[i].__splatoon3ink_id]) === null || _c === void 0 ? void 0 : _c.name,
image: json.data.coopGroupingSchedule.regularSchedules.nodes[index].setting.weapons[i].image.url

@@ -43,3 +44,3 @@ });

json.data.coopGroupingSchedule.bigRunSchedules.nodes.forEach((node, index) => {
var _a;
var _a, _b;
if (json.data.coopGroupingSchedule.bigRunSchedules.nodes[index]) {

@@ -53,7 +54,8 @@ data.bigRunSchedules[index] = {

},
weapons: []
weapons: [],
boss: (_a = translation.bosses[json.data.coopGroupingSchedule.bigRunSchedules.nodes[index].setting.boss.id]) === null || _a === void 0 ? void 0 : _a.name
};
for (let i = 0; i < 4; i++) {
data.bigRunSchedules[index].weapons.push({
name: (_a = translation.weapons[json.data.coopGroupingSchedule.bigRunSchedules.nodes[index].setting.weapons[i].__splatoon3ink_id]) === null || _a === void 0 ? void 0 : _a.name,
name: (_b = translation.weapons[json.data.coopGroupingSchedule.bigRunSchedules.nodes[index].setting.weapons[i].__splatoon3ink_id]) === null || _b === void 0 ? void 0 : _b.name,
image: json.data.coopGroupingSchedule.bigRunSchedules.nodes[index].setting.weapons[i].image.url

@@ -60,0 +62,0 @@ });

@@ -194,2 +194,3 @@ export type Lang = 'de-DE' | 'en-GB' | 'en-US' | 'es-ES' | 'es-MX' | 'fr-FR' | 'fr-CA' | 'it-IT' | 'ja-JP' | 'ko-KR' | 'nl-NL' | 'ru-RU' | 'zh-CN' | 'zh-TW';

weapons: SalmonRunWeapon[];
boss: string;
}

@@ -196,0 +197,0 @@ export interface SalmonResult {

{
"name": "splatoon3api",
"version": "2.0.3",
"version": "2.0.4",
"description": "A simple Method to get current and next Splatoon 3 maps, Salmonrun Schedules and Splatnet gear",

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