makeup-listbox
Advanced tools
Comparing version 0.1.0 to 0.2.0
{ | ||
"name": "makeup-listbox", | ||
"description": "A JavaScript class representing an ARIA listbox", | ||
"version": "0.1.0", | ||
"main": "dist/index.js", | ||
"version": "0.2.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-js/makeup-js/tree/master/packages/makeup-listbox", | ||
@@ -10,11 +17,15 @@ "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" | ||
}, | ||
"dependencies": { | ||
"makeup-prevent-scroll-keys": "~0.1.0", | ||
"makeup-active-descendant": "~0.4.0" | ||
"makeup-prevent-scroll-keys": "~0.2.0", | ||
"makeup-active-descendant": "~0.5.0" | ||
}, | ||
"files": [ | ||
"browser.json", | ||
"dist/index.js", | ||
"dist/cjs/index.js", | ||
"dist/mjs/index.js", | ||
"package-lock.json" | ||
@@ -21,0 +32,0 @@ ], |
@@ -51,3 +51,3 @@ # makeup-listbox | ||
```js | ||
const Listbox = require('makeup-listbox'); | ||
import Listbox from 'makeup-listbox'; | ||
@@ -54,0 +54,0 @@ document.querySelectorAll('.listbox').forEach(function(el, i) { |
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
23037
450
1
+ Addedmakeup-active-descendant@0.5.1(transitive)
+ 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)
+ Addedmakeup-prevent-scroll-keys@0.2.2(transitive)
- Removedmakeup-active-descendant@0.4.1(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)
- Removedmakeup-prevent-scroll-keys@0.1.1(transitive)