Skip to content

Commit

Permalink
chore(deps): updated all dependencies to the latest version (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
balassy authored Mar 11, 2024
1 parent 66793e0 commit 8e82a55
Show file tree
Hide file tree
Showing 6 changed files with 3,054 additions and 1,233 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Continuous Integration - Verify

on:
push:

jobs:
build:
name: Verify
runs-on: ubuntu-latest

steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: 'npm'
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Lint
run: npm run lint
28 changes: 0 additions & 28 deletions .github/workflows/node.js.yml

This file was deleted.

4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project is documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [2.2.1]

This is a maintenance release that updates all third party developer dependencies to the latest version. This change should not affect the functionality of the module.

## [2.2.0]

Thanks to [@adi-miller](https://github.com/adi-miller) (#8):
Expand Down
9 changes: 3 additions & 6 deletions MMM-SingleStock.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,11 @@ Module.register('MMM-SingleStock', {
? 'dimmed xsmall'
: 'dimmed small';

if (this.config.colorized)
{
if (this.viewModel.change > 0)
{
if (this.config.colorized) {
if (this.viewModel.change > 0) {
changeEl.style = 'color: #a3ea80';
}
if (this.viewModel.change < 0)
{
if (this.viewModel.change < 0) {
changeEl.style = 'color: #FF8E99';
}
}
Expand Down
Loading

0 comments on commit 8e82a55

Please sign in to comment.