node-opcua/node-opcua-crypto

View on GitHub
packages/node-opcua-crypto/source/oid_map.ts

Summary

Maintainability
A
3 hrs
Test Coverage

File oid_map.ts has 296 lines of code (exceeds 250 allowed). Consider refactoring.
Open

// https://github.com/lapo-luchini/asn1js/blob/master/oids.js
export const oid_map: { [key: string]: { d: string; c: string; w?: boolean } } = {
    "0.9.2342.19200300.100.1.1": { d: "userID", c: "Some oddball X.500 attribute collection" },
    "0.9.2342.19200300.100.1.3": { d: "rfc822Mailbox", c: "Some oddball X.500 attribute collection" },
    "0.9.2342.19200300.100.1.25": { d: "domainComponent", c: "Men are from Mars, this OID is from Pluto" },
Severity: Minor
Found in packages/node-opcua-crypto/source/oid_map.ts - About 3 hrs to fix

    There are no issues that match your filters.

    Category
    Status