Skip to content

Commit f4b5b29

Browse files
authored
Release 7.0.0 (#43)
* feat(iOS): send threats over dict * feat(js): add malware detection * feat(Android): add malware detection * chore(js): update plugin xml * chore(hello): bye * feat(example): hello * chore(release): freeRASP 6.4.0 * chore(ts): refactoring * refactor: removed nested conditions from gradle script * refactor(example): example app improvements * refactor(example): change app addition to whitelist * chore: remove log * chore(android): rename malware to malwareConfig * chore(Android): make applicationinfo nullable * chore(Android): add error logs, improve array parsing * feat(js): add typescript support * chore(example): update demo app * ci: add static analysis * chore: fix linter * feat: update Android SDK to 12.0.0 and iOS SDK to 6.6.3 * docs: update changelog * chore: bump version * chore: update example app
1 parent b1bc44c commit f4b5b29

File tree

100 files changed

+22328
-3883
lines changed

Some content is hidden

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

100 files changed

+22328
-3883
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*/**/plugins/

.eslintrc.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
browser: true,
5+
es2021: true,
6+
},
7+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
8+
parser: '@typescript-eslint/parser',
9+
parserOptions: {
10+
ecmaVersion: 'latest',
11+
sourceType: 'module',
12+
},
13+
plugins: ['@typescript-eslint'],
14+
settings: {
15+
react: {
16+
version: 'detect',
17+
},
18+
},
19+
rules: {
20+
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
21+
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
22+
'@typescript-eslint/ban-ts-comment': 'off',
23+
'@typescript-eslint/no-explicit-any': 'off',
24+
'@typescript-eslint/no-unused-vars': 'off',
25+
},
26+
};

.eslintrc.yml

Lines changed: 0 additions & 9 deletions
This file was deleted.

.github/actions/setup/action.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Setup
2+
description: Setup Node.js and install dependencies
3+
4+
runs:
5+
using: composite
6+
steps:
7+
- name: Setup Node.js
8+
uses: actions/setup-node@v4
9+
with:
10+
node-version: 20.x
11+
node-version-file: .nvmrc
12+
13+
- name: Install dependencies
14+
run: |
15+
npm ci
16+
npm ci --prefix example
17+
shell: bash

.github/workflows/ci.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: CI
2+
on:
3+
push:
4+
branches:
5+
- master
6+
paths-ignore:
7+
- '**/*.md'
8+
- '.github/**'
9+
pull_request:
10+
branches:
11+
- master
12+
paths-ignore:
13+
- '**/*.md'
14+
- '.github/**'
15+
16+
jobs:
17+
static-analysis:
18+
timeout-minutes: 30
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup
25+
uses: ./.github/actions/setup
26+
27+
- name: Lint files
28+
run: npm run eslint -- --max-warnings=0
29+
30+
- name: Typecheck files
31+
run: npm run typecheck
32+
33+
- name: Format check
34+
run: npm run prettier -- --check
35+
36+
build:
37+
timeout-minutes: 30
38+
runs-on: ubuntu-latest
39+
steps:
40+
- name: Checkout
41+
uses: actions/checkout@v4
42+
43+
- name: Setup
44+
uses: ./.github/actions/setup

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
example/www
2+
example/plugins
3+
example/platforms
4+
example/dist

0 commit comments

Comments
 (0)