@azure/synapse-monitoring 1.0.0-alpha.20230602.1 → 1.0.0-alpha.20230616.1
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/dist/index.js +28 -10
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1610,14 +1610,6 @@ function isAzureLogLevel(logLevel) {
|
|
|
1610
1610
|
// Copyright (c) Microsoft Corporation.
|
|
1611
1611
|
const logger$1 = createClientLogger("core-rest-pipeline");
|
|
1612
1612
|
|
|
1613
|
-
// Copyright (c) Microsoft Corporation.
|
|
1614
|
-
// Licensed under the MIT license.
|
|
1615
|
-
var _a$1;
|
|
1616
|
-
/**
|
|
1617
|
-
* A constant that indicates whether the environment the code is running is Node.JS.
|
|
1618
|
-
*/
|
|
1619
|
-
const isNode = typeof process !== "undefined" && Boolean(process.version) && Boolean((_a$1 = process.versions) === null || _a$1 === void 0 ? void 0 : _a$1.node);
|
|
1620
|
-
|
|
1621
1613
|
// Copyright (c) Microsoft Corporation.
|
|
1622
1614
|
// Licensed under the MIT license.
|
|
1623
1615
|
/// <reference path="../shims-public.d.ts" />
|
|
@@ -1961,9 +1953,9 @@ function generateUUID() {
|
|
|
1961
1953
|
|
|
1962
1954
|
// Copyright (c) Microsoft Corporation.
|
|
1963
1955
|
// Licensed under the MIT license.
|
|
1964
|
-
var _a;
|
|
1956
|
+
var _a$1;
|
|
1965
1957
|
// NOTE: This is a workaround until we can use `globalThis.crypto.randomUUID` in Node.js 19+.
|
|
1966
|
-
let uuidFunction = typeof ((_a = globalThis === null || globalThis === void 0 ? void 0 : globalThis.crypto) === null || _a === void 0 ? void 0 : _a.randomUUID) === "function"
|
|
1958
|
+
let uuidFunction = typeof ((_a$1 = globalThis === null || globalThis === void 0 ? void 0 : globalThis.crypto) === null || _a$1 === void 0 ? void 0 : _a$1.randomUUID) === "function"
|
|
1967
1959
|
? globalThis.crypto.randomUUID.bind(globalThis.crypto)
|
|
1968
1960
|
: crypto.randomUUID;
|
|
1969
1961
|
// Not defined in earlier versions of Node.js 14
|
|
@@ -1979,6 +1971,32 @@ function randomUUID() {
|
|
|
1979
1971
|
return uuidFunction();
|
|
1980
1972
|
}
|
|
1981
1973
|
|
|
1974
|
+
// Copyright (c) Microsoft Corporation.
|
|
1975
|
+
// Licensed under the MIT license.
|
|
1976
|
+
var _a, _b, _c, _d;
|
|
1977
|
+
/**
|
|
1978
|
+
* A constant that indicates whether the environment the code is running is a Web Worker.
|
|
1979
|
+
*/
|
|
1980
|
+
typeof self === "object" &&
|
|
1981
|
+
typeof (self === null || self === void 0 ? void 0 : self.importScripts) === "function" &&
|
|
1982
|
+
(((_a = self.constructor) === null || _a === void 0 ? void 0 : _a.name) === "DedicatedWorkerGlobalScope" ||
|
|
1983
|
+
((_b = self.constructor) === null || _b === void 0 ? void 0 : _b.name) === "ServiceWorkerGlobalScope" ||
|
|
1984
|
+
((_c = self.constructor) === null || _c === void 0 ? void 0 : _c.name) === "SharedWorkerGlobalScope");
|
|
1985
|
+
/**
|
|
1986
|
+
* A constant that indicates whether the environment the code is running is Node.JS.
|
|
1987
|
+
*/
|
|
1988
|
+
const isNode = typeof process !== "undefined" && Boolean(process.version) && Boolean((_d = process.versions) === null || _d === void 0 ? void 0 : _d.node);
|
|
1989
|
+
/**
|
|
1990
|
+
* A constant that indicates whether the environment the code is running is Deno.
|
|
1991
|
+
*/
|
|
1992
|
+
typeof Deno !== "undefined" &&
|
|
1993
|
+
typeof Deno.version !== "undefined" &&
|
|
1994
|
+
typeof Deno.version.deno !== "undefined";
|
|
1995
|
+
/**
|
|
1996
|
+
* A constant that indicates whether the environment the code is running is Bun.sh.
|
|
1997
|
+
*/
|
|
1998
|
+
typeof Bun !== "undefined" && typeof Bun.version !== "undefined";
|
|
1999
|
+
|
|
1982
2000
|
// Copyright (c) Microsoft Corporation.
|
|
1983
2001
|
const RedactedString = "REDACTED";
|
|
1984
2002
|
// Make sure this list is up-to-date with the one under core/logger/Readme#Keyconcepts
|