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 5.2.2 to 5.3.0

hast-to-react.json

1

lib/html.js

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

autoSave: null,
disablePictureInPicture: boolean,
prefix: null,

@@ -301,0 +302,0 @@ property: null,

19

package.json
{
"name": "property-information",
"version": "5.2.2",
"version": "5.3.0",
"description": "Information for HTML properties",

@@ -23,2 +23,3 @@ "license": "MIT",

"index.js",
"hast-to-react.json",
"html.js",

@@ -41,3 +42,2 @@ "svg.js",

"html-event-attributes": "^1.0.0",
"mdast-util-to-string": "^1.0.4",
"mdast-zone": "^3.0.1",

@@ -47,6 +47,4 @@ "nyc": "^14.0.0",

"prettier": "^1.15.1",
"remark-cli": "^6.0.0",
"remark-frontmatter": "^1.2.0",
"remark-parse": "^6.0.0",
"remark-preset-wooorm": "^5.0.0",
"remark-cli": "^7.0.0",
"remark-preset-wooorm": "^6.0.0",
"svg-element-attributes": "^1.2.1",

@@ -56,9 +54,7 @@ "svg-event-attributes": "^1.0.0",

"tinyify": "^2.4.3",
"unified": "^8.0.0",
"unist-builder": "^1.0.2",
"unist-util-visit": "^1.3.1",
"xo": "^0.24.0"
"xo": "^0.25.0"
},
"scripts": {
"generate": "node script/generate-react",
"generate": "node script/generate-react && node script/generate-exceptions",
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",

@@ -91,3 +87,4 @@ "build-bundle": "browserify index.js -s propertyInformation > property-information.js",

"guard-for-in": "off",
"unicorn/prefer-exponentiation-operator": "off"
"unicorn/prefer-exponentiation-operator": "off",
"unicorn/prefer-includes": "off"
},

@@ -94,0 +91,0 @@ "ignore": [

@@ -25,6 +25,7 @@ # property-information

* [API](#api)
* [propertyInformation.find(schema, name)](#propertyinformationfindschema-name)
* [propertyInformation.normalize(name)](#propertyinformationnormalizename)
* [propertyInformation.html](#propertyinformationhtml)
* [propertyInformation.svg](#propertyinformationsvg)
* [`propertyInformation.find(schema, name)`](#propertyinformationfindschema-name)
* [`propertyInformation.normalize(name)`](#propertyinformationnormalizename)
* [`propertyInformation.html`](#propertyinformationhtml)
* [`propertyInformation.svg`](#propertyinformationsvg)
* [`hastToReact`](#hasttoreact)
* [Support](#support)

@@ -242,2 +243,11 @@ * [Related](#related)

### `hastToReact`
> Accessible through `require('property-information/hast-to-react.json')`
[hast][] is close to [React][], but differs in a couple of cases.
To get a React property from a hast property, check if it is in
[`hast-to-react`][hast-to-react] (`Object.<string>`), if it is, then use the
corresponding value, otherwise, use the hast property.
## Support

@@ -398,2 +408,3 @@

| `direction` | `direction` | `svg` |
| `disablePictureInPicture` | `disablepictureinpicture` | `html` |
| `disabled` | `disabled` | `html` |

@@ -930,2 +941,6 @@ | `display` | `display` | `svg` |

[hast]: https://github.com/syntax-tree/hast#property-names
[react]: https://github.com/facebook/react
[hast-to-react]: hast-to-react.json
[hast]: https://github.com/syntax-tree/hast#propertyname
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