Socket
Socket
Sign inDemoInstall

@microsoft/sp-diagnostics

Package Overview
Dependencies
44
Maintainers
2
Versions
77
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.18.2 to 1.19.0-beta.0

dist/sp-diagnostics_none_aed64128d853ed8c6736.js

20

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

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

"componentType": "Library",
"version": "1.18.2",
"version": "1.19.0",
"loaderConfig": {

@@ -17,10 +17,10 @@ "internalModuleBaseUrls": [

"path": {
"path": "sp-diagnostics_none_a5623a9476c7de2f0f04.js",
"integrity": "sha256-Vw+XYhTGxsl4n5tZBP3cQ9NHWpcyD27mGYBdbPTBqVw="
"path": "sp-diagnostics_none_aed64128d853ed8c6736.js",
"integrity": "sha256-fNfhq8pf/GpKn8swQovPPdYPyRc+NHjNC1LUIOALNO8="
}
},
"tslib": {
"@microsoft/sp-core-library": {
"type": "component",
"id": "01c4df03-e775-48cb-aa14-171ee5199a15",
"version": "2.3.1"
"id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
"version": "1.19.0"
},

@@ -30,8 +30,8 @@ "@microsoft/sp-lodash-subset": {

"id": "73e1dc6c-8441-42cc-ad47-4bd3659f8a3a",
"version": "1.18.2"
"version": "1.19.0"
},
"@microsoft/sp-core-library": {
"tslib": {
"type": "component",
"id": "7263c7d0-1d6a-45ec-8d85-d4d1d234171b",
"version": "1.18.2"
"id": "01c4df03-e775-48cb-aa14-171ee5199a15",
"version": "2.3.1"
}

@@ -38,0 +38,0 @@ }

@@ -8,2 +8,3 @@ /**

import type { ILogHandler } from '@microsoft/sp-core-library';
import { ServiceKey } from '@microsoft/sp-core-library';

@@ -10,0 +11,0 @@ import type { ServiceScope } from '@microsoft/sp-core-library';

@@ -8,2 +8,3 @@ /**

import type { ILogHandler } from '@microsoft/sp-core-library';
import { ServiceKey } from '@microsoft/sp-core-library';

@@ -10,0 +11,0 @@ import type { ServiceScope } from '@microsoft/sp-core-library';

@@ -8,2 +8,3 @@ /**

import type { ILogHandler } from '@microsoft/sp-core-library';
import { ServiceKey } from '@microsoft/sp-core-library';

@@ -10,0 +11,0 @@ import type { ServiceScope } from '@microsoft/sp-core-library';

@@ -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.37.2"
"packageVersion": "7.42.3"
}
]
}

@@ -5,2 +5,3 @@ "use strict";

var tslib_1 = require("tslib");
var Killswitches_1 = require("../../common/Killswitches");
var QosMonitor_1 = tslib_1.__importDefault(require("./QosMonitor"));

@@ -54,6 +55,9 @@ var QosResultType_1 = require("./QosResultType");

// eslint-disable-next-line @typescript-eslint/no-explicit-any
extraData) {
extraData, skipLoggingCustomerPromiseFailure) {
if (tagNameSuffix === void 0) { tagNameSuffix = 'DefaultExpected'; }
if (skipLoggingCustomerPromiseFailure === void 0) { skipLoggingCustomerPromiseFailure = false; }
_super.prototype.writeExpectedFailure.call(this, tagNameSuffix, ex, extraData);
this._logCustomerPromiseFailure((ex === null || ex === void 0 ? void 0 : ex.message) || 'DefaultErrorMessage', tagNameSuffix, QosResultType_1.QosResultType.ExpectedFailure, extraData);
if ((0, Killswitches_1.isAllowSkippingCPErrorKSActive)() || !skipLoggingCustomerPromiseFailure) {
this._logCustomerPromiseFailure((ex === null || ex === void 0 ? void 0 : ex.message) || 'DefaultErrorMessage', tagNameSuffix, QosResultType_1.QosResultType.ExpectedFailure, extraData);
}
};

@@ -60,0 +64,0 @@ /**

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

@@ -23,2 +23,9 @@ function isLogVivaConnectionMobileAsAppHostTypeKSActivated() {

exports.isAddingDebugFlagToEngagementExtraDataKSActive = isAddingDebugFlagToEngagementExtraDataKSActive;
// cross-projects
function isAllowSkippingCPErrorKSActive() {
return sp_core_library_1._SPKillSwitch.isActivated('874c8d5e-155b-4d4a-a163-f4a4402438ce'
/* '02/29/2024', 'liaye - Allow skipping CP error when writing expected error' */
);
}
exports.isAllowSkippingCPErrorKSActive = isAllowSkippingCPErrorKSActive;
//# sourceMappingURL=Killswitches.js.map

@@ -48,2 +48,5 @@ "use strict";

}
else if (webTemplate === WebTemplateId_1.WebTemplateId.MySite) {
siteType = 'MySite';
}
var promotedState = contextInfo.promotedState;

@@ -50,0 +53,0 @@ var pageLayoutType = contextInfo.pageType;

@@ -9,2 +9,3 @@ "use strict";

WebTemplateId["TeamSite"] = "1";
WebTemplateId["MySite"] = "21";
WebTemplateId["GroupSite"] = "64";

@@ -11,0 +12,0 @@ WebTemplateId["SitePagePublishing"] = "68";

{
"name": "@microsoft/sp-diagnostics",
"version": "1.18.2",
"version": "1.19.0-beta.0",
"description": "Diagnostics tools for the SharePoint Framework",

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

"devDependencies": {
"@rushstack/heft": "0.62.1",
"@rushstack/heft": "0.66.0",
"eslint": "8.7.0",
"tslib": "2.3.1",
"eslint": "8.7.0",
"@ms/spfx-internal-web-build-rig": "0.1.0"
},
"dependencies": {
"@microsoft/sp-core-library": "1.18.2",
"@microsoft/sp-lodash-subset": "1.18.2"
"@microsoft/sp-core-library": "1.19.0-beta.0",
"@microsoft/sp-lodash-subset": "1.19.0-beta.0"
},

@@ -21,0 +21,0 @@ "engines": {

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