Socket
Socket
Sign inDemoInstall

dotnet-deps-parser

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dotnet-deps-parser - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

2

dist/parsers/index.d.ts

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

10

package.json

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

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