Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

snyk-go-parser

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

snyk-go-parser - npm Package Compare versions

Comparing version 1.5.4 to 1.6.0

dist/parsers/gomod-relative-manifest-parser.d.ts

4

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc