Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

void-elements

Package Overview
Dependencies
Maintainers
7
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

void-elements - npm Package Compare versions

Comparing version 2.0.1 to 3.1.0

2

index.js

@@ -15,5 +15,3 @@ /**

"input": true,
"keygen": true,
"link": true,
"menuitem": true,
"meta": true,

@@ -20,0 +18,0 @@ "param": true,

20

package.json
{
"name": "void-elements",
"version": "2.0.1",
"version": "3.1.0",
"description": "Array of \"void elements\" defined by the HTML specification.",
"main": "index.js",
"scripts": {
"pretest": "node build.js > test/latest.js",
"test": "node test",
"prepublish": "node pre-publish.js > index.js"
"update": "node build.js > index.js"
},

@@ -15,3 +16,6 @@ "keywords": [

],
"repository": "hemanth/void-elements",
"files": [
"index.js"
],
"repository": "pugjs/void-elements",
"author": "hemanth.hm",

@@ -23,8 +27,10 @@ "engines": {

"bugs": {
"url": "https://github.com/hemanth/void-elements/issues"
"url": "https://github.com/jadejs/void-elements/issues"
},
"homepage": "https://github.com/hemanth/void-elements",
"homepage": "https://github.com/jadejs/void-elements",
"devDependencies": {
"cheerio": "^0.18.0"
"jsdom": "^9.9.1",
"request": "^2.79.0",
"request-promise": "^4.1.1"
}
}
}
void-elements
==============
### Array of "void elements" defined by the HTML specification
### Object of "void elements" defined by the HTML specification
Exports an Array of "void element" node names as defined by the HTML spec.
Exports an `Object` of "void element" node names as defined by the HTML spec.
The list is programatically generated from the [latest W3C HTML draft](http://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements).
[![Build Status](https://img.shields.io/travis/jadejs/void-elements/master.svg?style=flat)](https://travis-ci.org/jadejs/void-elements)
[![Developing Dependency Status](https://img.shields.io/david/dev/jadejs/void-elements.svg?style=flat)](https://david-dm.org/jadejs/void-elements#info=devDependencies)
[![Build Status](https://img.shields.io/travis/pugjs/void-elements/master.svg?style=flat)](https://travis-ci.org/pugjs/void-elements)
[![Developing Dependency Status](https://img.shields.io/david/dev/pugjs/void-elements.svg?style=flat)](https://david-dm.org/pugjs/void-elements#info=devDependencies)
[![NPM version](https://img.shields.io/npm/v/void-elements.svg?style=flat)](https://www.npmjs.org/package/void-elements)

@@ -20,4 +20,4 @@

assert(voidElements.indexOf('span') === -1, '<span> is not a void element');
assert(voidElements.indexOf('img') !== -1, '<img> is a void element');
assert(!voidElements['span'], '<span> is not a void element');
assert(voidElements['img'], '<img> is a void element');
```

@@ -24,0 +24,0 @@

Sorry, the diff of this file is not supported yet

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