dotnet-deps-parser
Advanced tools
Comparing version 5.1.1 to 5.1.2
@@ -53,2 +53,4 @@ export interface PkgTree { | ||
export declare function getDependencyTreeFromProjectFile(manifestFile: any, includeDev?: boolean, propsMap?: PropsLookup): Promise<PkgTree>; | ||
export declare function getDependenciesFromPackageReference(manifestFile: any, includeDev: boolean | undefined, propsMap: PropsLookup): Promise<DependenciesDiscoveryResult>; | ||
export declare function getDependenciesFromReferenceInclude(manifestFile: any, includeDev: boolean | undefined, propsMap: PropsLookup): Promise<DependenciesDiscoveryResult>; | ||
export declare function parseXmlFile(manifestFileContents: string): Promise<object>; | ||
@@ -55,0 +57,0 @@ export interface PropsLookup { |
@@ -88,2 +88,3 @@ "use strict"; | ||
const nameProperty = (_c = (_b = (_a = manifestFile) === null || _a === void 0 ? void 0 : _a.Project) === null || _b === void 0 ? void 0 : _b.PropertyGroup, (_c !== null && _c !== void 0 ? _c : [])) | ||
.filter((propertyGroup) => typeof propertyGroup !== 'string') | ||
.find((propertyGroup) => { | ||
@@ -131,2 +132,3 @@ return 'PackageId' in propertyGroup | ||
} | ||
exports.getDependenciesFromPackageReference = getDependenciesFromPackageReference; | ||
function processItemGroupForPackageReference(packageList, manifestFile, includeDev, dependenciesResult, propsMap) { | ||
@@ -174,2 +176,3 @@ var _a, _b, _c; | ||
} | ||
exports.getDependenciesFromReferenceInclude = getDependenciesFromReferenceInclude; | ||
function processItemGroupForReferenceInclude(packageList, manifestFile, includeDev, dependenciesResult, propsMap) { | ||
@@ -176,0 +179,0 @@ var _a, _b, _c; |
@@ -6,4 +6,5 @@ { | ||
"scripts": { | ||
"test": "npm run lint && npm run unit-test", | ||
"unit-test": "npm run build && tap test/lib -Rspec --timeout=300", | ||
"test": "npm run lint && npm run test:tap && npm run test:jest", | ||
"test:tap": "npm run build && tap test/lib/**/*.test.ts -Rspec --timeout=300", | ||
"test:jest": "jest", | ||
"lint": "tslint -p tsconfig.json", | ||
@@ -40,2 +41,5 @@ "build": "tsc", | ||
"@types/xml2js": "0.4.5", | ||
"@types/jest": "^23.3.2", | ||
"jest": "23.6.0", | ||
"ts-jest": "^23.10.1", | ||
"tap": "^14.10.7", | ||
@@ -45,3 +49,3 @@ "tslint": "5.11.0", | ||
}, | ||
"version": "5.1.1" | ||
"version": "5.1.2" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
53842
699
0
8