Socket
Socket
Sign inDemoInstall

@microsoft/sp-diagnostics

Package Overview
Dependencies
45
Maintainers
2
Versions
77
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.18.0 to 1.18.1-beta.0

dist/sp-diagnostics_none_1e37c02b96d3971ec96b.js

11

dist/78359e4b-07c2-43c6-8d0b-d060b4d577e8.manifest.json

@@ -6,3 +6,3 @@ {

"componentType": "Library",
"version": "1.18.0",
"version": "1.18.1",
"loaderConfig": {

@@ -16,3 +16,6 @@ "internalModuleBaseUrls": [

"type": "path",
"path": "sp-diagnostics_none_9cf11f5cc818ebac1a6e.js"
"path": {
"path": "sp-diagnostics_none_1e37c02b96d3971ec96b.js",
"integrity": "sha256-Ju0G0W20dDnFF13n/Wae5X3/YPM2tkr9/wjM2QcVc6k="
}
},

@@ -27,3 +30,3 @@ "tslib": {

"id": "73e1dc6c-8441-42cc-ad47-4bd3659f8a3a",
"version": "1.18.0"
"version": "1.18.1"
},

@@ -33,3 +36,3 @@ "@microsoft/sp-core-library": {

"id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
"version": "1.18.0"
"version": "1.18.1"
}

@@ -36,0 +39,0 @@ }

@@ -8,5 +8,5 @@ // This file is read by tools that parse documentation comments conforming to the TSDoc standard.

"packageName": "@microsoft/api-extractor",
"packageVersion": "7.36.3"
"packageVersion": "7.37.2"
}
]
}

@@ -17,2 +17,4 @@ "use strict";

var QOS_MONISTOR_HAS_ENDED_ERROR_STRING = "QoS monitor '{0}' has ended with '{1}' already. Ignoring '{2}' tag.";
var AUTHORING_SESSION_ID_KEY = 'AuthoringSessionId';
var AUTHORING_OP_SEQUENCE_ID_KEY = 'AuthoringOpSequenceId';
/**

@@ -36,2 +38,3 @@ * Qos logger

if (copyToInterana === void 0) { copyToInterana = false; }
var _this = this;
this._qosResultTypeValue = (_a = {},

@@ -42,2 +45,14 @@ _a[QosResultType_1.QosResultType.Success] = 'Success',

_a);
this._ensureAuthoringSessionId = function () {
var _a, _b, _c, _d;
var authoringSessionId = (_b = (_a = DiagnosticsSettingsManager_1.default.settings) === null || _a === void 0 ? void 0 : _a.extraDiagnosticInfo) === null || _b === void 0 ? void 0 : _b.authoringSessionId;
if (authoringSessionId) {
_this._ensureEndExtraData();
_this._endExtraData[AUTHORING_SESSION_ID_KEY] = authoringSessionId;
var authoringOpSequenceId = (_d = (_c = DiagnosticsSettingsManager_1.default.settings) === null || _c === void 0 ? void 0 : _c.extraDiagnosticInfo) === null || _d === void 0 ? void 0 : _d.authoringOpSequenceId;
if (authoringOpSequenceId) {
_this._endExtraData[AUTHORING_OP_SEQUENCE_ID_KEY] = authoringOpSequenceId;
}
}
};
sp_core_library_2.Validate.isNonemptyString(scenarioName, 'scenarioName');

@@ -180,2 +195,3 @@ this._id = sp_core_library_2.Guid.newGuid().toString();

this._logHostType();
this._ensureAuthoringSessionId();
};

@@ -182,0 +198,0 @@ QosMonitor.prototype._ensureEndExtraData = function () {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isRespectDisplayAppKSActivated = exports.isLogTeamsAppTypeKSActivated = exports.isLogVivaConnectionMobileAsAppHostTypeKSActivated = void 0;
exports.isAddingDebugFlagToEngagementExtraDataKSActive = exports.isLogTeamsAppTypeKSActivated = exports.isLogVivaConnectionMobileAsAppHostTypeKSActivated = void 0;
var sp_core_library_1 = require("@microsoft/sp-core-library");

@@ -17,9 +17,8 @@ function isLogVivaConnectionMobileAsAppHostTypeKSActivated() {

exports.isLogTeamsAppTypeKSActivated = isLogTeamsAppTypeKSActivated;
// cross-project KS
function isRespectDisplayAppKSActivated() {
return sp_core_library_1._SPKillSwitch.isActivated('94d8aaa5-0ee4-48a7-a8f5-e03371f4d285'
/* '2022-08-23', 'antonla - Do NOT override displayApp if already set' */
function isAddingDebugFlagToEngagementExtraDataKSActive() {
return sp_core_library_1._SPKillSwitch.isActivated('76672562-f587-4362-a7ad-a1b397102c9a'
/* '08/23/2023', 'Log isDebug in EngagementLogger extra data' */
);
}
exports.isRespectDisplayAppKSActivated = isRespectDisplayAppKSActivated;
exports.isAddingDebugFlagToEngagementExtraDataKSActive = isAddingDebugFlagToEngagementExtraDataKSActive;
//# sourceMappingURL=Killswitches.js.map

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

}
if ((0, Killswitches_1.isRespectDisplayAppKSActivated)() || !extraData.displayApp) {
if (!extraData.displayApp) {
if (sp_core_library_1._BrowserUtilities.isTeamsHosted()) {

@@ -62,4 +62,7 @@ extraData.displayApp = DisplayApp_1.DisplayApp.Teams;

extraData.pageType = pageType;
if (!(0, Killswitches_1.isAddingDebugFlagToEngagementExtraDataKSActive)()) {
extraData.isDebug = !!sp_core_library_1._BrowserUtilities.safelyAccessSessionStorage('spfx-debug');
}
}
exports.setPageExtraData = setPageExtraData;
//# sourceMappingURL=setPageExtraData.js.map
{
"name": "@microsoft/sp-diagnostics",
"version": "1.18.0",
"version": "1.18.1-beta.0",
"description": "Diagnostics tools for the SharePoint Framework",

@@ -11,3 +11,3 @@ "license": "https://aka.ms/spfx/license",

"devDependencies": {
"@rushstack/heft": "0.58.1",
"@rushstack/heft": "0.62.1",
"tslib": "2.3.1",

@@ -18,7 +18,7 @@ "eslint": "8.7.0",

"dependencies": {
"@microsoft/sp-core-library": "1.18.0",
"@microsoft/sp-lodash-subset": "1.18.0"
"@microsoft/sp-core-library": "1.18.1-beta.0",
"@microsoft/sp-lodash-subset": "1.18.1-beta.0"
},
"engines": {
"node": ">=16.13.0 <17.0.0 || >=18.17.1 <19.0.0"
"node": ">=18.17.1 <19.0.0"
},

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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc