diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2021-09-06 21:06:22 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-06 21:06:22 +0000 |
commit | 487f208565894f332ca58c13e1b208c3beb9c8c6 (patch) | |
tree | b3209e94cc63658b5430bc1949b80140cc27efe4 /src/cleaners/skyblock | |
parent | 4f03cb71b30978b277ff292dbddeba182117a7cb (diff) | |
download | skyblock-api-487f208565894f332ca58c13e1b208c3beb9c8c6.tar.gz skyblock-api-487f208565894f332ca58c13e1b208c3beb9c8c6.tar.bz2 skyblock-api-487f208565894f332ca58c13e1b208c3beb9c8c6.zip |
Bump node-fetch from 2.6.1 to 3.0.0 (#116)
* Bump node-fetch from 2.6.1 to 3.0.0
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 3.0.0.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.1...v3.0.0)
---
updated-dependencies:
- dependency-name: node-fetch
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* fix issues with node fetch 3.0
* change module to esnext instead of commonjs
* fix imports and tests
* fix package-lock.json
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mat <github@matdoes.dev>
Co-authored-by: mat <27899617+mat-1@users.noreply.github.com>
Diffstat (limited to 'src/cleaners/skyblock')
-rw-r--r-- | src/cleaners/skyblock/collections.ts | 2 | ||||
-rw-r--r-- | src/cleaners/skyblock/member.ts | 34 | ||||
-rw-r--r-- | src/cleaners/skyblock/minions.ts | 4 | ||||
-rw-r--r-- | src/cleaners/skyblock/profile.ts | 10 | ||||
-rw-r--r-- | src/cleaners/skyblock/profiles.ts | 4 | ||||
-rw-r--r-- | src/cleaners/skyblock/skills.ts | 2 |
6 files changed, 28 insertions, 28 deletions
diff --git a/src/cleaners/skyblock/collections.ts b/src/cleaners/skyblock/collections.ts index 99fdc27..635bfce 100644 --- a/src/cleaners/skyblock/collections.ts +++ b/src/cleaners/skyblock/collections.ts @@ -1,4 +1,4 @@ -import { cleanItemId, hypixelItemNames } from "./itemId" +import { cleanItemId, hypixelItemNames } from './itemId.js' const COLLECTIONS = { 'farming': [ diff --git a/src/cleaners/skyblock/member.ts b/src/cleaners/skyblock/member.ts index cee1864..a9a12b8 100644 --- a/src/cleaners/skyblock/member.ts +++ b/src/cleaners/skyblock/member.ts @@ -1,20 +1,20 @@ -import { cleanCollections, Collection } from './collections' -import { cleanInventories, Inventories } from './inventory' -import { cleanFairySouls, FairySouls } from './fairysouls' -import { cleanObjectives, Objective } from './objectives' -import { CleanFullProfileBasicMembers } from './profile' -import { cleanProfileStats, StatItem } from './stats' -import { CleanMinion, cleanMinions } from './minions' -import { AccountCustomization } from '../../database' -import { cleanSlayers, SlayerData } from './slayers' -import { cleanVisitedZones, Zone } from './zones' -import { cleanSkills, Skill } from './skills' -import * as cached from '../../hypixelCached' -import * as constants from '../../constants' -import { Included } from '../../hypixel' -import { CleanPlayer } from '../player' -import { CleanRank } from '../rank' -import { Bank } from './bank' +import { cleanCollections, Collection } from './collections.js' +import { cleanInventories, Inventories } from './inventory.js' +import { cleanFairySouls, FairySouls } from './fairysouls.js' +import { cleanObjectives, Objective } from './objectives.js' +import { CleanFullProfileBasicMembers } from './profile.js' +import { cleanProfileStats, StatItem } from './stats.js' +import { CleanMinion, cleanMinions } from './minions.js' +import { cleanSlayers, SlayerData } from './slayers.js' +import { AccountCustomization } from '../../database.js' +import { cleanVisitedZones, Zone } from './zones.js' +import { cleanSkills, Skill } from './skills.js' +import * as cached from '../../hypixelCached.js' +import * as constants from '../../constants.js' +import { Included } from '../../hypixel.js' +import { CleanPlayer } from '../player.js' +import { CleanRank } from '../rank.js' +import { Bank } from './bank.js' export interface CleanBasicMember { uuid: string diff --git a/src/cleaners/skyblock/minions.ts b/src/cleaners/skyblock/minions.ts index d045a7e..2e51896 100644 --- a/src/cleaners/skyblock/minions.ts +++ b/src/cleaners/skyblock/minions.ts @@ -1,5 +1,5 @@ -import { maxMinion } from '../../hypixel' -import * as constants from '../../constants' +import { maxMinion } from '../../hypixel.js' +import * as constants from '../../constants.js' export interface CleanMinion { name: string, diff --git a/src/cleaners/skyblock/profile.ts b/src/cleaners/skyblock/profile.ts index e4d2a94..34c895a 100644 --- a/src/cleaners/skyblock/profile.ts +++ b/src/cleaners/skyblock/profile.ts @@ -1,8 +1,8 @@ -import { CleanBasicMember, CleanMember, cleanSkyBlockProfileMemberResponse, cleanSkyBlockProfileMemberResponseBasic } from './member' -import { CleanMinion, combineMinionArrays, countUniqueMinions } from './minions' -import { ApiOptions } from '../../hypixel' -import { Bank, cleanBank } from './bank' -import * as constants from '../../constants' +import { CleanBasicMember, CleanMember, cleanSkyBlockProfileMemberResponse, cleanSkyBlockProfileMemberResponseBasic } from './member.js' +import { CleanMinion, combineMinionArrays, countUniqueMinions } from './minions.js' +import * as constants from '../../constants.js' +import { ApiOptions } from '../../hypixel.js' +import { Bank, cleanBank } from './bank.js' export interface CleanProfile extends CleanBasicProfile { members?: CleanBasicMember[] diff --git a/src/cleaners/skyblock/profiles.ts b/src/cleaners/skyblock/profiles.ts index a068dae..ec026de 100644 --- a/src/cleaners/skyblock/profiles.ts +++ b/src/cleaners/skyblock/profiles.ts @@ -1,10 +1,10 @@ -import { HypixelPlayerStatsSkyBlockProfiles } from '../../hypixelApi' +import { HypixelPlayerStatsSkyBlockProfiles } from '../../hypixelApi.js' import { CleanBasicProfile, CleanFullProfile, CleanProfile, cleanSkyblockProfileResponse -} from './profile' +} from './profile.js' export function cleanPlayerSkyblockProfiles(rawProfiles: HypixelPlayerStatsSkyBlockProfiles): CleanBasicProfile[] { let profiles: CleanBasicProfile[] = [] diff --git a/src/cleaners/skyblock/skills.ts b/src/cleaners/skyblock/skills.ts index 7aa4e2c..886c59c 100644 --- a/src/cleaners/skyblock/skills.ts +++ b/src/cleaners/skyblock/skills.ts @@ -1,4 +1,4 @@ -import { fetchSkillXp, fetchSkillXpEasier } from '../../constants' +import { fetchSkillXp, fetchSkillXpEasier } from '../../constants.js' export interface Skill { name: string |