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.2.0 to 5.0.0

2

lib/html.js

@@ -131,3 +131,3 @@ 'use strict'

size: number,
sizes: spaceSeparated,
sizes: null,
slot: null,

@@ -134,0 +134,0 @@ span: number,

@@ -14,3 +14,3 @@ 'use strict'

function increment() {
return Math.pow(2, ++powers)
return 2 ** ++powers
}

@@ -6,3 +6,3 @@ 'use strict'

function normalize(value) {
return value.toLowerCase().replace(/\b[:-]\b/g, '')
return value.toLowerCase()
}
{
"name": "property-information",
"version": "4.2.0",
"version": "5.0.0",
"description": "Information for HTML properties",

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

"bugs": "https://github.com/wooorm/property-information/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"Dustin Deus <deusdustin@gmail.com> (http://starptech.de)"

@@ -41,8 +41,8 @@ ],

"mdast-zone": "^3.0.1",
"nyc": "^12.0.0",
"nyc": "^13.0.0",
"object.values": "^1.0.4",
"prettier": "^1.13.7",
"remark-cli": "^5.0.0",
"prettier": "^1.15.1",
"remark-cli": "^6.0.0",
"remark-frontmatter": "^1.2.0",
"remark-parse": "^5.0.0",
"remark-parse": "^6.0.0",
"remark-preset-wooorm": "^4.0.0",

@@ -55,3 +55,3 @@ "svg-element-attributes": "^1.2.1",

"unist-util-visit": "^1.3.1",
"xo": "^0.21.0"
"xo": "^0.23.0"
},

@@ -58,0 +58,0 @@ "scripts": {

@@ -1,2 +0,2 @@

# property-information [![Build Status][build-badge]][build-status] [![Coverage Status][coverage-badge]][coverage-status]
# property-information [![Build][build-badge]][build] [![Coverage][coverage-badge]][coverage] [![Downloads][downloads-badge]][downloads] [![Size][size-badge]][size]

@@ -130,4 +130,3 @@ Information for properties and attributes on the web-platform (HTML, SVG, ARIA,

This removed all non-alphanumerical characters from `name`, and lowercases
the result.
This lowercases the `name` and return the result.

@@ -154,2 +153,3 @@ #### Parameters

info.html.normal[info.normalize('unknown')] // => undefined
info.html.normal[info.normalize('accept-charset')] // => 'acceptCharset'
```

@@ -793,15 +793,23 @@

[build-badge]: https://img.shields.io/travis/wooorm/property-information.svg?style=flat
[build-badge]: https://img.shields.io/travis/wooorm/property-information/master.svg
[build-status]: https://travis-ci.org/wooorm/property-information
[build]: https://travis-ci.org/wooorm/property-information
[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/property-information.svg
[coverage-status]: https://codecov.io/github/wooorm/property-information
[coverage]: https://codecov.io/github/wooorm/property-information
[downloads-badge]: https://img.shields.io/npm/dm/property-information.svg
[downloads]: https://www.npmjs.com/package/property-information
[size-badge]: https://img.shields.io/bundlephobia/minzip/property-information.svg
[size]: https://bundlephobia.com/result?p=property-information
[npm]: https://docs.npmjs.com/cli/install
[author]: http://wooorm.com
[author]: https://wooorm.com
[license]: LICENSE
[license]: license

@@ -808,0 +816,0 @@ [source]: https://github.com/facebook/react/blob/f445dd9/src/renderers/dom/shared/HTMLDOMPropertyConfig.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