Skip to content

Commit 48e4792

Browse files
authored
Merge pull request #11 from cto-af/update-deps
Update dependencies
2 parents 7fb08b4 + e1f97cb commit 48e4792

File tree

11 files changed

+690
-750
lines changed

11 files changed

+690
-750
lines changed

.github/workflows/node.js.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [18, 20, 22]
15+
node-version: [18, 20, 22, 23]
1616
os: [ubuntu-latest]
1717

1818
runs-on: ${{ matrix.os }}
1919

2020
steps:
2121
- uses: actions/checkout@v4
2222
- name: Enable pnpm
23-
run: corepack enable
23+
uses: pnpm/action-setup@v4
2424
- name: Use Node.js ${{ matrix.node-version }}
2525
uses: actions/setup-node@v4
2626
with:
@@ -35,7 +35,7 @@ jobs:
3535
- name: Test with coverage
3636
run: npm run test
3737
- name: Upload coverage to Codecov
38-
uses: codecov/codecov-action@v4
38+
uses: codecov/codecov-action@v5
3939
with:
4040
files: coverage/lcov.info
4141
env_vars: OS,NODE

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.nx/cache
22
.nx/workspace-data
3+
.vscode/
34
*.d.ts
45
coverage/
5-
node_modules/
6+
node_modules/

eslint.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import ava from '@cto.af/eslint-config/ava.js';
12
import es6 from '@cto.af/eslint-config/es6.js';
23

34
export default [
@@ -7,4 +8,5 @@ export default [
78
],
89
},
910
...es6,
11+
...ava,
1012
];

package.json

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,13 @@
11
{
22
"name": "@cto.af/chex-monorepo",
3-
"version": "1.0.0",
3+
"version": "0.0.0",
44
"description": "hexdump -C as a small JS library",
55
"private": "true",
66
"type": "module",
7-
"repository": "cto-af/chex",
7+
"repository": {
8+
"type": "git",
9+
"url": "git+https://github.com/cto-af/chex.git"
10+
},
811
"scripts": {
912
"lint": "eslint .",
1013
"test": "c8 ava",
@@ -19,16 +22,23 @@
1922
"author": "Joe Hildebrand <joe-github@cursive.net>",
2023
"license": "MIT",
2124
"devDependencies": {
22-
"@cto.af/eslint-config": "4.0.2",
23-
"@types/node": "20.14.8",
24-
"ava": "6.1.3",
25-
"c8": "10.1.2",
26-
"eslint": "8.57.0",
27-
"typescript": "5.5.2"
25+
"@cto.af/eslint-config": "5.1.12",
26+
"@types/node": "22.13.5",
27+
"ava": "6.2.0",
28+
"c8": "10.1.3",
29+
"eslint": "9.21.0",
30+
"eslint-plugin-ava": "15.0.1",
31+
"eslint-plugin-n": "17.15.1",
32+
"typescript": "5.7.3"
33+
},
34+
"pnpm": {
35+
"overrides": {
36+
"fast-glob": "3.3.3",
37+
"foreground-child": "3.3.1"
38+
}
2839
},
29-
"packageManager": "pnpm@9.4.0",
40+
"packageManager": "pnpm@10.5.0",
3041
"engines": {
3142
"node": ">=18"
32-
},
33-
"dependencies": {}
43+
}
3444
}

pkg/chex-cli/bin/chex.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
/* eslint-disable no-console */
33

44
import {Command, Option} from 'commander';
5-
import {Buffer} from 'buffer';
6-
import fs from 'fs/promises';
5+
import {Buffer} from 'node:buffer';
6+
import fs from 'node:fs/promises';
77
import {hexDump} from '@cto.af/chex';
88

99
const program = new Command();

pkg/chex-cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"repository": {
1111
"type": "git",
12-
"url": "https://github.com/cto-af/chex.git",
12+
"url": "git+https://github.com/cto-af/chex.git",
1313
"directory": "pkg/chex-cli"
1414
},
1515
"keywords": [
@@ -22,7 +22,7 @@
2222
"license": "MIT",
2323
"dependencies": {
2424
"@cto.af/chex": "workspace:*",
25-
"commander": "12.1.0"
25+
"commander": "13.1.0"
2626
},
2727
"engines": {
2828
"node": ">=18"

pkg/chex/lib/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import {
22
charMap, dotMap, parseEncoding, utf16encode, utf8decode,
33
} from './encoding.js';
44

5-
/* eslint-disable max-len */
65
/**
76
* @typedef {Int8Array | Uint8Array | Uint8ClampedArray | Int16Array |
87
* Uint16Array | Int32Array | Uint32Array | BigUint64Array |
@@ -13,7 +12,6 @@ import {
1312
* @typedef {'utf8' | 'utf16' | 'utf-16' | 'utf16le' | 'utf-16le' |
1413
* 'utf16be' | 'utf-16be'} SupportedEncoding
1514
*/
16-
/* eslint-enable max-len */
1715

1816
/**
1917
* @typedef {object} HexOptions

pkg/chex/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "module",
77
"repository": {
88
"type": "git",
9-
"url": "https://github.com/cto-af/chex.git",
9+
"url": "git+https://github.com/cto-af/chex.git",
1010
"directory": "pkg/chex"
1111
},
1212
"scripts": {
@@ -22,8 +22,8 @@
2222
"author": "Joe Hildebrand <joe-github@cursive.net>",
2323
"license": "MIT",
2424
"devDependencies": {
25-
"@types/node": "20.14.8",
26-
"typescript": "5.5.2"
25+
"@types/node": "22.13.5",
26+
"typescript": "5.7.3"
2727
},
2828
"engines": {
2929
"node": ">=18"

pkg/chex/test/encoding.ava.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* eslint-disable @stylistic/array-element-newline */
2-
// eslint-disable-next-line n/no-extraneous-import
32
import test from 'ava';
43
import {utf8decode} from '../lib/encoding.js';
54

pkg/chex/test/index.ava.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import {hexDump} from '../lib/index.js';
2-
// eslint-disable-next-line n/no-extraneous-import
32
import test from 'ava';
43

54
test('defaults', t => {

0 commit comments

Comments
 (0)