Skip to content

Commit 0127d4f

Browse files
authored
Merge branch 'main' into snyk-upgrade-d0fea3e2400a60cfe053b16c27eef3fb
2 parents 4c95e13 + e92bb5e commit 0127d4f

21 files changed

Lines changed: 982 additions & 228 deletions

.eslintignore

Lines changed: 0 additions & 10 deletions
This file was deleted.

.eslintrc.cjs

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/run-tests.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
strategy:
1414
fail-fast: true
1515
matrix:
16-
node-version: [18, 20]
16+
node-version: [20, 22, 24]
1717

1818
steps:
1919
- name: Checkout repository
20-
uses: actions/checkout@v4
20+
uses: actions/checkout@v6
2121
with:
2222
fetch-depth: 1
2323

@@ -29,10 +29,19 @@ jobs:
2929
run: bun install
3030

3131
- name: Run the tests with coverage
32-
run: bun run test
32+
run: |
33+
bun test --coverage-junit --coverage --reporter-outfile=coverage.xml --reporter=junit
34+
35+
- name: Upload failed test results to Codecov
36+
if: ${{ !cancelled() }}
37+
uses: codecov/test-results-action@v1
38+
with:
39+
token: ${{ secrets.CODECOV_TOKEN }}
3340

3441
- name: Upload coverage to Codecov
35-
uses: codecov/codecov-action@v4
42+
uses: codecov/codecov-action@v5
3643
with:
3744
token: ${{ secrets.CODECOV_TOKEN }}
38-
directory: coverage
45+
files: coverage.xml
46+
report_type: coverage
47+
disable_telem: true

.npmignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@
1212
/coverage
1313
.editorconfig
1414
.eslintrc.js
15+
eslint.config.js
1516
.prettierignore
1617
.prettierrc
1718
prettier.config.js
1819
jest.config.js
1920
package-lock.json
21+
bun.lock
2022
SECURITY.md
2123
tsconfig.json
2224
*.sh
2325
_*.txt
2426
*.ignore
2527
rollup.*.js
26-
.eslintignore
2728
biome.json
28-
prettier.config.cjs
29-
.eslintrc.cjs
29+
biome.jsonc
3030
vite.config.js

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
44

5+
#### [v3.0.0](https://github.com/permafrost-dev/node-ray/compare/v2.1.2...v3.0.0)
6+
7+
> 31 January 2026
8+
9+
- BREAKING: ESM-only packages moving forward; removed CommonJS builds.
10+
- BREAKING: Node.js >= 20.19 required
11+
- Upgrade all outdated dependencies
12+
- Upgrade ESLint 9 + TypeScript ESLint 8, Prettier 3.8, Vite 7, Vitest 4, and TypeScript 5.9
13+
- Docs updated for ESM-only usage and configuration
14+
515
#### [v2.1.2](https://github.com/permafrost-dev/node-ray/compare/v2.1.1...v2.1.2)
616

717
- update npmignore [`8517423`](https://github.com/permafrost-dev/node-ray/commit/85174235d68dc0d9df260ee39d092d941fc6bd26)

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
The MIT License (MIT)
2-
Copyright © 2021 Permafrost Development
2+
Copyright © 2026 Permafrost Software, Inc.
33

44
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:
55

README.md

Lines changed: 70 additions & 70 deletions
Large diffs are not rendered by default.

biome.json renamed to biome.jsonc

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.5.3/schema.json",
3-
"organizeImports": {
4-
"enabled": false
5-
},
2+
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
3+
"assist": { "actions": { "source": { "organizeImports": "off" } } },
64
"files": {
7-
"include": ["./*.cjs", "./*.js", "./*.mjs", "src/**/*.js", "src/**/*.ts", "src/**/*.tsx", "src/**/*.jsx"],
8-
"ignore": [".git/**", ".husky/**", ".idea/**", ".vscode/**", "build/**", "dist/**", "node_modules/**", "scripts/**"]
5+
"includes": [
6+
"**/*.js",
7+
"**/*.mjs",
8+
"**/src/**/*.js",
9+
"**/src/**/*.ts",
10+
"**/src/**/*.tsx",
11+
"**/src/**/*.jsx",
12+
"!**/.git/**",
13+
"!**/.husky/**",
14+
"!**/.idea/**",
15+
"!**/.vscode/**",
16+
"!**/build/**",
17+
"!**/dist/**",
18+
"!**/node_modules/**",
19+
"!**/scripts/**"
20+
]
921
},
1022
"formatter": {
1123
"enabled": true,
@@ -29,19 +41,17 @@
2941
"noConstAssign": "error",
3042
"noSwitchDeclarations": "warn",
3143
"useExhaustiveDependencies": "off",
32-
"useHookAtTopLevel": "warn"
44+
"useHookAtTopLevel": "warn",
45+
"noInvalidUseBeforeDeclaration": "error"
3346
},
3447
"style": {
3548
"useSelfClosingElements": "off",
3649
"noParameterAssign": "off",
3750
"useFragmentSyntax": "off",
38-
"useSingleVarDeclarator": "off"
39-
},
40-
"nursery": {
41-
"useNodejsImportProtocol": "warn",
42-
"noGlobalEval": "error",
43-
"noInvalidUseBeforeDeclaration": "error"
51+
"useSingleVarDeclarator": "off",
52+
"useNodejsImportProtocol": "warn"
4453
},
54+
"nursery": {},
4555
"suspicious": {
4656
"noAssignInExpressions": "off",
4757
"noAsyncPromiseExecutor": "off",
@@ -50,7 +60,8 @@
5060
"noImplicitAnyLet": "off"
5161
},
5262
"security": {
53-
"recommended": true
63+
"recommended": true,
64+
"noGlobalEval": "error"
5465
},
5566
"performance": {},
5667
"a11y": {
@@ -70,7 +81,7 @@
7081
"quoteProperties": "asNeeded",
7182
"quoteStyle": "single",
7283
"semicolons": "always",
73-
"trailingComma": "all"
84+
"trailingCommas": "all"
7485
}
7586
},
7687
"json": {

0 commit comments

Comments
 (0)