@cosyte/astm 0.1.1 → 0.1.3

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/dist/index.d.cts CHANGED
@@ -6438,9 +6438,9 @@ interface FrameOptions {
6438
6438
  * The protocol phase. The line is either **neutral** (idle, awaiting an `ENQ` to
6439
6439
  * establish, or reset there after an `EOT`) or in **transfer** (establishment
6440
6440
  * accepted; frames and their per-frame `ACK`/`NAK` flow until the sender's `EOT`).
6441
- * The classic three-phase LIS01 model (establishment → transfer → termination)
6442
- * collapses to these two, since establishment is the `neutral → transfer` edge and
6443
- * termination is the `transfer → neutral` edge.
6441
+ * The classic LIS01 model names three phases (establishment → transfer →
6442
+ * termination), which collapse to these two, since establishment is the
6443
+ * `neutral → transfer` edge and termination is the `transfer → neutral` edge.
6444
6444
  */
6445
6445
  type LtpPhase = "neutral" | "transfer";
6446
6446
  /**
package/dist/index.d.ts CHANGED
@@ -6438,9 +6438,9 @@ interface FrameOptions {
6438
6438
  * The protocol phase. The line is either **neutral** (idle, awaiting an `ENQ` to
6439
6439
  * establish, or reset there after an `EOT`) or in **transfer** (establishment
6440
6440
  * accepted; frames and their per-frame `ACK`/`NAK` flow until the sender's `EOT`).
6441
- * The classic three-phase LIS01 model (establishment → transfer → termination)
6442
- * collapses to these two, since establishment is the `neutral → transfer` edge and
6443
- * termination is the `transfer → neutral` edge.
6441
+ * The classic LIS01 model names three phases (establishment → transfer →
6442
+ * termination), which collapse to these two, since establishment is the
6443
+ * `neutral → transfer` edge and termination is the `transfer → neutral` edge.
6444
6444
  */
6445
6445
  type LtpPhase = "neutral" | "transfer";
6446
6446
  /**
package/dist/index.mjs CHANGED
@@ -1936,7 +1936,7 @@ function parseDateField(raw, recordIndex, recordType, fieldIndex, warnings) {
1936
1936
  return date;
1937
1937
  }
1938
1938
  function isNumericValue(value) {
1939
- return /^\s*[<>]?\s*-?\d+(?:\.\d+)?\s*$/u.test(value);
1939
+ return /^\s*(?:[<>]\s*)?-?\d+(?:\.\d+)?\s*$/u.test(value);
1940
1940
  }
1941
1941
  function fieldRaw(field) {
1942
1942
  return field !== void 0 && field.raw.length > 0 ? field.raw : void 0;
@@ -3142,7 +3142,7 @@ function concatBytes3(chunks) {
3142
3142
  }
3143
3143
 
3144
3144
  // src/index.ts
3145
- var VERSION = "0.1.1";
3145
+ var VERSION = "0.1.3";
3146
3146
 
3147
3147
  export { ABNORMAL_FLAG_CODES, ABNORMAL_FLAG_VOCABULARY, ALL_ASTM_WARNING_CODES, AMBIGUOUS_CODES, ACK as ASTM_ACK, ENQ as ASTM_ENQ, EOT as ASTM_EOT, NAK as ASTM_NAK, AstmAmbiguousStreamError, AstmFrameEncodeError, AstmFrameStrictError, AstmParseError, AstmProfileDefinitionError, AstmSerializeError, AstmStrictError, CANONICAL_DELIMITERS, FATAL_CODES, FRAME_WARNING_CODES, LIVD_CATALOG_IDENTITY_UNDECLARED, LIVD_WARNING_CODES, LTP_WARNING_CODES, RESULT_STATUS_VOCABULARY, SAFETY_CRITICAL_CODES, TOLERABLE_CODES, VERSION, WARNING_CODES, alignmentShiftedComponents, alignmentShiftedFields, alignmentTruncatedField, ambiguousEscapeAlignment, ambiguousMessageKind, ambiguousValueSplit, applyAstmProfile, applyAstmProfileToWarnings, applyLivd, astmDateToLocalISO, astmProfiles, attachComments, buildAstmMessage, classifyMessage, comments, commentsFor, composeAstmFrames, computeChecksum, decodeAstmFrames, decodeEscapes, deepFreeze, defineAstmProfile, defineLivdCatalog, delimiterRoleCollision, delimiterSwallowedByEscape, delimitersRedeclared, describeVocabulary, detectFraming, encodeComponent, fieldScalar, fieldsUnseparated, frameBadChecksum, frameOversize, frameSequenceGap, frameUnterminated, getAstmProfile, getDefaultAstmProfile, hasCollidingRoles, interpretAbnormalFlag, interpretResultStatus, isNonStandard, isSafetyCriticalCode, listAstmProfiles, livdAmbiguousMapping, livdCatalogMissingLoincVersion, livdUnmappedCode, lookupLivdForRecord, ltpAmbiguousTransport, ltpFrameRejected, ltpInitialState, ltpReduce, ltpUnexpectedEvent, messages, nonStandardDelimiters, orders, orphanComment, parseAstmDate, parseAstmRecords, parseChecksumHex, parseFramedAstm, parseReferenceRange, partialTimestamp, patient, primaryCode, profileQuirkApplied, query, readDelimiterDeclaration, readDelimiters, recognizeUniversalTestId, resolveProfileTransport, results, serializeAstmRecord, serializeAstmRecords, serializeField, serializeFramedAstm, setDefaultAstmProfile, splitEscapeAware, toChecksumHex, toDate, toISO, toObject, tokenizeHeader, tokenizeRecord, undefinedAbnormalFlag, undefinedResultStatus, uninterpretedQueryStatus, unitsAbsent, unknownEscapeSequence, unknownRecordType, unpairedEscapeCharacter, unparseableReferenceRange, unreadableRedeclaration };
3148
3148
  //# sourceMappingURL=index.mjs.map