openmates 0.15.0-alpha.41 → 0.15.0-alpha.42

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.
@@ -15246,11 +15246,12 @@ function assertAccountExportTextSafe(content, relativePath) {
15246
15246
  for (const pattern of ACCOUNT_EXPORT_FORBIDDEN_VALUE_PATTERNS) {
15247
15247
  if (pattern.test(content)) throw new Error(`Account export file ${relativePath} contains forbidden secret-like content`);
15248
15248
  }
15249
- for (const field of ACCOUNT_EXPORT_FORBIDDEN_FIELD_NAMES) {
15250
- if (new RegExp(`"?${field}"?\\s*:`, "i").test(content)) {
15249
+ ACCOUNT_EXPORT_FORBIDDEN_FIELD_NAMES.forEach((field) => {
15250
+ const escapedField = field.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
15251
+ if (new RegExp(`(^|[^A-Za-z0-9_])['"]?${escapedField}['"]?\\s*:`, "i").test(content)) {
15251
15252
  throw new Error(`Account export file ${relativePath} contains forbidden secret field '${field}'`);
15252
15253
  }
15253
- }
15254
+ });
15254
15255
  }
15255
15256
  function buildAccountExportReadme(bundle) {
15256
15257
  const selectedDomains = Array.isArray(bundle.manifest.selected_domains) ? bundle.manifest.selected_domains.map(String) : [];
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  getExtForLang,
4
4
  serializeToYaml
5
- } from "./chunk-OS6LLOFH.js";
5
+ } from "./chunk-LSG53OZB.js";
6
6
  import "./chunk-AXNRPVLE.js";
7
7
  export {
8
8
  getExtForLang,
package/dist/index.js CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  reconcileAuthoritativeChats,
19
19
  renderSupportInfo,
20
20
  serializeToYaml
21
- } from "./chunk-OS6LLOFH.js";
21
+ } from "./chunk-LSG53OZB.js";
22
22
  import "./chunk-AXNRPVLE.js";
23
23
  export {
24
24
  APP_SKILL_METADATA,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openmates",
3
- "version": "0.15.0-alpha.41",
3
+ "version": "0.15.0-alpha.42",
4
4
  "description": "OpenMates CLI and SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",