@calcit/procs 0.13.2 → 0.13.4

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 (39) hide show
  1. package/.yarn/install-state.gz +0 -0
  2. package/RFCs/08-08-cross-backend-host-ffi-contracts-rfc.md +584 -0
  3. package/RFCs/README.md +2 -1
  4. package/build.rs +24 -23
  5. package/editing-history/20260807-1030-doc-struct-enum-rename-followup.md +9 -0
  6. package/editing-history/20260807-1130-rename-record-tuple-doc-files.md +6 -0
  7. package/editing-history/20260807-1200-rename-record-tuple-test-and-rust.md +41 -0
  8. package/editing-history/202608071809-preserve-targeted-schema-edits.md +11 -0
  9. package/editing-history/202608071848-static-method-generic-validation.md +5 -0
  10. package/editing-history/20260808-0913-continue-struct-naming-cleanup.md +21 -0
  11. package/editing-history/20260808-0917-struct-enum-terminology-cleanup.md +17 -0
  12. package/editing-history/20260808-0926-deprecated-record-api-analysis.md +16 -0
  13. package/editing-history/20260808-0939-pr-review-ci-remediation.md +10 -0
  14. package/editing-history/20260808-0959-canonical-edn-fixture-expectations.md +10 -0
  15. package/editing-history/20260808-1004-align-js-canonical-edn-format.md +10 -0
  16. package/editing-history/20260808-1008-deprecated-analysis-review-fixes.md +10 -0
  17. package/editing-history/20260808-1012-document-deprecated-api-cleanup.md +7 -0
  18. package/editing-history/20260808-1020-release-0.13.3.md +7 -0
  19. package/editing-history/20260808-1117-option-result-method-api.md +7 -0
  20. package/editing-history/20260808-1126-format-cirru-snapshots.md +6 -0
  21. package/editing-history/20260808-1300-record-tuple-naming-cleanup.md +62 -0
  22. package/editing-history/20260808-1418-cross-backend-host-ffi-contract-rfc.md +7 -0
  23. package/editing-history/20260808-1439-host-ffi-type-foundation.md +7 -0
  24. package/editing-history/20260808-1523-ffi-schema-redesign-and-cirru-edn-check.md +7 -0
  25. package/editing-history/20260808-1532-external-object-trait-refinement.md +6 -0
  26. package/editing-history/20260808-1632-host-ffi.md +6 -0
  27. package/editing-history/20260808-1734-pr-review-ffi-followups.md +7 -0
  28. package/editing-history/20260808-1745-es-module-typed-adapters.md +6 -0
  29. package/editing-history/20260808-1817-release-0.13.4.md +4 -0
  30. package/editing-history/202608080132-pr-309-review-fixes.md +5 -0
  31. package/editing-history/202608080202-js-example-checks.md +5 -0
  32. package/editing-history/202608080206-quote-shell-special-example.md +4 -0
  33. package/editing-history/202608080854-edn-0.8-integration.md +6 -0
  34. package/history/202608062004-wasm-ffi-declarations.md +7 -0
  35. package/history/202608071500-wasm-ffi-review-fixes.md +6 -0
  36. package/lib/js-cirru.mjs +8 -8
  37. package/lib/package.json +1 -1
  38. package/package.json +1 -1
  39. package/ts-src/js-cirru.mts +8 -8
@@ -158,7 +158,7 @@ export let to_cirru_edn = (x: CalcitValue): CirruEdnFormat => {
158
158
  }
159
159
  // placed literals first
160
160
  buffer.sort(recordFieldOrder);
161
- (buffer as any[]).unshift(x.name.toString());
161
+ (buffer as any[]).unshift(new CalcitSymbol(x.name.value).toString());
162
162
  (buffer as any[]).unshift("%{}");
163
163
  return buffer;
164
164
  }
@@ -179,22 +179,22 @@ export let to_cirru_edn = (x: CalcitValue): CirruEdnFormat => {
179
179
  // turn `x.snd` with CalcitList into raw Cirru nodes, which is in plain Array
180
180
  return ["quote", toWriterNode(x.get(1) as any)] as CirruEdnFormat;
181
181
  } else if (x.enumPrototype != null) {
182
- let enumTag = unwrap_enum_prototype_local(x.enumPrototype).name.toString();
182
+ let enumTag = new CalcitSymbol(unwrap_enum_prototype_local(x.enumPrototype).name.value).toString();
183
183
  if (x.tag instanceof CalcitTag) {
184
- return ["%::", enumTag, x.tag.toString(), ...x.extra.map(to_cirru_edn)];
184
+ return ["%::", enumTag, new CalcitSymbol(x.tag.value).toString(), ...x.extra.map(to_cirru_edn)];
185
185
  } else if (x.tag instanceof CalcitStructValue) {
186
- return ["%::", enumTag, x.tag.name.toString(), ...x.extra.map(to_cirru_edn)];
186
+ return ["%::", enumTag, new CalcitSymbol(x.tag.name.value).toString(), ...x.extra.map(to_cirru_edn)];
187
187
  } else if (x.tag instanceof CalcitImpl) {
188
- return ["%::", enumTag, x.tag.name.toString(), ...x.extra.map(to_cirru_edn)];
188
+ return ["%::", enumTag, new CalcitSymbol(x.tag.name.value).toString(), ...x.extra.map(to_cirru_edn)];
189
189
  } else {
190
190
  throw new Error(`Unsupported tag for EDN: ${x.tag}`);
191
191
  }
192
192
  } else if (x.tag instanceof CalcitTag) {
193
- return ["::", x.tag.toString(), ...x.extra.map(to_cirru_edn)];
193
+ return ["::", new CalcitSymbol(x.tag.value).toString(), ...x.extra.map(to_cirru_edn)];
194
194
  } else if (x.tag instanceof CalcitStructValue) {
195
- return ["::", x.tag.name.toString(), ...x.extra.map(to_cirru_edn)];
195
+ return ["::", new CalcitSymbol(x.tag.name.value).toString(), ...x.extra.map(to_cirru_edn)];
196
196
  } else if (x.tag instanceof CalcitImpl) {
197
- return ["::", x.tag.name.toString(), ...x.extra.map(to_cirru_edn)];
197
+ return ["::", new CalcitSymbol(x.tag.name.value).toString(), ...x.extra.map(to_cirru_edn)];
198
198
  } else {
199
199
  throw new Error(`Unsupported tag for EDN: ${x.tag}`);
200
200
  }