@ms-cloudpack/remote-cache 0.5.1-beta.0 → 0.5.1-beta.2

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.
@@ -1,12 +1,14 @@
1
1
  import {
2
2
  __commonJS,
3
- __require
4
- } from "./chunk-GFT2G5UO.js";
3
+ __require,
4
+ init_esbuildCjsShims
5
+ } from "./chunk-N2VHZU53.js";
5
6
 
6
7
  // ../../node_modules/has-flag/index.js
7
8
  var require_has_flag = __commonJS({
8
9
  "../../node_modules/has-flag/index.js"(exports, module) {
9
10
  "use strict";
11
+ init_esbuildCjsShims();
10
12
  module.exports = (flag, argv = process.argv) => {
11
13
  const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
12
14
  const position = argv.indexOf(prefix + flag);
@@ -20,6 +22,7 @@ var require_has_flag = __commonJS({
20
22
  var require_supports_color = __commonJS({
21
23
  "../../node_modules/supports-color/index.js"(exports, module) {
22
24
  "use strict";
25
+ init_esbuildCjsShims();
23
26
  var os = __require("os");
24
27
  var tty = __require("tty");
25
28
  var hasFlag = require_has_flag();
@@ -121,6 +124,7 @@ var require_supports_color = __commonJS({
121
124
  // ../../node_modules/safe-buffer/index.js
122
125
  var require_safe_buffer = __commonJS({
123
126
  "../../node_modules/safe-buffer/index.js"(exports, module) {
127
+ init_esbuildCjsShims();
124
128
  var buffer = __require("buffer");
125
129
  var Buffer = buffer.Buffer;
126
130
  function copyProps(src, dst) {
@@ -179,4 +183,3 @@ export {
179
183
  require_safe_buffer,
180
184
  require_supports_color
181
185
  };
182
- //# sourceMappingURL=chunk-VVROC42R.js.map
@@ -39,12 +39,25 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
39
39
  ));
40
40
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
41
41
 
42
+ // ../../scripts/esbuildCjsShims.js
43
+ import { createRequire } from "node:module";
44
+ import path from "node:path";
45
+ import url from "node:url";
46
+ var init_esbuildCjsShims = __esm({
47
+ "../../scripts/esbuildCjsShims.js"() {
48
+ "use strict";
49
+ globalThis.require = createRequire(import.meta.url);
50
+ globalThis.__filename = url.fileURLToPath(import.meta.url);
51
+ globalThis.__dirname = path.dirname(__filename);
52
+ }
53
+ });
54
+
42
55
  export {
43
56
  __require,
44
57
  __esm,
45
58
  __commonJS,
46
59
  __export,
47
60
  __toESM,
48
- __toCommonJS
61
+ __toCommonJS,
62
+ init_esbuildCjsShims
49
63
  };
50
- //# sourceMappingURL=chunk-GFT2G5UO.js.map
@@ -2,13 +2,15 @@ import {
2
2
  __commonJS,
3
3
  __esm,
4
4
  __export,
5
- __require
6
- } from "./chunk-GFT2G5UO.js";
5
+ __require,
6
+ init_esbuildCjsShims
7
+ } from "./chunk-N2VHZU53.js";
7
8
 
8
9
  // ../../node_modules/@azure/logger/dist/index.js
9
10
  var require_dist = __commonJS({
10
11
  "../../node_modules/@azure/logger/dist/index.js"(exports) {
11
12
  "use strict";
13
+ init_esbuildCjsShims();
12
14
  Object.defineProperty(exports, "__esModule", { value: true });
13
15
  var os = __require("os");
14
16
  var util = __require("util");
@@ -188,6 +190,7 @@ var require_dist = __commonJS({
188
190
  var require_dist2 = __commonJS({
189
191
  "../../node_modules/@azure/abort-controller/dist/index.js"(exports) {
190
192
  "use strict";
193
+ init_esbuildCjsShims();
191
194
  Object.defineProperty(exports, "__esModule", { value: true });
192
195
  var listenersMap = /* @__PURE__ */ new WeakMap();
193
196
  var abortedMap = /* @__PURE__ */ new WeakMap();
@@ -332,6 +335,7 @@ var require_dist2 = __commonJS({
332
335
  var require_dist3 = __commonJS({
333
336
  "../../node_modules/@azure/core-util/dist/index.js"(exports) {
334
337
  "use strict";
338
+ init_esbuildCjsShims();
335
339
  var abortController = require_dist2();
336
340
  var crypto = __require("crypto");
337
341
  function createAbortablePromise(buildPromise, options) {
@@ -983,6 +987,7 @@ function __disposeResources(env) {
983
987
  var extendStatics, __assign, __createBinding, __setModuleDefault, _SuppressedError, tslib_es6_default;
984
988
  var init_tslib_es6 = __esm({
985
989
  "../../node_modules/tslib/tslib.es6.mjs"() {
990
+ init_esbuildCjsShims();
986
991
  extendStatics = function(d, b) {
987
992
  extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
988
993
  d2.__proto__ = b2;
@@ -1068,4 +1073,3 @@ export {
1068
1073
  tslib_es6_exports,
1069
1074
  init_tslib_es6
1070
1075
  };
1071
- //# sourceMappingURL=chunk-KKZU5JW4.js.map
@@ -1,4 +1,9 @@
1
+ import {
2
+ init_esbuildCjsShims
3
+ } from "./chunk-N2VHZU53.js";
4
+
1
5
  // src/createBlobStorageUrl.ts
6
+ init_esbuildCjsShims();
2
7
  function createBlobStorageUrl(storageAccount) {
3
8
  return `https://${storageAccount}.blob.core.windows.net`;
4
9
  }
@@ -6,4 +11,3 @@ function createBlobStorageUrl(storageAccount) {
6
11
  export {
7
12
  createBlobStorageUrl
8
13
  };
9
- //# sourceMappingURL=chunk-XKOU5VXX.js.map