We will be sunsetting Advisor during Jan, 2026 and will instead be providing information in Snyk Security DB.

You can begin to take advantage of Snyk Security DB today for a unified, package-centric experience.

How to use filing-cabinet - 5 common examples

To help you get started, we’ve selected a few filing-cabinet examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wix / okidoc / packages / okidoc-md / src / buildDocumentationSource / buildDocumentationSourceAST / buildDependenciesTree.js View on Github external
function resolveDependencyPath({ dependency, entryPath, entryAST }) {
  const config = {
    filename: entryPath,
    directory: process.cwd(),
    ast: entryAST,
  };

  return (
    cabinet({ ...config, partial: dependency }) ||
    cabinet({ ...config, partial: dependency + '/index' })
  );
}
github wix / okidoc / packages / okidoc-md / src / buildDocumentationSource / buildDocumentationSourceAST / buildDependenciesTree.js View on Github external
function resolveDependencyPath({ dependency, entryPath, entryAST }) {
  const config = {
    filename: entryPath,
    directory: process.cwd(),
    ast: entryAST,
  };

  return (
    cabinet({ ...config, partial: dependency }) ||
    cabinet({ ...config, partial: dependency + '/index' })
  );
}
github wix / okidoc / packages / okidoc-md / src / utils / traverseEntries.js View on Github external
function resolveDependencyPath({ dependency, entryPath, entryAST }) {
  const config = {
    filename: entryPath,
    directory: process.cwd(),
    ast: entryAST,
  };

  return (
    cabinet({ ...config, partial: dependency }) ||
    cabinet({ ...config, partial: dependency + '/index' })
  );
}
github wix / okidoc / packages / okidoc-md / src / utils / traverseEntries.js View on Github external
function resolveDependencyPath({ dependency, entryPath, entryAST }) {
  const config = {
    filename: entryPath,
    directory: process.cwd(),
    ast: entryAST,
  };

  return (
    cabinet({ ...config, partial: dependency }) ||
    cabinet({ ...config, partial: dependency + '/index' })
  );
}
github wix / okidoc / packages / okidoc-md / src / utils / traverseEntries.js View on Github external
function resolveDependencyPath({ dependency, entryPath, entryAST }) {
  const config = {
    filename: entryPath,
    directory: process.cwd(),
    ast: entryAST,
  };

  return (
    cabinet({ ...config, partial: dependency }) ||
    cabinet({ ...config, partial: dependency + '/index' })
  );
}

filing-cabinet

Find files based on partial paths

MIT
Latest version published 11 months ago

Package Health Score

74 / 100
Full package analysis

Popular filing-cabinet functions