Skip to content

Commit

Permalink
Release 7.0.0 (#43)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
tompsota authored Nov 15, 2024
1 parent b1bc44c commit f4b5b29
Show file tree
Hide file tree
Showing 100 changed files with 22,328 additions and 3,883 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*/**/plugins/
26 changes: 26 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
module.exports = {
root: true,
env: {
browser: true,
es2021: true,
},
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
plugins: ['@typescript-eslint'],
settings: {
react: {
version: 'detect',
},
},
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unused-vars': 'off',
},
};
9 changes: 0 additions & 9 deletions .eslintrc.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Setup
description: Setup Node.js and install dependencies

runs:
using: composite
steps:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version-file: .nvmrc

- name: Install dependencies
run: |
npm ci
npm ci --prefix example
shell: bash
44 changes: 44 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: CI
on:
push:
branches:
- master
paths-ignore:
- '**/*.md'
- '.github/**'
pull_request:
branches:
- master
paths-ignore:
- '**/*.md'
- '.github/**'

jobs:
static-analysis:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup

- name: Lint files
run: npm run eslint -- --max-warnings=0

- name: Typecheck files
run: npm run typecheck

- name: Format check
run: npm run prettier -- --check

build:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
example/www
example/plugins
example/platforms
example/dist
Loading

0 comments on commit f4b5b29

Please sign in to comment.