Socket
Socket
Sign inDemoInstall

@peculiar/x509

Package Overview
Dependencies
17
Maintainers
6
Versions
43
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.9.2 to 1.9.3

36

build/index.d.ts

@@ -36,3 +36,3 @@ /*!

}
declare type TextObjectItemType = string | number | boolean | Date | BufferSource | TextObject | TextObject[] | TextObjectConvertible;
type TextObjectItemType = string | number | boolean | Date | BufferSource | TextObject | TextObject[] | TextObjectConvertible;
declare const NAME: unique symbol;

@@ -68,3 +68,3 @@ declare const VALUE: unique symbol;

declare type AsnDataStringFormat = "asn" | "text" | "hex" | "base64" | "base64url";
type AsnDataStringFormat = "asn" | "text" | "hex" | "base64" | "base64url";
/**

@@ -153,3 +153,3 @@ * Represents an ASN.1 data

declare const REGISTERED_ID = "id";
declare type GeneralNameType = typeof DNS | typeof DN | typeof EMAIL | typeof GUID | typeof IP | typeof URL | typeof UPN | typeof REGISTERED_ID;
type GeneralNameType = typeof DNS | typeof DN | typeof EMAIL | typeof GUID | typeof IP | typeof URL | typeof UPN | typeof REGISTERED_ID;
/**

@@ -182,3 +182,3 @@ * Represents ASN.1 type of GeneralName.

}
declare type JsonGeneralNames = JsonGeneralName[];
type JsonGeneralNames = JsonGeneralName[];
declare class GeneralNames extends AsnData<asn1X509.GeneralNames> {

@@ -225,8 +225,8 @@ static NAME: string;

}
declare type JsonAttributeAndValue = JsonAttributeAndStringValue | JsonAttributeAndObjectValue;
type JsonAttributeAndValue = JsonAttributeAndStringValue | JsonAttributeAndObjectValue;
/**
* JSON array of Attribute and Value
*/
declare type JsonName = Array<JsonAttributeAndStringValue>;
declare type JsonNameParams = Array<JsonAttributeAndValue>;
type JsonName = Array<JsonAttributeAndStringValue>;
type JsonNameParams = Array<JsonAttributeAndValue>;
/**

@@ -304,4 +304,4 @@ * UTF-8 String Representation of Distinguished Names

declare type AsnExportType = "pem" | AsnDataStringFormat;
declare type AsnEncodedType = BufferSource | string;
type AsnExportType = "pem" | AsnDataStringFormat;
type AsnEncodedType = BufferSource | string;
declare abstract class PemData<T> extends AsnData<T> {

@@ -345,3 +345,3 @@ static isAsnEncoded(data: any): data is AsnEncodedType;

}
declare type PublicKeyType = PublicKey | CryptoKey | IPublicKeyContainer | BufferSource$1;
type PublicKeyType = PublicKey | CryptoKey | IPublicKeyContainer | BufferSource$1;
/**

@@ -625,3 +625,3 @@ * Representation of Subject Public Key Info

}
declare type ExtendedKeyUsageType = asn1X509.ExtendedKeyUsage | string;
type ExtendedKeyUsageType = asn1X509.ExtendedKeyUsage | string;
/**

@@ -1016,4 +1016,4 @@ * Represents the Extended Key Usage certificate extension

}
declare type AtLeast<T, K extends keyof T> = Partial<T> & Pick<T, K>;
declare type PemStructEncodeParams = AtLeast<PemStruct, "type" | "rawData">;
type AtLeast<T, K extends keyof T> = Partial<T> & Pick<T, K>;
type PemStructEncodeParams = AtLeast<PemStruct, "type" | "rawData">;
/**

@@ -1146,3 +1146,3 @@ * Represents PEM Converter.

declare type Pkcs10CertificateRequestCreateParamsName = string | JsonName | Name;
type Pkcs10CertificateRequestCreateParamsName = string | JsonName | Name;
/**

@@ -1185,3 +1185,3 @@ * Pkcs10CertificateRequest create parameters

declare type MapForEachCallback = (value: Crypto, key: string, map: Map<string, Crypto>) => void;
type MapForEachCallback = (value: Crypto, key: string, map: Map<string, Crypto>) => void;
/**

@@ -1241,3 +1241,3 @@ * Crypto provider

declare type X509CertificatesExportType = AsnExportType | "pem-chain";
type X509CertificatesExportType = AsnExportType | "pem-chain";
/**

@@ -1317,3 +1317,3 @@ * X509 Certificate collection

declare type X509CertificateCreateParamsName = string | JsonName | Name;
type X509CertificateCreateParamsName = string | JsonName | Name;
/**

@@ -1371,3 +1371,3 @@ * Base arguments for certificate creation

}
declare type X509CertificateCreateParams = X509CertificateCreateWithKeyParams | X509CertificateCreateWithSignatureParams;
type X509CertificateCreateParams = X509CertificateCreateWithKeyParams | X509CertificateCreateWithSignatureParams;
/**

@@ -1374,0 +1374,0 @@ * Parameters for self-signed X509 Certificate generation

{
"name": "@peculiar/x509",
"version": "1.9.2",
"version": "1.9.3",
"description": "@peculiar/x509 is an easy to use TypeScript/Javascript library based on @peculiar/asn1-schema that makes generating X.509 Certificates and Certificate Requests as well as validating certificate chains easy",

@@ -71,24 +71,24 @@ "main": "build/x509.cjs.js",

"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/core": "^7.20.12",
"@babel/preset-env": "^7.20.2",
"@peculiar/webcrypto": "^1.4.1",
"@rollup/plugin-babel": "^6.0.2",
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"@types/mocha": "^10.0.1",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.48.2",
"@typescript-eslint/parser": "^5.48.2",
"coveralls": "^3.1.1",
"eslint": "^8.27.0",
"mocha": "^10.1.0",
"eslint": "^8.32.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"rollup": "^3.2.5",
"rollup-plugin-dts": "^5.0.0",
"rimraf": "^4.1.1",
"rollup": "^3.10.1",
"rollup-plugin-dts": "^5.1.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.34.1",
"ts-node": "^10.9.1",
"typedoc": "^0.23.20",
"typescript": "^4.8.4"
"typedoc": "^0.23.24",
"typescript": "^4.9.4"
},

@@ -110,4 +110,6 @@ "dependencies": {

"minimist": "^1.2.6",
"json5": "^2.2.3",
"qs": "^6.11.0",
"terser": "^5.14.2"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc