@microsoft/applicationinsights-dependencies-js 3.4.6-nightly3.2610-15 → 3.4.6

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.
Files changed (27) hide show
  1. package/browser/es5/applicationinsights-dependencies-js.cjs.js +2 -2
  2. package/browser/es5/applicationinsights-dependencies-js.cjs.js.map +1 -1
  3. package/browser/es5/applicationinsights-dependencies-js.cjs.min.js +2 -2
  4. package/browser/es5/applicationinsights-dependencies-js.cjs.min.js.map +1 -1
  5. package/browser/es5/applicationinsights-dependencies-js.gbl.js +4 -4
  6. package/browser/es5/applicationinsights-dependencies-js.gbl.js.map +1 -1
  7. package/browser/es5/applicationinsights-dependencies-js.gbl.min.js +2 -2
  8. package/browser/es5/applicationinsights-dependencies-js.gbl.min.js.map +1 -1
  9. package/browser/es5/applicationinsights-dependencies-js.integrity.json +25 -25
  10. package/browser/es5/applicationinsights-dependencies-js.js +4 -4
  11. package/browser/es5/applicationinsights-dependencies-js.js.map +1 -1
  12. package/browser/es5/applicationinsights-dependencies-js.min.js +2 -2
  13. package/browser/es5/applicationinsights-dependencies-js.min.js.map +1 -1
  14. package/dist/es5/applicationinsights-dependencies-js.js +2 -2
  15. package/dist/es5/applicationinsights-dependencies-js.js.map +1 -1
  16. package/dist/es5/applicationinsights-dependencies-js.min.js +2 -2
  17. package/dist/es5/applicationinsights-dependencies-js.min.js.map +1 -1
  18. package/dist-es5/DependencyInitializer.js +1 -1
  19. package/dist-es5/DependencyListener.js +1 -1
  20. package/dist-es5/InternalConstants.js +1 -1
  21. package/dist-es5/__DynamicConstants.js +1 -1
  22. package/dist-es5/ajax.js +1 -1
  23. package/dist-es5/ajaxRecord.js +1 -1
  24. package/dist-es5/applicationinsights-dependencies-js.js +1 -1
  25. package/package.json +72 -75
  26. package/types/applicationinsights-dependencies-js.d.ts +1 -1
  27. package/types/applicationinsights-dependencies-js.namespaced.d.ts +12 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.4.6-nightly3.2610-15
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.4.6
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
  export {};
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.4.6-nightly3.2610-15
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.4.6
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.4.6-nightly3.2610-15
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.4.6
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.4.6-nightly3.2610-15
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.4.6
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/dist-es5/ajax.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.4.6-nightly3.2610-15
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.4.6
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.4.6-nightly3.2610-15
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.4.6
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Application Insights JavaScript SDK - Dependencies Plugin, 3.4.6-nightly3.2610-15
2
+ * Application Insights JavaScript SDK - Dependencies Plugin, 3.4.6
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  */
5
5
 
package/package.json CHANGED
@@ -1,75 +1,72 @@
1
- {
2
- "name": "@microsoft/applicationinsights-dependencies-js",
3
- "version": "3.4.6-nightly3.2610-15",
4
- "description": "Microsoft Application Insights XHR dependencies plugin",
5
- "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
- "author": "Microsoft Application Insights Team",
7
- "main": "dist/es5/applicationinsights-dependencies-js.js",
8
- "module": "dist-es5/applicationinsights-dependencies-js.js",
9
- "types": "types/applicationinsights-dependencies-js.d.ts",
10
- "sideEffects": false,
11
- "repository": {
12
- "type": "git",
13
- "url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/extensions/applicationinsights-dependencies-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 deps",
19
- "build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
20
- "rebuild": "npm run build",
21
- "test": "grunt depstest",
22
- "mintest": "grunt deps-mintest",
23
- "lint": "tslint -p tsconfig.json",
24
- "dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"Microsoft Application Insights XHR dependencies plugin\"",
25
- "sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
26
- "ai-min": "grunt deps-min",
27
- "ai-restore": "grunt deps-restore",
28
- "npm-pack": "npm pack",
29
- "api-docs": "typedoc"
30
- },
31
- "devDependencies": {
32
- "@microsoft/ai-test-framework": "0.0.1",
33
- "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
34
- "@microsoft/applicationinsights-rollup-es5": "1.0.2",
35
- "@microsoft/api-extractor": "^7.40.0",
36
- "typescript": "^4.9.3",
37
- "tslib": "^2.0.0",
38
- "grunt": "^1.6.1",
39
- "grunt-cli": "^1.5.0",
40
- "@nevware21/grunt-ts-plugin": "^0.5.2",
41
- "@nevware21/grunt-eslint-ts": "^0.5.2",
42
- "globby": "^11.0.0",
43
- "magic-string": "^0.25.7",
44
- "@rollup/plugin-commonjs": "^24.0.0",
45
- "@rollup/plugin-node-resolve": "^15.0.1",
46
- "@rollup/plugin-replace": "^5.0.2",
47
- "rollup": "^3.20.0",
48
- "rollup-plugin-cleanup": "^3.2.1",
49
- "rollup-plugin-sourcemaps": "^0.6.3",
50
- "typedoc": "^0.26.6",
51
- "qunit": "^2.11.2",
52
- "sinon": "^7.3.1",
53
- "eslint": "^8.56.0",
54
- "@typescript-eslint/eslint-plugin": "^7.14.1",
55
- "@typescript-eslint/parser": "^7.14.1",
56
- "eslint-plugin-security": "^1.5.0",
57
- "grunt-contrib-connect": "^5.0.0",
58
- "eventemitter2": "6.4.9",
59
- "puppeteer": "^24.40.0"
60
- },
61
- "peerDependencies": {
62
- "tslib": ">= 1.0.0"
63
- },
64
- "dependencies": {
65
- "@microsoft/dynamicproto-js": "^2.0.3",
66
- "@microsoft/applicationinsights-shims": "3.0.1",
67
- "@microsoft/applicationinsights-core-js": "3.4.6-nightly3.2610-15",
68
- "@nevware21/ts-utils": ">= 0.14.0 < 2.x",
69
- "@nevware21/ts-async": ">= 0.5.5 < 0.6.0"
70
- },
71
- "license": "MIT",
72
- "publishConfig": {
73
- "tag": "nightly3"
74
- }
75
- }
1
+ {
2
+ "name": "@microsoft/applicationinsights-dependencies-js",
3
+ "version": "3.4.6",
4
+ "description": "Microsoft Application Insights XHR dependencies plugin",
5
+ "homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
6
+ "author": "Microsoft Application Insights Team",
7
+ "main": "dist/es5/applicationinsights-dependencies-js.js",
8
+ "module": "dist-es5/applicationinsights-dependencies-js.js",
9
+ "types": "types/applicationinsights-dependencies-js.d.ts",
10
+ "sideEffects": false,
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/extensions/applicationinsights-dependencies-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 deps",
19
+ "build:browser": "rollup -c rollup.config.js --bundleConfigAsCjs",
20
+ "rebuild": "npm run build",
21
+ "test": "grunt depstest",
22
+ "mintest": "grunt deps-mintest",
23
+ "lint": "tslint -p tsconfig.json",
24
+ "dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"Microsoft Application Insights XHR dependencies plugin\"",
25
+ "sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
26
+ "ai-min": "grunt deps-min",
27
+ "ai-restore": "grunt deps-restore",
28
+ "npm-pack": "npm pack",
29
+ "api-docs": "typedoc"
30
+ },
31
+ "devDependencies": {
32
+ "@microsoft/ai-test-framework": "0.0.1",
33
+ "@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
34
+ "@microsoft/applicationinsights-rollup-es5": "1.0.2",
35
+ "@microsoft/api-extractor": "^7.40.0",
36
+ "typescript": "^4.9.3",
37
+ "tslib": "^2.0.0",
38
+ "grunt": "^1.6.1",
39
+ "grunt-cli": "^1.5.0",
40
+ "@nevware21/grunt-ts-plugin": "^0.5.2",
41
+ "@nevware21/grunt-eslint-ts": "^0.5.2",
42
+ "globby": "^11.0.0",
43
+ "magic-string": "^0.25.7",
44
+ "@rollup/plugin-commonjs": "^24.0.0",
45
+ "@rollup/plugin-node-resolve": "^15.0.1",
46
+ "@rollup/plugin-replace": "^5.0.2",
47
+ "rollup": "^3.20.0",
48
+ "rollup-plugin-cleanup": "^3.2.1",
49
+ "rollup-plugin-sourcemaps": "^0.6.3",
50
+ "typedoc": "^0.26.6",
51
+ "qunit": "^2.11.2",
52
+ "sinon": "^7.3.1",
53
+ "eslint": "^8.56.0",
54
+ "@typescript-eslint/eslint-plugin": "^7.14.1",
55
+ "@typescript-eslint/parser": "^7.14.1",
56
+ "eslint-plugin-security": "^1.5.0",
57
+ "grunt-contrib-connect": "^5.0.0",
58
+ "eventemitter2": "6.4.9",
59
+ "puppeteer": "^24.40.0"
60
+ },
61
+ "peerDependencies": {
62
+ "tslib": ">= 1.0.0"
63
+ },
64
+ "dependencies": {
65
+ "@microsoft/dynamicproto-js": "^2.0.3",
66
+ "@microsoft/applicationinsights-shims": "3.0.1",
67
+ "@microsoft/applicationinsights-core-js": "3.4.6",
68
+ "@nevware21/ts-utils": ">= 0.14.0 < 2.x",
69
+ "@nevware21/ts-async": ">= 0.5.5 < 0.6.0"
70
+ },
71
+ "license": "MIT"
72
+ }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights XHR dependencies plugin, 3.4.6-nightly3.2610-15
2
+ * Microsoft Application Insights XHR dependencies plugin, 3.4.6
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights XHR dependencies plugin, 3.4.6-nightly3.2610-15
2
+ * Microsoft Application Insights XHR dependencies plugin, 3.4.6
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -2978,6 +2978,17 @@ declare namespace ApplicationInsights {
2978
2978
  */
2979
2979
  interface INotificationManager {
2980
2980
  listeners: INotificationListener[];
2981
+ /**
2982
+ * Optional hint indicating whether a notification has a matching listener or custom handler.
2983
+ * @param name - The notification method to query.
2984
+ * @returns False only when calling the method would have no effect. Callers must retain their
2985
+ * existing dispatch behavior when this hint is absent or does not return false.
2986
+ * @remarks
2987
+ * Implementations must account for custom notification handling as well as registered listeners.
2988
+ * The built-in manager returns true for overridden notification methods, even without matching listeners.
2989
+ * This method must not dispatch notifications or change listener state.
2990
+ */
2991
+ hasListener?(name: string): boolean;
2981
2992
  /**
2982
2993
  * Adds a notification listener.
2983
2994
  * @param listener - The notification listener to be added.