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.66 to 0.0.67

docs/api.md

8

index.js

@@ -9,9 +9,9 @@ 'use strict';

__express: renderFile,
compileFile: renderFile,
compile: getParser().compileSync,
renderFile: renderFile,
render: getParser().compileSync,
/**
* @deprecated Since version "0.0.66". Will be deleted in version "1.0.0". Use 'compile' instead.
* @deprecated Since version "0.0.66". Will be deleted in version "1.0.0". Use 'render' instead.
*/
compileSync: function () {
console.warn("The 'compileSync' method is deprecated. Will be deleted in version '1.0.0'. Use 'compile' instead.");
console.warn("The 'compileSync' method is deprecated. Will be deleted in version '1.0.0'. Use 'render' instead.");
var parser = getParser();

@@ -18,0 +18,0 @@ parser.compileSync.apply(parser, arguments);

{
"name": "raz",
"description": "Razor-like Template Engine for NodeJS Express library based on ASP.NET MVC Razor syntax. Template your views by mixing HTML markup with JavaScript server-side code!",
"version": "0.0.66",
"version": "0.0.67",
"author": {

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

@@ -187,3 +187,3 @@ # RAZ: Razor-Express view template engine

const razor = require("raz");
var html = razor.compileSync({ model, template });
var html = razor.compile({ model, template });
```

@@ -319,3 +319,3 @@

try{
var html = razor.compileSync({ template });
var html = razor.compile({ template });
}

@@ -322,0 +322,0 @@ catch(err){

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