Skip to content

Commit 4d89b68

Browse files
committed
add support for angular 21
1 parent 70f3e1e commit 4d89b68

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

60 files changed

+9349
-7410
lines changed

.editorconfig

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
# Editor configuration, see http://editorconfig.org
2-
root = true
3-
4-
[*]
5-
charset = utf-8
6-
indent_style = space
7-
indent_size = 2
8-
insert_final_newline = true
9-
trim_trailing_whitespace = true
10-
11-
[*.md]
12-
max_line_length = off
13-
trim_trailing_whitespace = false
1+
# Editor configuration, see http://editorconfig.org
2+
root = true
3+
4+
[*]
5+
charset = utf-8
6+
indent_style = space
7+
indent_size = 2
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
[*.md]
12+
max_line_length = off
13+
trim_trailing_whitespace = false

.github/workflows/build.yml

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,32 @@
1-
on: push
2-
name: Build ng-hcaptcha
3-
jobs:
4-
build:
5-
runs-on: ubuntu-latest
6-
strategy:
7-
matrix:
8-
node-version: [20.x]
9-
10-
steps:
11-
- uses: actions/checkout@v1
12-
13-
- name: Cache node_modules
14-
uses: actions/cache@v1
15-
with:
16-
path: ~/.npm
17-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
18-
restore-keys: |
19-
${{ runner.os }}-node-
20-
- name: Node ${{ matrix.node-version }}
21-
uses: actions/setup-node@v1
22-
with:
23-
node-version: ${{ matrix.node-version }}
24-
- name: npm ci and npm run build
25-
run: |
26-
npm ci
27-
npm run build:lib
28-
#- name: Push Build to Releases
29-
# uses: ncipollo/release-action@v1
30-
# with:
31-
# artifacts: "dist/angular-githubaction/*"
32-
# token: ${{ secrets.TOKEN }}
1+
on: push
2+
name: Build ng-hcaptcha
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
strategy:
7+
matrix:
8+
node-version: [20.x]
9+
10+
steps:
11+
- uses: actions/checkout@v1
12+
13+
- name: Cache node_modules
14+
uses: actions/cache@v1
15+
with:
16+
path: ~/.npm
17+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
18+
restore-keys: |
19+
${{ runner.os }}-node-
20+
- name: Node ${{ matrix.node-version }}
21+
uses: actions/setup-node@v1
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
- name: npm ci and npm run build
25+
run: |
26+
npm ci
27+
npm run build:lib
28+
#- name: Push Build to Releases
29+
# uses: ncipollo/release-action@v1
30+
# with:
31+
# artifacts: "dist/angular-githubaction/*"
32+
# token: ${{ secrets.TOKEN }}

.gitignore

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,41 @@
1-
# See http://help.github.com/ignore-files/ for more about ignoring files.
2-
3-
# compiled output
4-
/dist
5-
/tmp
6-
/out-tsc
7-
8-
# dependencies
9-
/node_modules
10-
11-
# IDEs and editors
12-
/.idea
13-
.project
14-
.classpath
15-
.c9/
16-
*.launch
17-
.settings/
18-
*.sublime-workspace
19-
20-
# IDE - VSCode
21-
.vscode/*
22-
!.vscode/settings.json
23-
!.vscode/tasks.json
24-
!.vscode/launch.json
25-
!.vscode/extensions.json
26-
27-
# misc
28-
/.angular/cache
29-
/.sass-cache
30-
/connect.lock
31-
/coverage
32-
/libpeerconnection.log
33-
npm-debug.log
34-
yarn-error.log
35-
testem.log
36-
/typings
37-
38-
# System Files
39-
.DS_Store
40-
Thumbs.db
41-
/projects/ng-hcaptcha/node_modules/*
1+
# See http://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# compiled output
4+
/dist
5+
/tmp
6+
/out-tsc
7+
8+
# dependencies
9+
/node_modules
10+
11+
# IDEs and editors
12+
/.idea
13+
.project
14+
.classpath
15+
.c9/
16+
*.launch
17+
.settings/
18+
*.sublime-workspace
19+
20+
# IDE - VSCode
21+
.vscode/*
22+
!.vscode/settings.json
23+
!.vscode/tasks.json
24+
!.vscode/launch.json
25+
!.vscode/extensions.json
26+
27+
# misc
28+
/.angular/cache
29+
/.sass-cache
30+
/connect.lock
31+
/coverage
32+
/libpeerconnection.log
33+
npm-debug.log
34+
yarn-error.log
35+
testem.log
36+
/typings
37+
38+
# System Files
39+
.DS_Store
40+
Thumbs.db
41+
/projects/ng-hcaptcha/node_modules/*

.travis.yml

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
1-
dist: trusty
2-
sudo: false
3-
4-
language: node_js
5-
nodejs:
6-
- "8"
7-
8-
cache:
9-
directories:
10-
- node_modules
11-
12-
addons:
13-
apt:
14-
sources:
15-
- google-chrome
16-
packages:
17-
- google-chrome-stable
18-
19-
install:
20-
- npm install
21-
22-
script:
23-
- npm run test:ci
24-
- npm run build-lib
1+
dist: trusty
2+
sudo: false
3+
4+
language: node_js
5+
nodejs:
6+
- "8"
7+
8+
cache:
9+
directories:
10+
- node_modules
11+
12+
addons:
13+
apt:
14+
sources:
15+
- google-chrome
16+
packages:
17+
- google-chrome-stable
18+
19+
install:
20+
- npm install
21+
22+
script:
23+
- npm run test:ci
24+
- npm run build-lib
2525
- npm run e2e:ci

CHANGELOG.md

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
1-
# 0.1.0-beta.3 (2018-12-21)
2-
3-
## Fixes
4-
- Fix error with function calls inside the forRoot function
5-
6-
# 0.1.0-beta.1 (2018-12-21)
7-
8-
Add support vor Angular 7.x
9-
10-
# 0.1.0-beta.0 (2018-10-04)
11-
12-
## Features
13-
- Implement ControlValueAccessor (allows data binding through ngModel and basic validation)
14-
- Add proper demo page
15-
16-
## Fixes
17-
- Fix issues with multiple hCaptcha instances
18-
19-
# 0.0.1 (2018-10-01)
20-
Initial release
1+
# 0.1.0-beta.3 (2018-12-21)
2+
3+
## Fixes
4+
- Fix error with function calls inside the forRoot function
5+
6+
# 0.1.0-beta.1 (2018-12-21)
7+
8+
Add support vor Angular 7.x
9+
10+
# 0.1.0-beta.0 (2018-10-04)
11+
12+
## Features
13+
- Implement ControlValueAccessor (allows data binding through ngModel and basic validation)
14+
- Add proper demo page
15+
16+
## Fixes
17+
- Fix issues with multiple hCaptcha instances
18+
19+
# 0.0.1 (2018-10-01)
20+
Initial release

LICENSE

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
MIT License
2-
3-
Copyright (c) 2018 Niclas Stelzer
4-
5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
11-
12-
The above copyright notice and this permission notice shall be included in all
13-
copies or substantial portions of the Software.
14-
15-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
1+
MIT License
2+
3+
Copyright (c) 2018 Niclas Stelzer
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)