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.18 to 0.0.19

3

core/parser.js

@@ -366,2 +366,5 @@ 'use strict';

}
else{
tag = '';
}
}

@@ -368,0 +371,0 @@ else if (ch === '@') {

2

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

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

@@ -179,2 +179,49 @@ (function () {

{
name: "HTML 28.1",
template: `
<!--test-->
@{
var x = "123";
}
<div>
<span>@x</span>
<a href="/"><<-- back</a>
</div>`,
expected: `
<!--test-->
<div>
<span>123</span>
<a href="/"><<-- back</a>
</div>`
},
{
name: "HTML 28.2",
template: `
<!-- d-l -->
<div>
<a href="/"><<-- back</a>
</div>`,
expected: `
<!-- d-l -->
<div>
<a href="/"><<-- back</a>
</div>`
},
{
name: "HTML 28.3",
template: `
@{
<!-- d-l -->
<div>
<a href="/"><<-- back</a>
</div>
}`,
expected: `
<!-- d-l -->
<div>
<a href="/"><<-- back</a>
</div>
`
},
{
name: "HTML 29",

@@ -181,0 +228,0 @@ template: `

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