void-elements
Advanced tools
Comparing version 2.0.1 to 3.1.0
@@ -15,5 +15,3 @@ /** | ||
"input": true, | ||
"keygen": true, | ||
"link": true, | ||
"menuitem": true, | ||
"meta": true, | ||
@@ -20,0 +18,0 @@ "param": true, |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
3113
3
4
20