New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

j-forms

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

j-forms - npm Package Compare versions

Comparing version 0.0.49 to 0.0.50

2

package.json
{
"name": "j-forms",
"description": "jewish forms creation from fields or from mongoose models",
"version": "0.0.49",
"version": "0.0.50",
"author": "Ishai Jaffe <ishai@empeeric.com>",

@@ -6,0 +6,0 @@ "dependencies": {

@@ -37,3 +37,3 @@

var value = Array.isArray(this.attrs[attr]) ? this.attrs[attr].join(' ') : this.attrs[attr];
res.write(' ' + attr + '="' + value + '"');
res.write(' ' + attr + '="' + escape_html(value) + '"');
}

@@ -44,2 +44,7 @@ return this;

function escape_html(str)
{
return str.replace(/</g,'&lt').replace(/>/g,'&gt').replace(/"/,'&quot');
}
var InputWidget = exports.InputWidget = Widget.extend({

@@ -79,3 +84,3 @@ init: function(type,options)

res.write(' >');
res.write(this.value != null ? this.value : '');
res.write(escape_html(this.value != null ? this.value : ''));
res.write('</textarea>');

@@ -82,0 +87,0 @@ return this;

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