Socket
Socket
Sign inDemoInstall

@lucidtech/las-sdk-core

Package Overview
Dependencies
7
Maintainers
2
Versions
113
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 12.0.1-rc.3 to 12.0.1-rc.4

9

lib/utils.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.arrayBufferToBase64 = exports.wait = exports.buildURL = void 0;
const js_base64_1 = require("js-base64");
function buildURL(url, params) {

@@ -40,10 +41,6 @@ if (!params || Object.keys(params).length === 0) {

function arrayBufferToBase64(buffer) {
let binary = '';
const bytes = new Uint8Array(buffer);
const len = bytes.byteLength;
for (let i = 0; i < len; i++) {
binary += String.fromCharCode(bytes[i]);
}
return btoa(binary);
const contentAsB64 = js_base64_1.Base64.fromUint8Array(bytes);
return contentAsB64;
}
exports.arrayBufferToBase64 = arrayBufferToBase64;
{
"name": "@lucidtech/las-sdk-core",
"version": "12.0.1-rc.3",
"version": "12.0.1-rc.4",
"author": "Lucidtech AS <hello@lucidtech.ai>",

@@ -19,2 +19,3 @@ "maintainers": [

"buffer": "^6.0.3",
"js-base64": "^3.7.5",
"node-abort-controller": "^3.0.1"

@@ -21,0 +22,0 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc