snyk-nuget-plugin
Advanced tools
Comparing version 1.24.0 to 1.24.1
@@ -6,2 +6,3 @@ "use strict"; | ||
const debugModule = require("debug"); | ||
const _ = require("lodash"); | ||
const debug = debugModule('snyk'); | ||
@@ -178,4 +179,4 @@ const PACKAGE_DELIMITER = '@'; | ||
// to disconnect the object references inside the tree | ||
// JSON parse/stringify is used | ||
tree.dependencies = JSON.parse(JSON.stringify(tree.dependencies)); | ||
// cloneDeep is used here | ||
tree.dependencies = _.cloneDeep(tree.dependencies); | ||
return tree; | ||
@@ -182,0 +183,0 @@ } |
@@ -55,5 +55,6 @@ { | ||
"ts-jest": "^26.4.0", | ||
"typescript": "~4.7.3" | ||
"typescript": "~4.7.3", | ||
"lodash": "^4.17.5" | ||
}, | ||
"version": "1.24.0" | ||
"version": "1.24.1" | ||
} |
![Snyk logo](https://snyk.io/style/asset/logo/snyk-print.svg) | ||
[![Build Status](https://api.travis-ci.org/snyk/snyk-nuget-plugin.svg?branch=master)](https://travis-ci.org/snyk/snyk-nuget-plugin) | ||
[![CircleCI](https://dl.circleci.com/status-badge/img/gh/snyk/snyk-nuget-plugin/tree/master.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/snyk/snyk-nuget-plugin/tree/master) | ||
@@ -5,0 +5,0 @@ *** |
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
76695
1026
12