Socket
Socket
Sign inDemoInstall

apacheconf

Package Overview
Dependencies
14
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1 to 0.0.2

14

index.js

@@ -8,4 +8,2 @@ var inherits = require('util').inherits

var colors = require('colors')
function removeQuotes(str) {

@@ -122,14 +120,4 @@ if ((str[0] == '"' && str[str.length - 1] == '"') || (str[0] == "'" && str[str.length - 1] == "'"))

child.name = line.split(' ', 1)[0]
child.args = removeQuotes(line.slice(child.name.length + 1))
child.config.$args = removeQuotes(line.slice(child.name.length + 1))
switch(child.name) {
case 'VirtualHost':
line = child.args.split(':')
child.host = line[0]
child.port = line[1]
break
// TODO: Handle more types
}
break

@@ -136,0 +124,0 @@

2

package.json
{
"name": "apacheconf",
"version": "0.0.1",
"version": "0.0.2",
"description": "Apacheconf is an apache config file parser",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc