Skip to content

Commit dc3685e

Browse files
authored
Merge branch 'main' into fix-typeerror-when-changing-type-back-to-password
2 parents 2b83e9e + 800fe55 commit dc3685e

11 files changed

+39
-42
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2+
"root": true,
23
"env": {
34
"es6": true,
45
"node": true
56
},
6-
"root": true,
77
"extends": ["eslint:recommended"],
88
"rules": {
99
"no-undef": "off"

.github/workflows/codeql-analysis.yml

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: "CodeQL"
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88

99
jobs:
1010
analyze:
@@ -15,22 +15,14 @@ jobs:
1515
contents: read
1616
security-events: write
1717

18-
strategy:
19-
fail-fast: false
20-
matrix:
21-
language: [ 'javascript' ]
22-
2318
steps:
24-
- name: Checkout repository
25-
uses: actions/checkout@v3
26-
27-
- name: Initialize CodeQL
28-
uses: github/codeql-action/init@v2
29-
with:
30-
languages: ${{ matrix.language }}
19+
- name: Checkout repository
20+
uses: actions/checkout@v3
3121

32-
- name: Autobuild
33-
uses: github/codeql-action/autobuild@v2
22+
- name: Initialize CodeQL
23+
uses: github/codeql-action/init@v2
24+
with:
25+
languages: "javascript"
3426

35-
- name: Perform CodeQL Analysis
36-
uses: github/codeql-action/analyze@v2
27+
- name: Perform CodeQL Analysis
28+
uses: github/codeql-action/analyze@v2
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: 'Dependency Review'
1+
name: "Dependency Review"
22
on: [pull_request]
33

44
permissions:
@@ -8,7 +8,8 @@ jobs:
88
dependency-review:
99
runs-on: ubuntu-latest
1010
steps:
11-
- name: 'Checkout Repository'
11+
- name: "Checkout Repository"
1212
uses: actions/checkout@v3
13-
- name: 'Dependency Review'
14-
uses: actions/dependency-review-action@v1
13+
14+
- name: "Dependency Review"
15+
uses: actions/dependency-review-action@v2

.github/workflows/linter.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,16 @@ jobs:
1212
steps:
1313
- name: Checkout Code
1414
uses: actions/checkout@v3
15+
with:
16+
fetch-depth: 0
1517

1618
- name: Lint Code Base
1719
uses: github/super-linter/slim@v4
1820
env:
1921
DEFAULT_BRANCH: main
22+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
23+
JAVASCRIPT_DEFAULT_STYLE: prettier
24+
LINTER_RULES_PATH: /
2025
VALIDATE_ALL_CODEBASE: false
2126
VALIDATE_EDITORCONFIG: false
2227
VALIDATE_MARKDOWN: false
23-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[![LICENSE](https://img.shields.io/badge/license-MIT-lightgrey.svg)](https://raw.githubusercontent.com/coliff/bootstrap-show-password-toggle/master/LICENSE)
22
[![GitHub Super-Linter](https://github.com/coliff/bootstrap-show-password-toggle/workflows/Lint%20Code%20Base/badge.svg)](https://github.com/marketplace/actions/super-linter)
33
[![GitHub Stars](https://img.shields.io/github/stars/coliff/bootstrap-show-password-toggle.svg?label=github%20stars)](https://github.com/coliff/bootstrap-show-password-toggle)
4-
[![NPM Version](https://img.shields.io/npm/v/bootstrap-show-password-toggle)](https://www.npmjs.com/package/bootstrap-show-password-toggle)
5-
[![NPM Downloads](https://img.shields.io/npm/dt/bootstrap-show-password-toggle.svg)](https://www.npmjs.com/package/bootstrap-show-password-toggle)
4+
[![npm Version](https://img.shields.io/npm/v/bootstrap-show-password-toggle)](https://www.npmjs.com/package/bootstrap-show-password-toggle)
5+
[![npm Downloads](https://img.shields.io/npm/dt/bootstrap-show-password-toggle.svg)](https://www.npmjs.com/package/bootstrap-show-password-toggle)
66
[![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/coliff/bootstrap-show-password-toggle.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/coliff/bootstrap-show-password-toggle/context:javascript)
77

88
# Bootstrap Show Password Toggle
@@ -27,7 +27,7 @@ A show password as text toggle for Bootstrap forms
2727

2828
## Usage
2929

30-
1. Include the `show-password-toggle.css` in your CSS
30+
1. Include the `show-password-toggle.min.css` in your CSS
3131

3232
2. Wrap the password input in an `input-group` div as follows:
3333

@@ -40,7 +40,7 @@ A show password as text toggle for Bootstrap forms
4040
</div>
4141
```
4242

43-
3. Load the `show-password-toggle.js` after the form
43+
3. Load the `show-password-toggle.min.js` after the form
4444

4545
I highly recommend adding the attributes: `spellcheck="false"`, `autocorrect="off"` and `autocapitalize="off"` to the password input so that when the password is displayed in plain text the input is not auto-corrected, capitalized or spellchecked (to avoid red squiggly line underneath).
4646

css/show-password-toggle.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/show-password-toggle.css.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/show-password-toggle.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)