@ms-cloudpack/remote-cache 0.11.47 → 0.11.49
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 +4171 -0
- package/dist/{AzureRemoteCacheClient-F2NSDMK3.js → AzureRemoteCacheClient-UD3RM6RT.js} +14 -7
- package/dist/{ReporterDecorator-XVIYJ2LO.js → ReporterDecorator-ZL5AFS6T.js} +3 -1
- package/dist/{chunk-457DVHAF.js → chunk-G5MAFA37.js} +2 -0
- package/dist/{chunk-NQAW6ZWC.js → chunk-GSSWZTS6.js} +3 -1
- package/dist/{chunk-IDQKJSMB.js → chunk-ZYLGEKCT.js} +4 -2
- package/dist/{getCredential-2RUURC6Q.js → getCredential-TYTELKFM.js} +5 -3
- package/dist/{getListOfBlobs-7QFADTY2.js → getListOfBlobs-USCOZRLX.js} +3 -1
- package/dist/index.js +9 -7
- package/package.json +9 -8
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
import { createRequire as topLevelCreateRequire } from 'node:module';
|
|
2
4
|
import topLevelPath from 'node:path';
|
|
3
5
|
import topLevelUrl from 'node:url';
|
|
@@ -11,13 +13,13 @@ import {
|
|
|
11
13
|
require_commonjs4 as require_commonjs5,
|
|
12
14
|
require_commonjs5 as require_commonjs6,
|
|
13
15
|
require_package as require_package2
|
|
14
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZYLGEKCT.js";
|
|
15
17
|
import {
|
|
16
18
|
init_tslib_es6,
|
|
17
19
|
require_commonjs,
|
|
18
20
|
require_package2 as require_package,
|
|
19
21
|
tslib_es6_exports
|
|
20
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GSSWZTS6.js";
|
|
21
23
|
import {
|
|
22
24
|
__commonJS,
|
|
23
25
|
__name,
|
|
@@ -25,7 +27,7 @@ import {
|
|
|
25
27
|
__require,
|
|
26
28
|
__toCommonJS,
|
|
27
29
|
__toESM
|
|
28
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-G5MAFA37.js";
|
|
29
31
|
|
|
30
32
|
// ../../node_modules/.store/backfill-config-npm-6.7.1-3c831e058d/package/lib/cacheConfig.js
|
|
31
33
|
var require_cacheConfig = __commonJS({
|
|
@@ -43898,9 +43900,9 @@ var require_package48 = __commonJS({
|
|
|
43898
43900
|
}
|
|
43899
43901
|
});
|
|
43900
43902
|
|
|
43901
|
-
// ../../node_modules/.store/tar-fs-npm-2.1.
|
|
43903
|
+
// ../../node_modules/.store/tar-fs-npm-2.1.4-90a454735f/package/index.js
|
|
43902
43904
|
var require_package49 = __commonJS({
|
|
43903
|
-
"../../node_modules/.store/tar-fs-npm-2.1.
|
|
43905
|
+
"../../node_modules/.store/tar-fs-npm-2.1.4-90a454735f/package/index.js"(exports) {
|
|
43904
43906
|
var chownr = require_chownr();
|
|
43905
43907
|
var tar = require_package46();
|
|
43906
43908
|
var pump = require_package47();
|
|
@@ -44108,7 +44110,7 @@ var require_package49 = __commonJS({
|
|
|
44108
44110
|
if (win32) return next();
|
|
44109
44111
|
xfs.unlink(name, function() {
|
|
44110
44112
|
var dst = path.resolve(path.dirname(name), header.linkname);
|
|
44111
|
-
if (!dst
|
|
44113
|
+
if (!inCwd(dst, cwd)) return next(new Error(name + " is not a valid symlink"));
|
|
44112
44114
|
xfs.symlink(header.linkname, name, stat);
|
|
44113
44115
|
});
|
|
44114
44116
|
}, "onsymlink");
|
|
@@ -44117,7 +44119,7 @@ var require_package49 = __commonJS({
|
|
|
44117
44119
|
xfs.unlink(name, function() {
|
|
44118
44120
|
var srcpath = path.join(cwd, path.join("/", header.linkname));
|
|
44119
44121
|
xfs.realpath(srcpath, function(err, dst) {
|
|
44120
|
-
if (err || !dst
|
|
44122
|
+
if (err || !inCwd(dst, cwd)) return next(new Error(name + " is not a valid hardlink"));
|
|
44121
44123
|
xfs.link(dst, name, function(err2) {
|
|
44122
44124
|
if (err2 && err2.code === "EPERM" && opts.hardlinkAsFilesFallback) {
|
|
44123
44125
|
stream = xfs.createReadStream(srcpath);
|
|
@@ -44195,6 +44197,11 @@ var require_package49 = __commonJS({
|
|
|
44195
44197
|
});
|
|
44196
44198
|
}
|
|
44197
44199
|
__name(mkdirfix, "mkdirfix");
|
|
44200
|
+
function inCwd(dst, cwd) {
|
|
44201
|
+
cwd = path.resolve(cwd);
|
|
44202
|
+
return cwd === dst || dst.startsWith(cwd + path.sep);
|
|
44203
|
+
}
|
|
44204
|
+
__name(inCwd, "inCwd");
|
|
44198
44205
|
}
|
|
44199
44206
|
});
|
|
44200
44207
|
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
import { createRequire as topLevelCreateRequire } from 'node:module';
|
|
2
4
|
import topLevelPath from 'node:path';
|
|
3
5
|
import topLevelUrl from 'node:url';
|
|
@@ -6,7 +8,7 @@ const __filename = topLevelUrl.fileURLToPath(import.meta.url);
|
|
|
6
8
|
const __dirname = topLevelPath.dirname(__filename);
|
|
7
9
|
import {
|
|
8
10
|
__name
|
|
9
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-G5MAFA37.js";
|
|
10
12
|
|
|
11
13
|
// src/decorators/ReporterDecorator.ts
|
|
12
14
|
import { bulletedList } from "@ms-cloudpack/task-reporter";
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
import { createRequire as topLevelCreateRequire } from 'node:module';
|
|
2
4
|
import topLevelPath from 'node:path';
|
|
3
5
|
import topLevelUrl from 'node:url';
|
|
@@ -11,7 +13,7 @@ import {
|
|
|
11
13
|
__name,
|
|
12
14
|
__require,
|
|
13
15
|
__toCommonJS
|
|
14
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-G5MAFA37.js";
|
|
15
17
|
|
|
16
18
|
// ../../node_modules/.store/tslib-npm-2.8.1-66590b21b8/package/tslib.es6.mjs
|
|
17
19
|
var tslib_es6_exports = {};
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
import { createRequire as topLevelCreateRequire } from 'node:module';
|
|
2
4
|
import topLevelPath from 'node:path';
|
|
3
5
|
import topLevelUrl from 'node:url';
|
|
@@ -13,13 +15,13 @@ import {
|
|
|
13
15
|
require_state,
|
|
14
16
|
require_state2,
|
|
15
17
|
tslib_es6_exports
|
|
16
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GSSWZTS6.js";
|
|
17
19
|
import {
|
|
18
20
|
__commonJS,
|
|
19
21
|
__name,
|
|
20
22
|
__require,
|
|
21
23
|
__toCommonJS
|
|
22
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-G5MAFA37.js";
|
|
23
25
|
|
|
24
26
|
// ../../node_modules/.store/@typespec-ts-http-runtime-npm-0.3.0-dded0902cc/package/dist/commonjs/util/random.js
|
|
25
27
|
var require_random = __commonJS({
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
import { createRequire as topLevelCreateRequire } from 'node:module';
|
|
2
4
|
import topLevelPath from 'node:path';
|
|
3
5
|
import topLevelUrl from 'node:url';
|
|
@@ -10,11 +12,11 @@ import {
|
|
|
10
12
|
require_commonjs4,
|
|
11
13
|
require_commonjs5,
|
|
12
14
|
require_package as require_package2
|
|
13
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZYLGEKCT.js";
|
|
14
16
|
import {
|
|
15
17
|
require_commonjs,
|
|
16
18
|
require_package
|
|
17
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-GSSWZTS6.js";
|
|
18
20
|
import {
|
|
19
21
|
__commonJS,
|
|
20
22
|
__esm,
|
|
@@ -23,7 +25,7 @@ import {
|
|
|
23
25
|
__require,
|
|
24
26
|
__toCommonJS,
|
|
25
27
|
__toESM
|
|
26
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-G5MAFA37.js";
|
|
27
29
|
|
|
28
30
|
// ../../node_modules/.store/@azure-abort-controller-npm-1.1.0-5b4e309629/package/dist/index.js
|
|
29
31
|
var require_dist = __commonJS({
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
import { createRequire as topLevelCreateRequire } from 'node:module';
|
|
2
4
|
import topLevelPath from 'node:path';
|
|
3
5
|
import topLevelUrl from 'node:url';
|
|
@@ -6,7 +8,7 @@ const __filename = topLevelUrl.fileURLToPath(import.meta.url);
|
|
|
6
8
|
const __dirname = topLevelPath.dirname(__filename);
|
|
7
9
|
import {
|
|
8
10
|
__name
|
|
9
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-G5MAFA37.js";
|
|
10
12
|
|
|
11
13
|
// src/getListOfBlobs.ts
|
|
12
14
|
async function getListOfBlobs(containerClient, context) {
|
package/dist/index.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
// @ts-nocheck
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
import { createRequire as topLevelCreateRequire } from 'node:module';
|
|
2
4
|
import topLevelPath from 'node:path';
|
|
3
5
|
import topLevelUrl from 'node:url';
|
|
@@ -16,13 +18,13 @@ import {
|
|
|
16
18
|
require_dist2,
|
|
17
19
|
require_state,
|
|
18
20
|
require_state2
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GSSWZTS6.js";
|
|
20
22
|
import {
|
|
21
23
|
__export,
|
|
22
24
|
__name,
|
|
23
25
|
__publicField,
|
|
24
26
|
__toESM
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-G5MAFA37.js";
|
|
26
28
|
|
|
27
29
|
// src/registerAzureLogger.ts
|
|
28
30
|
import EventEmitter from "events";
|
|
@@ -32586,10 +32588,10 @@ async function createRemoteCacheClient(params) {
|
|
|
32586
32588
|
const { container, loginMethod, storageAccount, cachePath, tenantId } = options;
|
|
32587
32589
|
const { telemetryClient } = context3;
|
|
32588
32590
|
return telemetryClient.tracer.startActiveSpan("CREATE_REMOTE_CACHE_CLIENT", async () => {
|
|
32589
|
-
const { getCredential } = await import("./getCredential-
|
|
32590
|
-
const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-
|
|
32591
|
-
const { ReporterDecorator } = await import("./ReporterDecorator-
|
|
32592
|
-
const { getListOfBlobs } = await import("./getListOfBlobs-
|
|
32591
|
+
const { getCredential } = await import("./getCredential-TYTELKFM.js");
|
|
32592
|
+
const { AzureRemoteCacheClient } = await import("./AzureRemoteCacheClient-UD3RM6RT.js");
|
|
32593
|
+
const { ReporterDecorator } = await import("./ReporterDecorator-ZL5AFS6T.js");
|
|
32594
|
+
const { getListOfBlobs } = await import("./getListOfBlobs-USCOZRLX.js");
|
|
32593
32595
|
const credential = await getCredential(
|
|
32594
32596
|
{ loginMethod, cachePath, tenantId },
|
|
32595
32597
|
{ ...context3, azureLogger: azureLogEventHandler }
|
|
@@ -36603,7 +36605,7 @@ async function createAppRegistryClient(params) {
|
|
|
36603
36605
|
const { context: context3, options } = params;
|
|
36604
36606
|
const { loginMethod, cachePath, tenantId = defaultTenantId, storageAccount = defaultStorageAccount } = options;
|
|
36605
36607
|
const azureLogEventHandler = registerAzureLogger();
|
|
36606
|
-
const { getCredential } = await import("./getCredential-
|
|
36608
|
+
const { getCredential } = await import("./getCredential-TYTELKFM.js");
|
|
36607
36609
|
const credential = await getCredential(
|
|
36608
36610
|
{ loginMethod, cachePath, tenantId },
|
|
36609
36611
|
{ ...context3, azureLogger: azureLogEventHandler }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ms-cloudpack/remote-cache",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.49",
|
|
4
4
|
"description": "Manages syncing the local Cloudpack cached assets to/from a remote storage service.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -22,16 +22,12 @@
|
|
|
22
22
|
"test:watch": "cloudpack-scripts test-watch",
|
|
23
23
|
"test": "cloudpack-scripts test"
|
|
24
24
|
},
|
|
25
|
-
"files": [
|
|
26
|
-
"dist",
|
|
27
|
-
"lib/**/*.d.ts"
|
|
28
|
-
],
|
|
29
25
|
"dependencies": {
|
|
30
|
-
"@ms-cloudpack/common-types": "^0.
|
|
26
|
+
"@ms-cloudpack/common-types": "^0.31.0",
|
|
31
27
|
"@ms-cloudpack/environment": "^0.1.1",
|
|
32
28
|
"@ms-cloudpack/retry": "^0.1.3",
|
|
33
29
|
"@ms-cloudpack/task-reporter": "^0.17.4",
|
|
34
|
-
"@ms-cloudpack/telemetry": "^0.11.
|
|
30
|
+
"@ms-cloudpack/telemetry": "^0.11.49",
|
|
35
31
|
"@napi-rs/keyring": "1.2.0",
|
|
36
32
|
"mime-types": "^3.0.0",
|
|
37
33
|
"node-dpapi-prebuilt": "^1.0.3"
|
|
@@ -51,5 +47,10 @@
|
|
|
51
47
|
"backfill-cache": "^5.9.0",
|
|
52
48
|
"backfill-config": "^6.5.0",
|
|
53
49
|
"backfill-logger": "^5.2.1"
|
|
54
|
-
}
|
|
50
|
+
},
|
|
51
|
+
"files": [
|
|
52
|
+
"dist",
|
|
53
|
+
"lib/**/*.d.ts",
|
|
54
|
+
"NOTICE.txt"
|
|
55
|
+
]
|
|
55
56
|
}
|