New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@alwatr/logger

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alwatr/logger - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

6

CHANGELOG.md

@@ -6,2 +6,8 @@ # Change Log

## [1.1.2](https://github.com/AliMD/alwatr/compare/@alwatr/logger@1.1.1...@alwatr/logger@1.1.2) (2023-09-12)
### Bug Fixes
* **logger:** change localStorage debug key to `alwatrDebug` ([66542ea](https://github.com/AliMD/alwatr/commit/66542ea22a9a515db4a15dc966624b3029f517ed)) by @AliMD
## [1.1.1](https://github.com/AliMD/alwatr/compare/@alwatr/logger@1.1.0...@alwatr/logger@1.1.1) (2023-09-12)

@@ -8,0 +14,0 @@

2

logger.js

@@ -10,3 +10,3 @@ import { globalAlwatr } from './global-alwatr.js';

? process.env.ALWATR_DEBUG === '1'
: globalThis.localStorage?.getItem('ALWATR_DEBUG') === '1';
: globalThis.localStorage?.getItem('alwatrDebug') === '1';
/**

@@ -13,0 +13,0 @@ * Color list storage for logger.

{
"name": "@alwatr/logger",
"version": "1.1.1",
"version": "1.1.2",
"description": "Fancy colorful console debugger with custom scope written in tiny TypeScript, ES module.",

@@ -38,3 +38,3 @@ "keywords": [

},
"gitHead": "ebc98f75330ab77c7a5bfeebe0fd1f4748bf3821"
"gitHead": "16036de8a6d781116e8c463ba41a2cb8cdc34edc"
}

@@ -23,5 +23,5 @@ # Alwatr Logger - `@alwatr/logger`

```ts
window.localStorage?.setItem('ALWATR_DEBUG', '1');
window.localStorage?.setItem('alwatrDebug', '1');
```
> Make sure the [log level](https://developer.chrome.com/docs/devtools/console/log/#browser) in set correctly.

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc