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.17 to 0.0.18

2

core/errors/errors.en.js

@@ -135,3 +135,3 @@ const RazorError = require('./RazorError');

partialViewNotFound(partialView, searchedLocations) {
let message = `The view "${this.info.filename}" cannot find the partial view "${partialView}".\nThe following locations were searched:\n${searchedLocations.join("\n")}.`;
let message = `The view "${this.info.filename}" cannot find the partial view "${partialView}".\nThe following locations were searched:\n${searchedLocations.join("\n")}`;
return RazorError.new({ message, info: this.info, capture: this.partialViewNotFound });

@@ -138,0 +138,0 @@ }

@@ -223,3 +223,3 @@ require('./utils');

addFileNameIfDev(data, filename) {
if (this.env === 'dev')
if (this.env === 'development')
return this.wrapInHtmlComment(filename) + _eol_ + data.toString();

@@ -226,0 +226,0 @@

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

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

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