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

live-dev-server

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

live-dev-server - npm Package Compare versions

Comparing version 0.11.3 to 0.11.4

0

.prettierrc.json

@@ -0,0 +0,0 @@ {

@@ -0,0 +0,0 @@ #!/usr/bin/env node

@@ -0,0 +0,0 @@ const path = require('path')

3

lib/index.js

@@ -104,4 +104,5 @@ const http = require('http')

INJECT_SCRIPT_CODE,
customInjectCode
customInjectCode,
)
next()
return

@@ -108,0 +109,0 @@ }

@@ -0,0 +0,0 @@ const colors = {

@@ -0,0 +0,0 @@ const httpProxy = require('http-proxy')

@@ -67,3 +67,3 @@ const path = require('path')

injectCode,
customInjectCode
customInjectCode,
) {

@@ -84,3 +84,5 @@ let injectCodeResult = injectCode

filePath = path.resolve(root, filePath)
console.log(filePath)
if (!fs.existsSync(filePath)) {
return
}
let htmlFile = fs.readFileSync(filePath)

@@ -87,0 +89,0 @@ res.write(htmlFile + injectCodeResult)

@@ -0,0 +0,0 @@ module.exports = {

{
"name": "live-dev-server",
"version": "0.11.3",
"version": "0.11.4",
"description": "develop env, watch files change",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -0,0 +0,0 @@ # live-dev-server

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