bulletin-deploy 0.7.7 → 0.7.8-rc.0

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.
@@ -9,10 +9,10 @@ import {
9
9
  offerBugReport,
10
10
  scrubSecrets,
11
11
  setDeployContext
12
- } from "./chunk-D3SJZTE2.js";
13
- import "./chunk-BEAOHOTJ.js";
14
- import "./chunk-LNFD7QP6.js";
15
- import "./chunk-VKADME5F.js";
12
+ } from "./chunk-HG6H62YE.js";
13
+ import "./chunk-XMS3ZOK3.js";
14
+ import "./chunk-72U44YJR.js";
15
+ import "./chunk-WZLPZEOU.js";
16
16
  import "./chunk-QGM4M3NI.js";
17
17
  export {
18
18
  buildCliFlagsSummary,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  package_default,
3
3
  writeRunState
4
- } from "./chunk-VKADME5F.js";
4
+ } from "./chunk-WZLPZEOU.js";
5
5
 
6
6
  // src/memory-report.ts
7
7
  import * as fs2 from "fs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  setDeployContext
3
- } from "./chunk-D3SJZTE2.js";
3
+ } from "./chunk-HG6H62YE.js";
4
4
  import {
5
5
  DotNS,
6
6
  TX_TIMEOUT_MS,
@@ -8,7 +8,7 @@ import {
8
8
  parseDomainName,
9
9
  popStatusName,
10
10
  verifyNonceAdvanced
11
- } from "./chunk-EOCLCWCS.js";
11
+ } from "./chunk-Y3USRHBG.js";
12
12
  import {
13
13
  MirrorSkipped,
14
14
  mirrorToGitHubPages,
@@ -27,7 +27,7 @@ import {
27
27
  truncateAddress,
28
28
  withDeploySpan,
29
29
  withSpan
30
- } from "./chunk-LNFD7QP6.js";
30
+ } from "./chunk-72U44YJR.js";
31
31
  import {
32
32
  merkleizeJS
33
33
  } from "./chunk-B7GUYYAN.js";
@@ -2,11 +2,11 @@ import {
2
2
  classifyErrorArea,
3
3
  isInteractive,
4
4
  promptYesNo
5
- } from "./chunk-BEAOHOTJ.js";
5
+ } from "./chunk-XMS3ZOK3.js";
6
6
  import {
7
7
  VERSION,
8
8
  getCurrentSentryTraceId
9
- } from "./chunk-LNFD7QP6.js";
9
+ } from "./chunk-72U44YJR.js";
10
10
 
11
11
  // src/bug-report.ts
12
12
  import { execSync, execFileSync } from "child_process";
@@ -6,7 +6,7 @@ import * as path from "path";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "bulletin-deploy",
9
- version: "0.7.7",
9
+ version: "0.7.8-rc.0",
10
10
  private: false,
11
11
  repository: {
12
12
  type: "git",
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-LNFD7QP6.js";
3
+ } from "./chunk-72U44YJR.js";
4
4
 
5
5
  // src/version-check.ts
6
6
  import { execSync, execFileSync } from "child_process";
@@ -2,7 +2,7 @@ import {
2
2
  captureWarning,
3
3
  setDeployAttribute,
4
4
  withSpan
5
- } from "./chunk-LNFD7QP6.js";
5
+ } from "./chunk-72U44YJR.js";
6
6
  import {
7
7
  isTestnetSpecName
8
8
  } from "./chunk-RP4YJYNB.js";
@@ -310,13 +310,14 @@ function parseDomainName(input) {
310
310
  const name = input.replace(/\.dot$/, "");
311
311
  const parts = name.split(".");
312
312
  if (parts.length === 1) {
313
- validateDomainLabel(parts[0]);
314
- return { isSubdomain: false, label: parts[0], sublabel: null, parentLabel: null, fullName: `${parts[0]}.dot` };
313
+ const sanitized = validateDomainLabel(parts[0]);
314
+ return { isSubdomain: false, label: sanitized, sublabel: null, parentLabel: null, fullName: `${sanitized}.dot` };
315
315
  }
316
316
  if (parts.length === 2) {
317
- validateDomainLabel(parts[0]);
318
- validateDomainLabel(parts[1]);
319
- return { isSubdomain: true, label: name, sublabel: parts[0], parentLabel: parts[1], fullName: `${name}.dot` };
317
+ const sanitizedSub = validateDomainLabel(parts[0]);
318
+ const sanitizedParent = validateDomainLabel(parts[1]);
319
+ const fullLabel = `${sanitizedSub}.${sanitizedParent}`;
320
+ return { isSubdomain: true, label: fullLabel, sublabel: sanitizedSub, parentLabel: sanitizedParent, fullName: `${fullLabel}.dot` };
320
321
  }
321
322
  throw new Error(`Invalid domain: only one level of subdomains supported (got ${parts.length} labels)`);
322
323
  }
package/dist/deploy.js CHANGED
@@ -26,13 +26,13 @@ import {
26
26
  storeChunkedContent,
27
27
  storeDirectory,
28
28
  storeFile
29
- } from "./chunk-77SWQOPW.js";
30
- import "./chunk-D3SJZTE2.js";
31
- import "./chunk-BEAOHOTJ.js";
32
- import "./chunk-EOCLCWCS.js";
29
+ } from "./chunk-ER4T6LEM.js";
30
+ import "./chunk-HG6H62YE.js";
31
+ import "./chunk-XMS3ZOK3.js";
32
+ import "./chunk-Y3USRHBG.js";
33
33
  import "./chunk-HOTQDYHD.js";
34
- import "./chunk-LNFD7QP6.js";
35
- import "./chunk-VKADME5F.js";
34
+ import "./chunk-72U44YJR.js";
35
+ import "./chunk-WZLPZEOU.js";
36
36
  import "./chunk-B7GUYYAN.js";
37
37
  import "./chunk-RP4YJYNB.js";
38
38
  import "./chunk-QGM4M3NI.js";
package/dist/dotns.js CHANGED
@@ -35,9 +35,9 @@ import {
35
35
  stripTrailingDigits,
36
36
  validateDomainLabel,
37
37
  verifyNonceAdvanced
38
- } from "./chunk-EOCLCWCS.js";
39
- import "./chunk-LNFD7QP6.js";
40
- import "./chunk-VKADME5F.js";
38
+ } from "./chunk-Y3USRHBG.js";
39
+ import "./chunk-72U44YJR.js";
40
+ import "./chunk-WZLPZEOU.js";
41
41
  import "./chunk-RP4YJYNB.js";
42
42
  import "./chunk-QGM4M3NI.js";
43
43
  export {
package/dist/index.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  deploy
3
- } from "./chunk-77SWQOPW.js";
4
- import "./chunk-D3SJZTE2.js";
5
- import "./chunk-BEAOHOTJ.js";
3
+ } from "./chunk-ER4T6LEM.js";
4
+ import "./chunk-HG6H62YE.js";
5
+ import "./chunk-XMS3ZOK3.js";
6
6
  import {
7
7
  DotNS,
8
8
  parseDomainName
9
- } from "./chunk-EOCLCWCS.js";
9
+ } from "./chunk-Y3USRHBG.js";
10
10
  import "./chunk-HOTQDYHD.js";
11
- import "./chunk-LNFD7QP6.js";
11
+ import "./chunk-72U44YJR.js";
12
12
  import {
13
13
  VERSION,
14
14
  loadRunState,
@@ -18,7 +18,7 @@ import {
18
18
  shouldSkipStaleWarning,
19
19
  stateFilePath,
20
20
  writeRunState
21
- } from "./chunk-VKADME5F.js";
21
+ } from "./chunk-WZLPZEOU.js";
22
22
  import {
23
23
  merkleizeJS
24
24
  } from "./chunk-B7GUYYAN.js";
@@ -5,8 +5,8 @@ import {
5
5
  maybeWriteMemoryReport,
6
6
  safeHeap,
7
7
  sampleFromBytes
8
- } from "./chunk-LNFD7QP6.js";
9
- import "./chunk-VKADME5F.js";
8
+ } from "./chunk-72U44YJR.js";
9
+ import "./chunk-WZLPZEOU.js";
10
10
  import "./chunk-QGM4M3NI.js";
11
11
  export {
12
12
  DEFAULT_THRESHOLD_MB,
package/dist/run-state.js CHANGED
@@ -7,7 +7,7 @@ import {
7
7
  shouldSkipStaleWarning,
8
8
  stateFilePath,
9
9
  writeRunState
10
- } from "./chunk-VKADME5F.js";
10
+ } from "./chunk-WZLPZEOU.js";
11
11
  import "./chunk-QGM4M3NI.js";
12
12
  export {
13
13
  VERSION,
package/dist/telemetry.js CHANGED
@@ -24,8 +24,8 @@ import {
24
24
  truncateAddress,
25
25
  withDeploySpan,
26
26
  withSpan
27
- } from "./chunk-LNFD7QP6.js";
28
- import "./chunk-VKADME5F.js";
27
+ } from "./chunk-72U44YJR.js";
28
+ import "./chunk-WZLPZEOU.js";
29
29
  import "./chunk-QGM4M3NI.js";
30
30
  export {
31
31
  VERSION,
@@ -8,9 +8,9 @@ import {
8
8
  isPreReleaseVersion,
9
9
  preReleaseWarning,
10
10
  promptYesNo
11
- } from "./chunk-BEAOHOTJ.js";
12
- import "./chunk-LNFD7QP6.js";
13
- import "./chunk-VKADME5F.js";
11
+ } from "./chunk-XMS3ZOK3.js";
12
+ import "./chunk-72U44YJR.js";
13
+ import "./chunk-WZLPZEOU.js";
14
14
  import "./chunk-QGM4M3NI.js";
15
15
  export {
16
16
  assessVersion,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bulletin-deploy",
3
- "version": "0.7.7",
3
+ "version": "0.7.8-rc.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",