New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fluidframework/telemetry-utils

Package Overview
Dependencies
Maintainers
0
Versions
589
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluidframework/telemetry-utils - npm Package Compare versions

Comparing version 2.12.0 to 2.13.0

4

CHANGELOG.md
# @fluidframework/telemetry-utils
## 2.13.0
Dependency updates only.
## 2.12.0

@@ -4,0 +8,0 @@

4

dist/errorLogging.js

@@ -64,5 +64,5 @@ "use strict";

function copyProps(target, source) {
for (const key of Object.keys(source)) {
for (const [key, value] of Object.entries(source)) {
if (target[key] === undefined) {
target[key] = source[key];
target[key] = value;
}

@@ -69,0 +69,0 @@ }

@@ -184,7 +184,6 @@ "use strict";

if (props !== undefined) {
for (const key of Object.keys(props)) {
for (const [key, getterOrValue] of Object.entries(props)) {
if (eventLike[key] !== undefined) {
continue;
}
const getterOrValue = props[key];
// If this throws, hopefully it is handled elsewhere

@@ -226,4 +225,3 @@ const value = typeof getterOrValue === "function" ? getterOrValue() : getterOrValue;

};
for (const key of Object.keys(eventWithTagsMaybe)) {
const taggableProp = eventWithTagsMaybe[key];
for (const [key, taggableProp] of Object.entries(eventWithTagsMaybe)) {
const { value, tag } = typeof taggableProp === "object"

@@ -666,3 +664,2 @@ ? taggableProp

if (typeof value === "function") {
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
pv[key] = () => {

@@ -669,0 +666,0 @@ return { tag, value: value() };

@@ -59,5 +59,5 @@ /*!

function copyProps(target, source) {
for (const key of Object.keys(source)) {
for (const [key, value] of Object.entries(source)) {
if (target[key] === undefined) {
target[key] = source[key];
target[key] = value;
}

@@ -64,0 +64,0 @@ }

@@ -179,7 +179,6 @@ /*!

if (props !== undefined) {
for (const key of Object.keys(props)) {
for (const [key, getterOrValue] of Object.entries(props)) {
if (eventLike[key] !== undefined) {
continue;
}
const getterOrValue = props[key];
// If this throws, hopefully it is handled elsewhere

@@ -220,4 +219,3 @@ const value = typeof getterOrValue === "function" ? getterOrValue() : getterOrValue;

};
for (const key of Object.keys(eventWithTagsMaybe)) {
const taggableProp = eventWithTagsMaybe[key];
for (const [key, taggableProp] of Object.entries(eventWithTagsMaybe)) {
const { value, tag } = typeof taggableProp === "object"

@@ -653,3 +651,2 @@ ? taggableProp

if (typeof value === "function") {
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
pv[key] = () => {

@@ -656,0 +653,0 @@ return { tag, value: value() };

{
"name": "@fluidframework/telemetry-utils",
"version": "2.12.0",
"version": "2.13.0",
"description": "Collection of telemetry relates utilities for Fluid",

@@ -72,6 +72,6 @@ "homepage": "https://fluidframework.com",

"dependencies": {
"@fluid-internal/client-utils": "~2.12.0",
"@fluidframework/core-interfaces": "~2.12.0",
"@fluidframework/core-utils": "~2.12.0",
"@fluidframework/driver-definitions": "~2.12.0",
"@fluid-internal/client-utils": "~2.13.0",
"@fluidframework/core-interfaces": "~2.13.0",
"@fluidframework/core-utils": "~2.13.0",
"@fluidframework/driver-definitions": "~2.13.0",
"debug": "^4.3.4",

@@ -83,3 +83,3 @@ "uuid": "^9.0.0"

"@biomejs/biome": "~1.9.3",
"@fluid-internal/mocha-test-setup": "~2.12.0",
"@fluid-internal/mocha-test-setup": "~2.13.0",
"@fluid-tools/build-cli": "^0.51.0",

@@ -89,6 +89,6 @@ "@fluidframework/build-common": "^2.0.3",

"@fluidframework/eslint-config-fluid": "^5.6.0",
"@fluidframework/telemetry-utils-previous": "npm:@fluidframework/telemetry-utils@2.11.0",
"@fluidframework/telemetry-utils-previous": "npm:@fluidframework/telemetry-utils@2.12.0",
"@microsoft/api-extractor": "7.47.8",
"@types/debug": "^4.1.5",
"@types/mocha": "^9.1.1",
"@types/mocha": "^10.0.10",
"@types/node": "^18.19.0",

@@ -95,0 +95,0 @@ "@types/sinon": "^17.0.3",

@@ -90,5 +90,5 @@ /*!

): void {
for (const key of Object.keys(source)) {
for (const [key, value] of Object.entries(source)) {
if (target[key] === undefined) {
target[key] = source[key];
target[key] = value;
}

@@ -95,0 +95,0 @@ }

@@ -292,7 +292,6 @@ /*!

if (props !== undefined) {
for (const key of Object.keys(props)) {
for (const [key, getterOrValue] of Object.entries(props)) {
if (eventLike[key] !== undefined) {
continue;
}
const getterOrValue = props[key];
// If this throws, hopefully it is handled elsewhere

@@ -330,4 +329,3 @@ const value =

};
for (const key of Object.keys(eventWithTagsMaybe)) {
const taggableProp = eventWithTagsMaybe[key];
for (const [key, taggableProp] of Object.entries(eventWithTagsMaybe)) {
const { value, tag } =

@@ -949,3 +947,2 @@ typeof taggableProp === "object"

if (typeof value === "function") {
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
pv[key] = () => {

@@ -952,0 +949,0 @@ return { tag, value: value() };

@@ -10,2 +10,3 @@ /*!

LogLevel,
type Tagged,
} from "@fluidframework/core-interfaces";

@@ -19,2 +20,3 @@ import { assert } from "@fluidframework/core-utils/internal";

ITelemetryPropertiesExt,
TelemetryEventPropertyTypeExt,
} from "./telemetryTypes.js";

@@ -339,3 +341,6 @@

for (const [expectedKey, expectedValue] of Object.entries(expected)) {
const actualValue = actual[expectedKey];
const actualValue:
| TelemetryEventPropertyTypeExt
| Tagged<TelemetryEventPropertyTypeExt>
| undefined = actual[expectedKey];
if (

@@ -342,0 +347,0 @@ !Array.isArray(expectedValue) &&

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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