@cosyte/astm 0.1.2 → 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/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - fbebdf2: Checking whether a result value is numeric, the check behind the units-absent warning, now takes time linear in the value's length; a value padded with a long run of spaces held the parser for seconds (about 3.5 at 50,000 spaces), and the time grew with the square of the run.
8
+
9
+ Every value is classified exactly as before, so the same results warn.
10
+
3
11
  ## 0.1.2
4
12
 
5
13
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -1938,7 +1938,7 @@ function parseDateField(raw, recordIndex, recordType, fieldIndex, warnings) {
1938
1938
  return date;
1939
1939
  }
1940
1940
  function isNumericValue(value) {
1941
- return /^\s*[<>]?\s*-?\d+(?:\.\d+)?\s*$/u.test(value);
1941
+ return /^\s*(?:[<>]\s*)?-?\d+(?:\.\d+)?\s*$/u.test(value);
1942
1942
  }
1943
1943
  function fieldRaw(field) {
1944
1944
  return field !== void 0 && field.raw.length > 0 ? field.raw : void 0;
@@ -3144,7 +3144,7 @@ function concatBytes3(chunks) {
3144
3144
  }
3145
3145
 
3146
3146
  // src/index.ts
3147
- var VERSION = "0.1.2";
3147
+ var VERSION = "0.1.3";
3148
3148
 
3149
3149
  exports.ABNORMAL_FLAG_CODES = ABNORMAL_FLAG_CODES;
3150
3150
  exports.ABNORMAL_FLAG_VOCABULARY = ABNORMAL_FLAG_VOCABULARY;