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

@xmpp/debug

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xmpp/debug - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

LICENSE

2

index.js
'use strict'
/* eslint no-console: 0 */
module.exports = function debug(entity, force) {

@@ -4,0 +6,0 @@ if (process.env.XMPP_DEBUG || force === true) {

9

package.json

@@ -7,3 +7,3 @@ {

"bugs": "http://github.com/xmppjs/xmpp.js/issues",
"version": "0.3.0",
"version": "0.4.0",
"license": "ISC",

@@ -15,5 +15,6 @@ "keywords": [

"engines": {
"node": ">= 6",
"npm": ">= 2"
}
"node": ">= 10.0.0",
"yarn": ">= 1.0.0"
},
"gitHead": "bf81312c6b48950f9c27699016d5e028e1487c6c"
}

@@ -7,16 +7,11 @@ # debug

```
npm install @xmpp/debug
```
`npm install @xmpp/debug` or `yarn add @xmpp/debug`
## Usage
## Example
```javascript
// file.js
const xmpp = require('@xmpp/client') // or component, ...
const {client} = require('@xmpp/client') // or component, ...
const debug = require('@xmpp/debug')
const entity = xmpp()
debug(entity)
const xmpp = client()
debug(xmpp, true)
```
`XMPP_DEBUG=true node file.js`
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