New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

html-element-attributes

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-element-attributes - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

license

4

index.json

@@ -9,2 +9,3 @@ {

"draggable",
"enterkeyhint",
"hidden",

@@ -249,2 +250,3 @@ "id",

"align",
"allow",
"allowfullscreen",

@@ -351,2 +353,4 @@ "allowpaymentrequest",

"hreflang",
"imagesizes",
"imagesrcset",
"integrity",

@@ -353,0 +357,0 @@ "media",

30

package.json
{
"name": "html-element-attributes",
"version": "2.0.0",
"version": "2.1.0",
"description": "Map of HTML elements to allowed attributes",

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

"bugs": "https://github.com/wooorm/html-element-attributes/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)"
],

@@ -31,21 +31,21 @@ "main": "index.json",

"browserify": "^16.0.0",
"concat-stream": "^1.6.0",
"esmangle": "^1.0.1",
"concat-stream": "^2.0.0",
"hast-util-is-event-handler": "^1.0.0",
"hast-util-select": "^1.0.1",
"hast-util-select": "^3.0.0",
"hast-util-to-string": "^1.0.0",
"prettier": "^1.12.0",
"rehype-parse": "^4.0.0",
"remark-cli": "^5.0.0",
"rehype-parse": "^6.0.0",
"remark-cli": "^6.0.0",
"remark-preset-wooorm": "^4.0.0",
"tape": "^4.4.0",
"tinyify": "^2.5.0",
"trim": "0.0.1",
"unified": "^6.1.5",
"xo": "^0.20.0"
"unified": "^7.0.0",
"xo": "^0.24.0"
},
"scripts": {
"generate": "node build",
"format": "remark . -qfo && prettier --write '**/*.js' && xo --fix",
"build-bundle": "browserify index.json --bare -s htmlElementAttributes > html-element-attributes.js",
"build-mangle": "esmangle html-element-attributes.js > html-element-attributes.min.js",
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
"build-bundle": "browserify index.json -s htmlElementAttributes -o html-element-attributes.js",
"build-mangle": "browserify index.json -s htmlElementAttributes -p tinyify -o html-element-attributes.min.js",
"build": "npm run build-bundle && npm run build-mangle",

@@ -66,6 +66,2 @@ "test-api": "node test",

"esnext": false,
"rules": {
"no-var": "off",
"prefer-arrow-callback": "off"
},
"ignores": [

@@ -72,0 +68,0 @@ "html-element-attributes.js"

@@ -1,3 +0,7 @@

# html-element-attributes [![Build Status][build-badge]][build-page]
# html-element-attributes
[![Build][build-badge]][build]
[![Downloads][downloads-badge]][downloads]
[![Size][size-badge]][size]
Map of HTML elements to allowed attributes. Also contains global

@@ -63,8 +67,16 @@ attributes under `'*'`. Includes attributes from HTML 4, W3C HTML 5,

[build-page]: https://travis-ci.org/wooorm/html-element-attributes
[build]: https://travis-ci.org/wooorm/html-element-attributes
[downloads-badge]: https://img.shields.io/npm/dm/html-element-attributes.svg
[downloads]: https://www.npmjs.com/package/html-element-attributes
[size-badge]: https://img.shields.io/bundlephobia/minzip/html-element-attributes.svg
[size]: https://bundlephobia.com/result?p=html-element-attributes
[npm]: https://docs.npmjs.com/cli/install
[license]: LICENSE
[license]: license
[author]: http://wooorm.com
[author]: https://wooorm.com
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