Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lws

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lws - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

lib/cli-app.js

@@ -21,2 +21,6 @@ class CliApp {

util.printError(err)
const usage = require('./usage')
usage.exception({ exd: err.message, hitParams: { cd: 'listen' } })
usage.exception({ exd: err.stack, hitParams: { cd: 'listen-stack' } })
usage.send().catch(err => { /* disregard errors */ })
}

@@ -23,0 +27,0 @@ }

2

lib/lws.js

@@ -43,3 +43,2 @@ /**

options.stack = arrayify(options.stack)
usage.screen('create', options)

@@ -95,2 +94,3 @@ /* validate stack */

usage.screen('listen', options)
return server

@@ -97,0 +97,0 @@ }

const UsageStats = require('usage-stats')
const os = require('os')
const t = require('typical')
const arrayify = require('array-back')

@@ -22,9 +23,8 @@ const usage = new UsageStats('UA-70853320-8', {

for (const mw of options.stack) {
this.event('stack', t.isObject(mw) ? mw.constructor.name : mw, { hitParams: { cd: name } })
this.event('stack', mw.constructor.name, { hitParams: { cd: name } })
}
}
return this.send().catch(err => { /* disregard errors */ })
// return this.debug().then(response => console.error(require('util').inspect(response, { depth: 6, colors: true })))
}
module.exports = usage
{
"name": "lws",
"author": "Lloyd Brookes <75pound@gmail.com>",
"version": "1.0.0",
"version": "1.0.1",
"description": "The modular web server for productive full-stack development",

@@ -34,3 +34,3 @@ "repository": "https://github.com/lwsjs/lws.git",

"typical": "^2.6.1",
"usage-stats": "^0.9.3",
"usage-stats": "^0.9.4",
"walk-back": "^3.0.0",

@@ -37,0 +37,0 @@ "ws": "^3.0.0"

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