Socket
Socket
Sign inDemoInstall

character-reference-invalid

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

30

package.json
{
"name": "character-reference-invalid",
"version": "1.1.0",
"version": "1.1.1",
"description": "HTML invalid numeric character reference information",

@@ -29,24 +29,27 @@ "license": "MIT",

"bail": "^1.0.1",
"browserify": "^13.0.1",
"browserify": "^14.0.0",
"concat-stream": "^1.6.0",
"esmangle": "^1.0.1",
"jsdom": "^9.4.1",
"nyc": "^8.0.0",
"remark-cli": "^2.0.0",
"remark-preset-wooorm": "^1.0.0",
"hast-util-select": "^1.0.1",
"hast-util-to-string": "^1.0.0",
"rehype-parse": "^4.0.0",
"remark-cli": "^3.0.0",
"remark-preset-wooorm": "^3.0.0",
"tape": "^4.0.0",
"xo": "^0.17.0"
"unified": "^6.1.5",
"xo": "^0.18.0"
},
"scripts": {
"build-md": "remark . --quiet --frail",
"build-md": "remark . -qfo",
"build-generate": "node build",
"build-bundle": "browserify index.json --bare -s characterReferenceInvalid > character-reference-invalid.js",
"build-mangle": "esmangle character-reference-invalid.js > character-reference-invalid.min.js",
"build": "npm run build-md && npm run build-bundle && npm run build-mangle",
"build": "npm run build-generate && npm run build-md && npm run build-bundle && npm run build-mangle",
"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"
"test": "npm run build && npm run lint && npm run test-api"
},
"xo": {
"space": true,
"esnext": false,
"rules": {

@@ -60,5 +63,6 @@ "guard-for-in": "off"

"remarkConfig": {
"output": true,
"presets": "wooorm"
"plugins": [
"preset-wooorm"
]
}
}

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

# character-reference-invalid [![Build Status][travis-badge]][travis] [![Coverage Status][codecov-badge]][codecov]
# character-reference-invalid [![Build Status][travis-badge]][travis]

@@ -7,3 +7,3 @@ HTML invalid numeric character reference information.

[npm][npm-install]:
[npm][]:

@@ -17,5 +17,5 @@ ```bash

```js
console.log(characterReferenceInvalid[0x80]); // €
console.log(characterReferenceInvalid[0x89]); // ‰
console.log(characterReferenceInvalid[0x99]); // ™
console.log(characterReferenceInvalid[0x80]); //=> '€'
console.log(characterReferenceInvalid[0x89]); //=> '‰'
console.log(characterReferenceInvalid[0x99]); //=> '™'
```

@@ -33,2 +33,15 @@

## Related
* [`character-entities`](https://github.com/wooorm/character-entities)
— HTML character entity info
* [`character-entities-html4`](https://github.com/wooorm/character-entities-html4)
— HTML 4 character entity info
* [`character-entities-legacy`](https://github.com/wooorm/character-entities-legacy)
— Legacy character entity info
* [`parse-entities`](https://github.com/wooorm/parse-entities)
— Parse HTML character references
* [`stringify-entities`](https://github.com/wooorm/stringify-entities)
— Stringify HTML character references
## License

@@ -44,8 +57,4 @@

[codecov-badge]: https://img.shields.io/codecov/c/github/wooorm/character-reference-invalid.svg
[npm]: https://docs.npmjs.com/cli/install
[codecov]: https://codecov.io/github/wooorm/character-reference-invalid
[npm-install]: https://docs.npmjs.com/cli/install
[license]: LICENSE

@@ -52,0 +61,0 @@

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