Skip to content

Commit b7f3d2f

Browse files
committed
update for v1.3.0 release
1 parent 32635f7 commit b7f3d2f

File tree

6 files changed

+23
-26
lines changed

6 files changed

+23
-26
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

.github/workflows/dependency-review.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ jobs:
1010
steps:
1111
- name: "Checkout Repository"
1212
uses: actions/checkout@v3
13+
1314
- name: "Dependency Review"
1415
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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bootstrap-show-password-toggle",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"description": "A show password as text toggle for Bootstrap",
55
"keywords": [
66
"bootstrap",
@@ -43,7 +43,7 @@
4343
"clean-css-cli": "^5.6.0",
4444
"eslint": "^8.18.0",
4545
"npm-run-all": "^4.1.5",
46-
"sass": "^1.52.3",
46+
"sass": "^1.53.0",
4747
"stylelint": "14.9.1",
4848
"stylelint-config-twbs-bootstrap": "4.0.0",
4949
"terser": "^5.14.1"

0 commit comments

Comments
 (0)