@github/auto-complete-element
Advanced tools
Comparing version 2.0.0 to 3.0.0
{ | ||
"name": "@github/auto-complete-element", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"description": "Auto-complete input values from server results", | ||
"repository": "github/auto-complete-element", | ||
"main": "dist/index.umd.js", | ||
"module": "dist/index.esm.js", | ||
"type": "module", | ||
"main": "dist/index.js", | ||
"module": "dist/index.js", | ||
"types": "index.d.ts", | ||
@@ -15,6 +16,7 @@ "scripts": { | ||
"pretest": "npm run build", | ||
"test": "karma start test/karma.config.js", | ||
"test": "karma start test/karma.config.cjs", | ||
"prepublishOnly": "npm run build", | ||
"postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'" | ||
}, | ||
"prettier": "@github/prettier-config", | ||
"keywords": [ | ||
@@ -29,6 +31,7 @@ "auto-complete" | ||
"dependencies": { | ||
"@github/combobox-nav": "^1.0.0" | ||
"@github/combobox-nav": "^2.0.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.7.0", | ||
"@github/prettier-config": "0.0.4", | ||
"babel-preset-github": "^3.2.1", | ||
@@ -39,8 +42,8 @@ "chai": "^4.2.0", | ||
"flow-bin": "^0.111.1", | ||
"karma": "^4.4.1", | ||
"karma": "^5.0.4", | ||
"karma-chai": "^0.1.0", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-mocha": "^1.3.0", | ||
"karma-mocha": "^2.0.1", | ||
"karma-mocha-reporter": "^2.2.5", | ||
"mocha": "^6.2.2", | ||
"mocha": "^7.1.2", | ||
"rollup": "^1.26.3", | ||
@@ -47,0 +50,0 @@ "rollup-plugin-babel": "^4.3.3", |
@@ -13,2 +13,6 @@ # <auto-complete> element | ||
### Script | ||
Import as ES modules: | ||
```js | ||
@@ -18,4 +22,12 @@ import '@github/auto-complete-element' | ||
With a script tag: | ||
```html | ||
<auto-complete src="/users/search" aria-owns="users-popup"> | ||
<script type="module" src="./node_modules/@github/auto-complete-element/dist/bundle.js"> | ||
``` | ||
### Markup | ||
```html | ||
<auto-complete src="/users/search" for="users-popup"> | ||
<input type="text"> | ||
@@ -22,0 +34,0 @@ <ul id="users-popup"></ul> |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
114
Yes
27784
16
648
1
+ Added@github/combobox-nav@2.3.1(transitive)
- Removed@github/combobox-nav@1.0.2(transitive)
Updated@github/combobox-nav@^2.0.1