Skip to content

Commit 9cc507f

Browse files
committed
fix(ci): clean up semantic release config and update packages
1 parent 8d95288 commit 9cc507f

File tree

5 files changed

+715
-625
lines changed

5 files changed

+715
-625
lines changed

.github/workflows/nodejs.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Cleanup stale actions
18-
uses: styfle/cancel-workflow-action@0.11.0
18+
uses: styfle/cancel-workflow-action@0.12.1
1919
with:
2020
access_token: ${{ github.token }}
2121

2222
build:
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626
- name: Use Node.js 20
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2828
with:
2929
node-version: 20
3030
cache: yarn
@@ -47,8 +47,8 @@ jobs:
4747
pull-requests: write
4848
runs-on: ubuntu-latest
4949
steps:
50-
- uses: actions/checkout@v1
51-
- uses: actions/setup-node@v3
50+
- uses: actions/checkout@v4
51+
- uses: actions/setup-node@v4
5252
with:
5353
node-version: 20
5454
cache: yarn

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ myfilter({ firstname: 'Joseph' }); // returns 1
143143

144144
**What's Jison?**
145145

146-
[Jison](http://zaach.github.io/jison/) is used by async-rule-evaluator to generate the grammar. It's a JavaScript parser generator that does the underlying hard work of understanding the expression. It's based on Flex and Bison. You should not need it at runtime since we
146+
[Jison](http://zaach.github.io/jison/) is used by rule-evaluator to generate the grammar. It's a JavaScript parser generator that does the underlying hard work of understanding the expression. It's based on Flex and Bison. You should not need it at runtime since we
147147
pregenerate the parser and publish it with the package.
148148

149149
**License?**

package.json

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"repository": {
2424
"type": "git",
25-
"url": "git+https://github.com/sesamecare/ts-async-rule-evaluator.git"
25+
"url": "git+https://github.com/sesamecare/rule-evaluator.git"
2626
},
2727
"publishConfig": {
2828
"access": "public"
@@ -48,26 +48,26 @@
4848
"coconfig": "@openapi-typescript-infra/coconfig"
4949
},
5050
"devDependencies": {
51-
"@openapi-typescript-infra/coconfig": "^4.2.2",
51+
"@openapi-typescript-infra/coconfig": "^4.4.0",
5252
"@semantic-release/exec": "^6.0.3",
53-
"@semantic-release/github": "^9.2.3",
53+
"@semantic-release/github": "^10.0.3",
5454
"@types/lodash.difference": "^4.5.9",
5555
"@types/lodash.intersection": "^4.4.9",
5656
"@types/lodash.topath": "^4.5.9",
5757
"@types/lodash.union": "^4.6.9",
5858
"@types/lodash.uniq": "^4.5.9",
59-
"@types/node": "^20.9.1",
60-
"@typescript-eslint/eslint-plugin": "^6.11.0",
61-
"@typescript-eslint/parser": "^6.11.0",
62-
"coconfig": "^1.0.0",
63-
"eslint": "^8.53.0",
64-
"eslint-config-prettier": "^9.0.0",
59+
"@types/node": "^20.12.11",
60+
"@typescript-eslint/eslint-plugin": "^6.21.0",
61+
"@typescript-eslint/parser": "^6.21.0",
62+
"coconfig": "^1.5.2",
63+
"eslint": "^8.57.0",
64+
"eslint-config-prettier": "^9.1.0",
6565
"eslint-import-resolver-typescript": "^3.6.1",
66-
"eslint-plugin-import": "^2.29.0",
66+
"eslint-plugin-import": "^2.29.1",
6767
"jison": "^0.4.18",
68-
"ts-node": "^10.9.1",
69-
"typescript": "^5.2.2",
70-
"vitest": "^0.34.6"
68+
"ts-node": "^10.9.2",
69+
"typescript": "^5.4.5",
70+
"vitest": "^1.6.0"
7171
},
7272
"dependencies": {
7373
"lodash.difference": "^4.5.0",

src/function.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ describe('test_function', () => {
121121
expect(code, 'Code should match').toMatchInlineSnapshot(`
122122
"function anonymous(fns,std,prop
123123
) {
124-
return (std.numify((std.numify((prop(\\"transactions\\"))<=(5)))&&(std.numify(((std.isfn(fns, \\"abs\\") ? (fns[\\"abs\\"].call(prop, (prop(\\"profit\\")))) : std.unknown(\\"abs\\")))> (20.5)))));
124+
return (std.numify((std.numify((prop("transactions"))<=(5)))&&(std.numify(((std.isfn(fns, "abs") ? (fns["abs"].call(prop, (prop("profit")))) : std.unknown("abs")))> (20.5)))));
125125
}"
126126
`);
127127
});

0 commit comments

Comments
 (0)