Skip to content

Commit

Permalink
Removes dependency node-fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
fewieden committed Feb 13, 2024
1 parent 75f093f commit 8562a3f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,20 @@

## [Unreleased]

**Requires version >= 18 of NodeJS!**

### Fixed

- [Switching to v4 due to empty tables in v2 of the API](https://github.com/fewieden/MMM-soccer/issues/70)
* [Switching to v4 due to empty tables in v2 of the API](https://github.com/fewieden/MMM-soccer/issues/70)

### Added

### Changed

### Removed

* Dependency [node-fetch](https://www.npmjs.com/package/node-fetch)

## [2.2.1]

### Fixed
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ European Soccer Standings Module for MagicMirror²

* An installation of [MagicMirror²](https://github.com/MichMich/MagicMirror)
* OPTIONAL: [Voice Control](https://github.com/fewieden/MMM-voice) and [MMM-Modal](https://github.com/fewieden/MMM-Modal)
* npm
* [node-fetch](https://www.npmjs.com/package/node-fetch)

## Installation

Expand Down
7 changes: 0 additions & 7 deletions node_helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@
/* eslint-env node */
/* eslint-disable no-console */

/**
* @external node-fetch
* @see https://www.npmjs.com/package/node-fetch
*/
const fetch = require('node-fetch');

/**
* @external node_helper
* @see https://github.com/MichMich/MagicMirror/blob/master/modules/node_modules/node_helper/index.js
Expand All @@ -26,7 +20,6 @@ const NodeHelper = require('node_helper');
* @module node_helper
* @description Backend for the module to query data from the API provider.
*
* @requires external:node-fetch
* @requires external:node_helper
*/
module.exports = NodeHelper.create({
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@
"test": "jest",
"test:coverage": "jest --coverage"
},
"dependencies": {
"node-fetch": "^2.6.1"
},
"devDependencies": {
"eslint": "^6.8.0",
"eslint-config-recommended": "^4.1.0",
Expand Down

0 comments on commit 8562a3f

Please sign in to comment.