Skip to content

Commit 16458fa

Browse files
authored
fix(deps): resolve npm security advisories (#42)
## Summary This updates direct and transitive dependencies to clear current npm / Dependabot security findings (LangChain serialization issue, MCP SDK advisories, ESLint plugin-kit ReDoS, minimatch ReDoS, tar extraction issues, and related transitive upgrades via `npm audit fix`). ## Dependency changes - `@langchain/core` 1.0.1 → 1.1.38; `@langchain/openai` 1.0.0 → 1.4.1; `@langchain/textsplitters` 1.0.0 → 1.0.1 - `@modelcontextprotocol/sdk` 1.20.0 → 1.29.0 - `minimatch` 10.0.1 → 10.2.5; `tar` `^7.4.3` → `^7.5.11` - `eslint` / `@eslint/js` 9.23.0 → 9.39.4 ## Verification - `npm audit`: 0 vulnerabilities - `npm test`: all tests passed locally - `npm run check` / build: passed via `prepare` on install ## Notes Review [MCP SDK release notes](https://github.com/modelcontextprotocol/typescript-sdk) for any behavioral changes (e.g. transport/DNS-related defaults) when upgrading from 1.20 to 1.29.
1 parent 854a5fe commit 16458fa

6 files changed

Lines changed: 677 additions & 388 deletions

File tree

.github/workflows/cd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ jobs:
2929

3030
- name: Install deps
3131
run: npm ci
32+
env:
33+
NPM_CONFIG_REGISTRY: https://registry.npmjs.org/
3234

3335
- name: Build
3436
run: npm run build

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121

2222
- name: Install deps
2323
run: npm ci
24+
env:
25+
NPM_CONFIG_REGISTRY: https://registry.npmjs.org/
2426

2527
- name: Build
2628
run: npm run build

.github/workflows/generate-artifacts.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030

3131
- name: Install dependencies
3232
run: npm ci
33+
env:
34+
NPM_CONFIG_REGISTRY: https://registry.npmjs.org/
3335

3436
- name: Get current date
3537
id: date

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=https://registry.npmjs.org/

0 commit comments

Comments
 (0)