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

dot

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dot - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

2

doT.js

@@ -41,3 +41,3 @@ // doT.js

var encodeHTMLRules = { "&": "&#38;", "<": "&#60;", ">": "&#62;", '"': '&#34;', "'": '&#39;', "/": '&#47;' },
matchHTML = /&(?!\\w+;)|<|>|"|'|\//g;
matchHTML = /&(?!#?\w+;)|<|>|"|'|\//g;
return function(code) {

@@ -44,0 +44,0 @@ return code ? code.toString().replace(matchHTML, function(m) {return encodeHTMLRules[m] || m;}) : code;

@@ -10,3 +10,3 @@ {

],
"version": "0.2.5",
"version": "0.2.6",
"main": "doT",

@@ -13,0 +13,0 @@ "homepage": "http://github.com/olado/doT",

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