New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

makeup-active-descendant

Package Overview
Dependencies
Maintainers
5
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

makeup-active-descendant - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

dist/cjs/index.js

22

package.json
{
"name": "makeup-active-descendant",
"description": "Implements ARIA active descendant keyboard navigation",
"version": "0.4.1",
"main": "dist/index.js",
"version": "0.5.0",
"main": "./dist/cjs/index.js",
"module": "./dist/mjs/index.js",
"exports": {
".": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js"
}
},
"repository": "https://github.com/makeup/makeup-js/tree/master/packages/makeup-active-descendant",

@@ -10,3 +17,5 @@ "author": "Ian McBurnie <ianmcburnie@hotmail.com>",

"scripts": {
"compile": "babel src --out-dir dist",
"compile": "npm run compile:mjs && npm run compile:cjs",
"compile:mjs": "esbuild src/index.js --outfile=dist/mjs/index.js --format=esm",
"compile:cjs": "babel --plugins @babel/plugin-transform-modules-commonjs src/index.js --out-file dist/cjs/index.js",
"clean": "rimraf *.log .DS_Store"

@@ -21,8 +30,9 @@ },

"dependencies": {
"makeup-navigation-emitter": "~0.4.1",
"makeup-next-id": "~0.3.0"
"makeup-navigation-emitter": "~0.5.0",
"makeup-next-id": "~0.4.0"
},
"files": [
"browser.json",
"dist/index.js",
"dist/cjs/index.js",
"dist/mjs/index.js",
"package-lock.json"

@@ -29,0 +39,0 @@ ],

@@ -7,14 +7,4 @@ # makeup-active-descendant

This CommonJS module is still in an experimental state, until it reaches v1.0.0 you must consider all minor releases as breaking changes. Patch releases may introduce new features, but will be backwards compatible.
This module is still in an experimental state, until it reaches v1 you must consider all minor releases as breaking changes.
## Install
```js
// via npm
npm install makeup-active-descendant
// via yarn
yarn add makeup-active-descendant
```
## Example 1: Programmatic Relationship

@@ -38,4 +28,3 @@

```js
// require the module
const ActiveDescendant = require('makeup-active-descendant');
import * as ActiveDescendant from 'makeup-active-descendant';

@@ -114,4 +103,3 @@ // get the widget root element reference

```js
// require the module
const ActiveDescendant = require('makeup-active-descendant');
import * as ActiveDescendant from 'makeup-active-descendant';

@@ -199,3 +187,1 @@ // get the widget root element reference

* [makeup-next-id](https://github.com/makeup/makeup-js/tree/master/packages/makeup-next-id)
* [custom-event](https://github.com/webmodules/custom-event) (for IE11)
* [nodelist-foreach-polyfill](https://github.com/imagitama/nodelist-foreach-polyfill) (for IE11)
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