character-entities-legacy
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -1,6 +0,11 @@ | ||
<!--mdast setext--> | ||
<!--remark setext--> | ||
<!--lint disable no-multiple-toplevel-headings --> | ||
<!--lint disable no-multiple-toplevel-headings--> | ||
1.0.1 / 2016-07-24 | ||
================== | ||
* Rewrite module ([`d3ff888`](https://github.com/wooorm/character-entities-legacy/commit/d3ff888)) | ||
1.0.0 / 2015-09-27 | ||
================== |
@@ -11,8 +11,3 @@ /** | ||
/* eslint-env commonjs */ | ||
/* | ||
* Expose. | ||
*/ | ||
/* Expose. */ | ||
module.exports = require('./index.json'); |
{ | ||
"name": "character-entities-legacy", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "HTML legacy character entity information", | ||
@@ -19,37 +19,55 @@ "license": "MIT", | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/wooorm/character-entities-legacy.git" | ||
}, | ||
"author": "Titus Wormer <tituswormer@gmail.com>", | ||
"repository": "https://github.com/wooorm/character-entities-legacy", | ||
"bugs": "https://github.com/wooorm/character-entities-legacy/issues", | ||
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)", | ||
"contributors": [ | ||
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)" | ||
], | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"browserify": "^11.0.0", | ||
"eslint": "^1.0.0", | ||
"esmangle": "^1.0.0", | ||
"istanbul": "^0.3.0", | ||
"jscs": "^2.0.0", | ||
"jscs-jsdoc": "^1.0.0", | ||
"mdast": "^2.0.0", | ||
"mdast-comment-config": "^1.0.0", | ||
"mdast-github": "^1.0.0", | ||
"mdast-lint": "^1.0.0", | ||
"mdast-slug": "^2.0.0", | ||
"mdast-validate-links": "^1.1.1", | ||
"mdast-yaml-config": "^1.0.0", | ||
"tape": "^4.2.0" | ||
"browserify": "^13.0.1", | ||
"esmangle": "^1.0.1", | ||
"nyc": "^7.0.0", | ||
"remark-cli": "^1.0.0", | ||
"remark-comment-config": "^4.0.0", | ||
"remark-github": "^5.0.0", | ||
"remark-lint": "^4.0.0", | ||
"remark-validate-links": "^4.0.0", | ||
"tape": "^4.0.0", | ||
"xo": "^0.16.0" | ||
}, | ||
"scripts": { | ||
"build-md": "mdast . --quiet --frail", | ||
"build-crawl": "mkdir -p data; curl https://raw.githubusercontent.com/whatwg/html/master/json-entities-legacy.inc > data/entities.json", | ||
"build-md": "remark . --quiet --frail", | ||
"build-crawl": "mkdir -p data; curl https://raw.githubusercontent.com/whatwg/html/cb8445520f10e044d23cfd3ff7fc38e064edf1f1/json-entities-legacy.inc > data/entities.json", | ||
"build-generate": "node script/generate.js", | ||
"build-bundle": "browserify index.js --bare -s characterEntitiesLegacy > character-entities-legacy.js", | ||
"build-bundle": "browserify index.js --bare -s characterEntitiesHTML4 > character-entities-legacy.js", | ||
"build-mangle": "esmangle character-entities-legacy.js > character-entities-legacy.min.js", | ||
"build": "npm run build-md && npm run build-crawl && npm run build-generate && npm run build-bundle && npm run build-mangle", | ||
"lint-api": "eslint .", | ||
"lint-style": "jscs --reporter inline .", | ||
"lint": "npm run lint-api && npm run lint-style", | ||
"test-api": "node test.js", | ||
"test-coverage": "istanbul cover test.js", | ||
"lint": "xo", | ||
"test-api": "node test", | ||
"test-coverage": "nyc --reporter lcov tape test.js", | ||
"test": "npm run build && npm run lint && npm run test-coverage" | ||
}, | ||
"xo": { | ||
"space": true, | ||
"rules": { | ||
"guard-for-in": "off" | ||
}, | ||
"ignores": [ | ||
"character-entities-legacy.js", | ||
"character-entities-legacy.min.js" | ||
] | ||
}, | ||
"remarkConfig": { | ||
"output": true, | ||
"plugins": [ | ||
"comment-config", | ||
"github", | ||
"lint", | ||
"validate-links" | ||
], | ||
"settings": { | ||
"bullet": "*" | ||
} | ||
} | ||
} |
@@ -1,10 +0,10 @@ | ||
# character-entities-legacy [![Build Status](https://img.shields.io/travis/wooorm/character-entities-legacy.svg?style=flat)](https://travis-ci.org/wooorm/character-entities-legacy) [![Coverage Status](https://img.shields.io/codecov/c/github/wooorm/character-entities-legacy.svg)](https://codecov.io/github/wooorm/character-entities-legacy) | ||
# character-entities-legacy [![Build Status][travis-badge]][travis] [![Coverage Status][codecov-badge]][codecov] | ||
HTML legacy character entity information: for legacy reasons some character | ||
entities are not required to have a trailing semicolon: `©` is perfectly | ||
okay for `©`. | ||
HTML legacy character entity information: for legacy reasons some | ||
character entities are not required to have a trailing semicolon: | ||
`©` is perfectly okay for `©`. | ||
## Installation | ||
[npm](https://docs.npmjs.com/cli/install): | ||
[npm][npm-install]: | ||
@@ -15,7 +15,2 @@ ```bash | ||
**character-entities-legacy** is also available for | ||
[bower](http://bower.io/#install-packages), [duo](http://duojs.org/#getting-started), | ||
and for AMD, CommonJS, and globals ([uncompressed](character-entities-legacy.js) and | ||
[compressed](character-entities-legacy.min.js)). | ||
## Usage | ||
@@ -31,12 +26,31 @@ | ||
### characterEntitiesLegacy | ||
### `characterEntitiesLegacy` | ||
Mapping between (case-sensitive) legacy character entity names to replacements. | ||
Mapping between (case-sensitive) legacy character entity names to | ||
replacements. | ||
## Support | ||
See [whatwg/html](https://raw.githubusercontent.com/whatwg/html/master/json-entities-legacy.inc). | ||
See [whatwg/html][html]. | ||
## License | ||
[MIT](LICENSE) © [Titus Wormer](http://wooorm.com) | ||
[MIT][license] © [Titus Wormer][author] | ||
<!-- Definitions --> | ||
[travis-badge]: https://img.shields.io/travis/wooorm/character-entities-legacy.svg | ||
[travis]: https://travis-ci.org/wooorm/character-entities-legacy | ||
[codecov-badge]: https://img.shields.io/codecov/c/github/wooorm/character-entities-legacy.svg | ||
[codecov]: https://codecov.io/github/wooorm/character-entities-legacy | ||
[npm-install]: https://docs.npmjs.com/cli/install | ||
[license]: LICENSE | ||
[author]: http://wooorm.com | ||
[html]: https://raw.githubusercontent.com/whatwg/html/master/json-entities-legacy.inc |
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
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
6788
10
55
118
1