Socket
Socket
Sign inDemoInstall

@psdk/frame

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@psdk/frame - npm Package Compare versions

Comparing version 0.0.14-snapshot to 0.0.15-snapshot

9

build/father/types/hex_output.js
"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

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