mathml-tag-names
Advanced tools
Comparing version 2.1.3 to 3.0.0
{ | ||
"name": "mathml-tag-names", | ||
"version": "2.1.3", | ||
"version": "3.0.0", | ||
"description": "List of known MathML tag-names", | ||
@@ -25,30 +25,36 @@ "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.0.0", | ||
"concat-stream": "^2.0.0", | ||
"hast-util-select": "^3.0.0", | ||
"hast-util-select": "^4.0.0", | ||
"hast-util-to-string": "^1.0.0", | ||
"prettier": "^1.0.0", | ||
"rehype-parse": "^6.0.0", | ||
"remark-cli": "^7.0.0", | ||
"remark-preset-wooorm": "^6.0.0", | ||
"tape": "^4.0.0", | ||
"tinyify": "^2.0.0", | ||
"unified": "^8.0.0", | ||
"xo": "^0.25.0" | ||
"prettier": "^2.0.0", | ||
"rehype-parse": "^7.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", | ||
"unified": "^9.0.0", | ||
"xo": "^0.38.0" | ||
}, | ||
"scripts": { | ||
"prepublishOnly": "npm run build && npm run format", | ||
"generate": "node build", | ||
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix", | ||
"build-bundle": "browserify index.json -s mathML -o mathml-tag-names.js", | ||
"build-mangle": "browserify index.json -s mathML -p tinyify -o mathml-tag-names.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" | ||
"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" | ||
}, | ||
@@ -65,6 +71,7 @@ "prettier": { | ||
"prettier": true, | ||
"esnext": false, | ||
"ignore": [ | ||
"mathml-tag-names.js" | ||
] | ||
"rules": { | ||
"import/no-mutable-exports": "off", | ||
"no-var": "off", | ||
"prefer-arrow-callback": "off" | ||
} | ||
}, | ||
@@ -71,0 +78,0 @@ "remarkConfig": { |
# mathml-tag-names | ||
[![Build][build-badge]][build] | ||
[![Coverage][coverage-badge]][coverage] | ||
[![Downloads][downloads-badge]][downloads] | ||
@@ -15,2 +16,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][]: | ||
@@ -25,7 +29,7 @@ | ||
```js | ||
var mathMLTagNames = require('mathml-tag-names') | ||
var mathmlTagNames = require('mathml-tag-names') | ||
console.log(mathMLTagNames.length) // => 202 | ||
console.log(mathmlTagNames.length) // => 202 | ||
console.log(mathMLTagNames.slice(0, 20)) | ||
console.log(mathmlTagNames.slice(0, 20)) | ||
``` | ||
@@ -60,4 +64,7 @@ | ||
### `mathMlTagNames` | ||
This package exports the following identifiers: `mathmlTagNames`. | ||
There is no default export. | ||
### `mathmlTagNames` | ||
`Array.<string>` — List of lowercase tag names. | ||
@@ -84,6 +91,10 @@ | ||
[build-badge]: https://img.shields.io/travis/wooorm/mathml-tag-names.svg | ||
[build-badge]: https://github.com/wooorm/mathml-tag-names/workflows/main/badge.svg | ||
[build]: https://travis-ci.org/wooorm/mathml-tag-names | ||
[build]: https://github.com/wooorm/mathml-tag-names/actions | ||
[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/mathml-tag-names.svg | ||
[coverage]: https://codecov.io/github/wooorm/mathml-tag-names | ||
[downloads-badge]: https://img.shields.io/npm/dm/mathml-tag-names.svg | ||
@@ -90,0 +101,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
8150
5
115
Yes
15
192
1