@azure/arm-resourcehealth 4.1.0-alpha.20231020.1 → 4.1.0-alpha.20231025.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/dist/index.js +76 -149
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.min.js +1 -1
  5. package/dist/index.min.js.map +1 -1
  6. package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js +3 -8
  7. package/dist-esm/samples-dev/availabilityStatusesListByResourceGroupSample.js.map +1 -1
  8. package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js +3 -8
  9. package/dist-esm/samples-dev/availabilityStatusesListBySubscriptionIdSample.js.map +1 -1
  10. package/dist-esm/samples-dev/availabilityStatusesListSample.js +3 -8
  11. package/dist-esm/samples-dev/availabilityStatusesListSample.js.map +1 -1
  12. package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js +3 -8
  13. package/dist-esm/samples-dev/childAvailabilityStatusesListSample.js.map +1 -1
  14. package/dist-esm/samples-dev/childResourcesListSample.js +3 -8
  15. package/dist-esm/samples-dev/childResourcesListSample.js.map +1 -1
  16. package/dist-esm/samples-dev/emergingIssuesListSample.js +3 -8
  17. package/dist-esm/samples-dev/emergingIssuesListSample.js.map +1 -1
  18. package/dist-esm/samples-dev/eventsListBySingleResourceSample.js +3 -8
  19. package/dist-esm/samples-dev/eventsListBySingleResourceSample.js.map +1 -1
  20. package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.js +3 -8
  21. package/dist-esm/samples-dev/eventsListBySubscriptionIdSample.js.map +1 -1
  22. package/dist-esm/samples-dev/eventsListByTenantIdSample.js +3 -8
  23. package/dist-esm/samples-dev/eventsListByTenantIdSample.js.map +1 -1
  24. package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.js +3 -8
  25. package/dist-esm/samples-dev/impactedResourcesListBySubscriptionIdAndEventIdSample.js.map +1 -1
  26. package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.js +3 -8
  27. package/dist-esm/samples-dev/impactedResourcesListByTenantIdAndEventIdSample.js.map +1 -1
  28. package/dist-esm/samples-dev/metadataListSample.js +3 -8
  29. package/dist-esm/samples-dev/metadataListSample.js.map +1 -1
  30. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js +3 -8
  31. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListBySubscriptionIdAndEventIdSample.js.map +1 -1
  32. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js +3 -8
  33. package/dist-esm/samples-dev/securityAdvisoryImpactedResourcesListByTenantIdAndEventIdSample.js.map +1 -1
  34. package/dist-esm/src/microsoftResourceHealth.js +1 -1
  35. package/dist-esm/src/operations/availabilityStatuses.js +9 -24
  36. package/dist-esm/src/operations/availabilityStatuses.js.map +1 -1
  37. package/dist-esm/src/operations/childAvailabilityStatuses.js +3 -8
  38. package/dist-esm/src/operations/childAvailabilityStatuses.js.map +1 -1
  39. package/dist-esm/src/operations/childResources.js +3 -8
  40. package/dist-esm/src/operations/childResources.js.map +1 -1
  41. package/dist-esm/src/operations/emergingIssues.js +3 -8
  42. package/dist-esm/src/operations/emergingIssues.js.map +1 -1
  43. package/dist-esm/src/operations/eventsOperations.js +9 -24
  44. package/dist-esm/src/operations/eventsOperations.js.map +1 -1
  45. package/dist-esm/src/operations/impactedResources.js +6 -16
  46. package/dist-esm/src/operations/impactedResources.js.map +1 -1
  47. package/dist-esm/src/operations/metadata.js +3 -8
  48. package/dist-esm/src/operations/metadata.js.map +1 -1
  49. package/dist-esm/src/operations/securityAdvisoryImpactedResources.js +6 -16
  50. package/dist-esm/src/operations/securityAdvisoryImpactedResources.js.map +1 -1
  51. package/package.json +3 -10
  52. package/src/microsoftResourceHealth.ts +1 -1
  53. package/rollup.config.js +0 -122
@@ -1 +1 @@
1
- {"version":3,"file":"securityAdvisoryImpactedResources.js","sourceRoot":"","sources":["../../../src/operations/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UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
1
+ {"version":3,"file":"securityAdvisoryImpactedResources.js","sourceRoot":"","sources":["../../../src/operations/securityAdvisoryImpactedResources.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAcnD,4CAA4C;AAC5C,qEAAqE;AACrE,MAAM,OAAO,qCAAqC;IAIhD;;;OAGG;IACH,YAAY,MAA+B;QACzC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,8BAA8B,CACnC,eAAuB,EACvB,OAAuF;QAEvF,MAAM,IAAI,GAAG,IAAI,CAAC,uCAAuC,CACvD,eAAe,EACf,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;iBACpE;gBACD,OAAO,IAAI,CAAC,wCAAwC,CAClD,eAAe,EACf,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,w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nB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,yCAAyC,GAA6B;IAC1E,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,+BAA+B;SACpD;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,eAAe;KAC3B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "sdk-type": "mgmt",
4
4
  "author": "Microsoft Corporation",
5
5
  "description": "A generated SDK for MicrosoftResourceHealth.",
6
- "version": "4.1.0-alpha.20231020.1",
6
+ "version": "4.1.0-alpha.20231025.1",
7
7
  "engines": {
8
8
  "node": ">=16.0.0"
9
9
  },
@@ -27,14 +27,8 @@
27
27
  "types": "./types/arm-resourcehealth.d.ts",
28
28
  "devDependencies": {
29
29
  "@microsoft/api-extractor": "^7.31.1",
30
- "@rollup/plugin-commonjs": "^24.0.0",
31
- "@rollup/plugin-json": "^6.0.0",
32
- "@rollup/plugin-multi-entry": "^6.0.0",
33
- "@rollup/plugin-node-resolve": "^13.1.3",
34
30
  "mkdirp": "^2.1.2",
35
- "rollup": "^2.66.1",
36
- "rollup-plugin-sourcemaps": "^0.6.3",
37
- "typescript": "~5.0.0",
31
+ "typescript": "~5.2.0",
38
32
  "uglify-js": "^3.4.9",
39
33
  "rimraf": "^5.0.0",
40
34
  "dotenv": "^16.0.0",
@@ -68,14 +62,13 @@
68
62
  "src/**/*.ts",
69
63
  "README.md",
70
64
  "LICENSE",
71
- "rollup.config.js",
72
65
  "tsconfig.json",
73
66
  "review/*",
74
67
  "CHANGELOG.md",
75
68
  "types/*"
76
69
  ],
77
70
  "scripts": {
78
- "build": "npm run clean && tsc && rollup -c 2>&1 && npm run minify && mkdirp ./review && npm run extract-api",
71
+ "build": "npm run clean && tsc && dev-tool run bundle && npm run minify && mkdirp ./review && npm run extract-api",
79
72
  "minify": "uglifyjs -c -m --comments --source-map \"content='./dist/index.js.map'\" -o ./dist/index.min.js ./dist/index.js",
80
73
  "prepack": "npm run build",
81
74
  "pack": "npm pack 2>&1",
@@ -86,7 +86,7 @@ export class MicrosoftResourceHealth extends coreClient.ServiceClient {
86
86
  credential: credentials
87
87
  };
88
88
 
89
- const packageDetails = `azsdk-js-arm-resourcehealth/4.1.0-beta.1`;
89
+ const packageDetails = `azsdk-js-arm-resourcehealth/4.1.0-beta.2`;
90
90
  const userAgentPrefix =
91
91
  options.userAgentOptions && options.userAgentOptions.userAgentPrefix
92
92
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
package/rollup.config.js DELETED
@@ -1,122 +0,0 @@
1
- /*
2
- * Copyright (c) Microsoft Corporation.
3
- * Licensed under the MIT License.
4
- *
5
- * Code generated by Microsoft (R) AutoRest Code Generator.
6
- * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
- */
8
-
9
- import nodeResolve from "@rollup/plugin-node-resolve";
10
- import cjs from "@rollup/plugin-commonjs";
11
- import sourcemaps from "rollup-plugin-sourcemaps";
12
- import multiEntry from "@rollup/plugin-multi-entry";
13
- import json from "@rollup/plugin-json";
14
-
15
- import nodeBuiltins from "builtin-modules";
16
-
17
- // #region Warning Handler
18
-
19
- /**
20
- * A function that can determine whether a rollup warning should be ignored. If
21
- * the function returns `true`, then the warning will not be displayed.
22
- */
23
-
24
- function ignoreNiseSinonEval(warning) {
25
- return (
26
- warning.code === "EVAL" &&
27
- warning.id &&
28
- (warning.id.includes("node_modules/nise") ||
29
- warning.id.includes("node_modules/sinon")) === true
30
- );
31
- }
32
-
33
- function ignoreChaiCircularDependency(warning) {
34
- return (
35
- warning.code === "CIRCULAR_DEPENDENCY" &&
36
- warning.importer && warning.importer.includes("node_modules/chai") === true
37
- );
38
- }
39
-
40
- const warningInhibitors = [ignoreChaiCircularDependency, ignoreNiseSinonEval];
41
-
42
- /**
43
- * Construct a warning handler for the shared rollup configuration
44
- * that ignores certain warnings that are not relevant to testing.
45
- */
46
- function makeOnWarnForTesting() {
47
- return (warning, warn) => {
48
- // If every inhibitor returns false (i.e. no inhibitors), then show the warning
49
- if (warningInhibitors.every((inhib) => !inhib(warning))) {
50
- warn(warning);
51
- }
52
- };
53
- }
54
-
55
- // #endregion
56
-
57
- function makeBrowserTestConfig() {
58
- const config = {
59
- input: {
60
- include: ["dist-esm/test/**/*.spec.js"],
61
- exclude: ["dist-esm/test/**/node/**"]
62
- },
63
- output: {
64
- file: `dist-test/index.browser.js`,
65
- format: "umd",
66
- sourcemap: true
67
- },
68
- preserveSymlinks: false,
69
- plugins: [
70
- multiEntry({ exports: false }),
71
- nodeResolve({
72
- mainFields: ["module", "browser"]
73
- }),
74
- cjs(),
75
- json(),
76
- sourcemaps()
77
- //viz({ filename: "dist-test/browser-stats.html", sourcemap: true })
78
- ],
79
- onwarn: makeOnWarnForTesting(),
80
- // Disable tree-shaking of test code. In rollup-plugin-node-resolve@5.0.0,
81
- // rollup started respecting the "sideEffects" field in package.json. Since
82
- // our package.json sets "sideEffects=false", this also applies to test
83
- // code, which causes all tests to be removed by tree-shaking.
84
- treeshake: false
85
- };
86
-
87
- return config;
88
- }
89
-
90
- const defaultConfigurationOptions = {
91
- disableBrowserBundle: false
92
- };
93
-
94
- export function makeConfig(pkg, options) {
95
- options = {
96
- ...defaultConfigurationOptions,
97
- ...(options || {})
98
- };
99
-
100
- const baseConfig = {
101
- // Use the package's module field if it has one
102
- input: pkg["module"] || "dist-esm/src/index.js",
103
- external: [
104
- ...nodeBuiltins,
105
- ...Object.keys(pkg.dependencies),
106
- ...Object.keys(pkg.devDependencies)
107
- ],
108
- output: { file: "dist/index.js", format: "cjs", sourcemap: true },
109
- preserveSymlinks: false,
110
- plugins: [sourcemaps(), nodeResolve()]
111
- };
112
-
113
- const config = [baseConfig];
114
-
115
- if (!options.disableBrowserBundle) {
116
- config.push(makeBrowserTestConfig());
117
- }
118
-
119
- return config;
120
- }
121
-
122
- export default makeConfig(require("./package.json"));