mentie 0.3.24 → 0.3.26

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.
@@ -63,7 +63,7 @@ env.dev = () => env.node_dev() || env.web_dev()
63
63
  * Retrieves the log level set via URL parameters in a web environment.
64
64
  * @returns {string|null} The log level from URL parameters, or null if not set.
65
65
  */
66
- env.web_loglevel = () => env.is_web() && new URLSearchParams( location?.search ).get( 'loglevel' ) || new URLSearchParams( location?.search ).get( 'log_level' )
66
+ env.web_loglevel = () => env.is_web() && ( new URLSearchParams( location?.search ).get( 'loglevel' ) || new URLSearchParams( location?.search ).get( 'log_level' ) )
67
67
 
68
68
  /**
69
69
  * Retrieves the log level set via environment variables in a Node.js environment.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mentie",
3
- "version": "0.3.24",
3
+ "version": "0.3.26",
4
4
  "description": "Mentor's toolbelt",
5
5
  "type": "module",
6
6
  "main": "index.js",