@dbx-tools/databricks 0.1.9 → 0.1.11
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/package.json +4 -4
- package/src/cloud.ts +2 -2
package/package.json
CHANGED
|
@@ -12,13 +12,13 @@
|
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@databricks/sdk-experimental": "^0.17.0",
|
|
15
|
-
"@dbx-tools/appkit": "0.1.
|
|
16
|
-
"@dbx-tools/core": "0.1.
|
|
17
|
-
"@dbx-tools/
|
|
15
|
+
"@dbx-tools/appkit": "0.1.11",
|
|
16
|
+
"@dbx-tools/shared-core": "0.1.11",
|
|
17
|
+
"@dbx-tools/core": "0.1.11"
|
|
18
18
|
},
|
|
19
19
|
"main": "index.ts",
|
|
20
20
|
"license": "UNLICENSED",
|
|
21
|
-
"version": "0.1.
|
|
21
|
+
"version": "0.1.11",
|
|
22
22
|
"types": "index.ts",
|
|
23
23
|
"type": "module",
|
|
24
24
|
"exports": {
|
package/src/cloud.ts
CHANGED
|
@@ -22,7 +22,7 @@ import { tmpdir } from "node:os";
|
|
|
22
22
|
import { dirname, join } from "node:path";
|
|
23
23
|
|
|
24
24
|
import { error, functionModule, hash, http, log, net } from "@dbx-tools/shared-core";
|
|
25
|
-
import {
|
|
25
|
+
import { file } from "@dbx-tools/core";
|
|
26
26
|
import { resolveHostIps } from "./net";
|
|
27
27
|
|
|
28
28
|
const logger = log.logger("cloud");
|
|
@@ -279,5 +279,5 @@ async function fetchText(url: string): Promise<string> {
|
|
|
279
279
|
|
|
280
280
|
/** Birth time of `path`, or `undefined` when it doesn't exist yet. */
|
|
281
281
|
async function getCreated(path: string): Promise<Date | undefined> {
|
|
282
|
-
return (await
|
|
282
|
+
return (await file.statSync(path))?.birthtime;
|
|
283
283
|
}
|