@microsoft/applicationinsights-debugplugin-js 3.0.0-beta.2303-11 → 3.0.0-nightly3.2304-28
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/{ai.dbg.3.0.0-beta.2303-11.cjs.js → es5/ai.dbg.3.0.0-nightly3.2304-28.cjs.js} +794 -773
- package/browser/es5/ai.dbg.3.0.0-nightly3.2304-28.cjs.js.map +1 -0
- package/browser/es5/ai.dbg.3.0.0-nightly3.2304-28.cjs.min.js +6 -0
- package/browser/es5/ai.dbg.3.0.0-nightly3.2304-28.cjs.min.js.map +1 -0
- package/browser/{ai.dbg.3.0.0-beta.2303-11.gbl.js → es5/ai.dbg.3.0.0-nightly3.2304-28.gbl.js} +795 -774
- package/browser/es5/ai.dbg.3.0.0-nightly3.2304-28.gbl.js.map +1 -0
- package/browser/es5/ai.dbg.3.0.0-nightly3.2304-28.gbl.min.js +6 -0
- package/browser/es5/ai.dbg.3.0.0-nightly3.2304-28.gbl.min.js.map +1 -0
- package/browser/es5/ai.dbg.3.0.0-nightly3.2304-28.integrity.json +66 -0
- package/browser/{ai.dbg.3.0.0-beta.2303-11.js → es5/ai.dbg.3.0.0-nightly3.2304-28.js} +795 -774
- package/browser/es5/ai.dbg.3.0.0-nightly3.2304-28.js.map +1 -0
- package/browser/es5/ai.dbg.3.0.0-nightly3.2304-28.min.js +6 -0
- package/browser/es5/ai.dbg.3.0.0-nightly3.2304-28.min.js.map +1 -0
- package/browser/{ai.dbg.3.cjs.js → es5/ai.dbg.3.cjs.js} +793 -772
- package/browser/es5/ai.dbg.3.cjs.js.map +1 -0
- package/browser/es5/ai.dbg.3.cjs.min.js +6 -0
- package/browser/es5/ai.dbg.3.cjs.min.js.map +1 -0
- package/browser/{ai.dbg.3.gbl.js → es5/ai.dbg.3.gbl.js} +794 -773
- package/browser/es5/ai.dbg.3.gbl.js.map +1 -0
- package/browser/es5/ai.dbg.3.gbl.min.js +6 -0
- package/browser/es5/ai.dbg.3.gbl.min.js.map +1 -0
- package/browser/{ai.dbg.3.js → es5/ai.dbg.3.js} +794 -773
- package/browser/es5/ai.dbg.3.js.map +1 -0
- package/browser/es5/ai.dbg.3.min.js +6 -0
- package/browser/es5/ai.dbg.3.min.js.map +1 -0
- package/dist/{applicationinsights-debugplugin-js.js → es5/applicationinsights-debugplugin-js.js} +794 -773
- package/dist/es5/applicationinsights-debugplugin-js.js.map +1 -0
- package/dist/es5/applicationinsights-debugplugin-js.min.js +6 -0
- package/dist/es5/applicationinsights-debugplugin-js.min.js.map +1 -0
- package/{dist-esm → dist-es5}/DebugPlugin.js +1 -1
- package/{dist-esm → dist-es5}/__DynamicConstants.js +1 -1
- package/dist-es5/applicationinsights-debugplugin-js.js +9 -0
- package/{dist-esm → dist-es5}/components/Dashboard.js +1 -1
- package/{dist-esm → dist-es5}/components/LogEntry.js +1 -1
- package/{dist-esm → dist-es5}/components/debugBins.js +1 -1
- package/{dist-esm → dist-es5}/components/filterList.js +1 -1
- package/{dist-esm → dist-es5}/components/helpers.js +1 -1
- package/{dist-esm → dist-es5}/components/styleNodeSrc.js +1 -1
- package/dist-es5/interfaces/IDebugPluginConfig.js +8 -0
- package/package.json +18 -17
- package/tsconfig.json +4 -3
- package/types/applicationinsights-debugplugin-js.d.ts +59 -2
- package/{dist/applicationinsights-debugplugin-js.d.ts → types/applicationinsights-debugplugin-js.namespaced.d.ts} +1 -1
- package/browser/ai.dbg.3.0.0-beta.2303-11.cjs.js.map +0 -1
- package/browser/ai.dbg.3.0.0-beta.2303-11.cjs.min.js +0 -6
- package/browser/ai.dbg.3.0.0-beta.2303-11.cjs.min.js.map +0 -1
- package/browser/ai.dbg.3.0.0-beta.2303-11.gbl.js.map +0 -1
- package/browser/ai.dbg.3.0.0-beta.2303-11.gbl.min.js +0 -6
- package/browser/ai.dbg.3.0.0-beta.2303-11.gbl.min.js.map +0 -1
- package/browser/ai.dbg.3.0.0-beta.2303-11.integrity.json +0 -66
- package/browser/ai.dbg.3.0.0-beta.2303-11.js.map +0 -1
- package/browser/ai.dbg.3.0.0-beta.2303-11.min.js +0 -6
- package/browser/ai.dbg.3.0.0-beta.2303-11.min.js.map +0 -1
- package/browser/ai.dbg.3.cjs.js.map +0 -1
- package/browser/ai.dbg.3.cjs.min.js +0 -6
- package/browser/ai.dbg.3.cjs.min.js.map +0 -1
- package/browser/ai.dbg.3.gbl.js.map +0 -1
- package/browser/ai.dbg.3.gbl.min.js +0 -6
- package/browser/ai.dbg.3.gbl.min.js.map +0 -1
- package/browser/ai.dbg.3.js.map +0 -1
- package/browser/ai.dbg.3.min.js +0 -6
- package/browser/ai.dbg.3.min.js.map +0 -1
- package/dist/applicationinsights-debugplugin-js.api.json +0 -464
- package/dist/applicationinsights-debugplugin-js.api.md +0 -32
- package/dist/applicationinsights-debugplugin-js.js.map +0 -1
- package/dist/applicationinsights-debugplugin-js.min.js +0 -6
- package/dist/applicationinsights-debugplugin-js.min.js.map +0 -1
- package/dist/applicationinsights-debugplugin-js.rollup.d.ts +0 -60
- package/dist-esm/applicationinsights-debugplugin-js.js +0 -9
- package/dist-esm/interfaces/IDebugPluginConfig.js +0 -8
- package/src/DebugPlugin.ts +0 -397
- package/src/__DynamicConstants.ts +0 -51
- package/src/applicationinsights-debugplugin-js.ts +0 -6
- package/src/components/Dashboard.ts +0 -288
- package/src/components/LogEntry.ts +0 -102
- package/src/components/debugBins.ts +0 -127
- package/src/components/filterList.ts +0 -128
- package/src/components/helpers.ts +0 -474
- package/src/components/styleNodeSrc.ts +0 -435
- package/src/interfaces/IDebugPluginConfig.ts +0 -39
- package/src/localization/EN-US.json +0 -0
- package/types/DebugPlugin.d.ts +0 -9
- package/types/__DynamicConstants.d.ts +0 -39
- package/types/components/Dashboard.d.ts +0 -19
- package/types/components/LogEntry.d.ts +0 -9
- package/types/components/debugBins.d.ts +0 -24
- package/types/components/filterList.d.ts +0 -7
- package/types/components/helpers.d.ts +0 -9
- package/types/components/styleNodeSrc.d.ts +0 -2
- package/types/interfaces/IDebugPluginConfig.d.ts +0 -28
- package/types/tsdoc-metadata.json +0 -11
- /package/{dist-esm → dist-es5}/DebugPlugin.js.map +0 -0
- /package/{dist-esm → dist-es5}/__DynamicConstants.js.map +0 -0
- /package/{dist-esm → dist-es5}/applicationinsights-debugplugin-js.js.map +0 -0
- /package/{dist-esm → dist-es5}/components/Dashboard.js.map +0 -0
- /package/{dist-esm → dist-es5}/components/LogEntry.js.map +0 -0
- /package/{dist-esm → dist-es5}/components/debugBins.js.map +0 -0
- /package/{dist-esm → dist-es5}/components/filterList.js.map +0 -0
- /package/{dist-esm → dist-es5}/components/helpers.js.map +0 -0
- /package/{dist-esm → dist-es5}/components/styleNodeSrc.js.map +0 -0
- /package/{dist-esm → dist-es5}/interfaces/IDebugPluginConfig.js.map +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Application Insights JavaScript SDK - Debug Plugin, 3.0.0-nightly3.2304-28
|
|
3
|
+
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
import DebugPlugin from "./DebugPlugin";
|
|
8
|
+
export { DebugPlugin };
|
|
9
|
+
//# sourceMappingURL=applicationinsights-debugplugin-js.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Application Insights JavaScript SDK - Debug Plugin, 3.0.0-
|
|
2
|
+
* Application Insights JavaScript SDK - Debug Plugin, 3.0.0-nightly3.2304-28
|
|
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.0.0-
|
|
2
|
+
* Application Insights JavaScript SDK - Debug Plugin, 3.0.0-nightly3.2304-28
|
|
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,32 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@microsoft/applicationinsights-debugplugin-js",
|
|
3
|
-
"version": "3.0.0-
|
|
3
|
+
"version": "3.0.0-nightly3.2304-28",
|
|
4
4
|
"description": "Microsoft Application Insights JavaScript SDK - Debug Plugin extension",
|
|
5
5
|
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
6
6
|
"author": "Microsoft Application Insights Team",
|
|
7
|
-
"main": "dist/applicationinsights-debugplugin-js.js",
|
|
8
|
-
"module": "dist-
|
|
7
|
+
"main": "dist/es5/applicationinsights-debugplugin-js.js",
|
|
8
|
+
"module": "dist-es5/applicationinsights-debugplugin-js.js",
|
|
9
9
|
"types": "types/applicationinsights-debugplugin-js.d.ts",
|
|
10
10
|
"sideEffects": false,
|
|
11
11
|
"repository": {
|
|
12
12
|
"type": "git",
|
|
13
|
-
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/
|
|
13
|
+
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/extensions/applicationinsights-debugplugin-js"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
16
|
"build": "npm run build:esm && npm run build:browser && npm run sri && npm run dtsgen",
|
|
17
17
|
"build:esm": "grunt debugplugin",
|
|
18
|
-
"build:browser": "rollup -c",
|
|
18
|
+
"build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
19
19
|
"rebuild": "npm run build",
|
|
20
20
|
"test": "",
|
|
21
21
|
"lint": "tslint -p tsconfig.json",
|
|
22
22
|
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js 'Microsoft.ApplicationInsights'",
|
|
23
23
|
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
|
|
24
24
|
"ai-min": "grunt debugplugin-min",
|
|
25
|
-
"ai-restore": "grunt debugplugin-restore"
|
|
25
|
+
"ai-restore": "grunt debugplugin-restore",
|
|
26
|
+
"npm-pack": "npm pack"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
29
|
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
29
|
-
"@microsoft/applicationinsights-rollup-es5": "1.0.
|
|
30
|
+
"@microsoft/applicationinsights-rollup-es5": "1.0.1",
|
|
30
31
|
"@microsoft/api-extractor": "^7.18.1",
|
|
31
32
|
"typescript": "^4.9.3",
|
|
32
33
|
"tslib": "^2.0.0",
|
|
@@ -37,24 +38,24 @@
|
|
|
37
38
|
"@nevware21/grunt-eslint-ts": "^0.2.2",
|
|
38
39
|
"globby": "^11.0.0",
|
|
39
40
|
"magic-string": "^0.25.7",
|
|
40
|
-
"@rollup/plugin-commonjs": "^
|
|
41
|
-
"@rollup/plugin-node-resolve": "^
|
|
42
|
-
"@rollup/plugin-replace": "^
|
|
41
|
+
"@rollup/plugin-commonjs": "^24.0.0",
|
|
42
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
43
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
43
44
|
"rollup-plugin-cleanup": "^3.2.1",
|
|
44
|
-
"rollup": "^
|
|
45
|
+
"rollup": "^3.20.0"
|
|
45
46
|
},
|
|
46
47
|
"peerDependencies": {
|
|
47
48
|
"tslib": "*"
|
|
48
49
|
},
|
|
49
50
|
"dependencies": {
|
|
50
|
-
"@microsoft/dynamicproto-js": "^
|
|
51
|
-
"@microsoft/applicationinsights-common": "3.0.0-
|
|
52
|
-
"@microsoft/applicationinsights-core-js": "3.0.0-
|
|
53
|
-
"@microsoft/applicationinsights-shims": "
|
|
54
|
-
"@nevware21/ts-utils": ">= 0.
|
|
51
|
+
"@microsoft/dynamicproto-js": "^2.0.2",
|
|
52
|
+
"@microsoft/applicationinsights-common": "3.0.0-nightly3.2304-28",
|
|
53
|
+
"@microsoft/applicationinsights-core-js": "3.0.0-nightly3.2304-28",
|
|
54
|
+
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
55
|
+
"@nevware21/ts-utils": ">= 0.9.4 < 2.x"
|
|
55
56
|
},
|
|
56
57
|
"license": "MIT",
|
|
57
58
|
"publishConfig": {
|
|
58
|
-
"tag": "
|
|
59
|
+
"tag": "nightly3"
|
|
59
60
|
}
|
|
60
61
|
}
|
package/tsconfig.json
CHANGED
|
@@ -14,9 +14,10 @@
|
|
|
14
14
|
"skipLibCheck": true,
|
|
15
15
|
"forceConsistentCasingInFileNames": true,
|
|
16
16
|
"declaration": true,
|
|
17
|
-
"declarationDir": "
|
|
18
|
-
"outDir": "dist-
|
|
19
|
-
"rootDir": "
|
|
17
|
+
"declarationDir": "build/types",
|
|
18
|
+
"outDir": "dist-es5",
|
|
19
|
+
"rootDir": "./src",
|
|
20
|
+
"removeComments": false
|
|
20
21
|
},
|
|
21
22
|
"include": [
|
|
22
23
|
"./src/**/*.ts"
|
|
@@ -1,2 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/*
|
|
2
|
+
* Microsoft.ApplicationInsights, 3.0.0-nightly3.2304-28
|
|
3
|
+
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
|
+
*
|
|
5
|
+
* Microsoft Application Insights Team
|
|
6
|
+
* https://github.com/microsoft/ApplicationInsights-JS#readme
|
|
7
|
+
*
|
|
8
|
+
* ---------------------------------------------------------------------------
|
|
9
|
+
* This is a single combined (rollup) declaration file for the package,
|
|
10
|
+
* if you require a namespace wrapped version it is also available.
|
|
11
|
+
* - Namespaced version: types/applicationinsights-debugplugin-js.namespaced.d.ts
|
|
12
|
+
* ---------------------------------------------------------------------------
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
import { BaseTelemetryPlugin } from '@microsoft/applicationinsights-core-js';
|
|
16
|
+
import { IAppInsightsCore } from '@microsoft/applicationinsights-core-js';
|
|
17
|
+
import { IConfiguration } from '@microsoft/applicationinsights-core-js';
|
|
18
|
+
import { IPlugin } from '@microsoft/applicationinsights-core-js';
|
|
19
|
+
import { IProcessTelemetryContext } from '@microsoft/applicationinsights-core-js';
|
|
20
|
+
import { ITelemetryItem } from '@microsoft/applicationinsights-core-js';
|
|
21
|
+
import { ITelemetryPluginChain } from '@microsoft/applicationinsights-core-js';
|
|
22
|
+
|
|
23
|
+
export declare class DebugPlugin extends BaseTelemetryPlugin {
|
|
24
|
+
static identifier: string;
|
|
25
|
+
identifier: string;
|
|
26
|
+
constructor();
|
|
27
|
+
initialize(config: IConfiguration | IDebugPluginConfig, core: IAppInsightsCore, extensions: IPlugin[], pluginChain?: ITelemetryPluginChain): void;
|
|
28
|
+
processTelemetry(event: ITelemetryItem, itemCtx?: IProcessTelemetryContext): void;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
declare interface IDebugPluginConfig extends IConfiguration {
|
|
32
|
+
trackers?: string[];
|
|
33
|
+
/**
|
|
34
|
+
* The prefix to use for the css styles, defaults to 'ai'
|
|
35
|
+
*/
|
|
36
|
+
cssPrefix?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Disable listening to notifications from the notification manager. Defaults to false
|
|
39
|
+
*/
|
|
40
|
+
disableNotifications?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* [Optional] Dump extra debug information to the console as well as the dashboard
|
|
43
|
+
*/
|
|
44
|
+
dumpToConsole?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* [Optional] The maximum number of messages to retain, older messages will be dropped - defaults to 5,000.
|
|
47
|
+
*/
|
|
48
|
+
maxMessages?: number;
|
|
49
|
+
/**
|
|
50
|
+
* [Optional] Flag for whether to include functions in the DebugPlugin dashboard. Defaults to false
|
|
51
|
+
*/
|
|
52
|
+
showFunctions?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* [Optional] If processTelemetry is not included in the trackers should the DebugPlugin log the arguments - defaults to false
|
|
55
|
+
*/
|
|
56
|
+
logProcessTelemetry?: boolean;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export { }
|