@darksheep/logger 1.0.8 → 1.0.9
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.
- package/CHANGELOG.md +14 -0
- package/package.json +2 -2
- package/src/utilities/colour.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.0.9](https://github.com/DarkSheepSoftware/node-packages/compare/logger-v1.0.8...logger-v1.0.9) (2024-10-29)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 📚 Documentation
|
|
7
|
+
|
|
8
|
+
* Better jsdoc wording ([#454](https://github.com/DarkSheepSoftware/node-packages/issues/454)) ([51c6996](https://github.com/DarkSheepSoftware/node-packages/commit/51c6996efc2e0fddd7f74c334e19fff196f02aab))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @darksheep/environment bumped from 3.0.9 to 3.1.0
|
|
16
|
+
|
|
3
17
|
## [1.0.8](https://github.com/DarkSheepSoftware/node-packages/compare/logger-v1.0.7...logger-v1.0.8) (2024-10-21)
|
|
4
18
|
|
|
5
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@darksheep/logger",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Logging your stuff to where ever you want it",
|
|
5
5
|
"license": "UNLICENCED",
|
|
6
6
|
"type": "module",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"test:watch": "node --watch --test src/**/*.test.js"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@darksheep/environment": "3.0
|
|
25
|
+
"@darksheep/environment": "3.1.0",
|
|
26
26
|
"deepmerge-ts": "7.1.3",
|
|
27
27
|
"stacktrace-parser": "0.1.10",
|
|
28
28
|
"traverse": "0.6.10"
|
package/src/utilities/colour.js
CHANGED
|
@@ -37,9 +37,9 @@ const BACKGROUND = 4;
|
|
|
37
37
|
*/
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
|
-
* @param {ColourNames} colour -
|
|
41
|
-
* @param {typeof FOREGROUND | typeof BACKGROUND} base -
|
|
42
|
-
* @param {ColourMode} [mode] -
|
|
40
|
+
* @param {ColourNames} colour - The name of the colour.
|
|
41
|
+
* @param {typeof FOREGROUND | typeof BACKGROUND} base - Where the colour should be used.
|
|
42
|
+
* @param {ColourMode} [mode] - The color mode/modifier.
|
|
43
43
|
* @returns {{ colour: typeof colours[ColourNames], mode: number }}
|
|
44
44
|
*/
|
|
45
45
|
function getColour(colour, base, mode) {
|