National Hockey League Module for MagicMirror²
  • JavaScript 76.4%
  • Nunjucks 20.4%
  • Bru 2.3%
  • CSS 0.9%
Find a file
dependabot[bot] bf2297e815
Bump postcss from 8.5.6 to 8.5.14 (#14)
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.6 to
8.5.14.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/postcss/postcss/releases">postcss's
releases</a>.</em></p>
<blockquote>
<h2>8.5.14</h2>
<ul>
<li>Fixed custom syntax regression (by <a
href="https://github.com/43081j"><code>@​43081j</code></a>).</li>
</ul>
<h2>8.5.13</h2>
<ul>
<li>Fixed <code>postcss-scss</code> commend regression.</li>
</ul>
<h2>8.5.12</h2>
<ul>
<li>Fixed reading any file via user-generated CSS.</li>
<li>Added <code>opts.unsafeMap</code> to disable checks.</li>
</ul>
<h2>8.5.11</h2>
<ul>
<li>Fixed nested brackets parsing performance (by <a
href="https://github.com/offset"><code>@​offset</code></a>).</li>
</ul>
<h2>8.5.10</h2>
<ul>
<li>Fixed XSS via unescaped <code>&lt;/style&gt;</code> in non-bundler
cases (by <a
href="https://github.com/TharVid"><code>@​TharVid</code></a>).</li>
</ul>
<h2>8.5.9</h2>
<ul>
<li>Speed up source map encoding paring in case of the error.</li>
</ul>
<h2>8.5.8</h2>
<ul>
<li>Fixed <code>Processor#version</code>.</li>
</ul>
<h2>8.5.7</h2>
<ul>
<li>Improved source map annotation cleaning performance (by CodeAnt
AI).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/postcss/postcss/blob/main/CHANGELOG.md">postcss's
changelog</a>.</em></p>
<blockquote>
<h2>8.5.14</h2>
<ul>
<li>Fixed custom syntax regression (by <a
href="https://github.com/43081j"><code>@​43081j</code></a>).</li>
</ul>
<h2>8.5.13</h2>
<ul>
<li>Fixed <code>postcss-scss</code> commend regression.</li>
</ul>
<h2>8.5.12</h2>
<ul>
<li>Fixed reading any file via user-generated CSS.</li>
<li>Added <code>opts.unsafeMap</code> to disable checks.</li>
</ul>
<h2>8.5.11</h2>
<ul>
<li>Fixed nested brackets parsing performance (by <a
href="https://github.com/offset"><code>@​offset</code></a>).</li>
</ul>
<h2>8.5.10</h2>
<ul>
<li>Fixed XSS via unescaped <code>&lt;/style&gt;</code> in non-bundler
cases (by <a
href="https://github.com/TharVid"><code>@​TharVid</code></a>).</li>
</ul>
<h2>8.5.9</h2>
<ul>
<li>Speed up source map encoding paring in case of the error.</li>
</ul>
<h2>8.5.8</h2>
<ul>
<li>Fixed <code>Processor#version</code>.</li>
</ul>
<h2>8.5.7</h2>
<ul>
<li>Improved source map annotation cleaning performance (by CodeAnt
AI).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="3ec13948ae"><code>3ec1394</code></a>
Release 8.5.14 version</li>
<li><a
href="f2bb827b20"><code>f2bb827</code></a>
Update dependencies</li>
<li><a
href="d75953d608"><code>d75953d</code></a>
Merge pull request <a
href="https://redirect.github.com/postcss/postcss/issues/2084">#2084</a>
from 43081j/raw-raws-rawing</li>
<li><a
href="68bd2139b5"><code>68bd213</code></a>
fix: always call <code>raw</code> to retrieve raw values</li>
<li><a
href="af58cf1b7a"><code>af58cf1</code></a>
Release 8.5.13 version</li>
<li><a
href="f227dbd0e9"><code>f227dbd</code></a>
Temporary ignore pnpm 11 config</li>
<li><a
href="d3abd40d72"><code>d3abd40</code></a>
Update dependencies</li>
<li><a
href="dd06c3e113"><code>dd06c3e</code></a>
Revert stringifier changes because of the conflict with
postcss-scss</li>
<li><a
href="ae889c815f"><code>ae889c8</code></a>
Try to fix CI</li>
<li><a
href="e0093e49bc"><code>e0093e4</code></a>
Move to pnpm 11</li>
<li>Additional commits viewable in <a
href="https://github.com/postcss/postcss/compare/8.5.6...8.5.14">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=postcss&package-manager=npm_and_yarn&previous-version=8.5.6&new-version=8.5.14)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the
[Security Alerts
page](https://github.com/parnic/MMM-NHL/network/alerts).

</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-09 20:45:10 -05:00
.bruno Add Bruno requests 2025-12-02 18:22:26 -06:00
.github Review (#3) 2024-10-08 14:32:06 -05:00
templates v2.5.3 (#7) 2025-05-24 09:54:24 -05:00
translations v2.5.3 (#7) 2025-05-24 09:54:24 -05:00
.codeclimate.yml Review (#3) 2024-10-08 14:32:06 -05:00
.editorconfig add linter 2017-03-20 12:58:17 +01:00
.gitignore added jsdoc 2021-01-23 20:32:13 +01:00
.mdlrc updated config files 2021-01-17 11:00:11 +01:00
.prettierignore ignore bruno requests 2025-12-02 18:28:01 -06:00
.stylelintrc Review (#3) 2024-10-08 14:32:06 -05:00
CHANGELOG.md Prepare for release 2025-12-02 18:22:27 -06:00
eslint.config.mjs Review (#3) 2024-10-08 14:32:06 -05:00
jsdoc.json Review (#3) 2024-10-08 14:32:06 -05:00
LICENSE Initial commit 2016-10-09 20:02:30 +02:00
MMM-NHL.css fix property-no-vendor-prefix 2022-02-08 19:26:17 +01:00
MMM-NHL.js Review (#3) 2024-10-08 14:32:06 -05:00
node_helper.js v2.5.3 (#7) 2025-05-24 09:54:24 -05:00
package-lock.json Bump postcss from 8.5.6 to 8.5.14 (#14) 2026-05-09 20:45:10 -05:00
package.json Prepare for release 2025-12-02 18:22:27 -06:00
README.md Review (#3) 2024-10-08 14:32:06 -05:00

MMM-NHL GitHub license Build status Code Climate Known Vulnerabilities

National Hockey League module for MagicMirror².

Examples

past games in progress team focus no color playoffs

Dependencies

  • An installation of MagicMirror².

Installation

Just clone the module into your modules directory:

cd ~/MagicMirror/modules
git clone https://github.com/parnic/MMM-NHL

Update

Just enter the module's directory and pull the update:

cd ~/MagicMirror/modules/MMM-NHL
git pull

Configuration

  • Configure your ~/MagicMirror/config/config.js:
    {
        module: 'MMM-NHL',
        position: 'top_right',
        config: {
            // Add your config options here, which have a different value than default.
        }
    },

Config Options

Option Default Description
colored false Remove black/white filter of logos.
focus_on false Display only matches with teams of this array e.g. ['VAN', 'MTL', 'BOS'].
matches 6 Max number of matches displaying simultaneously.
rotateInterval 20000 (20 secs) How often should be rotated the matches in the list.
reloadInterval 1800000 (30 mins) How often should the data be fetched.
daysInPast 1 How many days should a game be displayed after it is finished.
daysAhead 7 How many days should a game be displayed before it starts.
liveReloadInterval 60000 (1 min) How often should the data be fetched during a live game.
showNames true Should team names be displayed?
showLogos true Should team logos be displayed?
showPlayoffSeries true Should playoff series be displayed (if in playoffs)?
rollOver false Displays today's games and based on game status also yesterdays games or tomorrows games. Automatically overrides daysInPast and daysAhead to 1.

Global config

Option Default Description
locale undefined By default it is using your system settings. You can specify the locale in the global MagicMirror² config. Possible values are for e.g.: 'en-US' or 'de-DE'.

To set a global config you have to set the value in your config.js file inside the MagicMirror² project.

config

Developer

  • npm i - Install devDependecies.
  • npm run lint - Lint check JS and CSS files.
  • npm run lint:fix - Lint fix JS and CSS files.
  • npm run docs - Generates documentation.