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

raz

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

raz - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

2

core/errors/RazorError.js

@@ -18,3 +18,3 @@ const htmlEncode = require('js-htmlencode');

getHtml() {
html() {
let mainInfo = '';

@@ -21,0 +21,0 @@ let lines = this.stack.split('\n');

{
"name": "raz",
"description": "Razor-like syntax for templating views in Express framework by mixing HTML with JavaScript.",
"version": "0.0.10",
"version": "0.0.11",
"author": {

@@ -6,0 +6,0 @@ "name": "Sergey",

@@ -85,3 +85,3 @@ //'use strict';

if (env !== "production" && err instanceof RazorError) {
var errorHtml = err.getHtml();
var errorHtml = err.html();
res.status(500);

@@ -88,0 +88,0 @@ res.send(errorHtml);

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