@microsoft/1ds-core-js 4.4.6-nightly3.2610-15 → 4.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.
- package/bundle/es5/{ms.core-4.4.6-nightly3.2610-15.gbl.js → ms.core-4.4.6.gbl.js} +29 -6
- package/bundle/es5/ms.core-4.4.6.gbl.js.map +1 -0
- package/bundle/es5/ms.core-4.4.6.gbl.min.js +7 -0
- package/bundle/es5/ms.core-4.4.6.gbl.min.js.map +1 -0
- package/bundle/es5/ms.core-4.4.6.integrity.json +46 -0
- package/bundle/es5/{ms.core-4.4.6-nightly3.2610-15.js → ms.core-4.4.6.js} +29 -6
- package/bundle/es5/ms.core-4.4.6.js.map +1 -0
- package/bundle/es5/ms.core-4.4.6.min.js +7 -0
- package/bundle/es5/ms.core-4.4.6.min.js.map +1 -0
- package/bundle/es5/ms.core.gbl.js +28 -5
- package/bundle/es5/ms.core.gbl.js.map +1 -1
- package/bundle/es5/ms.core.gbl.min.js +2 -2
- package/bundle/es5/ms.core.gbl.min.js.map +1 -1
- package/bundle/es5/ms.core.integrity.json +17 -17
- package/bundle/es5/ms.core.js +28 -5
- package/bundle/es5/ms.core.js.map +1 -1
- package/bundle/es5/ms.core.min.js +2 -2
- package/bundle/es5/ms.core.min.js.map +1 -1
- package/dist/es5/ms.core.js +26 -3
- package/dist/es5/ms.core.js.map +1 -1
- package/dist/es5/ms.core.min.js +2 -2
- package/dist/es5/ms.core.min.js.map +1 -1
- package/dist-es5/Index.js +1 -1
- package/package.json +78 -81
- package/types/1ds-core-js.d.ts +1 -1
- package/types/1ds-core-js.namespaced.d.ts +19 -2
- package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.gbl.js.map +0 -1
- package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.gbl.min.js +0 -7
- package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.gbl.min.js.map +0 -1
- package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.integrity.json +0 -46
- package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.js.map +0 -1
- package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.min.js +0 -7
- package/bundle/es5/ms.core-4.4.6-nightly3.2610-15.min.js.map +0 -1
package/dist-es5/Index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,81 +1,78 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@microsoft/1ds-core-js",
|
|
3
|
-
"version": "4.4.6
|
|
4
|
-
"description": "Microsoft Application Insights JavaScript SDK - 1ds-core-js",
|
|
5
|
-
"author": "Microsoft Application Insights Team",
|
|
6
|
-
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
7
|
-
"license": "MIT",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"scripts": {
|
|
10
|
-
"clean": "git clean -xdf",
|
|
11
|
-
"build": "npm run build:esm && npm run build:browser && npm run dtsgen && npm run sri",
|
|
12
|
-
"build:esm": "grunt 1dsCoreBuild",
|
|
13
|
-
"build:browser": "npx rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
14
|
-
"rebuild": "npm run build",
|
|
15
|
-
"ai-min": "grunt 1dsCore-min",
|
|
16
|
-
"ai-restore": "grunt 1dsCore-restore",
|
|
17
|
-
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"1DS JS SDK Core\" -oneDs",
|
|
18
|
-
"test": "grunt 1dsCoreTest",
|
|
19
|
-
"mintest": "grunt 1dsCoreMinTest",
|
|
20
|
-
"perftest": "",
|
|
21
|
-
"publishPackage": "npm publish",
|
|
22
|
-
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
|
|
23
|
-
"npm-pack": "npm pack",
|
|
24
|
-
"api-docs": "typedoc"
|
|
25
|
-
},
|
|
26
|
-
"repository": {
|
|
27
|
-
"type": "git",
|
|
28
|
-
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/shared/1ds-core-js"
|
|
29
|
-
},
|
|
30
|
-
"main": "dist/es5/ms.core.js",
|
|
31
|
-
"module": "dist-es5/Index.js",
|
|
32
|
-
"types": "types/1ds-core-js.d.ts",
|
|
33
|
-
"keywords": [
|
|
34
|
-
"1DS",
|
|
35
|
-
"Js",
|
|
36
|
-
"SDK"
|
|
37
|
-
],
|
|
38
|
-
"dependencies": {
|
|
39
|
-
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
40
|
-
"@microsoft/applicationinsights-core-js": "3.4.6
|
|
41
|
-
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
42
|
-
"@nevware21/ts-utils": ">= 0.14.0 < 2.x",
|
|
43
|
-
"@nevware21/ts-async": ">= 0.5.5 < 0.6.0"
|
|
44
|
-
},
|
|
45
|
-
"devDependencies": {
|
|
46
|
-
"@types/qunit": "^2.19.3",
|
|
47
|
-
"@types/sinon": "4.3.3",
|
|
48
|
-
"@microsoft/ai-test-framework": "0.0.1",
|
|
49
|
-
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
50
|
-
"@microsoft/applicationinsights-rollup-es5": "1.0.2",
|
|
51
|
-
"@microsoft/api-extractor": "^7.40.0",
|
|
52
|
-
"@nevware21/ts-async": ">= 0.5.5 < 0.6.0",
|
|
53
|
-
"grunt": "^1.6.1",
|
|
54
|
-
"grunt-cli": "^1.5.0",
|
|
55
|
-
"globby": "^11.0.0",
|
|
56
|
-
"@rollup/plugin-commonjs": "^24.0.0",
|
|
57
|
-
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
58
|
-
"@rollup/plugin-replace": "^5.0.2",
|
|
59
|
-
"rollup": "^3.20.0",
|
|
60
|
-
"rollup-plugin-cleanup": "^3.2.1",
|
|
61
|
-
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
62
|
-
"typedoc": "^0.26.6",
|
|
63
|
-
"typescript": "^4.9.3",
|
|
64
|
-
"tslib": "^2.0.0",
|
|
65
|
-
"qunit": "^2.11.2",
|
|
66
|
-
"sinon": "^7.3.1",
|
|
67
|
-
"pako": "^2.0.3",
|
|
68
|
-
"eslint": "^8.56.0",
|
|
69
|
-
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
70
|
-
"@typescript-eslint/parser": "^7.14.1",
|
|
71
|
-
"eslint-plugin-security": "^1.5.0",
|
|
72
|
-
"@nevware21/grunt-ts-plugin": "^0.5.2",
|
|
73
|
-
"@nevware21/grunt-eslint-ts": "^0.5.2",
|
|
74
|
-
"grunt-contrib-connect": "^5.0.0",
|
|
75
|
-
"eventemitter2": "6.4.9",
|
|
76
|
-
"puppeteer": "^24.40.0"
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
"tag": "nightly3"
|
|
80
|
-
}
|
|
81
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@microsoft/1ds-core-js",
|
|
3
|
+
"version": "4.4.6",
|
|
4
|
+
"description": "Microsoft Application Insights JavaScript SDK - 1ds-core-js",
|
|
5
|
+
"author": "Microsoft Application Insights Team",
|
|
6
|
+
"homepage": "https://github.com/microsoft/ApplicationInsights-JS#readme",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"scripts": {
|
|
10
|
+
"clean": "git clean -xdf",
|
|
11
|
+
"build": "npm run build:esm && npm run build:browser && npm run dtsgen && npm run sri",
|
|
12
|
+
"build:esm": "grunt 1dsCoreBuild",
|
|
13
|
+
"build:browser": "npx rollup -c rollup.config.js --bundleConfigAsCjs",
|
|
14
|
+
"rebuild": "npm run build",
|
|
15
|
+
"ai-min": "grunt 1dsCore-min",
|
|
16
|
+
"ai-restore": "grunt 1dsCore-restore",
|
|
17
|
+
"dtsgen": "api-extractor run --local && node ../../scripts/dtsgen.js \"1DS JS SDK Core\" -oneDs",
|
|
18
|
+
"test": "grunt 1dsCoreTest",
|
|
19
|
+
"mintest": "grunt 1dsCoreMinTest",
|
|
20
|
+
"perftest": "",
|
|
21
|
+
"publishPackage": "npm publish",
|
|
22
|
+
"sri": "node ../../tools/subResourceIntegrity/generateIntegrityFile.js",
|
|
23
|
+
"npm-pack": "npm pack",
|
|
24
|
+
"api-docs": "typedoc"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/microsoft/ApplicationInsights-JS/tree/main/shared/1ds-core-js"
|
|
29
|
+
},
|
|
30
|
+
"main": "dist/es5/ms.core.js",
|
|
31
|
+
"module": "dist-es5/Index.js",
|
|
32
|
+
"types": "types/1ds-core-js.d.ts",
|
|
33
|
+
"keywords": [
|
|
34
|
+
"1DS",
|
|
35
|
+
"Js",
|
|
36
|
+
"SDK"
|
|
37
|
+
],
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"@microsoft/applicationinsights-shims": "3.0.1",
|
|
40
|
+
"@microsoft/applicationinsights-core-js": "3.4.6",
|
|
41
|
+
"@microsoft/dynamicproto-js": "^2.0.3",
|
|
42
|
+
"@nevware21/ts-utils": ">= 0.14.0 < 2.x",
|
|
43
|
+
"@nevware21/ts-async": ">= 0.5.5 < 0.6.0"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@types/qunit": "^2.19.3",
|
|
47
|
+
"@types/sinon": "4.3.3",
|
|
48
|
+
"@microsoft/ai-test-framework": "0.0.1",
|
|
49
|
+
"@microsoft/applicationinsights-rollup-plugin-uglify3-js": "1.0.0",
|
|
50
|
+
"@microsoft/applicationinsights-rollup-es5": "1.0.2",
|
|
51
|
+
"@microsoft/api-extractor": "^7.40.0",
|
|
52
|
+
"@nevware21/ts-async": ">= 0.5.5 < 0.6.0",
|
|
53
|
+
"grunt": "^1.6.1",
|
|
54
|
+
"grunt-cli": "^1.5.0",
|
|
55
|
+
"globby": "^11.0.0",
|
|
56
|
+
"@rollup/plugin-commonjs": "^24.0.0",
|
|
57
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
58
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
59
|
+
"rollup": "^3.20.0",
|
|
60
|
+
"rollup-plugin-cleanup": "^3.2.1",
|
|
61
|
+
"rollup-plugin-sourcemaps": "^0.6.3",
|
|
62
|
+
"typedoc": "^0.26.6",
|
|
63
|
+
"typescript": "^4.9.3",
|
|
64
|
+
"tslib": "^2.0.0",
|
|
65
|
+
"qunit": "^2.11.2",
|
|
66
|
+
"sinon": "^7.3.1",
|
|
67
|
+
"pako": "^2.0.3",
|
|
68
|
+
"eslint": "^8.56.0",
|
|
69
|
+
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
70
|
+
"@typescript-eslint/parser": "^7.14.1",
|
|
71
|
+
"eslint-plugin-security": "^1.5.0",
|
|
72
|
+
"@nevware21/grunt-ts-plugin": "^0.5.2",
|
|
73
|
+
"@nevware21/grunt-eslint-ts": "^0.5.2",
|
|
74
|
+
"grunt-contrib-connect": "^5.0.0",
|
|
75
|
+
"eventemitter2": "6.4.9",
|
|
76
|
+
"puppeteer": "^24.40.0"
|
|
77
|
+
}
|
|
78
|
+
}
|
package/types/1ds-core-js.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* 1DS JS SDK Core, 4.4.6
|
|
2
|
+
* 1DS JS SDK Core, 4.4.6
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -3594,6 +3594,17 @@ declare namespace oneDS {
|
|
|
3594
3594
|
*/
|
|
3595
3595
|
interface INotificationManager {
|
|
3596
3596
|
listeners: INotificationListener[];
|
|
3597
|
+
/**
|
|
3598
|
+
* Optional hint indicating whether a notification has a matching listener or custom handler.
|
|
3599
|
+
* @param name - The notification method to query.
|
|
3600
|
+
* @returns False only when calling the method would have no effect. Callers must retain their
|
|
3601
|
+
* existing dispatch behavior when this hint is absent or does not return false.
|
|
3602
|
+
* @remarks
|
|
3603
|
+
* Implementations must account for custom notification handling as well as registered listeners.
|
|
3604
|
+
* The built-in manager returns true for overridden notification methods, even without matching listeners.
|
|
3605
|
+
* This method must not dispatch notifications or change listener state.
|
|
3606
|
+
*/
|
|
3607
|
+
hasListener?(name: string): boolean;
|
|
3597
3608
|
/**
|
|
3598
3609
|
* Adds a notification listener.
|
|
3599
3610
|
* @param listener - The notification listener to be added.
|
|
@@ -6767,6 +6778,12 @@ declare namespace oneDS {
|
|
|
6767
6778
|
class NotificationManager implements INotificationManager {
|
|
6768
6779
|
readonly listeners: INotificationListener[];
|
|
6769
6780
|
constructor(config?: IConfiguration);
|
|
6781
|
+
/**
|
|
6782
|
+
* Indicates whether the named notification has a matching listener or an overridden handler.
|
|
6783
|
+
* @param name - The notification method to query.
|
|
6784
|
+
* @returns True for a matching listener or custom handler; false when the notification has no consumers.
|
|
6785
|
+
*/
|
|
6786
|
+
hasListener?(name: string): boolean;
|
|
6770
6787
|
/**
|
|
6771
6788
|
* Adds a notification listener.
|
|
6772
6789
|
* @param listener - The notification listener to be added.
|
|
@@ -7666,7 +7683,7 @@ declare namespace oneDS {
|
|
|
7666
7683
|
* Identifies the version for the extended SDK (legacy constant)
|
|
7667
7684
|
* @deprecated Use {@link ExtVersion} instead
|
|
7668
7685
|
*/
|
|
7669
|
-
const Version = "4.4.6
|
|
7686
|
+
const Version = "4.4.6";
|
|
7670
7687
|
|
|
7671
7688
|
/**
|
|
7672
7689
|
* This is a helper method which will call warnToConsole on the passed logger with the provided message.
|