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

character-entities-legacy

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

character-entities-legacy - npm Package Compare versions

Comparing version 1.1.4 to 2.0.0

index.d.ts

49

package.json
{
"name": "character-entities-legacy",
"version": "1.1.4",
"version": "2.0.0",
"description": "HTML legacy character entity information",

@@ -25,26 +25,32 @@ "license": "MIT",

],
"main": "index.json",
"sideEffects": false,
"type": "module",
"main": "index.js",
"types": "index.d.ts",
"files": [
"index.json"
"index.d.ts",
"index.js"
],
"dependencies": {},
"devDependencies": {
"@types/tape": "^4.0.0",
"bail": "^1.0.0",
"browserify": "^16.0.0",
"c8": "^7.6.0",
"concat-stream": "^2.0.0",
"prettier": "^1.0.0",
"remark-cli": "^7.0.0",
"remark-preset-wooorm": "^6.0.0",
"tape": "^4.0.0",
"tinyify": "^2.0.0",
"xo": "^0.25.0"
"prettier": "^2.0.0",
"remark-cli": "^9.0.0",
"remark-preset-wooorm": "^8.0.0",
"rimraf": "^3.0.0",
"tape": "^5.0.0",
"typescript": "^4.0.0",
"xo": "^0.38.0"
},
"scripts": {
"generate": "node build",
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
"build-bundle": "browserify index.json -s characterEntitiesLegacy -o character-entities-legacy.js",
"build-mangle": "browserify index.json -s characterEntitiesLegacy -p tinyify -o character-entities-legacy.min.js",
"build": "npm run build-bundle && npm run build-mangle",
"test-api": "node test",
"test": "npm run generate && npm run format && npm run build && npm run test-api"
"prepublishOnly": "npm run build && npm run format",
"prebuild": "rimraf \"*.d.ts\"",
"build": "tsc",
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
"test-api": "node test.js",
"test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js",
"test": "npm run generate && npm run build && npm run format && npm run test-coverage"
},

@@ -61,6 +67,7 @@ "prettier": {

"prettier": true,
"esnext": false,
"ignores": [
"character-entities-legacy.js"
]
"rules": {
"import/no-mutable-exports": "off",
"no-var": "off",
"prefer-arrow-callback": "off"
}
},

@@ -67,0 +74,0 @@ "remarkConfig": {

# character-entities-legacy
[![Build][build-badge]][build]
[![Coverage][coverage-badge]][coverage]
[![Downloads][downloads-badge]][downloads]

@@ -13,2 +14,5 @@ [![Size][size-badge]][size]

This package is ESM only: Node 12+ is needed to use it and it must be `import`ed
instead of `require`d.
[npm][]:

@@ -23,3 +27,3 @@

```js
var characterEntitiesLegacy = require('character-entities-legacy')
import {characterEntitiesLegacy} from 'character-entities-legacy'

@@ -33,2 +37,5 @@ console.log(characterEntitiesLegacy.copy) // => '©'

This package exports the following identifiers: `characterEntitiesLegacy`.
There is no default export.
### `characterEntitiesLegacy`

@@ -59,6 +66,10 @@

[build-badge]: https://img.shields.io/travis/wooorm/character-entities-legacy.svg
[build-badge]: https://github.com/wooorm/character-entities-legacy/workflows/main/badge.svg
[build]: https://travis-ci.org/wooorm/character-entities-legacy
[build]: https://github.com/wooorm/character-entities-legacy/actions
[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/character-entities-legacy.svg
[coverage]: https://codecov.io/github/wooorm/character-entities-legacy
[downloads-badge]: https://img.shields.io/npm/dm/character-entities-legacy.svg

@@ -78,2 +89,2 @@

[html]: https://raw.githubusercontent.com/whatwg/html/master/json-entities-legacy.inc
[html]: https://github.com/whatwg/html-build/blob/HEAD/entities/json-entities-legacy.inc
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