void-elements
Advanced tools
Comparing version 0.1.1 to 1.0.0
{ | ||
"name": "void-elements", | ||
"version": "0.1.1", | ||
"version": "1.0.0", | ||
"description": "Array of \"void elements\" defined by the HTML specification.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "mocha test.js", | ||
"preinstall": "npm install cheerio superagent && node pre-install.js > index.js" | ||
"test": "node test", | ||
"prepublish": "node pre-publish.js > index.js" | ||
}, | ||
@@ -25,3 +25,3 @@ "keywords": [ | ||
"homepage": "https://github.com/hemanth/void-elements", | ||
"dependencies": { | ||
"devDependencies": { | ||
"cheerio": "^0.17.0", | ||
@@ -28,0 +28,0 @@ "superagent": "^0.18.2" |
void-elements | ||
============== | ||
### Array of "void elements" defined by the HTML specification | ||
@@ -8,1 +9,20 @@ | ||
The list is programatically generated from [SPEC](http://www.w3.org/html/wg/drafts/html/master/syntax.html#void-elements). | ||
[![Build Status](https://img.shields.io/travis/hemanth/void-elements/master.svg)](https://travis-ci.org/hemanth/void-elements) | ||
[![Dependency Status](https://img.shields.io/gemnasium/hemanth/void-elements.svg)](https://gemnasium.com/hemanth/void-elements) | ||
[![NPM version](https://img.shields.io/npm/v/void-elements.svg)](https://www.npmjs.org/package/void-elements) | ||
Usage | ||
----- | ||
```js | ||
var voidElements = require('void-elements'); | ||
assert(voidElements.indexOf('span') === -1, '<span> is not a void element'); | ||
assert(voidElements.indexOf('img') !== -1, '<img> is a void element'); | ||
``` | ||
License | ||
------- | ||
MIT |
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
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3886
0
9
46
0
28
0
2
- Removedcheerio@^0.17.0
- Removedsuperagent@^0.18.2
- RemovedCSSselect@0.4.1(transitive)
- RemovedCSSwhat@0.4.7(transitive)
- Removedasync@0.9.2(transitive)
- Removedcheerio@0.17.0(transitive)
- Removedcombined-stream@0.0.7(transitive)
- Removedcomponent-emitter@1.1.2(transitive)
- Removedcookiejar@2.0.1(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removeddebug@1.0.5(transitive)
- Removeddelayed-stream@0.0.5(transitive)
- Removeddom-serializer@0.0.1(transitive)
- Removeddomelementtype@1.1.3(transitive)
- Removeddomhandler@2.2.1(transitive)
- Removeddomutils@1.4.31.5.1(transitive)
- Removedentities@1.0.01.1.2(transitive)
- Removedextend@1.2.1(transitive)
- Removedform-data@0.1.3(transitive)
- Removedformidable@1.0.14(transitive)
- Removedhtmlparser2@3.7.3(transitive)
- Removedinherits@2.0.4(transitive)
- Removedisarray@0.0.1(transitive)
- Removedlodash@2.4.2(transitive)
- Removedmethods@1.0.1(transitive)
- Removedmime@1.2.11(transitive)
- Removedms@2.0.0(transitive)
- Removedqs@0.6.6(transitive)
- Removedreadable-stream@1.0.27-11.1.14(transitive)
- Removedreduce-component@1.0.1(transitive)
- Removedstring_decoder@0.10.31(transitive)
- Removedsuperagent@0.18.2(transitive)