makeup-roving-tabindex
Advanced tools
Comparing version 0.4.1 to 0.5.0
{ | ||
"name": "makeup-roving-tabindex", | ||
"description": "Implements a roving tab index on given collection of elements", | ||
"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-roving-tabindex", | ||
@@ -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,9 +30,13 @@ }, | ||
"dependencies": { | ||
"makeup-navigation-emitter": "~0.4.1" | ||
"makeup-navigation-emitter": "~0.5.0" | ||
}, | ||
"files": [ | ||
"browser.json", | ||
"dist/index.js", | ||
"dist/cjs/index.js", | ||
"dist/mjs/index.js", | ||
"package-lock.json" | ||
], | ||
"browserslist": [ | ||
"extends @ebay/browserslist-config" | ||
] | ||
} |
@@ -7,19 +7,8 @@ # makeup-roving-tabindex | ||
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-roving-tabindex | ||
// via yarn | ||
yarn add makeup-roving-tabindex | ||
``` | ||
## Example | ||
```js | ||
// require the module | ||
const RovingTabindex = require('makeup-roving-tabindex'); | ||
import * as RovingTabindex from 'makeup-roving-tabindex'; | ||
@@ -26,0 +15,0 @@ // get an element reference |
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
16614
6
284
74
1
+ Addedmakeup-exit-emitter@0.4.2(transitive)
+ Addedmakeup-key-emitter@0.3.2(transitive)
+ Addedmakeup-navigation-emitter@0.5.1(transitive)
+ Addedmakeup-next-id@0.4.2(transitive)
- Removedmakeup-exit-emitter@0.3.1(transitive)
- Removedmakeup-key-emitter@0.2.0(transitive)
- Removedmakeup-navigation-emitter@0.4.1(transitive)
- Removedmakeup-next-id@0.3.0(transitive)