Skip to content

Commit

Permalink
Bump winston from 3.6.0 to 3.8.2 (#149)
Browse files Browse the repository at this point in the history
* build(deps-dev): bump snyk from 1.852.0 to 1.996.0

Bumps [snyk](https://github.com/snyk/snyk) from 1.852.0 to 1.996.0.
- [Release notes](https://github.com/snyk/snyk/releases)
- [Commits](snyk/cli@v1.852.0...v1.996.0)

---
updated-dependencies:
- dependency-name: snyk
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump winston from 3.6.0 to 3.8.2

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: fabasoad <fabasoad@gmail.com>
  • Loading branch information
dependabot[bot] and fabasoad authored Oct 9, 2022
1 parent 6eace29 commit 909e8b8
Show file tree
Hide file tree
Showing 24 changed files with 1,229 additions and 1,691 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@
"require-jsdoc": "off",
"semi": "off"
}
}
}
25 changes: 16 additions & 9 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,32 @@ assignees: fabasoad

---

**Describe the bug**
#### Describe the bug

A clear and concise description of what the bug is.

**Steps to Reproduce**
#### Steps to Reproduce

1. Run '...'
2. See error

**Expected behavior**
#### Expected behavior

A clear and concise description of what you expected to happen.

**Actual behavior**
#### Actual behavior

A clear and concise description of what is happening now.

**Screenshots**
#### Screenshots

If applicable, add screenshots to help explain your problem.

**Technical information (please complete the following information):**
- OS: [e.g. Windows 10 Enterprise v.1909 (OS Build 18363.720)]
- `setup-kitten-action` version [e.g. 1.0.0]
#### Technical information (please complete the following information)

- OS: [e.g. Windows 10 Enterprise v.1909 (OS Build 18363.720)]
- `setup-kitten-action` version [e.g. 1.0.0]

#### Additional context

**Additional context**
Add any other context about the problem here.
12 changes: 8 additions & 4 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,18 @@ assignees: fabasoad

---

**Is your feature request related to a problem? Please describe.**
#### Is your feature request related to a problem? Please describe

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
#### Describe the solution you'd like

A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
#### Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
#### Additional context

Add any other context or screenshots about the feature request here.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ Please check the type of change your PR introduces:
## Other information

<!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
<!-- This document was adapted from the open-source [appium/appium](https://github.com/appium/appium/blob/master/.github/PULL_REQUEST_TEMPLATE.md) repository. -->
<!-- This document was adapted from the open-source [appium/appium](https://github.com/appium/appium/blob/master/.github/PULL_REQUEST_TEMPLATE.md) repository. -->
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Get latest release tag
Expand Down
15 changes: 5 additions & 10 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,8 @@ on:
push:
branches:
- 'main'
- 'bugfix/**'
- 'dependabot/**'
- 'feature/**'
- 'snyk-*'

env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- 'fix-*'
- 'feature-*'

jobs:
functional_tests:
Expand All @@ -24,20 +19,20 @@ jobs:
install_kitten: [true, false]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Cache node_modules
id: yarn-cache
uses: actions/cache@v2.1.7
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Compile
if: ${{ steps.yarn-cache.outputs.cache-hit != 'true' }}
run: yarn install
run: yarn install --ignore-scripts
- name: Build
run: yarn run build
- name: Setup Stack
Expand Down
23 changes: 6 additions & 17 deletions .github/workflows/security-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,10 @@ on:
push:
branches:
- 'main'
- 'bugfix/**'
- 'dependabot/**'
- 'feature/**'
- 'fix-*'
- 'feature-*'

jobs:
snyk_tests:
name: Snyk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
with:
ref: ${{ github.ref }}
- uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_API_TOKEN }}
codeql_tests:
name: CodeQL
runs-on: ubuntu-latest
Expand All @@ -29,12 +18,12 @@ jobs:
language: ['javascript']
steps:
- name: Checkout repository
uses: actions/checkout@v2.4.0
uses: actions/checkout@v3
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
17 changes: 6 additions & 11 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,27 @@ on:
push:
branches:
- 'main'
- 'bugfix/**'
- 'dependabot/**'
- 'feature/**'
- 'snyk-*'

env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: true
- 'fix-*'
- 'feature-*'

jobs:
unit_tests:
name: Lint and Test
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.4.0
- uses: actions/checkout@v3
- name: Cache node_modules
id: cache
uses: actions/cache@v2.1.7
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Compile
if: ${{ steps.cache.outputs.cache-hit != 'true' }}
run: yarn install
run: yarn install --ignore-scripts
- name: Lint
run: yarn run lint
- name: Unit tests
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/yaml-lint.yml

This file was deleted.

1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/commit-msg

This file was deleted.

8 changes: 0 additions & 8 deletions .husky/pre-commit

This file was deleted.

5 changes: 0 additions & 5 deletions .husky/pre-push

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/prepare-commit-msg

This file was deleted.

71 changes: 71 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
---
default_stages: ["commit"]
exclude: ^(.gitleaks\.toml|dist/.*\.js|coverage/.*)$
repos:
- repo: local
hooks:
- id: build
name: Build
entry: yarn run build
language: system
pass_filenames: false
verbose: true
- id: test
name: Unit tests
entry: yarn test
language: system
pass_filenames: false
verbose: true
stages: ["push"]
# Security
- repo: https://github.com/Yelp/detect-secrets
rev: v1.3.0
hooks:
- id: detect-secrets
stages: ["commit", "push"]
- repo: https://github.com/zricethezav/gitleaks
rev: v8.13.0
hooks:
- id: gitleaks
stages: ["commit", "push"]
- repo: https://github.com/fabasoad/pre-commit-snyk
rev: v0.1.0
hooks:
- id: snyk-test
stages: ["push"]
# TypeScript
- repo: https://github.com/pre-commit/mirrors-eslint
rev: v8.24.0
hooks:
- id: eslint
args: ['--fix']
files: \.[jt]sx?$
types: [file]
exclude: ^dist/.*\.js$
# Markdown
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.32.2
hooks:
- id: markdownlint
# Yaml
- repo: https://github.com/adrienverge/yamllint
rev: v1.28.0
hooks:
- id: yamllint
args: ["-c", ".yamllint.yml"]
# Other
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
- id: check-merge-conflict
- id: check-json
- id: detect-private-key
stages: ["commit", "push"]
- id: end-of-file-fixer
- id: mixed-line-ending
args: ["--fix=lf"]
- id: no-commit-to-branch
- id: trailing-whitespace
ci:
autofix_prs: false
skip: [build, eslint, test]
4 changes: 0 additions & 4 deletions .snyk

This file was deleted.

25 changes: 0 additions & 25 deletions .vscode/settings.json

This file was deleted.

4 changes: 2 additions & 2 deletions .yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ extends: default

rules:
line-length:
max: 150
level: warning
max: 170
level: error
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Setup Kitten

![GitHub release](https://img.shields.io/github/v/release/fabasoad/setup-kitten-action?include_prereleases) ![Unit Tests](https://github.com/fabasoad/setup-kitten-action/workflows/Unit%20Tests/badge.svg) ![Functional Tests](https://github.com/fabasoad/setup-kitten-action/workflows/Functional%20Tests/badge.svg) ![YAML Lint](https://github.com/fabasoad/setup-kitten-action/workflows/YAML%20Lint/badge.svg) ![Security Tests](https://github.com/fabasoad/setup-kitten-action/workflows/Security%20Tests/badge.svg) [![Total alerts](https://img.shields.io/lgtm/alerts/g/fabasoad/setup-kitten-action.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/fabasoad/setup-kitten-action/alerts/) [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/fabasoad/setup-kitten-action.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/fabasoad/setup-kitten-action/context:javascript) [![Maintainability](https://api.codeclimate.com/v1/badges/62d48a0187e92fd63238/maintainability)](https://codeclimate.com/github/fabasoad/setup-kitten-action/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/62d48a0187e92fd63238/test_coverage)](https://codeclimate.com/github/fabasoad/setup-kitten-action/test_coverage) [![Known Vulnerabilities](https://snyk.io/test/github/fabasoad/setup-kitten-action/badge.svg?targetFile=package.json)](https://snyk.io/test/github/fabasoad/setup-kitten-action?targetFile=package.json)
![GitHub release](https://img.shields.io/github/v/release/fabasoad/setup-kitten-action?include_prereleases) ![Unit Tests](https://github.com/fabasoad/setup-kitten-action/workflows/Unit%20Tests/badge.svg) ![Functional Tests](https://github.com/fabasoad/setup-kitten-action/workflows/Functional%20Tests/badge.svg) ![Security Tests](https://github.com/fabasoad/setup-kitten-action/workflows/Security%20Tests/badge.svg) [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/fabasoad/setup-kitten-action/main.svg)](https://results.pre-commit.ci/latest/github/fabasoad/setup-kitten-action/main) [![Total alerts](https://img.shields.io/lgtm/alerts/g/fabasoad/setup-kitten-action.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/fabasoad/setup-kitten-action/alerts/) [![Language grade: JavaScript](https://img.shields.io/lgtm/grade/javascript/g/fabasoad/setup-kitten-action.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/fabasoad/setup-kitten-action/context:javascript) [![Maintainability](https://api.codeclimate.com/v1/badges/62d48a0187e92fd63238/maintainability)](https://codeclimate.com/github/fabasoad/setup-kitten-action/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/62d48a0187e92fd63238/test_coverage)](https://codeclimate.com/github/fabasoad/setup-kitten-action/test_coverage) [![Known Vulnerabilities](https://snyk.io/test/github/fabasoad/setup-kitten-action/badge.svg?targetFile=package.json)](https://snyk.io/test/github/fabasoad/setup-kitten-action?targetFile=package.json)

This action sets up a [Kitten](http://kittenlang.org/).

Expand Down
4 changes: 2 additions & 2 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion jest.config.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@
"^.+\\.ts$": "ts-jest"
},
"verbose": true
}
}
Loading

0 comments on commit 909e8b8

Please sign in to comment.