Socket
Socket
Sign inDemoInstall

@peculiar/x509

Package Overview
Dependencies
Maintainers
6
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@peculiar/x509 - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

11

build/x509.cjs.js

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

const asn = new asn1X509.Name();
const regex = /(\d\.[\d.]*\d|[A-Za-z]+)=(((?:").*?(?<!\\)(?:"))|([^"].*?))((?<!\\)[,+])/g;
const regex = /(\d\.[\d.]*\d|[A-Za-z]+)=((?:"")|(?:".*?[^\\]")|(?:[^,+].*?(?:[^\\][,+]))|(?:))([,+])?/g;
let matches = null;

@@ -214,3 +214,8 @@ let level = ",";

let [, type, value] = matches;
const next = matches[5];
const lastChar = value[value.length - 1];
if (lastChar === "," || lastChar === "+") {
value = value.slice(0, value.length - 1);
matches[3] = lastChar;
}
const next = matches[3];
if (!/[\d.]+/.test(type)) {

@@ -227,3 +232,3 @@ type = this.getName(type) || "";

else {
const quotedMatches = /(?:")(.*?)(?<!\\)(?:")/.exec(value);
const quotedMatches = /"(.*?[^\\])?"/.exec(value);
if (quotedMatches) {

@@ -230,0 +235,0 @@ value = quotedMatches[1];

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

const asn = new Name$1();
const regex = /(\d\.[\d.]*\d|[A-Za-z]+)=(((?:").*?(?<!\\)(?:"))|([^"].*?))((?<!\\)[,+])/g;
const regex = /(\d\.[\d.]*\d|[A-Za-z]+)=((?:"")|(?:".*?[^\\]")|(?:[^,+].*?(?:[^\\][,+]))|(?:))([,+])?/g;
let matches = null;

@@ -210,3 +210,8 @@ let level = ",";

let [, type, value] = matches;
const next = matches[5];
const lastChar = value[value.length - 1];
if (lastChar === "," || lastChar === "+") {
value = value.slice(0, value.length - 1);
matches[3] = lastChar;
}
const next = matches[3];
if (!/[\d.]+/.test(type)) {

@@ -223,3 +228,3 @@ type = this.getName(type) || "";

else {
const quotedMatches = /(?:")(.*?)(?<!\\)(?:")/.exec(value);
const quotedMatches = /"(.*?[^\\])?"/.exec(value);
if (quotedMatches) {

@@ -226,0 +231,0 @@ value = quotedMatches[1];

{
"name": "@peculiar/x509",
"version": "1.0.9",
"version": "1.0.10",
"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",

@@ -86,35 +86,35 @@ "main": "build/x509.cjs.js",

"devDependencies": {
"@babel/core": "^7.12.8",
"@babel/preset-env": "^7.12.7",
"@peculiar/webcrypto": "^1.1.3",
"@rollup/plugin-babel": "^5.2.1",
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@peculiar/webcrypto": "^1.1.4",
"@rollup/plugin-babel": "^5.2.2",
"@rollup/plugin-commonjs": "^15.1.0",
"@rollup/plugin-node-resolve": "^9.0.0",
"@types/mocha": "^8.0.4",
"@types/node": "^14.14.9",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.20",
"@typescript-eslint/eslint-plugin": "^4.13.0",
"@typescript-eslint/parser": "^4.13.0",
"coveralls": "^3.1.0",
"eslint": "^7.14.0",
"eslint": "^7.17.0",
"mocha": "^8.2.1",
"nyc": "^15.1.0",
"rimraf": "^3.0.2",
"rollup": "^2.33.3",
"rollup": "^2.36.1",
"rollup-plugin-terser": "^7.0.2",
"rollup-plugin-typescript2": "^0.27.3",
"ts-node": "^9.0.0",
"ts-node": "^9.1.1",
"typedoc": "^0.19.2",
"typescript": "^4.1.2"
"typescript": "^4.1.3"
},
"dependencies": {
"@peculiar/asn1-cms": "^2.0.26",
"@peculiar/asn1-csr": "^2.0.26",
"@peculiar/asn1-ecc": "^2.0.26",
"@peculiar/asn1-pkcs9": "^2.0.26",
"@peculiar/asn1-rsa": "^2.0.26",
"@peculiar/asn1-schema": "^2.0.26",
"@peculiar/asn1-x509": "^2.0.26",
"@peculiar/asn1-cms": "^2.0.27",
"@peculiar/asn1-csr": "^2.0.27",
"@peculiar/asn1-ecc": "^2.0.27",
"@peculiar/asn1-pkcs9": "^2.0.27",
"@peculiar/asn1-rsa": "^2.0.27",
"@peculiar/asn1-schema": "^2.0.27",
"@peculiar/asn1-x509": "^2.0.27",
"pvtsutils": "^1.1.1",
"reflect-metadata": "^0.1.13",
"tslib": "^2.0.3",
"tslib": "^2.1.0",
"tsyringe": "^4.4.0"

@@ -121,0 +121,0 @@ },

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

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