property-information
Advanced tools
Comparing version 4.0.3 to 4.1.0
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
80161
816
917