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

escape-goat

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

escape-goat - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

4

index.js

@@ -20,3 +20,3 @@ 'use strict';

for (let i = 0; i < values.length; i++) {
output = output + exports.htmlEscape(values[i]) + strings[i + 1];
output = output + exports.htmlEscape(String(values[i])) + strings[i + 1];
}

@@ -30,3 +30,3 @@

for (let i = 0; i < values.length; i++) {
output = output + exports.htmlUnescape(values[i]) + strings[i + 1];
output = output + exports.htmlUnescape(String(values[i])) + strings[i + 1];
}

@@ -33,0 +33,0 @@

{
"name": "escape-goat",
"version": "2.0.0",
"version": "2.1.0",
"description": "Escape a string for use in HTML or the inverse",

@@ -5,0 +5,0 @@ "license": "MIT",

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