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

anylogger-debug

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anylogger-debug - npm Package Compare versions

Comparing version 0.8.0 to 0.9.0

anylogger-debug.min.js

22

package.json
{
"name": "anylogger-debug",
"version": "0.8.0",
"version": "0.9.0",
"description": "Anylogger adapter for debug",
"main": "anylogger-debug.js",
"files": [
"anylogger-debug.js",
"anylogger-debug.min.js",
"anylogger-debug.spec.js",
"browserified-debug-4.1.1.min.js"
],
"scripts": {
"test": "mocha anylogger-debug.spec.js",
"prepare": "npm run test"
"build": "cross-env NODE_ENV=production node build.js",
"prepare": "npm run test && npm run build",
"test": "mocha anylogger-debug.spec.js"
},

@@ -28,12 +35,15 @@ "repository": {

"peerDependencies": {
"anylogger": ">=0.19.0",
"anylogger": ">=0.20.0",
"debug": "^4.1.1"
},
"devDependencies": {
"anylogger": "^0.19.0",
"anylogger": "^0.20.0",
"chai": "^4.2.0",
"cross-env": "^6.0.3",
"debug": "^4.1.1",
"gzip-size": "^5.1.1",
"mocha": "^6.2.2",
"sinon": "^8.0.1"
"sinon": "^8.0.1",
"uglify-js": "^3.7.3"
}
}

@@ -1,2 +0,2 @@

# anylogger-debug
# anylogger-debug <sub><sup>0.9.0</sup></sub>
### Anylogger adapter for debug

@@ -17,2 +17,25 @@

## Download
* [anylogger-debug.js](https://unpkg.com/anylogger-debug@0.9.0/anylogger-debug.js)
(fully commented source ~5kB)
* [anylogger-debug.min.js](https://unpkg.com/anylogger-debug@0.9.0/anylogger-debug.min.js)
(minified 184 bytes, gzipped ~[150](#gzip-size) bytes)
## CDN
*index.html*
```html
<script src="https://unpkg.com/anylogger@0.20.0/anylogger.min.js"></script>
<script src="https://unpkg.com/anylogger-debug@0.9.0/browserified-debug-4.1.1.min.js"></script>
<script src="https://unpkg.com/anylogger-debug@0.9.0/anylogger-debug.min.js"></script>
<script>(function(){ // IIFE
var log = anylogger('index.html')
log.info('Logging is simple!')
// to see logging, enable it, e.g.:
// localStorage.setItem('debug', '*')
})()</script>
```
## Install

@@ -88,3 +111,3 @@

© 2019 by [Stijn de Witt](https://stijndewitt.com). Some rights reserved.
© 2020 by [Stijn de Witt](https://stijndewitt.com). Some rights reserved.

@@ -95,1 +118,7 @@

Licensed under the [MIT Open Source license](https://opensource.org/licenses/MIT).
## gzip-size
The GZIP algorithm is available in different flavours and with different
possible compression settings. The sizes quoted in this README have been
measured using [gzip-size](https://npmjs.com/package/gzip-size)
by [Sindre Sorhus](https://github.com/sindresorhus), your mileage may vary.
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