snyk-go-parser
Advanced tools
Comparing version 1.5.4 to 1.6.0
@@ -1,6 +0,6 @@ | ||
import { parseGoPkgConfig, parseGoVendorConfig, parseGoModGraph } from './parsers'; | ||
import { parseGoPkgConfig, parseGoVendorConfig, parseGoModGraph, parseGoModRelativeManifestReplaces } from './parsers'; | ||
import { DepTree, GoPackageManagerType, GoPackageConfig, ModuleVersion, GoModuleConfig } from './types'; | ||
export { GoPackageManagerType }; | ||
export { parseGoPkgConfig, parseGoVendorConfig, parseGoModGraph, GoPackageConfig, ModuleVersion, GoModuleConfig, }; | ||
export { parseGoPkgConfig, parseGoVendorConfig, parseGoModGraph, parseGoModRelativeManifestReplaces, GoPackageConfig, ModuleVersion, GoModuleConfig, }; | ||
export declare function buildGoPkgDepTree(manifestFileContents: string, lockFileContents: string, options?: unknown): Promise<DepTree>; | ||
export declare function buildGoVendorDepTree(manifestFileContents: string): Promise<DepTree>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.buildGoVendorDepTree = exports.buildGoPkgDepTree = exports.parseGoModGraph = exports.parseGoVendorConfig = exports.parseGoPkgConfig = void 0; | ||
exports.buildGoVendorDepTree = exports.buildGoPkgDepTree = exports.parseGoModRelativeManifestReplaces = exports.parseGoModGraph = exports.parseGoVendorConfig = exports.parseGoPkgConfig = void 0; | ||
const parsers_1 = require("./parsers"); | ||
@@ -8,2 +8,3 @@ Object.defineProperty(exports, "parseGoPkgConfig", { enumerable: true, get: function () { return parsers_1.parseGoPkgConfig; } }); | ||
Object.defineProperty(exports, "parseGoModGraph", { enumerable: true, get: function () { return parsers_1.parseGoModGraph; } }); | ||
Object.defineProperty(exports, "parseGoModRelativeManifestReplaces", { enumerable: true, get: function () { return parsers_1.parseGoModRelativeManifestReplaces; } }); | ||
const types_1 = require("./types"); | ||
@@ -10,0 +11,0 @@ // TODO(kyegupov): make all build* functions sync |
import { DepGraph } from '@snyk/dep-graph'; | ||
export declare function parseGoModGraph(goModGraphOutput: string, projectName: string, projectVersion?: string): DepGraph; | ||
export declare function parseGoModGraph(goModGraphOutput: string, projectName?: string, projectVersion?: string): DepGraph; |
export { parseGoModGraph } from './gomod-graph-parser'; | ||
export { parseGoVendorConfig } from './govendor-parser'; | ||
export { parseGoPkgConfig } from './gopkg-parser'; | ||
export { parseGoModRelativeManifestReplaces } from './gomod-relative-manifest-parser'; |
@@ -9,2 +9,4 @@ "use strict"; | ||
Object.defineProperty(exports, "parseGoPkgConfig", { enumerable: true, get: function () { return gopkg_parser_1.parseGoPkgConfig; } }); | ||
var gomod_relative_manifest_parser_1 = require("./gomod-relative-manifest-parser"); | ||
Object.defineProperty(exports, "parseGoModRelativeManifestReplaces", { enumerable: true, get: function () { return gomod_relative_manifest_parser_1.parseGoModRelativeManifestReplaces; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -50,3 +50,3 @@ { | ||
}, | ||
"version": "1.5.4" | ||
"version": "1.6.0" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67492
34
345