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

a-rel

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

a-rel - npm Package Compare versions

Comparing version 2.2.2 to 3.0.0

index.d.ts

65

package.json
{
"name": "a-rel",
"version": "2.2.2",
"version": "3.0.0",
"description": "List of link types for `rel` on `a` and `area`",

@@ -26,30 +26,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",
"type-coverage": "^2.0.0",
"typescript": "^4.0.0",
"unified": "^9.0.0",
"xo": "^0.38.0"
},
"scripts": {
"generate": "node build.js",
"format": "remark . -qfo && prettier --write \"**/*.js\" && xo --fix",
"build-bundle": "browserify index.json -s aRel -o a-rel.js",
"build-mangle": "browserify index.json -s aRel -p tinyify -o a-rel.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"
"prepack": "npm run build && npm run format",
"generate": "node build",
"build": "rimraf \"*.d.ts\" && tsc && type-coverage",
"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"
},

@@ -66,6 +72,7 @@ "prettier": {

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

@@ -76,3 +83,11 @@ "remarkConfig": {

]
},
"typeCoverage": {
"atLeast": 100,
"detail": true,
"strict": true,
"ignoreFiles": [
"build.js"
]
}
}
# a-rel
[![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 aRel = require('a-rel')
import {aRel} from 'a-rel'

@@ -46,6 +50,9 @@ console.log(aRel.slice(0, 10))

This package exports the following identifiers: `aRel`.
There is no default export.
### `aRel`
`Array.<string>` — List of lowercase possible link types for `rel` on `a` and
`area` elements.
`string[]` — List of lowercase possible link types for `rel` on `a` and `area`
elements.

@@ -75,6 +82,10 @@ ## Related

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

@@ -81,0 +92,0 @@

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