@microsoft/applicationinsights-debugplugin-js 3.3.2 → 3.3.3-nightly3.2409-01
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/browser/es5/{ai.dbg.3.3.2.cjs.js → ai.dbg.3.3.3-nightly3.2409-01.cjs.js} +3 -3
- package/browser/es5/ai.dbg.3.3.3-nightly3.2409-01.cjs.js.map +1 -0
- package/browser/es5/ai.dbg.3.3.3-nightly3.2409-01.cjs.min.js +6 -0
- package/browser/es5/ai.dbg.3.3.3-nightly3.2409-01.cjs.min.js.map +1 -0
- package/browser/es5/{ai.dbg.3.3.2.gbl.js → ai.dbg.3.3.3-nightly3.2409-01.gbl.js} +5 -5
- package/browser/es5/ai.dbg.3.3.3-nightly3.2409-01.gbl.js.map +1 -0
- package/browser/es5/ai.dbg.3.3.3-nightly3.2409-01.gbl.min.js +6 -0
- package/browser/es5/ai.dbg.3.3.3-nightly3.2409-01.gbl.min.js.map +1 -0
- package/browser/es5/ai.dbg.3.3.3-nightly3.2409-01.integrity.json +66 -0
- package/browser/es5/{ai.dbg.3.3.2.js → ai.dbg.3.3.3-nightly3.2409-01.js} +5 -5
- package/browser/es5/ai.dbg.3.3.3-nightly3.2409-01.js.map +1 -0
- package/browser/es5/ai.dbg.3.3.3-nightly3.2409-01.min.js +6 -0
- package/browser/es5/ai.dbg.3.3.3-nightly3.2409-01.min.js.map +1 -0
- package/browser/es5/ai.dbg.3.cjs.js +2 -2
- package/browser/es5/ai.dbg.3.cjs.js.map +1 -1
- package/browser/es5/ai.dbg.3.cjs.min.js +2 -2
- package/browser/es5/ai.dbg.3.cjs.min.js.map +1 -1
- package/browser/es5/ai.dbg.3.gbl.js +4 -4
- package/browser/es5/ai.dbg.3.gbl.js.map +1 -1
- package/browser/es5/ai.dbg.3.gbl.min.js +2 -2
- package/browser/es5/ai.dbg.3.gbl.min.js.map +1 -1
- package/browser/es5/ai.dbg.3.integrity.json +25 -25
- package/browser/es5/ai.dbg.3.js +4 -4
- package/browser/es5/ai.dbg.3.js.map +1 -1
- package/browser/es5/ai.dbg.3.min.js +2 -2
- package/browser/es5/ai.dbg.3.min.js.map +1 -1
- package/dist/es5/applicationinsights-debugplugin-js.js +2 -2
- package/dist/es5/applicationinsights-debugplugin-js.js.map +1 -1
- package/dist/es5/applicationinsights-debugplugin-js.min.js +2 -2
- package/dist/es5/applicationinsights-debugplugin-js.min.js.map +1 -1
- package/dist-es5/DebugPlugin.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-debugplugin-js.js +1 -1
- package/dist-es5/components/Dashboard.js +1 -1
- package/dist-es5/components/LogEntry.js +1 -1
- package/dist-es5/components/debugBins.js +1 -1
- package/dist-es5/components/filterList.js +1 -1
- package/dist-es5/components/helpers.js +1 -1
- package/dist-es5/components/styleNodeSrc.js +1 -1
- package/dist-es5/interfaces/IDebugPluginConfig.js +1 -1
- package/package.json +64 -61
- package/types/applicationinsights-debugplugin-js.d.ts +1 -1
- package/types/applicationinsights-debugplugin-js.namespaced.d.ts +29 -3
- package/browser/es5/ai.dbg.3.3.2.cjs.js.map +0 -1
- package/browser/es5/ai.dbg.3.3.2.cjs.min.js +0 -6
- package/browser/es5/ai.dbg.3.3.2.cjs.min.js.map +0 -1
- package/browser/es5/ai.dbg.3.3.2.gbl.js.map +0 -1
- package/browser/es5/ai.dbg.3.3.2.gbl.min.js +0 -6
- package/browser/es5/ai.dbg.3.3.2.gbl.min.js.map +0 -1
- package/browser/es5/ai.dbg.3.3.2.integrity.json +0 -66
- package/browser/es5/ai.dbg.3.3.2.js.map +0 -1
- package/browser/es5/ai.dbg.3.3.2.min.js +0 -6
- package/browser/es5/ai.dbg.3.3.2.min.js.map +0 -1
package/dist-es5/DebugPlugin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Debug Plugin, 3.3.
|
|
2
|
+
* Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2409-01
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
import dynamicProto from "@microsoft/dynamicproto-js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Debug Plugin, 3.3.
|
|
2
|
+
* Application Insights JavaScript SDK - Debug Plugin, 3.3.3-nightly3.2409-01
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
import { isArray, isBoolean, isError, isNumber, isObject, isString, objToString } from "@microsoft/applicationinsights-core-js";
|
package/package.json
CHANGED
|
@@ -1,61 +1,64 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@microsoft/applicationinsights-debugplugin-js",
|
|
3
|
-
"version": "3.3.
|
|
4
|
-
"description": "Microsoft Application Insights JavaScript SDK - Debug Plugin extension",
|
|
5
|
-
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
|
-
"author": "Microsoft Application Insights Team",
|
|
7
|
-
"main": "dist/es5/applicationinsights-debugplugin-js.js",
|
|
8
|
-
"module": "dist-es5/applicationinsights-debugplugin-js.js",
|
|
9
|
-
"types": "types/applicationinsights-debugplugin-js.d.ts",
|
|
10
|
-
"sideEffects": false,
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/extensions/applicationinsights-debugplugin-js"
|
|
14
|
-
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"clean": "git clean -xdf",
|
|
17
|
-
"build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
|
|
18
|
-
"build:esm": "grunt debugplugin",
|
|
19
|
-
"build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
20
|
-
"rebuild": "npm run build",
|
|
21
|
-
"test": "",
|
|
22
|
-
"lint": "tslint -p tsconfig.json",
|
|
23
|
-
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js 'Microsoft.ApplicationInsights'",
|
|
24
|
-
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
|
|
25
|
-
"ai-min": "grunt debugplugin-min",
|
|
26
|
-
"ai-restore": "grunt debugplugin-restore",
|
|
27
|
-
"npm-pack": "npm pack",
|
|
28
|
-
"api-docs": "typedoc"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
32
|
-
"@microsoft/applicationinsights-rollup-es5": "1.0.2",
|
|
33
|
-
"@microsoft/api-extractor": "^7.40.0",
|
|
34
|
-
"typescript": "^4.9.3",
|
|
35
|
-
"tslib": "^2.0.0",
|
|
36
|
-
"grunt": "^1.5.3",
|
|
37
|
-
"grunt-cli": "^1.4.3",
|
|
38
|
-
"grunt-contrib-qunit": "^6.2.1",
|
|
39
|
-
"@nevware21/grunt-ts-plugin": "^0.4.3",
|
|
40
|
-
"@nevware21/grunt-eslint-ts": "^0.2.2",
|
|
41
|
-
"globby": "^11.0.0",
|
|
42
|
-
"magic-string": "^0.25.7",
|
|
43
|
-
"@rollup/plugin-commonjs": "^24.0.0",
|
|
44
|
-
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
45
|
-
"@rollup/plugin-replace": "^5.0.2",
|
|
46
|
-
"rollup-plugin-cleanup": "^3.2.1",
|
|
47
|
-
"typedoc": "^0.26.6",
|
|
48
|
-
"rollup": "^3.20.0"
|
|
49
|
-
},
|
|
50
|
-
"peerDependencies": {
|
|
51
|
-
"tslib": ">= 1.0.0"
|
|
52
|
-
},
|
|
53
|
-
"dependencies": {
|
|
54
|
-
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
55
|
-
"@microsoft/applicationinsights-common": "3.3.
|
|
56
|
-
"@microsoft/applicationinsights-core-js": "3.3.
|
|
57
|
-
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
58
|
-
"@nevware21/ts-utils": ">= 0.11.3 < 2.x"
|
|
59
|
-
},
|
|
60
|
-
"license": "MIT"
|
|
61
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@microsoft/applicationinsights-debugplugin-js",
|
|
3
|
+
"version": "3.3.3-nightly3.2409-01",
|
|
4
|
+
"description": "Microsoft Application Insights JavaScript SDK - Debug Plugin extension",
|
|
5
|
+
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
|
+
"author": "Microsoft Application Insights Team",
|
|
7
|
+
"main": "dist/es5/applicationinsights-debugplugin-js.js",
|
|
8
|
+
"module": "dist-es5/applicationinsights-debugplugin-js.js",
|
|
9
|
+
"types": "types/applicationinsights-debugplugin-js.d.ts",
|
|
10
|
+
"sideEffects": false,
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/extensions/applicationinsights-debugplugin-js"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"clean": "git clean -xdf",
|
|
17
|
+
"build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
|
|
18
|
+
"build:esm": "grunt debugplugin",
|
|
19
|
+
"build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
20
|
+
"rebuild": "npm run build",
|
|
21
|
+
"test": "",
|
|
22
|
+
"lint": "tslint -p tsconfig.json",
|
|
23
|
+
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js 'Microsoft.ApplicationInsights'",
|
|
24
|
+
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
|
|
25
|
+
"ai-min": "grunt debugplugin-min",
|
|
26
|
+
"ai-restore": "grunt debugplugin-restore",
|
|
27
|
+
"npm-pack": "npm pack",
|
|
28
|
+
"api-docs": "typedoc"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
32
|
+
"@microsoft/applicationinsights-rollup-es5": "1.0.2",
|
|
33
|
+
"@microsoft/api-extractor": "^7.40.0",
|
|
34
|
+
"typescript": "^4.9.3",
|
|
35
|
+
"tslib": "^2.0.0",
|
|
36
|
+
"grunt": "^1.5.3",
|
|
37
|
+
"grunt-cli": "^1.4.3",
|
|
38
|
+
"grunt-contrib-qunit": "^6.2.1",
|
|
39
|
+
"@nevware21/grunt-ts-plugin": "^0.4.3",
|
|
40
|
+
"@nevware21/grunt-eslint-ts": "^0.2.2",
|
|
41
|
+
"globby": "^11.0.0",
|
|
42
|
+
"magic-string": "^0.25.7",
|
|
43
|
+
"@rollup/plugin-commonjs": "^24.0.0",
|
|
44
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
45
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
46
|
+
"rollup-plugin-cleanup": "^3.2.1",
|
|
47
|
+
"typedoc": "^0.26.6",
|
|
48
|
+
"rollup": "^3.20.0"
|
|
49
|
+
},
|
|
50
|
+
"peerDependencies": {
|
|
51
|
+
"tslib": ">= 1.0.0"
|
|
52
|
+
},
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
55
|
+
"@microsoft/applicationinsights-common": "3.3.3-nightly3.2409-01",
|
|
56
|
+
"@microsoft/applicationinsights-core-js": "3.3.3-nightly3.2409-01",
|
|
57
|
+
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
58
|
+
"@nevware21/ts-utils": ">= 0.11.3 < 2.x"
|
|
59
|
+
},
|
|
60
|
+
"license": "MIT",
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"tag": "nightly3"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft.ApplicationInsights, 3.3.
|
|
2
|
+
* Microsoft.ApplicationInsights, 3.3.3-nightly3.2409-01
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -1037,10 +1037,31 @@ declare namespace ApplicationInsights {
|
|
|
1037
1037
|
setTraceFlags(newValue?: number): void;
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
|
+
/**
|
|
1041
|
+
* Configuration for extra exceptions information sent with the exception telemetry.
|
|
1042
|
+
* @example
|
|
1043
|
+
* ```js
|
|
1044
|
+
* const appInsights = new ApplicationInsights({
|
|
1045
|
+
config: {
|
|
1046
|
+
connectionString: 'InstrumentationKey=YOUR_INSTRUMENTATION_KEY_GOES_HERE',
|
|
1047
|
+
expCfg: {
|
|
1048
|
+
inclScripts: true,
|
|
1049
|
+
expLog : () => {
|
|
1050
|
+
return {logs: ["log info 1", "log info 2"]};
|
|
1051
|
+
},
|
|
1052
|
+
maxLogs : 100
|
|
1053
|
+
}
|
|
1054
|
+
}
|
|
1055
|
+
});
|
|
1056
|
+
appInsights.trackException({error: new Error(), severityLevel: SeverityLevel.Critical});
|
|
1057
|
+
* ```
|
|
1058
|
+
* @interface IExceptionConfig
|
|
1059
|
+
*/
|
|
1040
1060
|
interface IExceptionConfig {
|
|
1041
1061
|
/**
|
|
1042
1062
|
* If set to true, when exception is sent out, the SDK will also send out all scripts basic info that are loaded on the page.
|
|
1043
1063
|
* Notice: This would increase the size of the exception telemetry.
|
|
1064
|
+
* @defaultvalue true
|
|
1044
1065
|
*/
|
|
1045
1066
|
inclScripts?: boolean;
|
|
1046
1067
|
/**
|
|
@@ -1055,10 +1076,15 @@ declare namespace ApplicationInsights {
|
|
|
1055
1076
|
*
|
|
1056
1077
|
* @property {number} maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
|
|
1057
1078
|
*/
|
|
1058
|
-
expLog
|
|
1079
|
+
expLog?: () => {
|
|
1059
1080
|
logs: string[];
|
|
1060
1081
|
};
|
|
1061
|
-
|
|
1082
|
+
/**
|
|
1083
|
+
* The maximum number of logs to include in the telemetry data.
|
|
1084
|
+
* If not explicitly set, it defaults to 50.
|
|
1085
|
+
* This is used in conjunction with the `expLog` callback.
|
|
1086
|
+
*/
|
|
1087
|
+
maxLogs?: number;
|
|
1062
1088
|
}
|
|
1063
1089
|
|
|
1064
1090
|
interface IFeatureOptIn {
|