Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-opcua-crypto

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-opcua-crypto - npm Package Compare versions

Comparing version 1.7.1 to 1.8.0

pnpm-lock.yaml

0

.prettierrc.js

@@ -0,0 +0,0 @@ module.exports = {

5

dist/source/asn1.d.ts

@@ -20,3 +20,6 @@ /// <reference types="node" />

UniversalString = 28,
BMPString = 30
BMPString = 30,
SEQUENCE = 48,
SET = 49,
A3 = 163
}

@@ -23,0 +26,0 @@ export interface BlockInfo {

@@ -27,2 +27,5 @@ "use strict";

TagType[TagType["BMPString"] = 30] = "BMPString";
TagType[TagType["SEQUENCE"] = 48] = "SEQUENCE";
TagType[TagType["SET"] = 49] = "SET";
TagType[TagType["A3"] = 163] = "A3";
})(TagType = exports.TagType || (exports.TagType = {}));

@@ -29,0 +32,0 @@ function readTag(buf, pos) {

@@ -151,3 +151,3 @@ "use strict";

: null,
keyIdentifier: keyIdentifier_block ? asn1_1.formatBuffer2DigitHexWithColum(asn1_1._getBlock(buffer, keyIdentifier_block)) : null,
keyIdentifier: keyIdentifier_block ? asn1_1.formatBuffer2DigitHexWithColum(asn1_1._getBlock(buffer, keyIdentifier_block)) : null, // can be null for self-signed certf
};

@@ -457,2 +457,4 @@ }

subjectPublicKey: _readSubjectPublicKey(subjectPublicKey.data),
//xx values: values,
//xx values_length : values.map(function (a){ return a.length; })
};

@@ -459,0 +461,0 @@ }

export * from "./dist/source";
export * from "./dist/source_nodejs";
{
"name": "node-opcua-crypto",
"version": "1.7.1",
"version": "1.8.0",
"description": "Crypto tools for Node-OPCUA",

@@ -31,26 +31,26 @@ "main": "./index.js",

"devDependencies": {
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.22",
"@types/mocha": "^8.2.2",
"@types/node": "^15.6.1",
"@types/should": "^13.0.0",
"@typescript-eslint/eslint-plugin": "^4.14.0",
"@typescript-eslint/parser": "^4.14.0",
"eslint": "^7.18.0",
"eslint-config-prettier": "^7.2.0",
"eslint-plugin-prettier": "^3.3.1",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^3.4.0",
"lorem-ipsum": "^2.0.3",
"mocha": "^8.2.1",
"prettier": "^2.2.1",
"mocha": "^8.4.0",
"prettier": "^2.3.0",
"should": "^13.2.3",
"source-map": "^0.7.3",
"source-map-support": "^0.5.19",
"ts-node": "^9.1.1",
"ts-node": "^10.0.0",
"tslint": "^6.1.3",
"tslint-config-prettier": "^1.18.0",
"typescript": "^4.1.3"
"typescript": "^4.3.2"
},
"dependencies": {
"better-assert": "^1.0.2",
"chalk": "^4.1.0",
"chalk": "^4.1.1",
"hexy": "^0.3.1",
"jsrsasign": "^10.1.5",
"jsrsasign": "^10.2.0",
"sshpk": "^1.16.1"

@@ -57,0 +57,0 @@ },

@@ -0,0 +0,0 @@ import * as fs from "fs";

@@ -0,0 +0,0 @@ import * as assert from "assert";

@@ -24,2 +24,7 @@ import * as assert from "assert";

BMPString = 0x1e,
SEQUENCE = 0x30,
SET= 0x31,
A3= 0xA3
}

@@ -26,0 +31,0 @@

@@ -0,0 +0,0 @@ //

@@ -0,0 +0,0 @@ export type Nonce = Buffer;

@@ -509,3 +509,2 @@ /**

assert(block.tag === 0xa3);
let inner_blocks = _readStruct(buffer, block);

@@ -512,0 +511,0 @@ inner_blocks = _readStruct(buffer, inner_blocks[0]);

@@ -0,0 +0,0 @@ /**

@@ -0,0 +0,0 @@ // https://github.com/lapo-luchini/asn1js/blob/master/oids.js

@@ -0,0 +0,0 @@ // tslint:disable: no-console

@@ -0,0 +0,0 @@ // tslint:disable: no-console

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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