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

formist

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

formist - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

2

lib/escape.js

@@ -12,3 +12,3 @@

return value.replace(/["'&]/g, function (char) {
return String(value || '').replace(/["'&]/g, function (char) {
return toEscape[char];

@@ -15,0 +15,0 @@ });

{
"name": "formist",
"version": "0.1.9",
"version": "0.1.10",
"description": "A library to publish, consume and validate HTML5 forms.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -88,5 +88,6 @@

disabled: true,
'value': 'this "should" be escaped'
'value': 'this "should" be escaped',
'data-order': 10
});
expect(tag.render()).to.equal('<input type="text" disabled value="this &quot;should&quot; be escaped" />');
expect(tag.render()).to.equal('<input type="text" disabled value="this &quot;should&quot; be escaped" data-order="10" />');

@@ -93,0 +94,0 @@ });

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