js.documents 1.54.4 → 1.54.6
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/README.md +6 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -423,6 +423,12 @@ Commits follow Conventional Commits (`feat:`, `fix:`, `test:`, `chore:`, …), e
|
|
|
423
423
|
- [STIX Two Math](https://github.com/stipub/stixfonts) — the embedded math font `odfToPdf` (and the odt/odp embedded-formula paths) render through. Vendored, parsed, and embedded entirely within `pdf-codec` now (this repository no longer carries the font asset directly) — see that package's own README for the exact source commit/version and licensing (OFL-1.1) provenance.
|
|
424
424
|
- [firebirdsql/firebird](https://github.com/FirebirdSQL/firebird) — the ground truth `src/firebird/` is built against, since Firebird's own gbak backup format has no ratified public specification: `src/burp/burp.h` (the `rec_type`/`att_type` enumerations and their own per-block numbering, and the backup-format version history), `src/burp/backup.epp`/`restore.epp` (the write/read reference implementation `src/firebird/reader.ts`'s attribute framing and RLE decompression are restated from), `src/burp/canonical.cpp` (the per-SQL-type XDR shape a row's own field values use), `src/burp/mvol.cpp` (the backup-header attributes and their own presence-means-true encoding), `src/common/xdr.cpp` (the underlying big-endian XDR primitive encodings, including the `xdr_hyper` high-word-first ordering this reader's own construction initially got backwards), `src/jrd/align.h`/`src/include/firebird/impl/blr.h` (the BLR-type-opcode-to-physical-storage-type mapping), and `src/common/classes/NoThrowTimeStamp.cpp` (the DATE/TIME encoding algorithms). Not a dependency of this package at build or runtime — read and cited as source material only, per commit state at the time `src/firebird/` was built.
|
|
425
425
|
|
|
426
|
+
## npm aliases
|
|
427
|
+
|
|
428
|
+
This package also publishes under the following alternate npm names — the identical build, same version, republished by CI alongside the primary `documents.js` package:
|
|
429
|
+
|
|
430
|
+
- [js.documents](https://www.npmjs.com/package/js.documents)
|
|
431
|
+
|
|
426
432
|
## License
|
|
427
433
|
|
|
428
434
|
MIT
|
package/dist/index.cjs
CHANGED
|
@@ -8803,7 +8803,7 @@ const LEADING_WORD_RE = /^([A-Za-z_][A-Za-z0-9_]*)/;
|
|
|
8803
8803
|
function resolveHsqldbTypeCode(declaredType) {
|
|
8804
8804
|
const word = LEADING_WORD_RE.exec(declaredType.trim())?.[1]?.toUpperCase();
|
|
8805
8805
|
if (word === void 0) throw new HsqldbRowFormatError(`cannot resolve a SQL type name from column type clause "${declaredType}"`);
|
|
8806
|
-
if (UNSUPPORTED_SQL_TYPE_NAMES.has(word)) throw new HsqldbRowFormatError(`column type "${word}" has no document-
|
|
8806
|
+
if (UNSUPPORTED_SQL_TYPE_NAMES.has(word)) throw new HsqldbRowFormatError(`column type "${word}" has no document-schema.js ContentCellValue equivalent (binary/object column types are not representable) -- from declared type "${declaredType}"`);
|
|
8807
8807
|
const code = SQL_TYPE_NAME_TO_CODE[word];
|
|
8808
8808
|
if (code === void 0) throw new HsqldbRowFormatError(`unrecognised HSQLDB column type "${word}" -- from declared type "${declaredType}"`);
|
|
8809
8809
|
return code;
|
package/dist/index.js
CHANGED
|
@@ -8802,7 +8802,7 @@ const LEADING_WORD_RE = /^([A-Za-z_][A-Za-z0-9_]*)/;
|
|
|
8802
8802
|
function resolveHsqldbTypeCode(declaredType) {
|
|
8803
8803
|
const word = LEADING_WORD_RE.exec(declaredType.trim())?.[1]?.toUpperCase();
|
|
8804
8804
|
if (word === void 0) throw new HsqldbRowFormatError(`cannot resolve a SQL type name from column type clause "${declaredType}"`);
|
|
8805
|
-
if (UNSUPPORTED_SQL_TYPE_NAMES.has(word)) throw new HsqldbRowFormatError(`column type "${word}" has no document-
|
|
8805
|
+
if (UNSUPPORTED_SQL_TYPE_NAMES.has(word)) throw new HsqldbRowFormatError(`column type "${word}" has no document-schema.js ContentCellValue equivalent (binary/object column types are not representable) -- from declared type "${declaredType}"`);
|
|
8806
8806
|
const code = SQL_TYPE_NAME_TO_CODE[word];
|
|
8807
8807
|
if (code === void 0) throw new HsqldbRowFormatError(`unrecognised HSQLDB column type "${word}" -- from declared type "${declaredType}"`);
|
|
8808
8808
|
return code;
|
package/package.json
CHANGED