Skip to content

docmd-search@0.1.2 🛡️ (Security Update)

Choose a tag to compare

@mgks mgks released this 03 Aug 08:45
· 3 commits to main since this release

Offline semantic search engine for documentation with local vector embeddings and browser-ready search indexes.

Security & Dependency Updates

  • Patched Dependency Vulnerabilities: Resolved all 5 reported security vulnerabilities (0 vulnerabilities in npm audit).
    • Upgraded protobufjs to ^7.6.5 (mitigating DoS in .proto option parsing).
    • Enforced adm-zip to ^0.6.0 via overrides (patching 4GB memory allocation vulnerability).
    • Upgraded sharp to ^0.35.0 via overrides (resolving inherited libvips security advisories).
  • Node.js Engine Minimum: Standardised engines.node requirement to >=20.0.0.
  • GitHub Actions Runners: Updated CI workflows (.github/workflows/*.yml) to use Node 24.

Installation

npm install docmd-search@0.1.2

Usage Example

import { createSearchIndex, searchDocumentation } from 'docmd-search';

// Generate offline vector embeddings index
const index = await createSearchIndex({
  docsDir: './docs'
});

// Perform local semantic query
const results = await searchDocumentation(index, 'How to configure custom domain');
console.log(results);

Full Changelog: 0.1.1...0.1.2