Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
microshine committed Oct 17, 2023
1 parent a47fc68 commit bcb10e4
Show file tree
Hide file tree
Showing 31 changed files with 2,492 additions and 2,896 deletions.
35 changes: 12 additions & 23 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
"packages/*"
],
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "^18.6.3",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"eslint": "^8.21.0",
"lerna": "^5.3.0",
"mocha": "^10.0.0",
"@types/mocha": "^10.0.2",
"@types/node": "^20.8.6",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"eslint": "^8.51.0",
"lerna": "^7.3.1",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.0.0",
"typescript": "^4.7.4"
"tsconfig-paths": "^4.2.0",
"typescript": "^5.2.2"
},
"scripts": {
"test": "mocha",
Expand Down Expand Up @@ -61,18 +61,7 @@
]
},
"dependencies": {
"@types/rimraf": "^3.0.1",
"rimraf": "^3.0.2"
},
"resolutions": {
"hosted-git-info": "^4.0.2",
"node-fetch": "^2.6.7",
"path-parse": "^1.0.7",
"tar": "^6.1.10",
"trim-newlines": "^4.0.2",
"shelljs": "^0.8.5",
"trim-off-newlines": "^1.0.3",
"ansi-regex": "^3.0.1",
"json-schema": "^0.4.0"
"@types/rimraf": "^4.0.5",
"rimraf": "^5.0.5"
}
}
}
2 changes: 1 addition & 1 deletion packages/adobe-acrobat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/android/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"dependencies": {
"@peculiar/asn1-schema": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/asym-key/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
},
"bugs": {
"url": "https://github.com/PeculiarVentures/asn1-schema/issues"
Expand Down
4 changes: 2 additions & 2 deletions packages/cert-transparency/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"dependencies": {
"@peculiar/asn1-schema": "^2.3.6",
"asn1js": "^3.0.5",
"pvtsutils": "^1.3.2",
"tslib": "^2.4.0"
"pvtsutils": "^1.3.5",
"tslib": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/cms/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"@peculiar/asn1-x509": "^2.3.6",
"@peculiar/asn1-x509-attr": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/csr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/ecc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
16 changes: 16 additions & 0 deletions packages/ecc/test/ec_signature_value.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import * as assert from "node:assert";
import { AsnConvert } from "@peculiar/asn1-schema";
import { ECDSASigValue } from "../src/ec_signature_value";

context("EcDsaSignatureValue", () => {

it("parse", () => {
const raw = Buffer.from("3046022100984a8a53f4f540950423bdf0d3ad12f413f41bef65c672ff76fa74c8d71d11ff022100954d2a9f138ae22c12467cccb12b7e4b2380c70ad515710f747aaeea1c8cd647", "hex");

const sig = AsnConvert.parse(raw, ECDSASigValue);

assert.strictEqual(Buffer.from(sig.r).toString("hex"), "00984a8a53f4f540950423bdf0d3ad12f413f41bef65c672ff76fa74c8d71d11ff");
assert.strictEqual(Buffer.from(sig.s).toString("hex"), "00954d2a9f138ae22c12467cccb12b7e4b2380c70ad515710f747aaeea1c8cd647");
});

});
2 changes: 1 addition & 1 deletion packages/ess/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
},
"bugs": {
"url": "https://github.com/PeculiarVentures/asn1-schema/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/lei/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"dependencies": {
"@peculiar/asn1-schema": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/ntqwac/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
},
"bugs": {
"url": "https://github.com/PeculiarVentures/asn1-schema/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/ocsp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/pfx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"@peculiar/asn1-rsa": "^2.3.6",
"@peculiar/asn1-schema": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/pkcs8/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/pkcs9/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"@peculiar/asn1-x509": "^2.3.6",
"@peculiar/asn1-x509-attr": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
},
"bugs": {
"url": "https://github.com/PeculiarVentures/asn1-schema/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/rfc8226/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"dependencies": {
"@peculiar/asn1-schema": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
},
"bugs": {
"url": "https://github.com/PeculiarVentures/asn1-schema/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/rsa/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
4 changes: 2 additions & 2 deletions packages/schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
},
"dependencies": {
"asn1js": "^3.0.5",
"pvtsutils": "^1.3.2",
"tslib": "^2.4.0"
"pvtsutils": "^1.3.5",
"tslib": "^2.6.2"
},
"contributors": [
{
Expand Down
2 changes: 1 addition & 1 deletion packages/schema/test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ context("Test", () => {
});

it("throw error on unsupported type of Asn1Type", () => {
@src.AsnType({ type: 5 })
@src.AsnType({ type: 5 as unknown as src.AsnTypeTypes })
class Test {
@src.AsnProp({ type: src.AsnPropTypes.Integer })
public value = 1;
Expand Down
2 changes: 1 addition & 1 deletion packages/tsp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
},
"bugs": {
"url": "https://github.com/PeculiarVentures/asn1-schema/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/x509-attr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/x509-logotype/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
4 changes: 2 additions & 2 deletions packages/x509-microsoft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"pvtsutils": "^1.3.2",
"tslib": "^2.4.0"
"pvtsutils": "^1.3.5",
"tslib": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/x509-netscape/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"dependencies": {
"@peculiar/asn1-schema": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/x509-post-quantum/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
},
"bugs": {
"url": "https://github.com/PeculiarVentures/asn1-schema/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/x509-qualified-etsi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"dependencies": {
"@peculiar/asn1-schema": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
},
"bugs": {
"url": "https://github.com/PeculiarVentures/asn1-schema/issues"
Expand Down
2 changes: 1 addition & 1 deletion packages/x509-qualified/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
2 changes: 1 addition & 1 deletion packages/x509-trustanchor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"@peculiar/asn1-schema": "^2.3.6",
"@peculiar/asn1-x509": "^2.3.6",
"asn1js": "^3.0.5",
"tslib": "^2.4.0"
"tslib": "^2.6.2"
}
}
6 changes: 3 additions & 3 deletions packages/x509/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"dependencies": {
"@peculiar/asn1-schema": "^2.3.6",
"asn1js": "^3.0.5",
"ipaddr.js": "^2.0.1",
"pvtsutils": "^1.3.2",
"tslib": "^2.4.0"
"ipaddr.js": "^2.1.0",
"pvtsutils": "^1.3.5",
"tslib": "^2.6.2"
}
}
Loading

0 comments on commit bcb10e4

Please sign in to comment.