Skip to content

Commit f8a810c

Browse files
authored
Revitalize (#45)
1 parent 0ab031e commit f8a810c

File tree

17 files changed

+5136
-7371
lines changed

17 files changed

+5136
-7371
lines changed

.circleci/config.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: 2.1
22
parameters:
33
node-version:
44
type: string
5-
default: "18.13.0"
5+
default: "20.16.0"
66
orbs:
77
node: circleci/node@5.0.0
88
slack: circleci/slack@4.5.3
@@ -72,7 +72,7 @@ commands:
7272
jobs:
7373
test:
7474
docker:
75-
- image: cimg/node:18.13.0
75+
- image: cimg/node:20.16.0
7676
steps:
7777
- checkout
7878
- node/install:
@@ -82,20 +82,20 @@ jobs:
8282
override-ci-command: npm install
8383
- run:
8484
name: Audit Dependencies
85-
command: npm run audit
85+
command: npm audit --production --audit-level=high
8686
- run:
8787
name: Running Mocha Tests
8888
command: npm test
8989
build:
9090
docker:
91-
- image: cimg/node:18.13.0
91+
- image: cimg/node:20.16.0
9292
user: root
9393
steps:
9494
- checkout
9595
- node/install:
9696
node-version: << pipeline.parameters.node-version >>
9797
- setup_remote_docker:
98-
version: 19.03.13
98+
version: default
9999
docker_layer_caching: true
100100
# build and push Docker image
101101
- run:

.eslintrc.js

Lines changed: 59 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,61 @@
11
module.exports = {
2-
'extends': 'airbnb-base',
3-
'env': {
4-
'mocha': true
5-
}
2+
env: {
3+
es6: true,
4+
node: true,
5+
mocha: true,
6+
},
7+
extends: [
8+
'airbnb-base',
9+
],
10+
globals: {
11+
Atomics: 'readonly',
12+
SharedArrayBuffer: 'readonly',
13+
},
14+
parser: '@typescript-eslint/parser',
15+
parserOptions: {
16+
ecmaVersion: 2018,
17+
sourceType: 'module',
18+
},
19+
plugins: [
20+
'@typescript-eslint',
21+
],
22+
rules: {
23+
'linebreak-style': 0,
24+
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
25+
'import/no-import-module-exports': 0,
26+
'no-plusplus': 0,
27+
'no-unused-vars': 0,
28+
'no-await-in-loop': 0,
29+
'no-restricted-syntax': 0,
30+
'prefer-default-export': 0,
31+
'import/prefer-default-export': 0,
32+
'class-methods-use-this': 1,
33+
'max-len': ['error', { code: 240 }],
34+
'no-param-reassign': 1,
35+
'no-return-assign': 1,
36+
'no-use-before-define': 0,
37+
'comma-dangle': 0,
38+
'object-curly-newline': 0,
39+
camelcase: 0,
40+
'import/extensions': [
41+
'error',
42+
'ignorePackages',
43+
{
44+
js: 'never',
45+
jsx: 'never',
46+
ts: 'never',
47+
tsx: 'never',
48+
},
49+
],
50+
},
51+
settings: {
52+
'import/parsers': {
53+
'@typescript-eslint/parser': ['.ts', '.tsx'],
54+
},
55+
'import/resolver': {
56+
node: {
57+
extensions: ['.js', '.jsx', '.ts', '.tsx'],
58+
},
59+
},
60+
},
661
};

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ build/Release
2525
# Dependency directory
2626
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
2727
node_modules
28+
src/*.js
29+
src/*/*.js
2830

2931
# Webstorm files
3032
.idea

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 2.1.0 (November 14, 2024)
2+
* Deprecated the action and trigger **HTTP Request (Request Library)** - the primary reason for this change is the reliance on the deprecated **request** library.
3+
* Introduced a new action and trigger **HTTP Request (Axios Library)**.
4+
* Updated the Node engine to version 20.x.
5+
* Updated the Sailor version to 2.7.4
6+
17
## 2.0.15 (March 22, 2024)
28
* Updated the Sailor version to 2.7.2
39
* Set the Node engine to 18.x

0 commit comments

Comments
 (0)