@psdk/frame
Advanced tools
Comparing version 0.0.14-snapshot to 0.0.15-snapshot
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.HexOutput = void 0; | ||
const to_hex_1 = __importDefault(require("to-hex")); | ||
const DEF_MAX_LENGTH_OF_LINE = 32; | ||
@@ -48,3 +44,6 @@ /** | ||
format(binary) { | ||
const hex = (0, to_hex_1.default)(binary); | ||
// const hex = toHex(binary); | ||
const hex = Array.from(binary, function (byte) { | ||
return ('0' + (byte & 0xFF).toString(16)).slice(-2); | ||
}).join(''); | ||
if (!this.enableFormat) { | ||
@@ -51,0 +50,0 @@ return hex; |
{ | ||
"name": "@psdk/frame", | ||
"version": "0.0.14-snapshot", | ||
"version": "0.0.15-snapshot", | ||
"description": "psdk", | ||
@@ -50,4 +50,3 @@ "main": "build/index.js", | ||
"js-base64": "^3.7.2", | ||
"streamjs": "^1.6.4", | ||
"to-hex": "0.0.18" | ||
"streamjs": "^1.6.4" | ||
}, | ||
@@ -54,0 +53,0 @@ "files": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5
499227
1
80
2090
- Removedto-hex@0.0.18
- Removedbignumber.js@9.0.0(transitive)
- Removedbn.js@4.12.0(transitive)
- Removednormalize-hex@0.0.2(transitive)
- Removedto-hex@0.0.18(transitive)