dotnet-deps-parser
Advanced tools
Comparing version 5.2.0 to 5.2.1
@@ -257,2 +257,14 @@ "use strict"; | ||
if (propertyList.TargetFramework) { | ||
// sanity check | ||
if (Array.isArray(propertyList.TargetFramework)) { | ||
// mutate the array to effectively "ignore" conditions | ||
propertyList.TargetFramework = propertyList.TargetFramework.map((framework) => { | ||
if (framework && | ||
typeof framework === 'object' && | ||
Object.hasOwnProperty.call(framework, '_')) { | ||
return framework._; | ||
} | ||
return framework; | ||
}); | ||
} | ||
targetFrameworksResult = [ | ||
@@ -259,0 +271,0 @@ ...targetFrameworksResult, |
@@ -8,3 +8,3 @@ { | ||
"test:tap": "npm run build && tap test/lib/**/*.test.ts -Rspec --timeout=300", | ||
"test:jest": "jest", | ||
"test:jest": "jest --maxWorkers=1", | ||
"lint": "npm run format:check && tslint -p tsconfig.json", | ||
@@ -51,3 +51,3 @@ "build": "tsc", | ||
}, | ||
"version": "5.2.0" | ||
"version": "5.2.1" | ||
} |
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
48679
634