Socket
Socket
Sign inDemoInstall

html-tags

Package Overview
Dependencies
0
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.1.0 to 3.2.0

123

index.d.ts

@@ -0,1 +1,122 @@

declare namespace htmlTags {
export type htmlTags =
| 'a'
| 'abbr'
| 'address'
| 'area'
| 'article'
| 'aside'
| 'audio'
| 'b'
| 'base'
| 'bdi'
| 'bdo'
| 'blockquote'
| 'body'
| 'br'
| 'button'
| 'canvas'
| 'caption'
| 'cite'
| 'code'
| 'col'
| 'colgroup'
| 'data'
| 'datalist'
| 'dd'
| 'del'
| 'details'
| 'dfn'
| 'dialog'
| 'div'
| 'dl'
| 'dt'
| 'em'
| 'embed'
| 'fieldset'
| 'figcaption'
| 'figure'
| 'footer'
| 'form'
| 'h1'
| 'h2'
| 'h3'
| 'h4'
| 'h5'
| 'h6'
| 'head'
| 'header'
| 'hgroup'
| 'hr'
| 'html'
| 'i'
| 'iframe'
| 'img'
| 'input'
| 'ins'
| 'kbd'
| 'label'
| 'legend'
| 'li'
| 'link'
| 'main'
| 'map'
| 'mark'
| 'math'
| 'menu'
| 'menuitem'
| 'meta'
| 'meter'
| 'nav'
| 'noscript'
| 'object'
| 'ol'
| 'optgroup'
| 'option'
| 'output'
| 'p'
| 'param'
| 'picture'
| 'pre'
| 'progress'
| 'q'
| 'rb'
| 'rp'
| 'rt'
| 'rtc'
| 'ruby'
| 's'
| 'samp'
| 'script'
| 'section'
| 'select'
| 'slot'
| 'small'
| 'source'
| 'span'
| 'strong'
| 'style'
| 'sub'
| 'summary'
| 'sup'
| 'svg'
| 'table'
| 'tbody'
| 'td'
| 'template'
| 'textarea'
| 'tfoot'
| 'th'
| 'thead'
| 'time'
| 'title'
| 'tr'
| 'track'
| 'u'
| 'ul'
| 'var'
| 'video'
| 'wbr'
}
/**

@@ -12,4 +133,4 @@ List of standard HTML tags.

*/
declare const htmlTags: readonly string[];
declare const htmlTags: readonly htmlTags.htmlTags[];
export = htmlTags;

14

package.json
{
"name": "html-tags",
"version": "3.1.0",
"version": "3.2.0",
"description": "List of standard HTML tags",
"license": "MIT",
"repository": "sindresorhus/html-tags",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
"url": "https://sindresorhus.com"
},

@@ -24,5 +25,3 @@ "engines": {

"html-tags.json",
"html-tags.json.d.ts",
"html-tags-void.json",
"html-tags-void.json.d.ts"
"html-tags-void.json"
],

@@ -44,3 +43,8 @@ "keywords": [

"xo": "^0.24.0"
},
"xo": {
"rules": {
"import/extensions": "off"
}
}
}

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

# html-tags [![Build Status](https://travis-ci.org/sindresorhus/html-tags.svg?branch=master)](https://travis-ci.org/sindresorhus/html-tags)
# html-tags

@@ -9,3 +9,2 @@ > List of standard HTML tags

## Install

@@ -17,3 +16,2 @@

## Usage

@@ -36,6 +34,1 @@

```
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)

@@ -0,14 +1,33 @@

declare namespace htmlTagsVoid {
export type htmlTagsVoid =
| 'area'
| 'base'
| 'br'
| 'col'
| 'embed'
| 'hr'
| 'img'
| 'input'
| 'link'
| 'menuitem'
| 'meta'
| 'param'
| 'source'
| 'track'
| 'wbr'
}
/**
List of void (self-closing) HTML tags.
List of standard, self-closing HTML tags.
@example
```
import voidHtmlTags = require('html-tags/void');
import htmlTags = require('html-tags/void');
console.log(voidHtmlTags);
//=> ['area', 'base', 'br', …]
console.log(htmlTags);
//=> ['a', 'abbr', 'acronym' …]
```
*/
declare const voidHtmlTags: readonly string[];
declare const htmlTagsVoid: readonly htmlTagsVoid.htmlTagsVoid[];
export = voidHtmlTags;
export = htmlTagsVoid;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc