Socket
Socket
Sign inDemoInstall

rjweb-server

Package Overview
Dependencies
Maintainers
1
Versions
373
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rjweb-server - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

15

index.js

@@ -9,2 +9,3 @@ const sleep = (milliseconds) => Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, milliseconds)

types: {
post: 'POST',
get: 'GET'

@@ -57,3 +58,3 @@ },

} else if (urlParam.startsWith(':')) {
params.set(urlParam.replace(':', ''), reqParam)
params.set(urlParam.replace(':', ''), decodeURIComponent(reqParam))
executeUrl = element.array.join('/')

@@ -89,2 +90,14 @@ exists = true

// Get POST Body
/*res.write('')
let reqBody = '';
res.on('data', (data) => {
reqBody += data.toString()
})
await new Promise((resolve) => {
res.once('end', resolve)
})*/
const ctr = {

@@ -91,0 +104,0 @@ // Properties

2

package.json
{
"name": "rjweb-server",
"version": "0.1.0",
"version": "0.1.1",
"description": "Easy Way to create a Web Server in Node.js",

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

const types = [
'POST',
'GET'

@@ -3,0 +4,0 @@ ]

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