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

lib-string

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lib-string - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

index.js
const lib = require('./utils/lib');
const convertString = (str) => {
if (typeof str === 'string') {
if (
typeof str === 'string' &&
str.includes('&') &&
str.includes(';')
) {
for (const cObj of lib.htmlEntities) {

@@ -6,0 +10,0 @@ str = str.split(cObj.htmlEntity).join(cObj.letter)

2

package.json
{
"name": "lib-string",
"version": "1.0.2",
"version": "1.0.3",
"description": "",

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

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