@github/auto-check-element
Advanced tools
Comparing version 5.1.2 to 5.1.3
{ | ||
"name": "@github/auto-check-element", | ||
"version": "5.1.2", | ||
"version": "5.1.3", | ||
"description": "An input element that validates its value with a server endpoint.", | ||
"repository": "github/auto-check-element", | ||
"files": [ | ||
"dist", | ||
"index.d.ts" | ||
"dist" | ||
], | ||
"main": "dist/index.umd.js", | ||
"module": "dist/index.esm.js", | ||
"types": "index.d.ts", | ||
"main": "dist/index.js", | ||
"module": "dist/index.js", | ||
"type": "module", | ||
"types": "dist/index.d.ts", | ||
"scripts": { | ||
"clean": "rm -rf dist/", | ||
"lint": "github-lint", | ||
"lint": "eslint . --ext .js,.ts && tsc --noEmit", | ||
"prebuild": "npm run clean && npm run lint", | ||
"build": "rollup -c && cp src/index.js.flow dist/index.esm.js.flow && cp src/index.js.flow dist/index.umd.js.flow", | ||
"build": "tsc && rollup -c", | ||
"pretest": "npm run build", | ||
"test": "karma start test/karma.config.js", | ||
"test": "karma start test/karma.config.cjs", | ||
"prepublishOnly": "npm run build", | ||
@@ -30,22 +30,21 @@ "postpublish": "npm publish --ignore-scripts --@github:registry='https://npm.pkg.github.com'" | ||
"license": "MIT", | ||
"prettier": "@github/prettier-config", | ||
"devDependencies": { | ||
"@babel/core": "^7.5.5", | ||
"babel-preset-github": "^3.2.0", | ||
"@github/prettier-config": "0.0.4", | ||
"chai": "^4.2.0", | ||
"eslint": "^6.1.0", | ||
"eslint-plugin-github": "^3.0.1", | ||
"flow-bin": "^0.103.0", | ||
"karma": "^4.2.0", | ||
"eslint": "^6.8.0", | ||
"eslint-plugin-github": "^4.0.0", | ||
"karma": "^5.0.9", | ||
"karma-chai": "^0.1.0", | ||
"karma-chrome-launcher": "^3.0.0", | ||
"karma-mocha": "^1.3.0", | ||
"karma-chrome-launcher": "^3.1.0", | ||
"karma-mocha": "^2.0.1", | ||
"karma-mocha-reporter": "^2.2.5", | ||
"mocha": "^6.2.0", | ||
"rollup": "^1.17.0", | ||
"rollup-plugin-babel": "^4.3.3", | ||
"rollup-plugin-node-resolve": "^5.2.0" | ||
"mocha": "^6.2.3", | ||
"rollup": "^2.12.0", | ||
"rollup-plugin-node-resolve": "^5.2.0", | ||
"typescript": "^3.9.3" | ||
}, | ||
"dependencies": { | ||
"@github/mini-throttle": "^1.0.5" | ||
"@github/mini-throttle": "^1.0.7" | ||
} | ||
} |
@@ -13,2 +13,6 @@ # <auto-check> element | ||
### Script | ||
Import as a modules: | ||
```js | ||
@@ -18,2 +22,10 @@ import '@github/auto-check-element' | ||
With a script tag: | ||
```html | ||
<script type="module" src="./node_modules/@github/auto-check-element/dist/index.js"> | ||
``` | ||
### Markup | ||
```erb | ||
@@ -20,0 +32,0 @@ <auto-check src="/signup-check/username" csrf="<%= authenticity_token_for("/signup-check/username") %>"> |
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
13
163
Yes
15179
5
270
Updated@github/mini-throttle@^1.0.7