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

luvi

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

luvi - npm Package Compare versions

Comparing version 5.2.1 to 5.2.2

lib/colors.js

2

index.js

@@ -7,2 +7,3 @@ #!/usr/bin/env node

const readJSON = require('./lib/read-json')
const clrs = require('./lib/colors')
const pkg = readJSON(__dirname, 'package.json')

@@ -14,3 +15,2 @@ const argv = minimist(process.argv.slice(2))

const version = `♡ luvi ${pkg.version}`
const clrs = require('zeelib/lib/colorize').default

@@ -17,0 +17,0 @@ let servers = Array.isArray(config) ? config : [config]

@@ -5,7 +5,6 @@ const http = require('http')

const serveStatic = require('serve-static')
const open = require('open')
const clrs = require('zeelib/lib/colorize').default
const open = require('zeelib/lib/open').default
const findPort = require('zeelib/lib/find-port').default
const clrs = require('./colors')
const findPort = require('./find-port')
const markdown = require('./markdown')

@@ -18,5 +17,5 @@ const notFound = require('./not-found')

name: 'luvi',
onListen (name, port, shouldOpen) {
async onListen (name, port, shouldOpen) {
console.log(clrs.magenta(`♡ ${name} is listening on ${port}`))
shouldOpen && open(`http://localhost:${port}`)
shouldOpen && await open(`http://localhost:${port}`)
}

@@ -23,0 +22,0 @@ }

{
"name": "luvi",
"description": "Dev server with simple config and API.",
"version": "5.2.1",
"version": "5.2.2",
"author": "Zac Anger <zac@zacanger.com> (http://zacanger.com)",

@@ -40,6 +40,6 @@ "funding": {

"connect": "3.7.0",
"marked": "4.1.0",
"minimist": "1.2.6",
"serve-static": "1.15.0",
"zeelib": "11.2.0"
"marked": "4.2.2",
"minimist": "1.2.7",
"open": "8.4.0",
"serve-static": "1.15.0"
},

@@ -46,0 +46,0 @@ "devDependencies": {

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