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

@arms/rum-core

Package Overview
Dependencies
Maintainers
5
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arms/rum-core - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

2

lib/utils/trace.d.ts

@@ -16,3 +16,3 @@ import { MatchOption } from "./match";

export declare function generateTraceId(): string;
export declare function generateSpanId(): string;
export declare function generateSpanId(): any;
export interface ITracingHeaders {

@@ -19,0 +19,0 @@ [key: string]: string;

@@ -31,3 +31,11 @@ "use strict";

function generateSpanId() {
return (0, _base.generateUUID)(8);
var list = new Array(16);
for (var i = 0; i < 16; i++) {
list[i] = Math.floor(Math.random() * 16) + 48;
// valid hex characters in the range 48-57 and 97-102
if (list[i] >= 58) {
list[i] += 39;
}
}
return String.fromCharCode.apply(null, list.slice(0, 16));
}

@@ -34,0 +42,0 @@ //skywalking TraceId https://github.com/apache/skywalking-client-js

{
"name": "@arms/rum-core",
"version": "0.0.19",
"version": "0.0.20",
"description": "arms rum javascript sdk core",

@@ -5,0 +5,0 @@ "author": "guangli.fj <guangli.fj@alibaba-inc.com>",

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