snyk-go-parser
Advanced tools
Comparing version 1.8.0 to 1.9.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.parseGoPkgConfig = void 0; | ||
const toml = require("toml"); | ||
const toml = require("@iarna/toml"); | ||
const errors_1 = require("../errors"); | ||
@@ -9,3 +9,3 @@ const event_loop_spinner_1 = require("event-loop-spinner"); | ||
try { | ||
const lockJson = toml.parse(lockFileString); | ||
const lockJson = (await toml.parse.async(lockFileString)); | ||
const deps = {}; | ||
@@ -12,0 +12,0 @@ if (lockJson.projects) { |
@@ -32,5 +32,5 @@ { | ||
"dependencies": { | ||
"@iarna/toml": "^2.2.5", | ||
"@snyk/dep-graph": "^1.20.0", | ||
"event-loop-spinner": "^2.1.0", | ||
"toml": "^3.0.0", | ||
"tslib": "^1.10.0" | ||
@@ -52,3 +52,3 @@ }, | ||
}, | ||
"version": "1.8.0" | ||
"version": "1.9.0" | ||
} |
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
70669
+ Added@iarna/toml@^2.2.5
+ Added@iarna/toml@2.2.5(transitive)
- Removedtoml@^3.0.0
- Removedtoml@3.0.0(transitive)