@ms-cloudpack/remote-cache 0.11.63 → 0.11.65

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/NOTICE.txt CHANGED
@@ -2447,7 +2447,7 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEAL
2447
2447
 
2448
2448
  ----
2449
2449
 
2450
- jws 3.2.2 - MIT
2450
+ jws 3.2.3 - MIT
2451
2451
  https://github.com/brianloveswords/node-jws
2452
2452
 
2453
2453
  Author: Brian J Brennan
@@ -2472,14 +2472,14 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEAL
2472
2472
 
2473
2473
  ----
2474
2474
 
2475
- locate-path 6.0.0 - MIT
2475
+ locate-path 5.0.0 - MIT
2476
2476
  https://github.com/sindresorhus/locate-path
2477
2477
 
2478
- Author: Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
2478
+ Author: Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
2479
2479
 
2480
2480
  MIT License
2481
2481
 
2482
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
2482
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
2483
2483
 
2484
2484
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
2485
2485
 
@@ -2489,14 +2489,14 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
2489
2489
 
2490
2490
  ----
2491
2491
 
2492
- locate-path 5.0.0 - MIT
2492
+ locate-path 6.0.0 - MIT
2493
2493
  https://github.com/sindresorhus/locate-path
2494
2494
 
2495
- Author: Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
2495
+ Author: Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
2496
2496
 
2497
2497
  MIT License
2498
2498
 
2499
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
2499
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
2500
2500
 
2501
2501
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
2502
2502
 
@@ -3134,14 +3134,14 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
3134
3134
 
3135
3135
  ----
3136
3136
 
3137
- p-locate 5.0.0 - MIT
3137
+ p-locate 4.1.0 - MIT
3138
3138
  https://github.com/sindresorhus/p-locate
3139
3139
 
3140
- Author: Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
3140
+ Author: Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
3141
3141
 
3142
3142
  MIT License
3143
3143
 
3144
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
3144
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
3145
3145
 
3146
3146
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3147
3147
 
@@ -3151,14 +3151,14 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
3151
3151
 
3152
3152
  ----
3153
3153
 
3154
- p-locate 4.1.0 - MIT
3154
+ p-locate 5.0.0 - MIT
3155
3155
  https://github.com/sindresorhus/p-locate
3156
3156
 
3157
- Author: Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
3157
+ Author: Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
3158
3158
 
3159
3159
  MIT License
3160
3160
 
3161
- Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
3161
+ Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
3162
3162
 
3163
3163
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
3164
3164
 
@@ -9648,9 +9648,9 @@ var init_TokenCache = __esm({
9648
9648
  }
9649
9649
  });
9650
9650
 
9651
- // ../../node_modules/.store/jws-npm-3.2.2-c1ae59c7af/package/lib/data-stream.js
9651
+ // ../../node_modules/.store/jws-npm-3.2.3-b393e05a7c/package/lib/data-stream.js
9652
9652
  var require_data_stream = __commonJS({
9653
- "../../node_modules/.store/jws-npm-3.2.2-c1ae59c7af/package/lib/data-stream.js"(exports, module) {
9653
+ "../../node_modules/.store/jws-npm-3.2.3-b393e05a7c/package/lib/data-stream.js"(exports, module) {
9654
9654
  var Buffer2 = require_package2().Buffer;
9655
9655
  var Stream = __require("stream");
9656
9656
  var util = __require("util");
@@ -10145,9 +10145,9 @@ var require_package4 = __commonJS({
10145
10145
  }
10146
10146
  });
10147
10147
 
10148
- // ../../node_modules/.store/jws-npm-3.2.2-c1ae59c7af/package/lib/tostring.js
10148
+ // ../../node_modules/.store/jws-npm-3.2.3-b393e05a7c/package/lib/tostring.js
10149
10149
  var require_tostring = __commonJS({
10150
- "../../node_modules/.store/jws-npm-3.2.2-c1ae59c7af/package/lib/tostring.js"(exports, module) {
10150
+ "../../node_modules/.store/jws-npm-3.2.3-b393e05a7c/package/lib/tostring.js"(exports, module) {
10151
10151
  var Buffer2 = __require("buffer").Buffer;
10152
10152
  module.exports = /* @__PURE__ */ __name(function toString(obj) {
10153
10153
  if (typeof obj === "string")
@@ -10159,9 +10159,9 @@ var require_tostring = __commonJS({
10159
10159
  }
10160
10160
  });
10161
10161
 
10162
- // ../../node_modules/.store/jws-npm-3.2.2-c1ae59c7af/package/lib/sign-stream.js
10162
+ // ../../node_modules/.store/jws-npm-3.2.3-b393e05a7c/package/lib/sign-stream.js
10163
10163
  var require_sign_stream = __commonJS({
10164
- "../../node_modules/.store/jws-npm-3.2.2-c1ae59c7af/package/lib/sign-stream.js"(exports, module) {
10164
+ "../../node_modules/.store/jws-npm-3.2.3-b393e05a7c/package/lib/sign-stream.js"(exports, module) {
10165
10165
  var Buffer2 = require_package2().Buffer;
10166
10166
  var DataStream = require_data_stream();
10167
10167
  var jwa = require_package4();
@@ -10191,7 +10191,12 @@ var require_sign_stream = __commonJS({
10191
10191
  }
10192
10192
  __name(jwsSign, "jwsSign");
10193
10193
  function SignStream(opts) {
10194
- var secret = opts.secret || opts.privateKey || opts.key;
10194
+ var secret = opts.secret;
10195
+ secret = secret == null ? opts.privateKey : secret;
10196
+ secret = secret == null ? opts.key : secret;
10197
+ if (/^hs/i.test(opts.header.alg) === true && secret == null) {
10198
+ throw new TypeError("secret must be a string or buffer or a KeyObject");
10199
+ }
10195
10200
  var secretStream = new DataStream(secret);
10196
10201
  this.readable = true;
10197
10202
  this.header = opts.header;
@@ -10233,9 +10238,9 @@ var require_sign_stream = __commonJS({
10233
10238
  }
10234
10239
  });
10235
10240
 
10236
- // ../../node_modules/.store/jws-npm-3.2.2-c1ae59c7af/package/lib/verify-stream.js
10241
+ // ../../node_modules/.store/jws-npm-3.2.3-b393e05a7c/package/lib/verify-stream.js
10237
10242
  var require_verify_stream = __commonJS({
10238
- "../../node_modules/.store/jws-npm-3.2.2-c1ae59c7af/package/lib/verify-stream.js"(exports, module) {
10243
+ "../../node_modules/.store/jws-npm-3.2.3-b393e05a7c/package/lib/verify-stream.js"(exports, module) {
10239
10244
  var Buffer2 = require_package2().Buffer;
10240
10245
  var DataStream = require_data_stream();
10241
10246
  var jwa = require_package4();
@@ -10313,7 +10318,12 @@ var require_verify_stream = __commonJS({
10313
10318
  __name(jwsDecode, "jwsDecode");
10314
10319
  function VerifyStream(opts) {
10315
10320
  opts = opts || {};
10316
- var secretOrKey = opts.secret || opts.publicKey || opts.key;
10321
+ var secretOrKey = opts.secret;
10322
+ secretOrKey = secretOrKey == null ? opts.publicKey : secretOrKey;
10323
+ secretOrKey = secretOrKey == null ? opts.key : secretOrKey;
10324
+ if (/^hs/i.test(opts.algorithm) === true && secretOrKey == null) {
10325
+ throw new TypeError("secret must be a string or buffer or a KeyObject");
10326
+ }
10317
10327
  var secretStream = new DataStream(secretOrKey);
10318
10328
  this.readable = true;
10319
10329
  this.algorithm = opts.algorithm;
@@ -10353,9 +10363,9 @@ var require_verify_stream = __commonJS({
10353
10363
  }
10354
10364
  });
10355
10365
 
10356
- // ../../node_modules/.store/jws-npm-3.2.2-c1ae59c7af/package/index.js
10366
+ // ../../node_modules/.store/jws-npm-3.2.3-b393e05a7c/package/index.js
10357
10367
  var require_package5 = __commonJS({
10358
- "../../node_modules/.store/jws-npm-3.2.2-c1ae59c7af/package/index.js"(exports) {
10368
+ "../../node_modules/.store/jws-npm-3.2.3-b393e05a7c/package/index.js"(exports) {
10359
10369
  var SignStream = require_sign_stream();
10360
10370
  var VerifyStream = require_verify_stream();
10361
10371
  var ALGORITHMS = [
package/dist/index.js CHANGED
@@ -32996,7 +32996,7 @@ async function createRemoteCacheClient(params) {
32996
32996
  const { container, loginMethod, storageAccount, cachePath, tenantId } = options;
32997
32997
  const { telemetryClient } = context3;
32998
32998
  return telemetryClient.tracer.startActiveSpan("CREATE_REMOTE_CACHE_CLIENT", async () => {
32999
- const { getCredential } = await import("./getCredential-25LXQMJS.js");
32999
+ const { getCredential } = await import("./getCredential-XUA7YCDE.js");
33000
33000
  const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-X37K4TRO.js");
33001
33001
  const { ReporterDecorator } = await import("./ReporterDecorator-ZL5AFS6T.js");
33002
33002
  const { getListOfBlobs } = await import("./getListOfBlobs-USCOZRLX.js");
@@ -37100,7 +37100,7 @@ async function createAppRegistryClient(params) {
37100
37100
  const { context: context3, options } = params;
37101
37101
  const { loginMethod, cachePath, tenantId = defaultTenantId, storageAccount = defaultStorageAccount } = options;
37102
37102
  const azureLogEventHandler = registerAzureLogger();
37103
- const { getCredential } = await import("./getCredential-25LXQMJS.js");
37103
+ const { getCredential } = await import("./getCredential-XUA7YCDE.js");
37104
37104
  const credential = await getCredential(
37105
37105
  { loginMethod, cachePath, tenantId },
37106
37106
  { ...context3, azureLogger: azureLogEventHandler }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/remote-cache",
3
- "version": "0.11.63",
3
+ "version": "0.11.65",
4
4
  "description": "Manages syncing the local Cloudpack cached assets to/from a remote storage service.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -26,8 +26,8 @@
26
26
  "@ms-cloudpack/common-types": "^0.33.2",
27
27
  "@ms-cloudpack/environment": "^0.1.1",
28
28
  "@ms-cloudpack/retry": "^0.1.3",
29
- "@ms-cloudpack/task-reporter": "^0.17.4",
30
- "@ms-cloudpack/telemetry": "^0.11.63",
29
+ "@ms-cloudpack/task-reporter": "^0.19.0",
30
+ "@ms-cloudpack/telemetry": "^0.11.65",
31
31
  "@napi-rs/keyring": "1.2.0",
32
32
  "mime-types": "^3.0.0",
33
33
  "node-dpapi-prebuilt": "^1.0.3"