Socket
Socket
Sign inDemoInstall

@trivikr-test/util-hex-encoding

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trivikr-test/util-hex-encoding - npm Package Compare versions

Comparing version 3.55.0 to 3.58.0

2

dist-cjs/index.js

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

for (let i = 0; i < encoded.length; i += 2) {
const encodedByte = encoded.substr(i, 2).toLowerCase();
const encodedByte = encoded.slice(i, i + 2).toLowerCase();
if (encodedByte in HEX_TO_SHORT) {

@@ -23,0 +23,0 @@ out[i / 2] = HEX_TO_SHORT[encodedByte];

@@ -17,3 +17,3 @@ var SHORT_TO_HEX = {};

for (var i = 0; i < encoded.length; i += 2) {
var encodedByte = encoded.substr(i, 2).toLowerCase();
var encodedByte = encoded.slice(i, i + 2).toLowerCase();
if (encodedByte in HEX_TO_SHORT) {

@@ -20,0 +20,0 @@ out[i / 2] = HEX_TO_SHORT[encodedByte];

{
"name": "@trivikr-test/util-hex-encoding",
"version": "3.55.0",
"version": "3.58.0",
"description": "Converts binary buffers to and from lowercase hexadecimal encoding",

@@ -5,0 +5,0 @@ "scripts": {

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