Skip to content

Commit 30572ae

Browse files
chore: patch minimatch vuln and upgrade deps. (#52)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d5d2642 commit 30572ae

File tree

5 files changed

+580
-2247
lines changed

5 files changed

+580
-2247
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
runs-on: ${{ matrix.os }}
1919
steps:
2020
- name: Checkout
21-
uses: actions/checkout@v4.2.2
21+
uses: actions/checkout@v6.0.1
2222
- name: Setup Node
23-
uses: actions/setup-node@v4.3.0
23+
uses: actions/setup-node@v6.2.0
2424
with:
2525
node-version: ${{ matrix.version }}
2626
- name: Install Dependencies
2727
run: npm ci
2828
- name: Save error log
29-
uses: actions/upload-artifact@v4.6.2
29+
uses: actions/upload-artifact@v6.0.0
3030
if: ${{ failure() }}
3131
with:
3232
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
@@ -40,7 +40,7 @@ jobs:
4040
- name: Test
4141
run: npm test
4242
- name: Report Coverage
43-
uses: codecov/codecov-action@v5.5.1
43+
uses: codecov/codecov-action@v5.5.2
4444
with:
4545
token: ${{ secrets.CODECOV_TOKEN }}
4646
- name: Pack

.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4.2.2
17+
uses: actions/checkout@v6.0.1
1818
- name: Setup Node
19-
uses: actions/setup-node@v4.3.0
19+
uses: actions/setup-node@v6.2.0
2020
with:
2121
node-version: '24.11.1'
2222
- name: Install Dependencies
2323
run: npm ci
2424
- name: Save error log
25-
uses: actions/upload-artifact@v4.6.2
25+
uses: actions/upload-artifact@v6.0.0
2626
if: ${{ failure() }}
2727
with:
2828
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
@@ -34,7 +34,7 @@ jobs:
3434
- name: Pack
3535
run: npm pack
3636
- name: Push to NPM registry
37-
uses: JS-DevTools/npm-publish@v4.1.1
37+
uses: JS-DevTools/npm-publish@v4.1.5
3838
with:
3939
access: public
4040
tag: ${{ contains(github.ref, '-') && 'next' || 'latest' }}

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
[![codecov](https://codecov.io/gh/knightedcodemonkey/module/graph/badge.svg?token=AjayQQxghy)](https://codecov.io/gh/knightedcodemonkey/module)
55
[![NPM version](https://img.shields.io/npm/v/@knighted/module.svg)](https://www.npmjs.com/package/@knighted/module)
66

7-
Node.js utility for transforming a JavaScript or TypeScript file from an ES module to CommonJS, or vice versa.
7+
Node.js utility for transforming a JavaScript or TypeScript file from CommonJS to an ES module, or vice versa.
88

9-
- ES module ➡️ CommonJS
109
- CommonJS ➡️ ES module
10+
- ES module ➡️ CommonJS
1111

1212
Highlights
1313

14-
- ESM ➡️ CJS and CJS ➡️ ESM with one function call.
14+
- CJS ➡️ ESM and ESM ➡️ CJS with one function call.
1515
- Defaults to safe CommonJS output: strict live bindings, import.meta shims, and specifier preservation.
1616
- Configurable lowering modes: full syntax transforms or globals-only.
1717
- Specifier tools: add extensions, add directory indexes, or map with a custom callback.
@@ -25,7 +25,7 @@ By default `@knighted/module` transforms the one-to-one [differences between ES
2525

2626
## Requirements
2727

28-
- Node 22 or 24 (tested on 22.21.1 and 24.11.1)
28+
- Node 22.21.1+ or 24+
2929

3030
## Install
3131

0 commit comments

Comments
 (0)