@getmicdrop/venue-calendar 4.2.33 → 4.2.35

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.
Files changed (115) hide show
  1. package/dist/{ArrowLeftIcon-B92-MN6-.js → ArrowLeftIcon-DS-NEije.js} +1 -1
  2. package/dist/{Badge-Bv_MT-Vt.js → Badge-DIHnRZlw.js} +1 -1
  3. package/dist/{BlockPlaceholder-DuE4xLS_.js → BlockPlaceholder-Dy9fStDr.js} +1 -1
  4. package/dist/{Calendar-CX3S7j_2.js → Calendar-CXwhGAmC.js} +19 -19
  5. package/dist/{CalendarFoundryView-CE5VMPRl.js → CalendarFoundryView-BRurhscw.js} +950 -950
  6. package/dist/{CalendarIcon-pJ01x71c.js → CalendarIcon-CvZ-GUH_.js} +1 -1
  7. package/dist/{CartView-BZALykSb.js → CartView-DT8DlMqQ.js} +532 -532
  8. package/dist/{Checkout-c6ExwNzk.js → Checkout-D3VqG09o.js} +173 -173
  9. package/dist/{Checkout-B6BHEAwF.js → Checkout-UU9C7CXV.js} +129 -129
  10. package/dist/{CheckoutTimer-Bz-HJhV2.js → CheckoutTimer-2WEgppW1.js} +5 -5
  11. package/dist/{ChevronDownIcon-k93EaHQh.js → ChevronDownIcon-DXbr-7H6.js} +1 -1
  12. package/dist/{ClockIcon-hnrV9bwg.js → ClockIcon-Dyx1LMo7.js} +1 -1
  13. package/dist/{CloseIcon-CdZ5mNTK.js → CloseIcon-NMHzwT75.js} +1 -1
  14. package/dist/{CollectionView-BMDKM-lg.js → CollectionView-DyMB_bPY.js} +9 -10
  15. package/dist/{Event-DvRnmTdU.js → Event-CXCOnkmi.js} +85 -85
  16. package/dist/EventPage-HlhaVqRG.js +981 -0
  17. package/dist/{Heading-Dfo3bjyn.js → Heading-DcZtRBSB.js} +1 -1
  18. package/dist/{Image-B3cEndLZ.js → Image-BZGbFJLw.js} +1 -1
  19. package/dist/{Input-BntIoPeV.js → Input-Cgdxdj6y.js} +1 -1
  20. package/dist/{MailIcon-CMyjGJ4_.js → MailIcon-D34sBBQX.js} +1 -1
  21. package/dist/{Modal-CpMs0l2W.js → Modal-BvT64ak1.js} +2 -2
  22. package/dist/{ModalFooter-Kdyt5XyP.js → ModalFooter-DM1dyl4S.js} +2 -2
  23. package/dist/{PasswordInput-C91gXtFY.js → PasswordInput-BNKrzXNm.js} +1 -1
  24. package/dist/{ScarcityBadge-C0YeWGkd.js → ScarcityBadge-DmbmsFlY.js} +23 -22
  25. package/dist/{SeriesPage-DNyhMA_k.js → SeriesPage-BXKz7PJV.js} +4 -4
  26. package/dist/{Spinner-BwiDys7C.js → Spinner-gpYLD9h6.js} +1 -1
  27. package/dist/{Success-BxvH6W_x.js → Success-DieJd6sx.js} +52 -52
  28. package/dist/{TagIcon-BkPcpKdu.js → TagIcon-Q7BC2QeQ.js} +1 -1
  29. package/dist/ViewTicketsEmbed-DqwHARj0.js +727 -0
  30. package/dist/{WarningCircleIcon-D78IFaPY.js → WarningCircleIcon-Dxi6_NlN.js} +1 -1
  31. package/dist/{WarningTriIcon-6WbGCso4.js → WarningTriIcon-BVNO82pk.js} +1 -1
  32. package/dist/{__SKIP_PATHS__-tAxwP7_6.js → __SKIP_PATHS__-BZ2V4IU4.js} +1 -1
  33. package/dist/api/api.cjs +1 -1
  34. package/dist/api/api.mjs +300 -216
  35. package/dist/api/gift-cards.d.ts +1 -1
  36. package/dist/api/orders.d.ts +2 -2
  37. package/dist/api/waitlist.d.ts +6 -1
  38. package/dist/{colors-DbQNhbC_.js → colors-B3NG0RHG.js} +113 -117
  39. package/dist/constants-DqKf8bUn.js +356 -0
  40. package/dist/{copyToClipboard-DAGJHhtn.js → copyToClipboard-CLo_2bfp.js} +1 -1
  41. package/dist/{de-BG-86m10.js → de-8N03rEoe.js} +4 -1
  42. package/dist/{de-BZpzzwT9.js → de-tOW1Ez0s.js} +63 -1
  43. package/dist/{timezones-C5l0SSHK.js → defaultLabels-D_9CneL4.js} +507 -1
  44. package/dist/{es-9jwSoUSD.js → es-DrYewQpd.js} +51 -1
  45. package/dist/{es-B1RPM3H_.js → es-tRMGbtbB.js} +4 -1
  46. package/dist/{event-v8d4wRpB.js → event-CFDG8adb.js} +1 -1
  47. package/dist/{event-transform-lC22EDSL.js → event-transform-jJPAKgYX.js} +4 -4
  48. package/dist/{eventStatusStream-CopqZ2oa.js → eventStatusStream-wmEyQSgV.js} +5 -5
  49. package/dist/{fr-fYY2O8Ab.js → fr-Bs9xnPu6.js} +63 -1
  50. package/dist/{fr-B6FgrH9s.js → fr-DDnljtQz.js} +4 -1
  51. package/dist/{href-BH6l_kZx.js → href-BfMcUXhM.js} +2 -2
  52. package/dist/{i18n-CIVh_urJ.js → i18n-BgkKrB4o.js} +126 -126
  53. package/dist/i18n-DK3npqzN.js +28 -0
  54. package/dist/{id-But8qcA2.js → id-BLwvLobz.js} +63 -1
  55. package/dist/{id-CK7hal8E.js → id-BZshacSm.js} +4 -1
  56. package/dist/{it-BdV8d4GZ.js → it-B6Rbpjec.js} +4 -1
  57. package/dist/{it-Cr9Quauw.js → it-CQ_Y8YK3.js} +63 -1
  58. package/dist/{ja-DKVQltc4.js → ja-Bmj-bPuM.js} +4 -1
  59. package/dist/{ja-CNXwg0_H.js → ja-CeudRJqE.js} +63 -1
  60. package/dist/{ko-DtoIJliT.js → ko-DFwVxd-1.js} +63 -1
  61. package/dist/{ko-DpIk-4pN.js → ko-r-ecuHZ5.js} +4 -1
  62. package/dist/{labels-BUH8ouCu.js → labels-BHqxbbw9.js} +1 -1
  63. package/dist/locales/{4.2.32 → 4.2.35}/flow/de.js +1 -1
  64. package/dist/locales/{4.2.32 → 4.2.35}/flow/es.js +1 -1
  65. package/dist/locales/{4.2.32 → 4.2.35}/flow/fr.js +1 -1
  66. package/dist/locales/{4.2.32 → 4.2.35}/flow/id.js +1 -1
  67. package/dist/locales/{4.2.32 → 4.2.35}/flow/it.js +1 -1
  68. package/dist/locales/{4.2.32 → 4.2.35}/flow/ja.js +1 -1
  69. package/dist/locales/{4.2.32 → 4.2.35}/flow/ko.js +1 -1
  70. package/dist/locales/{4.2.32 → 4.2.35}/flow/nl.js +1 -1
  71. package/dist/locales/{4.2.32 → 4.2.35}/flow/pl.js +1 -1
  72. package/dist/locales/{4.2.32 → 4.2.35}/flow/pt-br.js +1 -1
  73. package/dist/locales/{4.2.32 → 4.2.35}/flow/tr.js +1 -1
  74. package/dist/locales/{4.2.32 → 4.2.35}/flow/zh.js +1 -1
  75. package/dist/locales/{4.2.32 → 4.2.35}/main/de.js +1 -1
  76. package/dist/locales/{4.2.32 → 4.2.35}/main/es.js +1 -1
  77. package/dist/locales/{4.2.32 → 4.2.35}/main/fr.js +1 -1
  78. package/dist/locales/{4.2.32 → 4.2.35}/main/id.js +1 -1
  79. package/dist/locales/{4.2.32 → 4.2.35}/main/it.js +1 -1
  80. package/dist/locales/{4.2.32 → 4.2.35}/main/ja.js +1 -1
  81. package/dist/locales/{4.2.32 → 4.2.35}/main/ko.js +1 -1
  82. package/dist/locales/{4.2.32 → 4.2.35}/main/nl.js +1 -1
  83. package/dist/locales/{4.2.32 → 4.2.35}/main/pl.js +1 -1
  84. package/dist/locales/{4.2.32 → 4.2.35}/main/pt-br.js +1 -1
  85. package/dist/locales/{4.2.32 → 4.2.35}/main/tr.js +1 -1
  86. package/dist/locales/{4.2.32 → 4.2.35}/main/zh.js +1 -1
  87. package/dist/{modalManager.svelte-C4dWVCst.js → modalManager.svelte-CrrDshW7.js} +2 -2
  88. package/dist/{nl-C-dVfidI.js → nl-CS1da1Bc.js} +4 -1
  89. package/dist/{nl-Dbs4YQMw.js → nl-CYc0p85Y.js} +63 -1
  90. package/dist/{order-totals-CeeD6GjZ.js → order-totals-D0JKhd70.js} +31 -31
  91. package/dist/{orders-BuGy4vpJ.js → orders-CCWPQsWb.js} +365 -209
  92. package/dist/{phoneUtils-BDV9Eggn.js → phoneUtils-aQHGh8C_.js} +1 -1
  93. package/dist/{pixels-D6vqcuy2.js → pixels-M2q8HRk_.js} +11 -11
  94. package/dist/{pl-Da6lsZXQ.js → pl-BSqAasUa.js} +63 -1
  95. package/dist/{pl-CnFcI33y.js → pl-C2bkE2WA.js} +4 -1
  96. package/dist/{promo-DtLZRskK.js → promo-CKvS9lia.js} +3 -3
  97. package/dist/{pt-br-6QYijxa0.js → pt-br--DIxBDjz.js} +4 -1
  98. package/dist/{pt-br-D1wHabRR.js → pt-br-CZs8_gFN.js} +63 -1
  99. package/dist/{serverTotals-t2UmKkhC.js → serverTotals-DGd3p1s5.js} +1 -1
  100. package/dist/{shareCopyFeedback.svelte-B-M53Wj2.js → shareCopyFeedback.svelte-DTOJruVM.js} +55 -55
  101. package/dist/{showcase-state-options-VZcqIjpF.js → showcase-state-options-Da3jPUQb.js} +1 -1
  102. package/dist/{to-event-card-props-CpXtfoKx.js → to-event-card-props-B5bsYKP4.js} +31 -31
  103. package/dist/{tr-Pv_m8usO.js → tr-Bk7x5MW7.js} +4 -1
  104. package/dist/{tr-CpN50zWw.js → tr-O80C2r5C.js} +63 -1
  105. package/dist/{utils-CtqaTDLB.js → utils-RE2aEa_D.js} +49 -49
  106. package/dist/venue-calendar.es.js +710 -734
  107. package/dist/venue-calendar.iife.js +56 -57
  108. package/dist/venue-calendar.umd.js +54 -55
  109. package/dist/{zh-CAAnH4T4.js → zh-C8kyVh24.js} +4 -1
  110. package/dist/{zh-CwlRq_aG.js → zh-ydknixkJ.js} +63 -1
  111. package/package.json +220 -220
  112. package/dist/EventPage-CTo8ynx6.js +0 -971
  113. package/dist/ViewTicketsEmbed-DVurn8FG.js +0 -690
  114. package/dist/constants-ENlpIS8i.js +0 -822
  115. package/dist/createI18n-DBUVdZra.js +0 -75
@@ -172,7 +172,10 @@ var e = {
172
172
  waitlistLinkUsed: "此链接已被使用。您仍在候补名单中",
173
173
  waitlistLinkEmailMismatch: "此链接已发送至其他邮箱。您仍在候补名单中",
174
174
  waitlistLinkInventoryExhausted: "这些门票刚刚已被抢完。您仍在候补名单中 — 如果再有余票释出,我们会发送邮件通知您",
175
- dismiss: "关闭"
175
+ dismiss: "关闭",
176
+ keepMeUpdatedByVenue: "接收 {venue} 的活动及最新资讯",
177
+ privacyPolicyLink: "隐私政策",
178
+ paymentUnavailable: "目前无法为此订单收款 — 请刷新页面或联系场馆"
176
179
  };
177
180
  //#endregion
178
181
  export { e as zh };
@@ -439,7 +439,69 @@ var e = {
439
439
  hasEvents: "有活动",
440
440
  viewMode: "视图模式",
441
441
  goToCurrentMonth: "返回本月",
442
- nShowtimes: "{n} 个场次"
442
+ nShowtimes: "{n} 个场次",
443
+ checkoutUnavailableTitle: "此处暂不支持在线购票",
444
+ checkoutUnavailableBody: "您可以在下方浏览近期演出,但目前无法在本网站购票。请前往场馆自己的购票页面,或联系场馆预订。",
445
+ checkoutUnavailableOwnerNote: "网站所有者:{origin} 尚未注册结算功能。请联系 Micdrop 将此域名添加到您组织允许的嵌入域名中 — 更改最多需要 5 分钟生效。",
446
+ keepMeUpdatedByVenue: "接收 {venue} 的活动及最新资讯",
447
+ waitlistWindowNotice: "这些门票将为您保留",
448
+ waitlistWindowSuffix: "— 超时后,名额将让给下一位排队者",
449
+ waitlistWindowExpired: "您的购票时限已过 — 该座位正在提供给下一位排队者",
450
+ waitlistRequeueCta: "排到下一个位置",
451
+ waitlistRequeueBusy: "正在为您前移…",
452
+ waitlistRequeueDone: "您已排在第一位 — 下一个座位空出后我们会立即发邮件通知您",
453
+ waitlistRequeueNotOnList: "您已不在此候补名单中 — 请通过下方按钮重新加入",
454
+ waitlistRequeueFailed: "暂时无法为您前移 — 您仍在候补名单中",
455
+ waitlistPositionEstimate: "您目前大约排在第 {position} 位 — 座位空出后会向前移动",
456
+ waitlistLinkEventMismatch: "此链接属于另一场活动 — 请从那场演出的邮件中打开",
457
+ waitlistErrorNotEnabled: "本活动不提供候补名单",
458
+ waitlistErrorEventNotFound: "未找到活动",
459
+ waitlistErrorAlreadyPurchased: "您已购买本活动的门票",
460
+ waitlistErrorPhoneRegistered: "此电话号码已在候补名单中",
461
+ waitlistErrorJoinFailed: "加入候补名单失败,请重试",
462
+ waitlistErrorNetwork: "网络错误,请检查网络连接后重试",
463
+ sessionExpiringSoonMessage: "您的结算会话将在 {time} 后超时,所选门票将被释放回库存",
464
+ extensionsRemaining: "剩余延长次数:{count}",
465
+ continueCheckout: "继续结算",
466
+ okIllHurry: "好的,我会尽快",
467
+ maxExtensionsReached: "已达到延长次数上限",
468
+ sessionExpired: "会话已超时",
469
+ sessionExpiredMessage: "您的结算会话已超时,所选门票已被释放",
470
+ selectTicketsAgain: "重新选择门票",
471
+ selectTicketsLabel: "选择门票",
472
+ orderNotFound: "未找到订单",
473
+ orderNotFoundMessage: "我们找不到您的订单。这可能是因为会话已超时,或您直接打开了此页面。请重新选择门票",
474
+ pageSections: "页面栏目",
475
+ viewTicketsOrderNotFound: "未找到订单。请检查邮件中的链接",
476
+ viewTicketsLoadFailed: "无法加载您的门票,请重试",
477
+ doorsAtTime: "{time} 开场",
478
+ ticketCarousel: "门票轮播",
479
+ qrCodeForTicket: "门票 {number} 的二维码",
480
+ qrRefundedSuffix: "已退款,不可入场",
481
+ qrCheckedInSuffix: "已检票",
482
+ refunded: "已退款",
483
+ checkedIn: "已检票",
484
+ ticketRefundedNote: "此门票已退款,入场时将不被接受",
485
+ ticketCheckedInNote: "此门票已被扫描 — 无法再次使用",
486
+ previousTicket: "上一张门票",
487
+ nextTicket: "下一张门票",
488
+ ticketCountOfTotal: "第 {current} 张,共 {total} 张",
489
+ addToAppleWallet: "添加到 Apple Wallet",
490
+ addToGoogleWallet: "添加到 Google Wallet",
491
+ walletPassesComingSoon: "电子钱包票券即将推出。您的门票就在这里 — 可以截图或下载 PDF",
492
+ downloadPdf: "下载 PDF",
493
+ addToCalendarPrefix: "添加到日历:",
494
+ getDirections: "查看路线",
495
+ requestARefund: "申请退款",
496
+ refundRequestSent: "您的退款申请已发送给{venue},他们会就您的订单与您联系",
497
+ refundReasonPrompt: "告诉{venue}您申请退款的原因(可选)",
498
+ refundNotePlaceholder: "给场馆留言…",
499
+ sending: "发送中…",
500
+ submitRefundRequest: "提交退款申请",
501
+ somethingWentWrong: "出了点问题,请稍后重试",
502
+ orderNumberLine: "订单 {orderNumber}",
503
+ questionsPrompt: "有疑问?",
504
+ opensInGoogleMaps: "(在 Google 地图中打开)"
443
505
  };
444
506
  //#endregion
445
507
  export { e as zh };
package/package.json CHANGED
@@ -1,220 +1,220 @@
1
- {
2
- "name": "@getmicdrop/venue-calendar",
3
- "_version_comment": "4.1.55 was the last PUBLISHED version, and the tree carried 36 commits npm's 4.1.55 does not have — including the gate-password security fix and four money fixes. A filename must never reuse a version npm has taken (jsDelivr/unpkg cache the FIRST bytes they see under `@4.1.55` forever, so republishing that number ships the old widget to every venue that pinned it). Bumped to 4.2.0 here, BEFORE anything is built for publish. `npm run release:preflight` refuses to proceed when this number already exists in the registry.",
4
- "version": "4.2.33",
5
- "description": "A customizable Svelte calendar component for displaying comedy events",
6
- "type": "module",
7
- "types": "./dist/types/index.d.ts",
8
- "main": "./dist/venue-calendar.umd.js",
9
- "module": "./dist/venue-calendar.es.js",
10
- "_exports_types_comment": "Every `types` path below must EXIST in the tarball; `npm run size` (scripts/size-guard.mjs, checkExportsTypesResolve) asserts it against the built dist and reds if one dangles. It dangled for real: `./api` pointed at ./dist/api/index.d.ts while vite-plugin-dts emitted ./dist/api/api/index.d.ts, because the `include` root (src/lib/api) is not the tree root the plugin derived — two transformers import $lib/public-calendar-flow, which hoisted entryRoot to src/lib and pushed everything down one directory. TypeScript does not error on a `types` target that is absent; it silently falls back to no types at all, so `import '@getmicdrop/venue-calendar/api'` was implicitly `any` for every consumer and nothing anywhere said so. Fixed by pinning entryRoot in vite.config.api.js (NOT by retyping the string here) so the emitted path matches the contract, the way ./seo already did by accident.",
11
- "exports": {
12
- ".": {
13
- "types": "./dist/types/index.d.ts",
14
- "svelte": "./dist/venue-calendar.es.js",
15
- "import": "./dist/venue-calendar.es.js",
16
- "require": "./dist/venue-calendar.umd.js",
17
- "default": "./dist/venue-calendar.es.js"
18
- },
19
- "./api": {
20
- "types": "./dist/api/index.d.ts",
21
- "import": "./dist/api/api.mjs",
22
- "require": "./dist/api/api.cjs",
23
- "default": "./dist/api/api.mjs"
24
- },
25
- "./seo": {
26
- "types": "./dist/seo/index.d.ts",
27
- "import": "./dist/seo/seo.mjs",
28
- "require": "./dist/seo/seo.cjs",
29
- "default": "./dist/seo/seo.mjs"
30
- },
31
- "./theme": {
32
- "import": "./src/lib/theme.js",
33
- "default": "./src/lib/theme.js"
34
- },
35
- "./dist/venue-calendar.css": "./dist/venue-calendar.css"
36
- },
37
- "_files_comment": "The `!dist/**/*.map` negation is load-bearing and must stay HERE, not in .npmignore. npm-packlist gives a root `files` array precedence over a root .npmignore, so the `dist/**/*.map` rule .npmignore has carried since the 2026-06-10 audit never applied: `npm pack --dry-run` published 93 sourcemaps totalling 29.3 MB of a 37.4 MB tarball. This is the embed widget that installs onto third-party venue sites; the maps are debugging surface, not shipped surface.",
38
- "files": [
39
- "dist",
40
- "!dist/**/*.map",
41
- "src/lib/theme.js",
42
- "README.md"
43
- ],
44
- "_sideEffects_comment": "There is deliberately NO `sideEffects` field, and adding one is a regression. Measured 2026-08-14 with a scratch consumer that imports a single export from the packed tarball and bundles it: vite 7.3.6 (the toolchain micdrop-frontend and performersportal actually run) produced 3,359,354 B over 53 chunks with no field and 3,359,364 B over 53 chunks with the allowlist — ten bytes LARGER. vite 8.2.1 (this repo's own) produced 3,303,350 B vs 3,303,181 B, a 169-byte saving on 3.30 MB (0.005%), and `sideEffects: false` came out byte-identical to the allowlist, i.e. the VALUE is inert. There is nothing to tree-shake: the ES entry is a pre-bundled single entry whose graph is reached by dynamic import. The risk is not inert. An AST scan of dist found 23 of 94 chunks carrying real import-time side effects — Svelte 5 `.delegate([...])` event registration in Input-*, ModalFooter-*, timezones-* and to-event-card-props-* (all inside the 23-file eager closure), zod's `globalThis.__zod_globalConfig` init in serverTotals-*, and in the entry itself the CSS-injection IIFE, `customElements.define`, the `window.__MICDROP_CALENDAR__` handshake and the auto-mount call. Those chunk filenames are content-hashed and change every build, so no allowlist can name them and stay correct; the first hash churn after a wrong list silently ships an unstyled widget with dead click handlers to third-party venue sites. Zero measurable upside against that is not a trade worth making.",
45
- "scripts": {
46
- "dev": "vite dev",
47
- "build": "vite build",
48
- "_build_lib_comment": "THREE passes, and the order is load-bearing. (1) VC_IIFE_ONLY=1 builds the IIFE and is the ONLY pass with emptyOutDir on — it owns the dist wipe. (2) the default pass appends ES + UMD. (3) vite.config.locales.js appends the version-pinned locale chunks the IIFE fetches at runtime. Move the locales pass earlier and it gets wiped by (1); give it emptyOutDir and it wipes the bundle it serves. Both failures are silent at build time and total at runtime, so scripts/size-guard.mjs asserts the IIFE and the locale tree coexist in dist.",
49
- "build:lib": "cross-env VC_IIFE_ONLY=1 vite build --config vite.config.lib.js && vite build --config vite.config.lib.js && vite build --config vite.config.locales.js",
50
- "build:api": "vite build --config vite.config.api.js",
51
- "build:seo": "vite build --config vite.config.seo.js",
52
- "build:all": "npm run build:lib && npm run build:api && npm run build:seo",
53
- "preview": "vite preview",
54
- "prepare": "node ./scripts/prepare.js",
55
- "prepublishOnly": "npm run build:all",
56
- "_lint_comment": "Ratchet cap. 2026-05-31: ESLint had NO svelte parser configured, so the entire .svelte tree was unparsed (300 'Unexpected token <' errors) and effectively unlinted. Wired the svelte parser (eslint.config.js) + downgraded the recommended svelte rules to 'warn' for the turn-on wave (mirrors performers-portal). 2026-06-10: ratcheted cap 1638 -> 418. 2026-07-16: burned the whole budget down (unused vars, navigation-without-resolve via resolve(), svelte/reactivity classes, hex -> color constants, @html removal, shadow renames) — cap is now 0 and stays 0; any new warning fails lint.",
57
- "_lint_scope_comment": "Scope is `src e2e`, not `src` (#660). e2e/ was outside every CI lens while the pre-commit hook (lint-staged) enforced the SAME rules on any staged .js — so a committer was blocked by rules CI never measured. That is how #654 happened. #659 drained the 9 no-raw-date-construction violations first; this scope widening is the arming half, and it only ever runs green because the fixes landed first. Adding a directory here is cheap; leaving one out is invisible.",
58
- "lint": "eslint src e2e --max-warnings 0",
59
- "gate": "sh scripts/gate.sh",
60
- "lint:fix": "eslint src e2e --fix",
61
- "lint:css": "stylelint \"src/**/*.{css,scss,svelte}\" --allow-empty-input",
62
- "lint:css:fix": "stylelint \"src/**/*.{css,scss,svelte}\" --allow-empty-input --fix",
63
- "_format_comment": "Until #660 this repo had NO prettier check anywhere — not in package.json, not in any workflow. Formatting was enforced ONLY by the lint-staged pre-commit hook, which rewrites whatever you happen to stage. So a file that was never staged after a config change drifted forever, and the drift surfaced as an unrelated whole-file reformat in someone else's PR (#659 hit exactly that on e2e/embed-checkout.e2e.js). COVERED SURFACE IS `e2e` ONLY, deliberately. Two separate numbers, measured at e6f30590 — do not conflate them: `prettier --check .` reports 314 drifted files repo-wide, of which `prettier --check src` accounts for 129; the other 185 are docs/, .planning/, scripts/, plans/, test/, test-helpers/, canary/ and repo-root config. Reformatting product source is a separate change with its own blast radius (filed as #679, which covers the src/ 129 only — the non-src remainder is not yet filed). The arg is the DIRECTORY, not a glob with an extension list, so a new e2e/*.ts or e2e/**/fixtures/*.json is covered the day it lands instead of the day someone remembers to widen a pattern. Grow this scope by adding a directory; never by adding a file. `format:check:all` is the report-only view of the whole repo so the src backlog stays visible rather than hidden.",
64
- "format:check": "prettier --check e2e",
65
- "format:fix": "prettier --write e2e",
66
- "format:check:all": "prettier --check .",
67
- "knip": "knip",
68
- "depcruise": "dependency-cruiser src --config .dependency-cruiser.cjs",
69
- "design-system:check": "node scripts/design-system-check.mjs --report-only",
70
- "design-system:check:strict": "node scripts/design-system-check.mjs --fail-on-new",
71
- "design-system:baseline": "node scripts/design-system-check.mjs --baseline",
72
- "cleanup-check": "node scripts/cleanup-on-destroy-check.mjs --report-only",
73
- "cleanup-check:strict": "node scripts/cleanup-on-destroy-check.mjs --fail-on-new",
74
- "cleanup-baseline": "node scripts/cleanup-on-destroy-check.mjs --baseline",
75
- "checkout-lifecycle-check": "node scripts/checkout-lifecycle-check.mjs --report-only",
76
- "checkout-lifecycle-check:strict": "node scripts/checkout-lifecycle-check.mjs --fail-on-new",
77
- "checkout-lifecycle-baseline": "node scripts/checkout-lifecycle-check.mjs --baseline",
78
- "quantity-clamp-check": "node scripts/quantity-clamp-check.mjs --report-only",
79
- "quantity-clamp-check:strict": "node scripts/quantity-clamp-check.mjs --fail-on-new",
80
- "quantity-clamp-baseline": "node scripts/quantity-clamp-check.mjs --baseline",
81
- "no-new-skips-check": "node scripts/no-new-skips-check.mjs --report-only",
82
- "no-new-skips-check:strict": "node scripts/no-new-skips-check.mjs --fail-on-new",
83
- "no-new-skips-baseline": "node scripts/no-new-skips-check.mjs --baseline",
84
- "no-sc-toast-check": "node scripts/no-sc-toast-check.mjs",
85
- "no-sc-toast-check:report": "node scripts/no-sc-toast-check.mjs --report-only",
86
- "lockfile-sync-check": "node scripts/lockfile-sync-check.mjs",
87
- "lockfile-sync-check:report": "node scripts/lockfile-sync-check.mjs --report-only",
88
- "failopen-loader-check": "node scripts/failopen-loader-check.mjs --report-only",
89
- "failopen-loader-check:strict": "node scripts/failopen-loader-check.mjs --fail-on-new",
90
- "voice:check": "node scripts/vc-copy-voice-ratchet.mjs --report-only",
91
- "voice:check:strict": "node scripts/vc-copy-voice-ratchet.mjs",
92
- "voice:vendor": "node scripts/gen-voice-rules-vendored.mjs",
93
- "voice:vendor:check": "node scripts/gen-voice-rules-vendored.mjs --check",
94
- "failopen-loader-baseline": "node scripts/failopen-loader-check.mjs --baseline",
95
- "detectors:check": "node scripts/detectors/detectors-wired.mjs",
96
- "git-hooks-resolve-check": "node scripts/detectors/git-hooks-resolve-check.mjs",
97
- "git-hooks-resolve-check:report": "node scripts/detectors/git-hooks-resolve-check.mjs --report-only",
98
- "class-emits-css-check": "node scripts/class-emits-css-check.mjs",
99
- "token-resolves-check": "node scripts/token-resolves-check.mjs",
100
- "check": "svelte-check --diagnostic-sources \"js,svelte\"",
101
- "check:all": "svelte-check",
102
- "test": "vitest run",
103
- "test:ci-mute-guard": "vitest run scripts/ci-needs-graph.test.js",
104
- "test:routes": "VITE_ROUTE_PROBE=1 vitest run src/lib/api/route-answers-probe.test.ts",
105
- "test:watch": "vitest",
106
- "test:ui": "vitest --ui",
107
- "test:e2e": "playwright test",
108
- "test:e2e:build": "npm run build:lib && playwright test",
109
- "test:e2e:route": "playwright test --config playwright.route.config.js",
110
- "test:e2e:route:build": "npm run build && playwright test --config playwright.route.config.js",
111
- "_size_comment": "size-guard runs FIRST and is not decoration. size-limit resolves its config through lilconfig, whose search order puts package.json BEFORE .size-limit.js — so re-adding a package.json#size-limit key silently shadows the computed budget and the es cap goes back to measuring a 1 KB loader (#569) while CI stays green. size-guard re-runs that search order, re-derives the ES entry's static import closure, and refuses to hand off to size-limit unless the es cap measures it.",
112
- "_release_preflight_comment": "Runs the checks that can only be answered about the ARTIFACT and the REGISTRY, not about the source tree — so it is deliberately NOT part of `npm run gate` (it needs a built dist and the network). Two questions: is this version already taken on npm (republishing a taken number is unrecoverable — jsDelivr/unpkg serve the first bytes they saw under that specifier forever), and does the tarball `npm pack` would actually upload contain any .map file. The second is asked of `npm pack --dry-run --json`, never of package.json#files, because `files` is what we INTENDED and the tarball is what SHIPS: published 4.1.55 carried 8.7 MB of maps with 786 sourcesContent entries despite an .npmignore that was supposed to stop it.",
113
- "release:preflight": "node scripts/size-guard.mjs --release",
114
- "size": "node scripts/size-guard.mjs && size-limit",
115
- "size:why": "node scripts/size-guard.mjs && size-limit --why",
116
- "heading-role-fidelity-check": "node scripts/heading-role-fidelity-check.mjs",
117
- "heading-role-fidelity-check:report": "node scripts/heading-role-fidelity-check.mjs --report-only",
118
- "composite-role-fidelity-check": "node scripts/composite-role-fidelity-check.mjs",
119
- "composite-role-fidelity-check:report": "node scripts/composite-role-fidelity-check.mjs --report-only",
120
- "dead-theme-selector-check": "node scripts/dead-theme-selector-check.mjs",
121
- "label-name-resolves-check": "node scripts/label-name-resolves-check.mjs",
122
- "stale-doc-comment-check": "node scripts/stale-doc-comment-check.mjs"
123
- },
124
- "keywords": [
125
- "svelte",
126
- "calendar",
127
- "events",
128
- "comedy",
129
- "venue",
130
- "component",
131
- "micdrop"
132
- ],
133
- "author": "MicDrop",
134
- "license": "MIT",
135
- "repository": {
136
- "type": "git",
137
- "url": "git+https://github.com/get-micdrop/venue-calendar.git"
138
- },
139
- "bugs": {
140
- "url": "https://github.com/get-micdrop/venue-calendar/issues"
141
- },
142
- "homepage": "https://github.com/get-micdrop/venue-calendar#readme",
143
- "_peerDependencies_comment": "TWO different contracts live here, and they cover DIFFERENT entry points. (a) `svelte` — the ES and UMD builds externalize svelte (vite.config.lib.js rollupOptions.external) and ship PRE-COMPILED output that binds through svelte/internal/client, a private, non-semver surface. So the consumer's svelte is the runtime for code this package's compiler emitted, and the compiler version is the real floor. The upper bound is the part that was missing: `>=5.56.0` admits Svelte 6, and this was the ONLY manifest in the fleet that would have taken it — svelte-stripe's `svelte: ^5` peer was the sole accidental brake, and moving that package to devDependencies (below) removes it, so the bound has to be explicit and it has to land in the same change. The floor is 5.56.4, NOT the 5.56.9 this repo compiles with: micdrop-frontend pins svelte to exactly 5.56.4 tree-wide and CANNOT move (mf 3ce86e22a reverted the 5.56.4 -> 5.56.9 bump because the Foundry Catalog Gate stops producing a byte-identical catalog under a different compiler, and that has to be fixed with the catalog regenerated in the same change, on Linux). A floor of 5.56.9 would therefore ERESOLVE against micdrop-frontend's own override on `npm ci` — i.e. it would brick the app that consumes this package in order to record an aspiration. The residual skew (consumer 5.56.4 < compiler 5.56.9) is real but not a missing-symbol crash: all 73 svelte/internal members the shipped dist references are present in 5.56.4. The exposure is SIGNATURE drift across the 7 differing internal/client files (reactivity/props.js `rest_props` is the one behind the June crash), which export-presence checks cannot catch. Close it by aligning the compilers, not by widening this range. (b) `@getmicdrop/svelte-components` — required by the ./api subpath ONLY: dist/api/api.mjs emits 5 SC subpath imports and api.cjs emits 7 (vite.config.api.js externalizes SC deliberately; the manifest never said so, and npm therefore never installed or warned about it). It is marked OPTIONAL below on purpose: @getmicdrop/venue-calendar is PUBLIC on npm but @getmicdrop/svelte-components is PRIVATE (an unauthenticated `npm view` of it 404s while this package resolves fine), so a REQUIRED peer would make `npm i @getmicdrop/venue-calendar` fail outright for every third party that only wants the widget entry — which bundles SC and needs nothing installed. Optional means npm stays quiet when SC is absent (it cannot be fetched anyway) but still version-checks it when present. The main/IIFE/UMD builds do NOT externalize SC; see the devDependencies pin. SEAM RESOLVED (2026-08-23): declaring SC in BOTH devDependencies (build) and peerDependencies (./api contract) is the intended shape, and the test no longer objects. It used to: scDepType asserted SC appeared in EXACTLY ONE of the four dependency maps and found two, failing 3 tests. The fix landed where this note said it should — scripts/lockfile-sync-check.test.js now derives INSTALL_DEP_TYPES as DEP_TYPES minus peerDependencies, so a peer is no longer counted as somewhere SC is installed from. The detector (scripts/lockfile-sync-check.mjs) always handled peers correctly. Nothing is outstanding here; this paragraph is kept as the record of why the two-map shape is deliberate rather than a mistake to be tidied away",
144
- "peerDependencies": {
145
- "@getmicdrop/svelte-components": "^6.24.325",
146
- "svelte": ">=5.56.4 <6"
147
- },
148
- "peerDependenciesMeta": {
149
- "@getmicdrop/svelte-components": {
150
- "optional": true
151
- }
152
- },
153
- "_tanstack_svelte_query_comment": "`@tanstack/svelte-query` in devDependencies is NOT dead, and it must not be deleted on the evidence that `grep -r '@tanstack/svelte-query' src` returns nothing — it does return nothing, and that is expected. It exists solely to satisfy @getmicdrop/svelte-components' peer range `^6.1.28`. Removing it shrinks no artifact (it reaches none); it silently changes how npm resolves SC's peer tree, which surfaces as a version-skew crash in someone else's build days later with nothing pointing back here. The exact pin mirrors micdrop-frontend, which pins the same version and additionally overrides @tanstack/query-core to 5.100.14 — keep the two manifests agreeing.",
154
- "_devDependencies_pin_comment": "Three EXACT pins in here are load-bearing and must not be re-caretted by a dependency bot. (1) `@getmicdrop/svelte-components` — the ES/UMD/IIFE builds do NOT externalize SC, so it is COMPILED INTO every shipped artifact. RESTORED TO AN EXACT PIN 2026-08-23, having drifted back to a caret at some point between 6.24.311 and 6.24.316 — exactly the re-caretting this note warns about, which is worth knowing recurs. Under a caretted range like `^6.24.311` the SC version a venue's browser executes is whatever the range floats to on the publish machine at publish time, which is not recorded anywhere and is not reproducible after the fact; the `overrides` block below cannot help (it only ever covered esbuild, and consumers ignore a dependency's overrides entirely). Pinned exact so the artifact and the manifest agree, and vite.config.lib.js stamps the resolved version into the bundle as __VC_SC_VERSION__ so a venue's devtools can answer 'which SC is this?'. (2) `svelte` — the compiler whose private internal/client calls the pre-compiled dist binds to. `^5.56.9` let the compiler move under a peer range that stayed still; see _peerDependencies_comment. (3) `@stripe/stripe-js` in dependencies — see its own note there.",
155
- "devDependencies": {
156
- "@eslint/js": "^10.0.1",
157
- "@getmicdrop/svelte-components": "6.24.325",
158
- "@playwright/test": "^1.60.0",
159
- "@size-limit/file": "^13.0.3",
160
- "@sveltejs/adapter-auto": "^7.0.1",
161
- "@sveltejs/kit": "^2.70.2",
162
- "@sveltejs/vite-plugin-svelte": "^7.3.0",
163
- "@tailwindcss/vite": "^4.3.3",
164
- "@tanstack/svelte-query": "6.1.38",
165
- "@testing-library/jest-dom": "^7.0.1",
166
- "@testing-library/svelte": "^5.3.1",
167
- "@types/node": "^26.2.0",
168
- "@typescript-eslint/parser": "^8.59.2",
169
- "@vitest/coverage-v8": "^4.1.10",
170
- "cross-env": "^10.1.0",
171
- "dependency-cruiser": "^18.2.0",
172
- "eslint": "^10.8.1",
173
- "eslint-plugin-svelte": "^3.22.0",
174
- "fast-check": "^4.8.0",
175
- "globals": "^17.11.0",
176
- "husky": "^9.1.7",
177
- "jsdom": "^29.1.1",
178
- "knip": "^6.12.1",
179
- "lint-staged": "^16.4.0",
180
- "postcss": "^8.5.26",
181
- "postcss-html": "^2.0.0",
182
- "prettier": "^3.8.3",
183
- "prettier-plugin-svelte": "^4.1.1",
184
- "size-limit": "^13.0.3",
185
- "stylelint": "^17.14.1",
186
- "stylelint-config-standard": "^40.0.0",
187
- "svelte": "5.56.9",
188
- "svelte-check": "^4.3.5",
189
- "svelte-stripe": "^2.0.0",
190
- "tailwindcss": "^4.3.3",
191
- "typescript": "^5.9.3",
192
- "vite": "^8.2.1",
193
- "vite-plugin-dts": "^5.0.3",
194
- "vitest": "^4.1.10",
195
- "yaml": "2.9.0"
196
- },
197
- "_overrides_comment": "esbuild is not a direct dependency here — it arrives as an OPTIONAL PEER of vite (^0.27.0 || ^0.28.0) and of unplugin-dts (*), and npm resolved it to 0.27.3, which is inside GHSA range 0.27.3-0.28.0 (arbitrary file read via the dev server on Windows; dev-only exposure, but this is a Windows shop). There is no direct dependency to bump, so the lift has to be an override. Keep this satisfying vite's peer range — ^0.28.x does; a 0.29 line would not.",
198
- "overrides": {
199
- "esbuild": "^0.28.2",
200
- "svelte": "5.56.9",
201
- "@tanstack/svelte-query": "6.1.38",
202
- "@tanstack/query-core": "5.101.4"
203
- },
204
- "_dependencies_comment": "`@stripe/stripe-js` is pinned EXACT, and the caret it replaces was not a style choice. loadStripe() does not fetch a versioned URL — it builds `https://js.stripe.com/<RELEASE_TRAIN>/stripe.js` from a CONSTANT baked into whichever @stripe/stripe-js version resolves (9.13.0 hardcodes `RELEASE_TRAIN = 'dahlia'` in dist/index.mjs). This widget runs on third-party venue sites, many of which allowlist that exact script URL in their CSP, so a caret means a routine transitive bump silently MOVES the file a venue must allowlist and checkout dies on their site with a CSP violation and no signal on our side. The live 4.1.55 bundle still requests /clover/stripe.js while this tree resolves to /dahlia/ — the drift is not hypothetical. Pin it, and when the pin is raised, put the new train in the release notes so venue CSPs can be updated first. `svelte-stripe` USED to live here and has moved to devDependencies: no shipped artifact reaches it (dist mentions it only inside .map sourcesContent), CheckoutForm.svelte:81 deliberately calls Stripe.js directly instead ('Svelte 5 compatibility bug'), and the sole live import is a dynamic `import('svelte-stripe')` in src/routes/v/[venueSlug]/gift-cards/purchase/+page.svelte — a SvelteKit route in the dev/e2e app, which `files` does not publish. It stays installed for dev; it just stops being something every npm consumer downloads. Note what that move COSTS: svelte-stripe's own `svelte: ^5` peer was the only thing bounding a consumer's svelte below 6, so peerDependencies.svelte gained an explicit `<6` in the same change.",
205
- "dependencies": {
206
- "@stripe/stripe-js": "9.13.0",
207
- "js-cookie": "^3.0.8",
208
- "qrcode": "^1.5.4",
209
- "zod": "^4.4.3"
210
- },
211
- "lint-staged": {
212
- "*.{js,ts,svelte}": [
213
- "eslint --fix",
214
- "prettier --write"
215
- ],
216
- "*.{json,css,md}": [
217
- "prettier --write"
218
- ]
219
- }
220
- }
1
+ {
2
+ "name": "@getmicdrop/venue-calendar",
3
+ "_version_comment": "4.1.55 was the last PUBLISHED version, and the tree carried 36 commits npm's 4.1.55 does not have — including the gate-password security fix and four money fixes. A filename must never reuse a version npm has taken (jsDelivr/unpkg cache the FIRST bytes they see under `@4.1.55` forever, so republishing that number ships the old widget to every venue that pinned it). Bumped to 4.2.0 here, BEFORE anything is built for publish. `npm run release:preflight` refuses to proceed when this number already exists in the registry.",
4
+ "version": "4.2.35",
5
+ "description": "A customizable Svelte calendar component for displaying comedy events",
6
+ "type": "module",
7
+ "types": "./dist/types/index.d.ts",
8
+ "main": "./dist/venue-calendar.umd.js",
9
+ "module": "./dist/venue-calendar.es.js",
10
+ "_exports_types_comment": "Every `types` path below must EXIST in the tarball; `npm run size` (scripts/size-guard.mjs, checkExportsTypesResolve) asserts it against the built dist and reds if one dangles. It dangled for real: `./api` pointed at ./dist/api/index.d.ts while vite-plugin-dts emitted ./dist/api/api/index.d.ts, because the `include` root (src/lib/api) is not the tree root the plugin derived — two transformers import $lib/public-calendar-flow, which hoisted entryRoot to src/lib and pushed everything down one directory. TypeScript does not error on a `types` target that is absent; it silently falls back to no types at all, so `import '@getmicdrop/venue-calendar/api'` was implicitly `any` for every consumer and nothing anywhere said so. Fixed by pinning entryRoot in vite.config.api.js (NOT by retyping the string here) so the emitted path matches the contract, the way ./seo already did by accident.",
11
+ "exports": {
12
+ ".": {
13
+ "types": "./dist/types/index.d.ts",
14
+ "svelte": "./dist/venue-calendar.es.js",
15
+ "import": "./dist/venue-calendar.es.js",
16
+ "require": "./dist/venue-calendar.umd.js",
17
+ "default": "./dist/venue-calendar.es.js"
18
+ },
19
+ "./api": {
20
+ "types": "./dist/api/index.d.ts",
21
+ "import": "./dist/api/api.mjs",
22
+ "require": "./dist/api/api.cjs",
23
+ "default": "./dist/api/api.mjs"
24
+ },
25
+ "./seo": {
26
+ "types": "./dist/seo/index.d.ts",
27
+ "import": "./dist/seo/seo.mjs",
28
+ "require": "./dist/seo/seo.cjs",
29
+ "default": "./dist/seo/seo.mjs"
30
+ },
31
+ "./theme": {
32
+ "import": "./src/lib/theme.js",
33
+ "default": "./src/lib/theme.js"
34
+ },
35
+ "./dist/venue-calendar.css": "./dist/venue-calendar.css"
36
+ },
37
+ "_files_comment": "The `!dist/**/*.map` negation is load-bearing and must stay HERE, not in .npmignore. npm-packlist gives a root `files` array precedence over a root .npmignore, so the `dist/**/*.map` rule .npmignore has carried since the 2026-06-10 audit never applied: `npm pack --dry-run` published 93 sourcemaps totalling 29.3 MB of a 37.4 MB tarball. This is the embed widget that installs onto third-party venue sites; the maps are debugging surface, not shipped surface.",
38
+ "files": [
39
+ "dist",
40
+ "!dist/**/*.map",
41
+ "src/lib/theme.js",
42
+ "README.md"
43
+ ],
44
+ "_sideEffects_comment": "There is deliberately NO `sideEffects` field, and adding one is a regression. Measured 2026-08-14 with a scratch consumer that imports a single export from the packed tarball and bundles it: vite 7.3.6 (the toolchain micdrop-frontend and performersportal actually run) produced 3,359,354 B over 53 chunks with no field and 3,359,364 B over 53 chunks with the allowlist — ten bytes LARGER. vite 8.2.1 (this repo's own) produced 3,303,350 B vs 3,303,181 B, a 169-byte saving on 3.30 MB (0.005%), and `sideEffects: false` came out byte-identical to the allowlist, i.e. the VALUE is inert. There is nothing to tree-shake: the ES entry is a pre-bundled single entry whose graph is reached by dynamic import. The risk is not inert. An AST scan of dist found 23 of 94 chunks carrying real import-time side effects — Svelte 5 `.delegate([...])` event registration in Input-*, ModalFooter-*, timezones-* and to-event-card-props-* (all inside the 23-file eager closure), zod's `globalThis.__zod_globalConfig` init in serverTotals-*, and in the entry itself the CSS-injection IIFE, `customElements.define`, the `window.__MICDROP_CALENDAR__` handshake and the auto-mount call. Those chunk filenames are content-hashed and change every build, so no allowlist can name them and stay correct; the first hash churn after a wrong list silently ships an unstyled widget with dead click handlers to third-party venue sites. Zero measurable upside against that is not a trade worth making.",
45
+ "scripts": {
46
+ "dev": "vite dev",
47
+ "build": "vite build",
48
+ "_build_lib_comment": "THREE passes, and the order is load-bearing. (1) VC_IIFE_ONLY=1 builds the IIFE and is the ONLY pass with emptyOutDir on — it owns the dist wipe. (2) the default pass appends ES + UMD. (3) vite.config.locales.js appends the version-pinned locale chunks the IIFE fetches at runtime. Move the locales pass earlier and it gets wiped by (1); give it emptyOutDir and it wipes the bundle it serves. Both failures are silent at build time and total at runtime, so scripts/size-guard.mjs asserts the IIFE and the locale tree coexist in dist.",
49
+ "build:lib": "cross-env VC_IIFE_ONLY=1 vite build --config vite.config.lib.js && vite build --config vite.config.lib.js && vite build --config vite.config.locales.js",
50
+ "build:api": "vite build --config vite.config.api.js",
51
+ "build:seo": "vite build --config vite.config.seo.js",
52
+ "build:all": "npm run build:lib && npm run build:api && npm run build:seo",
53
+ "preview": "vite preview",
54
+ "prepare": "node ./scripts/prepare.js",
55
+ "prepublishOnly": "npm run build:all",
56
+ "_lint_comment": "Ratchet cap. 2026-05-31: ESLint had NO svelte parser configured, so the entire .svelte tree was unparsed (300 'Unexpected token <' errors) and effectively unlinted. Wired the svelte parser (eslint.config.js) + downgraded the recommended svelte rules to 'warn' for the turn-on wave (mirrors performers-portal). 2026-06-10: ratcheted cap 1638 -> 418. 2026-07-16: burned the whole budget down (unused vars, navigation-without-resolve via resolve(), svelte/reactivity classes, hex -> color constants, @html removal, shadow renames) — cap is now 0 and stays 0; any new warning fails lint.",
57
+ "_lint_scope_comment": "Scope is `src e2e`, not `src` (#660). e2e/ was outside every CI lens while the pre-commit hook (lint-staged) enforced the SAME rules on any staged .js — so a committer was blocked by rules CI never measured. That is how #654 happened. #659 drained the 9 no-raw-date-construction violations first; this scope widening is the arming half, and it only ever runs green because the fixes landed first. Adding a directory here is cheap; leaving one out is invisible.",
58
+ "lint": "eslint src e2e --max-warnings 0",
59
+ "gate": "sh scripts/gate.sh",
60
+ "lint:fix": "eslint src e2e --fix",
61
+ "lint:css": "stylelint \"src/**/*.{css,scss,svelte}\" --allow-empty-input",
62
+ "lint:css:fix": "stylelint \"src/**/*.{css,scss,svelte}\" --allow-empty-input --fix",
63
+ "_format_comment": "Until #660 this repo had NO prettier check anywhere — not in package.json, not in any workflow. Formatting was enforced ONLY by the lint-staged pre-commit hook, which rewrites whatever you happen to stage. So a file that was never staged after a config change drifted forever, and the drift surfaced as an unrelated whole-file reformat in someone else's PR (#659 hit exactly that on e2e/embed-checkout.e2e.js). COVERED SURFACE IS `e2e` ONLY, deliberately. Two separate numbers, measured at e6f30590 — do not conflate them: `prettier --check .` reports 314 drifted files repo-wide, of which `prettier --check src` accounts for 129; the other 185 are docs/, .planning/, scripts/, plans/, test/, test-helpers/, canary/ and repo-root config. Reformatting product source is a separate change with its own blast radius (filed as #679, which covers the src/ 129 only — the non-src remainder is not yet filed). The arg is the DIRECTORY, not a glob with an extension list, so a new e2e/*.ts or e2e/**/fixtures/*.json is covered the day it lands instead of the day someone remembers to widen a pattern. Grow this scope by adding a directory; never by adding a file. `format:check:all` is the report-only view of the whole repo so the src backlog stays visible rather than hidden.",
64
+ "format:check": "prettier --check e2e",
65
+ "format:fix": "prettier --write e2e",
66
+ "format:check:all": "prettier --check .",
67
+ "knip": "knip",
68
+ "depcruise": "dependency-cruiser src --config .dependency-cruiser.cjs",
69
+ "design-system:check": "node scripts/design-system-check.mjs --report-only",
70
+ "design-system:check:strict": "node scripts/design-system-check.mjs --fail-on-new",
71
+ "design-system:baseline": "node scripts/design-system-check.mjs --baseline",
72
+ "cleanup-check": "node scripts/cleanup-on-destroy-check.mjs --report-only",
73
+ "cleanup-check:strict": "node scripts/cleanup-on-destroy-check.mjs --fail-on-new",
74
+ "cleanup-baseline": "node scripts/cleanup-on-destroy-check.mjs --baseline",
75
+ "checkout-lifecycle-check": "node scripts/checkout-lifecycle-check.mjs --report-only",
76
+ "checkout-lifecycle-check:strict": "node scripts/checkout-lifecycle-check.mjs --fail-on-new",
77
+ "checkout-lifecycle-baseline": "node scripts/checkout-lifecycle-check.mjs --baseline",
78
+ "quantity-clamp-check": "node scripts/quantity-clamp-check.mjs --report-only",
79
+ "quantity-clamp-check:strict": "node scripts/quantity-clamp-check.mjs --fail-on-new",
80
+ "quantity-clamp-baseline": "node scripts/quantity-clamp-check.mjs --baseline",
81
+ "no-new-skips-check": "node scripts/no-new-skips-check.mjs --report-only",
82
+ "no-new-skips-check:strict": "node scripts/no-new-skips-check.mjs --fail-on-new",
83
+ "no-new-skips-baseline": "node scripts/no-new-skips-check.mjs --baseline",
84
+ "no-sc-toast-check": "node scripts/no-sc-toast-check.mjs",
85
+ "no-sc-toast-check:report": "node scripts/no-sc-toast-check.mjs --report-only",
86
+ "lockfile-sync-check": "node scripts/lockfile-sync-check.mjs",
87
+ "lockfile-sync-check:report": "node scripts/lockfile-sync-check.mjs --report-only",
88
+ "failopen-loader-check": "node scripts/failopen-loader-check.mjs --report-only",
89
+ "failopen-loader-check:strict": "node scripts/failopen-loader-check.mjs --fail-on-new",
90
+ "voice:check": "node scripts/vc-copy-voice-ratchet.mjs --report-only",
91
+ "voice:check:strict": "node scripts/vc-copy-voice-ratchet.mjs",
92
+ "voice:vendor": "node scripts/gen-voice-rules-vendored.mjs",
93
+ "voice:vendor:check": "node scripts/gen-voice-rules-vendored.mjs --check",
94
+ "failopen-loader-baseline": "node scripts/failopen-loader-check.mjs --baseline",
95
+ "detectors:check": "node scripts/detectors/detectors-wired.mjs",
96
+ "git-hooks-resolve-check": "node scripts/detectors/git-hooks-resolve-check.mjs",
97
+ "git-hooks-resolve-check:report": "node scripts/detectors/git-hooks-resolve-check.mjs --report-only",
98
+ "class-emits-css-check": "node scripts/class-emits-css-check.mjs",
99
+ "token-resolves-check": "node scripts/token-resolves-check.mjs",
100
+ "check": "svelte-check --diagnostic-sources \"js,svelte\"",
101
+ "check:all": "svelte-check",
102
+ "test": "vitest run",
103
+ "test:ci-mute-guard": "vitest run scripts/ci-needs-graph.test.js",
104
+ "test:routes": "VITE_ROUTE_PROBE=1 vitest run src/lib/api/route-answers-probe.test.ts",
105
+ "test:watch": "vitest",
106
+ "test:ui": "vitest --ui",
107
+ "test:e2e": "playwright test",
108
+ "test:e2e:build": "npm run build:lib && playwright test",
109
+ "test:e2e:route": "playwright test --config playwright.route.config.js",
110
+ "test:e2e:route:build": "npm run build && playwright test --config playwright.route.config.js",
111
+ "_size_comment": "size-guard runs FIRST and is not decoration. size-limit resolves its config through lilconfig, whose search order puts package.json BEFORE .size-limit.js — so re-adding a package.json#size-limit key silently shadows the computed budget and the es cap goes back to measuring a 1 KB loader (#569) while CI stays green. size-guard re-runs that search order, re-derives the ES entry's static import closure, and refuses to hand off to size-limit unless the es cap measures it.",
112
+ "_release_preflight_comment": "Runs the checks that can only be answered about the ARTIFACT and the REGISTRY, not about the source tree — so it is deliberately NOT part of `npm run gate` (it needs a built dist and the network). Two questions: is this version already taken on npm (republishing a taken number is unrecoverable — jsDelivr/unpkg serve the first bytes they saw under that specifier forever), and does the tarball `npm pack` would actually upload contain any .map file. The second is asked of `npm pack --dry-run --json`, never of package.json#files, because `files` is what we INTENDED and the tarball is what SHIPS: published 4.1.55 carried 8.7 MB of maps with 786 sourcesContent entries despite an .npmignore that was supposed to stop it.",
113
+ "release:preflight": "node scripts/size-guard.mjs --release",
114
+ "size": "node scripts/size-guard.mjs && size-limit",
115
+ "size:why": "node scripts/size-guard.mjs && size-limit --why",
116
+ "heading-role-fidelity-check": "node scripts/heading-role-fidelity-check.mjs",
117
+ "heading-role-fidelity-check:report": "node scripts/heading-role-fidelity-check.mjs --report-only",
118
+ "composite-role-fidelity-check": "node scripts/composite-role-fidelity-check.mjs",
119
+ "composite-role-fidelity-check:report": "node scripts/composite-role-fidelity-check.mjs --report-only",
120
+ "dead-theme-selector-check": "node scripts/dead-theme-selector-check.mjs",
121
+ "label-name-resolves-check": "node scripts/label-name-resolves-check.mjs",
122
+ "stale-doc-comment-check": "node scripts/stale-doc-comment-check.mjs"
123
+ },
124
+ "keywords": [
125
+ "svelte",
126
+ "calendar",
127
+ "events",
128
+ "comedy",
129
+ "venue",
130
+ "component",
131
+ "micdrop"
132
+ ],
133
+ "author": "MicDrop",
134
+ "license": "MIT",
135
+ "repository": {
136
+ "type": "git",
137
+ "url": "git+https://github.com/get-micdrop/venue-calendar.git"
138
+ },
139
+ "bugs": {
140
+ "url": "https://github.com/get-micdrop/venue-calendar/issues"
141
+ },
142
+ "homepage": "https://github.com/get-micdrop/venue-calendar#readme",
143
+ "_peerDependencies_comment": "TWO different contracts live here, and they cover DIFFERENT entry points. (a) `svelte` — the ES and UMD builds externalize svelte (vite.config.lib.js rollupOptions.external) and ship PRE-COMPILED output that binds through svelte/internal/client, a private, non-semver surface. So the consumer's svelte is the runtime for code this package's compiler emitted, and the compiler version is the real floor. The upper bound is the part that was missing: `>=5.56.0` admits Svelte 6, and this was the ONLY manifest in the fleet that would have taken it — svelte-stripe's `svelte: ^5` peer was the sole accidental brake, and moving that package to devDependencies (below) removes it, so the bound has to be explicit and it has to land in the same change. The floor is 5.56.4, NOT the 5.56.9 this repo compiles with: micdrop-frontend pins svelte to exactly 5.56.4 tree-wide and CANNOT move (mf 3ce86e22a reverted the 5.56.4 -> 5.56.9 bump because the Foundry Catalog Gate stops producing a byte-identical catalog under a different compiler, and that has to be fixed with the catalog regenerated in the same change, on Linux). A floor of 5.56.9 would therefore ERESOLVE against micdrop-frontend's own override on `npm ci` — i.e. it would brick the app that consumes this package in order to record an aspiration. The residual skew (consumer 5.56.4 < compiler 5.56.9) is real but not a missing-symbol crash: all 73 svelte/internal members the shipped dist references are present in 5.56.4. The exposure is SIGNATURE drift across the 7 differing internal/client files (reactivity/props.js `rest_props` is the one behind the June crash), which export-presence checks cannot catch. Close it by aligning the compilers, not by widening this range. (b) `@getmicdrop/svelte-components` — required by the ./api subpath ONLY: dist/api/api.mjs emits 5 SC subpath imports and api.cjs emits 7 (vite.config.api.js externalizes SC deliberately; the manifest never said so, and npm therefore never installed or warned about it). It is marked OPTIONAL below on purpose: @getmicdrop/venue-calendar is PUBLIC on npm but @getmicdrop/svelte-components is PRIVATE (an unauthenticated `npm view` of it 404s while this package resolves fine), so a REQUIRED peer would make `npm i @getmicdrop/venue-calendar` fail outright for every third party that only wants the widget entry — which bundles SC and needs nothing installed. Optional means npm stays quiet when SC is absent (it cannot be fetched anyway) but still version-checks it when present. The main/IIFE/UMD builds do NOT externalize SC; see the devDependencies pin. SEAM RESOLVED (2026-08-23): declaring SC in BOTH devDependencies (build) and peerDependencies (./api contract) is the intended shape, and the test no longer objects. It used to: scDepType asserted SC appeared in EXACTLY ONE of the four dependency maps and found two, failing 3 tests. The fix landed where this note said it should — scripts/lockfile-sync-check.test.js now derives INSTALL_DEP_TYPES as DEP_TYPES minus peerDependencies, so a peer is no longer counted as somewhere SC is installed from. The detector (scripts/lockfile-sync-check.mjs) always handled peers correctly. Nothing is outstanding here; this paragraph is kept as the record of why the two-map shape is deliberate rather than a mistake to be tidied away",
144
+ "peerDependencies": {
145
+ "@getmicdrop/svelte-components": "^6.24.326",
146
+ "svelte": ">=5.56.4 <6"
147
+ },
148
+ "peerDependenciesMeta": {
149
+ "@getmicdrop/svelte-components": {
150
+ "optional": true
151
+ }
152
+ },
153
+ "_tanstack_svelte_query_comment": "`@tanstack/svelte-query` in devDependencies is NOT dead, and it must not be deleted on the evidence that `grep -r '@tanstack/svelte-query' src` returns nothing — it does return nothing, and that is expected. It exists solely to satisfy @getmicdrop/svelte-components' peer range `^6.1.28`. Removing it shrinks no artifact (it reaches none); it silently changes how npm resolves SC's peer tree, which surfaces as a version-skew crash in someone else's build days later with nothing pointing back here. The exact pin mirrors micdrop-frontend, which pins the same version and additionally overrides @tanstack/query-core to 5.100.14 — keep the two manifests agreeing.",
154
+ "_devDependencies_pin_comment": "Three EXACT pins in here are load-bearing and must not be re-caretted by a dependency bot. (1) `@getmicdrop/svelte-components` — the ES/UMD/IIFE builds do NOT externalize SC, so it is COMPILED INTO every shipped artifact. RESTORED TO AN EXACT PIN 2026-08-23, having drifted back to a caret at some point between 6.24.311 and 6.24.316 — exactly the re-caretting this note warns about, which is worth knowing recurs. Under a caretted range like `^6.24.311` the SC version a venue's browser executes is whatever the range floats to on the publish machine at publish time, which is not recorded anywhere and is not reproducible after the fact; the `overrides` block below cannot help (it only ever covered esbuild, and consumers ignore a dependency's overrides entirely). Pinned exact so the artifact and the manifest agree, and vite.config.lib.js stamps the resolved version into the bundle as __VC_SC_VERSION__ so a venue's devtools can answer 'which SC is this?'. (2) `svelte` — the compiler whose private internal/client calls the pre-compiled dist binds to. `^5.56.9` let the compiler move under a peer range that stayed still; see _peerDependencies_comment. (3) `@stripe/stripe-js` in dependencies — see its own note there.",
155
+ "devDependencies": {
156
+ "@eslint/js": "^10.0.1",
157
+ "@getmicdrop/svelte-components": "6.24.326",
158
+ "@playwright/test": "^1.60.0",
159
+ "@size-limit/file": "^13.0.3",
160
+ "@sveltejs/adapter-auto": "^7.0.1",
161
+ "@sveltejs/kit": "^2.70.2",
162
+ "@sveltejs/vite-plugin-svelte": "^7.3.0",
163
+ "@tailwindcss/vite": "^4.3.3",
164
+ "@tanstack/svelte-query": "6.1.38",
165
+ "@testing-library/jest-dom": "^7.0.1",
166
+ "@testing-library/svelte": "^5.3.1",
167
+ "@types/node": "^26.2.0",
168
+ "@typescript-eslint/parser": "^8.59.2",
169
+ "@vitest/coverage-v8": "^4.1.10",
170
+ "cross-env": "^10.1.0",
171
+ "dependency-cruiser": "^18.2.0",
172
+ "eslint": "^10.8.1",
173
+ "eslint-plugin-svelte": "^3.22.0",
174
+ "fast-check": "^4.8.0",
175
+ "globals": "^17.11.0",
176
+ "husky": "^9.1.7",
177
+ "jsdom": "^29.1.1",
178
+ "knip": "^6.12.1",
179
+ "lint-staged": "^16.4.0",
180
+ "postcss": "^8.5.26",
181
+ "postcss-html": "^2.0.0",
182
+ "prettier": "^3.8.3",
183
+ "prettier-plugin-svelte": "^4.1.1",
184
+ "size-limit": "^13.0.3",
185
+ "stylelint": "^17.14.1",
186
+ "stylelint-config-standard": "^40.0.0",
187
+ "svelte": "5.56.9",
188
+ "svelte-check": "^4.3.5",
189
+ "svelte-stripe": "^2.0.0",
190
+ "tailwindcss": "^4.3.3",
191
+ "typescript": "^5.9.3",
192
+ "vite": "^8.2.1",
193
+ "vite-plugin-dts": "^5.0.3",
194
+ "vitest": "^4.1.10",
195
+ "yaml": "2.9.0"
196
+ },
197
+ "_overrides_comment": "esbuild is not a direct dependency here — it arrives as an OPTIONAL PEER of vite (^0.27.0 || ^0.28.0) and of unplugin-dts (*), and npm resolved it to 0.27.3, which is inside GHSA range 0.27.3-0.28.0 (arbitrary file read via the dev server on Windows; dev-only exposure, but this is a Windows shop). There is no direct dependency to bump, so the lift has to be an override. Keep this satisfying vite's peer range — ^0.28.x does; a 0.29 line would not.",
198
+ "overrides": {
199
+ "esbuild": "^0.28.2",
200
+ "svelte": "5.56.9",
201
+ "@tanstack/svelte-query": "6.1.38",
202
+ "@tanstack/query-core": "5.101.4"
203
+ },
204
+ "_dependencies_comment": "`@stripe/stripe-js` is pinned EXACT, and the caret it replaces was not a style choice. loadStripe() does not fetch a versioned URL — it builds `https://js.stripe.com/<RELEASE_TRAIN>/stripe.js` from a CONSTANT baked into whichever @stripe/stripe-js version resolves (9.13.0 hardcodes `RELEASE_TRAIN = 'dahlia'` in dist/index.mjs). This widget runs on third-party venue sites, many of which allowlist that exact script URL in their CSP, so a caret means a routine transitive bump silently MOVES the file a venue must allowlist and checkout dies on their site with a CSP violation and no signal on our side. The live 4.1.55 bundle still requests /clover/stripe.js while this tree resolves to /dahlia/ — the drift is not hypothetical. Pin it, and when the pin is raised, put the new train in the release notes so venue CSPs can be updated first. `svelte-stripe` USED to live here and has moved to devDependencies: no shipped artifact reaches it (dist mentions it only inside .map sourcesContent), CheckoutForm.svelte:81 deliberately calls Stripe.js directly instead ('Svelte 5 compatibility bug'), and the sole live import is a dynamic `import('svelte-stripe')` in src/routes/v/[venueSlug]/gift-cards/purchase/+page.svelte — a SvelteKit route in the dev/e2e app, which `files` does not publish. It stays installed for dev; it just stops being something every npm consumer downloads. Note what that move COSTS: svelte-stripe's own `svelte: ^5` peer was the only thing bounding a consumer's svelte below 6, so peerDependencies.svelte gained an explicit `<6` in the same change.",
205
+ "dependencies": {
206
+ "@stripe/stripe-js": "9.13.0",
207
+ "js-cookie": "^3.0.8",
208
+ "qrcode": "^1.5.4",
209
+ "zod": "^4.4.3"
210
+ },
211
+ "lint-staged": {
212
+ "*.{js,ts,svelte}": [
213
+ "eslint --fix",
214
+ "prettier --write"
215
+ ],
216
+ "*.{json,css,md}": [
217
+ "prettier --write"
218
+ ]
219
+ }
220
+ }