Socket
Socket
Sign inDemoInstall

@github/auto-complete-element

Package Overview
Dependencies
Maintainers
14
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@github/auto-complete-element - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

dist/bundle.js

19

package.json
{
"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>

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