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

em-rest

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

em-rest - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

lib/HTMLRenderer.js

@@ -12,5 +12,5 @@

response.setHeader( "Content-Type", "text/html; charset=UTF-8" );
callback( '<html><head><script>document.write(JSON.stringify(JSON.parse(\'' + JSON.stringify( data ) + '\'),undefined,4).replace(/\n/g,"<br>").replace(/\s/g,"&nbsp;"));</script></head><body></body></html>' );
callback( '<html><head><script>\ndocument.write(JSON.stringify(JSON.parse(\'' + JSON.stringify( data ) + '\'),undefined,4).replace(/\\n/g,"<br>").replace(/\\s/g,"&nbsp;"));\n</script></head><body></body></html>' );
}
} );
{
"name": "em-rest"
, "description": "rest service middleware for ee-webservice"
, "version": "0.1.1"
, "version": "0.1.2"
, "homepage": "https://github.com/eventEmitter/em-rest"

@@ -6,0 +6,0 @@ , "author": "Michael van der Weg <michael@eventemitter.com> (http://eventemitter.com/)"

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