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

live-dev-server

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

live-dev-server - npm Package Compare versions

Comparing version

to
0.7.2

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

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

console.log(projectRoot, filePath)
let tmpPath = filePath.replace(projectRoot, '')
let fileExt = tmpPath.split('.')[1] || 'unknown'
return generateMessage(origin, { url: openURL + tmpPath, host: openURL, path: tmpPath, ext: fileExt })
let { ext } = path.parse(filePath)
let tmpPath = filePath.replace(projectRoot, '').split(path.sep).join('/')
return generateMessage(origin, { url: openURL + tmpPath, host: openURL, path: tmpPath, ext })
}

@@ -269,0 +269,0 @@

{
"name": "live-dev-server",
"version": "0.7.1",
"version": "0.7.2",
"description": "develop env, watch files change, mock data",

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

Sorry, the diff of this file is not supported yet