🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP →
Sign In

@adplata/html-validate-offline

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@adplata/html-validate-offline - npm Package Compare versions

Comparing version
1.0.3
to
1.0.4
+1
-1
package.json
{
"name": "@adplata/html-validate-offline",
"version": "1.0.3",
"version": "1.0.4",
"description": "Html validate offline",

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

@@ -13,3 +13,3 @@ ## Installation

status: true/false - Boolean
status: true/false - Boolean
message: Description of validation - String

@@ -20,2 +20,7 @@

## License
[MIT](https://choosealicense.com/licenses/mit/)
## CHANGELOG
1.0.4 : Fixed - Closing styles

@@ -72,2 +72,3 @@ 'use strict'

tags[tagno] = tags[tagno].replace(/(?<=<\s*[\w_-]+)(\s+[\w_-]+(\s*=\s*(".*?"|'.*?'|[^\s="'<>`]+))?)*/g, '') // Borra todas las propiedades correctas de las etiquetas
tags[tagno] = tags[tagno].replace(';',''); // Borra posibles ; de cierres de estilos en lĂ­nea
let tagSearch = tags[tagno].match(/<(\s*[\w\-_]+)/)

@@ -74,0 +75,0 @@ if ((tagSearch === null) || (tags[tagno] !== '<' + tagSearch[1] + '>')) {