@matterbridge/utils 3.6.2-dev-20260316-0b03ae0 → 3.6.2-dev-20260317-e291a17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,7 @@
1
- import { assert } from 'node:console';
2
1
  export function hslColorToRgbColor(hue, saturation, luminance) {
3
2
  if (hue === 360) {
4
3
  hue = 0;
5
4
  }
6
- assert(hue >= 0 && hue <= 359, 'hslColorToRgbColor Hue error');
7
- assert(saturation >= 0 && saturation <= 100, 'hslColorToRgbColor Saturation error');
8
- assert(luminance === 50, 'hslColorToRgbColor Luminance error');
9
5
  saturation /= 100;
10
6
  luminance /= 100;
11
7
  let r, g, b;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matterbridge/utils",
3
- "version": "3.6.2-dev-20260316-0b03ae0",
3
+ "version": "3.6.2-dev-20260317-e291a17",
4
4
  "description": "Matterbridge utils library",
5
5
  "author": "https://github.com/Luligu",
6
6
  "homepage": "https://matterbridge.io/",
@@ -133,7 +133,7 @@
133
133
  "CHANGELOG.md"
134
134
  ],
135
135
  "dependencies": {
136
- "@matterbridge/jest-utils": "3.6.2-dev-20260316-0b03ae0",
136
+ "@matterbridge/jest-utils": "3.6.2-dev-20260317-e291a17",
137
137
  "node-ansi-logger": "3.2.0"
138
138
  }
139
139
  }