Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump minimist from 1.2.0 to 1.2.8 #59

Open
wants to merge 227 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
227 commits
Select commit Hold shift + click to select a range
f760614
Update README.md
vkkis93 Jan 1, 2018
aa845ad
Merge branch 'master' of github.com:vkkis93/serverless-step-functions…
vkkis93 Jan 2, 2018
f7166b3
change .gitignore
vkkis93 Jan 2, 2018
dc346bc
change README.md
vkkis93 Jan 2, 2018
9758a2b
change readme and package.json
vkkis93 Jan 2, 2018
54a8688
Update README.md
vkkis93 Jan 2, 2018
a96a220
Update README.md
vkkis93 Jan 4, 2018
cba5c6a
Improve readme & fix custom name
j0k3r Jan 10, 2018
09d735e
Fix handler parsing
j0k3r Jan 10, 2018
b31dc73
Merge pull request #1 from j0k3r/fix-readme
vkkis93 Jan 10, 2018
7153b23
delete console.logs after each function
vkkis93 Jan 10, 2018
04bed7a
context object in progress
vkkis93 Jan 10, 2018
7f49578
add eslint
vkkis93 Jan 15, 2018
9f747cf
Merge pull request #4 from j0k3r/fix-handler-parsing
vkkis93 Jan 15, 2018
7584482
change npm package
vkkis93 Jan 15, 2018
fc6047e
fix choice state -> use _.isNil instead of _.isEmpty
vkkis93 Jan 16, 2018
ecce41f
Merge pull request #5 from vkkis93/fix/choice-state
vkkis93 Jan 16, 2018
7966aac
Merge branch 'master' into feat/context_object
vkkis93 Jan 16, 2018
92a1499
fix eslint rules
vkkis93 Jan 16, 2018
46408bd
Update README.md
vkkis93 Jan 17, 2018
33e4b03
Update README.md
vkkis93 Jan 17, 2018
aadf56b
context object in progress
vkkis93 Jan 22, 2018
33bc818
Update README.md
vkkis93 Jan 23, 2018
cefd3d5
Update README.md
vkkis93 Jan 23, 2018
e5e8594
change builder workflow
vkkis93 Jan 24, 2018
7cfb834
1)remove console.log
vkkis93 Jan 24, 2018
59a2c69
pass event to parallel task
vkkis93 Jan 24, 2018
902f664
Update package.json
vkkis93 Jan 24, 2018
4597f22
refactoring done
vkkis93 Jan 24, 2018
72f7f57
add codeclimate
vkkis93 Jan 24, 2018
e004752
add codeclimate
vkkis93 Jan 24, 2018
0d90a46
change readme.md
vkkis93 Jan 24, 2018
26be5ce
add npm packages which needs for unit-tests
vkkis93 Jan 24, 2018
2081b81
update .codeclimate
vkkis93 Jan 24, 2018
b15a446
Merge pull request #6 from vkkis93/feat/context_object
vkkis93 Jan 25, 2018
ae2353b
change package version and readme
vkkis93 Jan 25, 2018
44c463b
Update README.md
vkkis93 Jan 25, 2018
eca327b
change load functions
vkkis93 Jan 25, 2018
e4b8f63
Merge branch 'master' into feat/unit-tests
vkkis93 Jan 25, 2018
40171f8
Merge branch 'feat/unit-tests' into feat/v2
vkkis93 Jan 25, 2018
48c843a
unit tests in progress
vkkis93 Jan 26, 2018
6223af8
unit tests for index.js/ parse/ enum - done
vkkis93 Jan 28, 2018
76bd73c
unit test 70%
vkkis93 Jan 31, 2018
9331816
Type Pass support *Result* and *ResultPath*
vkkis93 Jan 31, 2018
83621d6
Merge branch 'feat/v2' into feat/unit-tests
vkkis93 Feb 1, 2018
acab6a8
Create LICENSE
vkkis93 Feb 1, 2018
4c173a4
unit tests in progress
vkkis93 Feb 1, 2018
29fdcd0
Merge pull request #8 from vkkis93/feat/unit-tests
vkkis93 Feb 2, 2018
bc298f5
add variable interpolation and env vars
ajagnanan Feb 7, 2018
722f038
support succeed, fail, result, resultpath
vkkis93 Feb 7, 2018
afcaf3f
support webpack
vkkis93 Jan 27, 2018
49a5ea2
add load env variables
vkkis93 Feb 10, 2018
67a9c91
load env variables
vkkis93 Feb 10, 2018
1cb826e
Merge pull request #9 from ajagnanan/master
vkkis93 Feb 13, 2018
67392f9
fix eslint
vkkis93 Feb 13, 2018
8ad9fd1
Merge branch 'master' into feat/v2
vkkis93 Feb 13, 2018
db8a4b3
unit tests fixed
vkkis93 Feb 13, 2018
bb96074
fix issues/11
vkkis93 Feb 20, 2018
903aff4
add new rule to codeclimate
vkkis93 Feb 20, 2018
1b17eef
update markdown
vkkis93 Feb 22, 2018
d76b969
change readme
vkkis93 Feb 26, 2018
14801fa
change codeclimate rule
vkkis93 Feb 26, 2018
63d58b5
Merge pull request #10 from vkkis93/feat/v2
vkkis93 Feb 26, 2018
1901dff
change npm package version
vkkis93 Feb 26, 2018
084e9ba
Update README.md
vkkis93 Feb 27, 2018
649bebf
Update README.md
vkkis93 Feb 27, 2018
0958de7
delete shortcus -s
vkkis93 Mar 5, 2018
70d82e4
update readme
vkkis93 Mar 5, 2018
32cc489
update readme
vkkis93 Mar 5, 2018
3220ec4
Merge pull request #13 from vkkis93/fix/shortcut
vkkis93 Mar 5, 2018
e2ffc77
Update README.md
vkkis93 Mar 6, 2018
4c07796
add async lambda function
GD-Aichi Oct 31, 2018
a2cf975
fixed functionName
GD-Aichi Oct 31, 2018
680db94
fixed lint
GD-Aichi Oct 31, 2018
ffdea91
change name of function in the cli log
GD-Aichi Oct 31, 2018
596e7ed
Merge pull request #20 from GD-Aichi/feature-async-lambda
vkkis93 Nov 19, 2018
45d8d07
fixing bugs
vkkis93 Nov 19, 2018
2b25d9e
fix
vkkis93 Nov 19, 2018
b4a4c41
Merge branch 'feat/2.1' into fix-functionName
vkkis93 Nov 19, 2018
4255dd0
Merge pull request #21 from GD-Aichi/fix-functionName
vkkis93 Nov 19, 2018
8050174
do rollback of PR
vkkis93 Nov 20, 2018
1612473
update docs
vkkis93 Nov 20, 2018
6f64d2d
update readme
vkkis93 Nov 20, 2018
cb8b4c8
Merge pull request #22 from vkkis93/feat/2.1
vkkis93 Nov 20, 2018
43a8c9d
delete unnecessary badge
vkkis93 Nov 20, 2018
39bad3f
return old implementation of loading functions
vkkis93 Nov 22, 2018
9936d0a
change npm
vkkis93 Nov 22, 2018
198d88a
fix choice deep level obj
vkkis93 Nov 28, 2018
42e2ec1
change npm
vkkis93 Nov 28, 2018
07fba61
Merge pull request #24 from vkkis93/fix/deepLevelChoice
vkkis93 Nov 28, 2018
968eb46
support js/json manifests
sergioramos Jan 7, 2019
43bda2d
Merge pull request #26 from sergioramos/js-manifest
vkkis93 Jan 14, 2019
2ab8adb
fix readme
vkkis93 Nov 15, 2019
b987bc4
Merge pull request #41 from vkkis93/fix/npm-readme
vkkis93 Nov 15, 2019
111a2b9
fix eslint
vkkis93 Nov 15, 2019
91071b6
Merge pull request #42 from vkkis93/fix/npm-readme
vkkis93 Nov 15, 2019
aa02f9f
feature: support Map state
guidr May 12, 2020
637c84a
chore: updated README.md
guidr May 12, 2020
89f168d
fix: fixed waiting for promises
guidr May 13, 2020
b4ac00b
Merge pull request #1 from atg-digital/master
alice-byb Feb 8, 2021
f8220c1
upgraded to jest, swapped eslint and babel rules
Feb 8, 2021
532e85c
linted
Feb 8, 2021
0ee4ee3
added circleci config and updated readme
Feb 8, 2021
cfe74a7
added prettierrc
Feb 8, 2021
3647b4a
try to create jest report folder
Feb 8, 2021
b5e5bd1
linted tests
Feb 8, 2021
77a2f31
lint
Feb 8, 2021
49c5504
fixed unit tests
Feb 8, 2021
b32f293
removed bluebird & use strict msg
Feb 8, 2021
3fb6a59
merged changes from PR https://github.com/vkkis93/serverless-step-fun…
Feb 8, 2021
6806f6f
swapped to typescript
Feb 9, 2021
a4cf9d8
added config for publish
Feb 9, 2021
f016eae
Merge pull request #2 from beforeyoubid/feature/typescript
alice-byb Feb 9, 2021
8d27ae0
use asl types instead - v2.2.1
Feb 9, 2021
57156f0
added coverage to jest output
Feb 9, 2021
57f0092
fixed exports for sls plugin import - v2.2.2
Feb 9, 2021
06ff9fe
fixed map results to rely on return value before continuing
Feb 11, 2021
23c05e3
bumped minor version
Feb 11, 2021
91adaf2
fixed version
Feb 12, 2021
e37c376
Merge pull request #3 from beforeyoubid/bug/map-results
alice-byb Feb 12, 2021
4a45f29
separated test files from istanbul for correct coverage stats
Feb 12, 2021
96b995d
added retry functionality - resolves #4
Feb 12, 2021
7cd469c
bumped version
Feb 12, 2021
7c70adc
fixed wait function
Feb 14, 2021
9b01e1e
Merge pull request #6 from beforeyoubid/feature/add-retry
alice-byb Feb 14, 2021
2c5cd27
updated readme
alice-byb Feb 14, 2021
f5192a7
fixed exiting - v2.4.1
Feb 15, 2021
7aeb11f
fixed context to store by stage name
Feb 15, 2021
57aef60
added early return to handle map if End is true
Feb 15, 2021
1458e1e
swapped raw config func to promise with correct typing
Feb 15, 2021
c05efa2
made sure to call done for functions that can't run
Feb 15, 2021
2410eda
swapped function to async
Feb 15, 2021
02e332e
Merge pull request #7 from beforeyoubid/feature/fixed-exit
alice-byb Feb 15, 2021
eced1c6
Merge branch 'master' into feature/cleanup
Feb 15, 2021
e417ad3
bumped version
Feb 15, 2021
698c880
Merge branch 'master' into feature/early-return-map
Feb 15, 2021
805a106
Merge branch 'master' into feature/fix-context
Feb 15, 2021
bbfd889
Merge pull request #8 from beforeyoubid/feature/fix-context
alice-byb Feb 15, 2021
940cd70
Merge pull request #9 from beforeyoubid/feature/early-return-map
alice-byb Feb 15, 2021
8bc280e
Merge pull request #11 from beforeyoubid/feature/fix-context
alice-byb Feb 15, 2021
fb693e1
Merge pull request #10 from beforeyoubid/feature/cleanup
alice-byb Feb 15, 2021
7e205f6
configured unit tests to load from separate files
Feb 18, 2021
f4ddced
separated yaml loading logic out into reusable functions
Feb 18, 2021
8b16010
Load states from yaml files if States is actually a string - Resolves…
Feb 18, 2021
0a2f535
bumped version
Feb 18, 2021
4e906f1
fixed v to a minor version
Feb 18, 2021
1ff9c51
Merge pull request #13 from beforeyoubid/issue/12-support-file-refere…
alice-byb Feb 18, 2021
d8811a2
Bump ini from 1.3.5 to 1.3.8
dependabot[bot] Feb 22, 2021
fe2dd0c
Bump bl from 1.2.1 to 1.2.3
dependabot[bot] Feb 22, 2021
6cd6b30
Bump lodash-es from 4.17.4 to 4.17.21
dependabot[bot] Feb 22, 2021
44e126d
Bump dot-prop from 4.2.0 to 4.2.1
dependabot[bot] Feb 22, 2021
f5f6a1c
Merge pull request #19 from beforeyoubid/dependabot/npm_and_yarn/ini-…
alice-byb Feb 22, 2021
0fc44ce
Merge pull request #20 from beforeyoubid/dependabot/npm_and_yarn/loda…
alice-byb Feb 22, 2021
d52a081
Merge pull request #18 from beforeyoubid/dependabot/npm_and_yarn/bl-1…
alice-byb Feb 22, 2021
294d202
Merge pull request #21 from beforeyoubid/dependabot/npm_and_yarn/dot-…
alice-byb Feb 22, 2021
bb445d2
Bump url-parse from 1.2.0 to 1.5.1
dependabot[bot] Feb 22, 2021
a3f42ab
Bump decompress from 4.2.0 to 4.2.1
dependabot[bot] Feb 22, 2021
f1342e8
Bump js-yaml from 3.10.0 to 3.14.1
dependabot[bot] Feb 22, 2021
ddbb1fd
Merge pull request #24 from beforeyoubid/dependabot/npm_and_yarn/js-y…
alice-byb Feb 23, 2021
9ba20a6
Merge pull request #22 from beforeyoubid/dependabot/npm_and_yarn/deco…
alice-byb Feb 23, 2021
b918b65
Merge pull request #23 from beforeyoubid/dependabot/npm_and_yarn/url-…
alice-byb Feb 23, 2021
7326232
Create codeql-analysis.yml
alice-byb Feb 23, 2021
a17a813
Bump hosted-git-info from 2.8.8 to 2.8.9
dependabot[bot] May 11, 2021
caa0120
Bump lodash from 4.17.20 to 4.17.21
dependabot[bot] May 12, 2021
5a2caed
Bump ws from 7.4.3 to 7.4.6
dependabot[bot] May 31, 2021
4bb4177
Merge pull request #26 from beforeyoubid/dependabot/npm_and_yarn/loda…
alice-byb Jun 9, 2021
cd7fd8a
bumped serverless dependencies to fix compatibility issues /w byb-ass…
jamesduong-byb Aug 9, 2021
482fe2c
fix serverless version check test
jamesduong-byb Aug 9, 2021
7311208
updated serverless yml node runtime and test cases
jamesduong-byb Aug 10, 2021
f02d3c0
fixed unit test
Aug 10, 2021
6937a92
Merge pull request #29 from beforeyoubid/fix/bump-serverless-dependen…
jamesduong-byb Aug 10, 2021
d947f3e
Bump extend from 3.0.1 to 3.0.2
dependabot[bot] Aug 10, 2021
cccda07
Bump browserslist from 4.16.3 to 4.16.7
dependabot[bot] Aug 10, 2021
f93cfff
Bump path-parse from 1.0.6 to 1.0.7
dependabot[bot] Aug 13, 2021
f0e50ee
Bump tar from 6.1.7 to 6.1.11
dependabot[bot] Sep 1, 2021
83ae37e
Bump tmpl from 1.0.4 to 1.0.5
dependabot[bot] Sep 22, 2021
c36001d
Merge pull request #34 from beforeyoubid/dependabot/npm_and_yarn/tmpl…
alice-byb Oct 14, 2021
c349d70
Bump axios from 0.21.1 to 0.21.4
dependabot[bot] Oct 14, 2021
468cc2f
added circleci coverage results
Nov 9, 2021
b8dae4a
Merge pull request #36 from beforeyoubid/feature/circle-ci-coverage
alice-byb Nov 9, 2021
53da44c
Merge branch 'main' into dependabot/npm_and_yarn/axios-0.21.4
alice-byb Nov 9, 2021
4e031ec
Merge branch 'main' into dependabot/npm_and_yarn/tar-6.1.11
alice-byb Nov 9, 2021
c6474e0
Merge branch 'main' into dependabot/npm_and_yarn/path-parse-1.0.7
alice-byb Nov 9, 2021
ce0b213
Merge branch 'main' into dependabot/npm_and_yarn/browserslist-4.16.7
alice-byb Nov 9, 2021
93d0561
Merge branch 'main' into dependabot/npm_and_yarn/extend-3.0.2
alice-byb Nov 9, 2021
b00ad40
Merge branch 'main' into dependabot/npm_and_yarn/ws-7.4.6
alice-byb Nov 9, 2021
772f7ad
Merge branch 'main' into dependabot/npm_and_yarn/hosted-git-info-2.8.9
alice-byb Nov 9, 2021
db50cae
Merge pull request #35 from beforeyoubid/dependabot/npm_and_yarn/axio…
alice-byb Nov 9, 2021
299cf46
Merge pull request #33 from beforeyoubid/dependabot/npm_and_yarn/tar-…
alice-byb Nov 9, 2021
16693b6
Merge pull request #32 from beforeyoubid/dependabot/npm_and_yarn/path…
alice-byb Nov 9, 2021
c192f99
Merge pull request #31 from beforeyoubid/dependabot/npm_and_yarn/brow…
alice-byb Nov 9, 2021
a95f0e4
Merge pull request #30 from beforeyoubid/dependabot/npm_and_yarn/exte…
alice-byb Nov 9, 2021
6b69866
Merge pull request #28 from beforeyoubid/dependabot/npm_and_yarn/ws-7…
alice-byb Nov 9, 2021
f42ef02
Merge pull request #25 from beforeyoubid/dependabot/npm_and_yarn/host…
alice-byb Nov 9, 2021
d29b420
Bump moment from 2.29.1 to 2.29.2
dependabot[bot] Apr 9, 2022
5f745f5
Merge pull request #39 from beforeyoubid/dependabot/npm_and_yarn/mome…
alice-byb Apr 10, 2022
4afdf2f
Bump node-fetch from 2.6.1 to 2.6.7
dependabot[bot] Apr 10, 2022
2ac5ea9
Bump simple-get from 2.8.1 to 2.8.2
dependabot[bot] Apr 10, 2022
3734647
Merge pull request #40 from beforeyoubid/dependabot/npm_and_yarn/node…
alice-byb Apr 10, 2022
6de17a1
Merge branch 'main' into dependabot/npm_and_yarn/simple-get-2.8.2
alice-byb Apr 10, 2022
367356e
Merge pull request #41 from beforeyoubid/dependabot/npm_and_yarn/simp…
alice-byb Apr 10, 2022
1f33ee8
Bump follow-redirects from 1.14.4 to 1.14.9
dependabot[bot] Apr 10, 2022
60e53f9
Merge pull request #42 from beforeyoubid/dependabot/npm_and_yarn/foll…
alice-byb Apr 10, 2022
17d3cf4
bumped linting / background modules
Jun 6, 2022
7fa5489
Bump protobufjs from 6.11.2 to 6.11.3
dependabot[bot] Jun 6, 2022
8f3168e
bumped modules
Jun 6, 2022
3be42db
fixed runtime to support v3
Jun 6, 2022
724f418
fixed unit tests
Jun 6, 2022
a1395f7
Merge pull request #44 from beforeyoubid/dependabot/npm_and_yarn/prot…
alice-byb Jun 6, 2022
d05860e
merged main
Jun 6, 2022
025a83b
Bump async from 2.6.3 to 2.6.4
dependabot[bot] Jun 6, 2022
96df094
Merge pull request #43 from beforeyoubid/dependabot/npm_and_yarn/asyn…
alice-byb Jun 6, 2022
0642fef
Bump glob-parent from 5.1.1 to 5.1.2
dependabot[bot] Jun 6, 2022
470c773
Merge pull request #47 from beforeyoubid/dependabot/npm_and_yarn/glob…
alice-byb Jun 6, 2022
4dcda6a
merged main
Jun 6, 2022
b47a734
fixed jest command
Jun 6, 2022
1692eca
added test files to ts check
Jun 6, 2022
7223f3b
fixed cli for sls 3
Jun 6, 2022
f4a8cbd
turned on codeql analysis for non-main branches on pr
Jun 6, 2022
b317ea9
Merge pull request #46 from beforeyoubid/feature/serverless-3
alice-byb Jun 15, 2022
a70ae67
Linting, updates to v3.0.1
mitch-byb Nov 3, 2022
f5988e7
Update linting
mitch-byb Nov 3, 2022
91e7b92
Update using latest linting
mitch-byb Nov 3, 2022
92ab9a5
Merge pull request #49 from beforeyoubid/feature/3.0.1-update
mitch-byb Nov 3, 2022
d75a749
3.0.2
mitch-byb Nov 3, 2022
c04cab2
3.0.3
mitch-byb Nov 3, 2022
9b43aac
Bump minimist from 1.2.0 to 1.2.8
dependabot[bot] Mar 3, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"presets": [
[
"@babel/preset-env",
{
"useBuiltIns": "entry",
"targets": {
"node": "current"
}
}
],
"@babel/preset-typescript"
],
"plugins": [
"add-module-exports",
"@babel/plugin-proposal-class-properties"
]
}
63 changes: 63 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
defaults: &defaults
working_directory: ~/app/
docker:
- image: circleci/node:12
resource_class: medium

version: 2.1
jobs:
lint:
<<: *defaults
steps:
- checkout
- restore_cache:
key: node_modules-{{ checksum "yarn.lock" }}
- run: NODE_ENV=development yarn
- run:
nane: Lint
command: yarn lint
- save_cache:
key: node_modules-{{ checksum "yarn.lock" }}
paths:
- ~/app/node_modules/
unit-test:
<<: *defaults
steps:
- checkout
- restore_cache:
key: node_modules-{{ checksum "yarn.lock" }}
- run: NODE_ENV=development yarn
- run: mkdir -p ./reports/jest/ ; true
- run:
name: Tests
command: yarn test --ci --reporters=jest-junit --reporters=default
environment:
JEST_JUNIT_OUTPUT_DIR: ./reports/jest/
- store_test_results:
path: ./reports/jest/
- store_artifacts:
path: coverage
- save_cache:
key: node_modules-{{ checksum "yarn.lock" }}
paths:
- ~/app/node_modules/
typescript:
<<: *defaults
steps:
- checkout
- restore_cache:
key: node_modules-{{ checksum "yarn.lock" }}
- run: NODE_ENV=development yarn
- run: yarn ts
- save_cache:
key: node_modules-{{ checksum "yarn.lock" }}
paths:
- ~/app/node_modules/

workflows:
version: 2
application:
jobs:
- unit-test
- lint
- typescript
21 changes: 21 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: "2"
checks:
file-lines:
config:
threshold: 500
method-complexity:
config:
threshold: 50
method-lines:
config:
threshold: 100
return-statements:
enabled: true
config:
threshold: 10
plugins:
eslint:
enabled: true
channel: "eslint-4"
config:
config: .eslintrc
9 changes: 9 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
./node_modules
*.log
*.json
*.lock
*.md
LICENSE
./dist
./coverage
dist/
10 changes: 10 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parserOptions": {
"ecmaVersion": 2019,
"sourceType": "module"
},
"extends": ["plugin:@typescript-eslint/recommended", "plugin:prettier/recommended"],
"env": {
"es6": true
}
}
67 changes: 67 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [main, '*']
schedule:
- cron: '40 12 * * 2'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

steps:
- name: Checkout repository
uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
logs
*.log
npm-debug.log

.nyc_output
*.zip
dist

Expand All @@ -11,7 +11,7 @@ pids
*.pid
*.seed
dist

.npmrc
**/local.yml

# Directory for instrumented libs generated by jscoverage/JSCover
Expand Down
14 changes: 14 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
node_modules
coverage
.circleci
.eslintrc
.babelrc
.eslintignore
src/__tests__
./dist
.prettierrc
jest.config.ts
yarn-error.log
tsconfig.json
.codeclimate.yml
./src/**
12 changes: 12 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"semi": true,
"useTabs": false,
"singleQuote": true,
"trailingComma": "es5",
"arrowParens": "avoid",
"printWidth": 120,
"bracketSpacing": true,
"tabWidth": 2,
"proseWrap": "always",
"endOfLine": "lf"
}
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Viktor Kis

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading