Socket
Socket
Sign inDemoInstall

property-information

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

property-information - npm Package Compare versions

Comparing version 4.0.3 to 4.1.0

4

normalize.js

@@ -5,6 +5,4 @@ 'use strict'

var re = /[^a-z0-9]/gi
function normalize(value) {
return value.replace(re, '').toLowerCase()
return value.toLowerCase().replace(/\b[:-]\b/g, '')
}
{
"name": "property-information",
"version": "4.0.3",
"version": "4.1.0",
"description": "Information for HTML properties",

@@ -17,3 +17,4 @@ "license": "MIT",

"contributors": [
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)"
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
"Dustin Deus <deusdustin@gmail.com> (http://starptech.de)"
],

@@ -57,3 +58,3 @@ "files": [

"generate": "node script/generate-react",
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
"build-bundle": "browserify index.js -s propertyInformation > property-information.js",

@@ -60,0 +61,0 @@ "build-mangle": "browserify index.js -s propertyInformation -p tinyify > property-information.min.js",

@@ -6,2 +6,4 @@ # property-information [![Build Status][build-badge]][build-status] [![Coverage Status][coverage-badge]][coverage-status]

This package follows a sensible naming scheme as defined by [HAST][]
## Installation

@@ -813,1 +815,3 @@

[normalize]: #propertyinformationnormalizename
[hast]: https://github.com/syntax-tree/hast#property-names
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