This commit is contained in:
2026-04-07 14:50:23 +09:00
commit b4e485502b
4778 changed files with 2017091 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
export = gemfileLockToDependencies;
declare function gemfileLockToDependencies(fileContents: any): any;

View File

@@ -0,0 +1,3 @@
import { MultiProjectResult } from '@snyk/cli-interface/legacy/plugin';
import * as types from '../types';
export declare function inspect(root: string, targetFile: string, options?: types.Options): Promise<MultiProjectResult>;

View File

@@ -0,0 +1,4 @@
import { Spec } from './index';
import * as types from '../../types';
export declare function canHandle(file: string): boolean;
export declare function gatherSpecs(root: string, target: string, options: types.Options): Promise<Spec>;

View File

@@ -0,0 +1,3 @@
import { Spec } from './index';
export declare function canHandle(file: string): boolean;
export declare function gatherSpecs(root: string, target: string): Promise<Spec>;

View File

@@ -0,0 +1,8 @@
import * as gemfile from './gemfile';
import { Files } from './try-get-spec';
export interface Spec {
packageName: string;
targetFile: string;
files: Files;
}
export declare const inspectors: (typeof gemfile)[];

View File

@@ -0,0 +1,10 @@
interface File {
name: string;
contents: string;
}
export interface Files {
gemfileLock?: File;
gemspec?: File;
}
export declare function tryGetSpec(dir: string, name: string): Promise<File | null>;
export {};