rida-format 0.3.3 → 2.0.1
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 +17 -0
- package/README.md +1300 -43
- package/package.json +12 -5
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -1,18 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rida-format",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "Node.js reader and tools for RIDA 0.3.3 datasets",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"engines": {
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=20"
|
|
8
|
+
},
|
|
7
9
|
"bin": {
|
|
8
|
-
"rida": "
|
|
9
|
-
"rida-format": "
|
|
10
|
+
"rida": "src/cli.js",
|
|
11
|
+
"rida-format": "src/cli.js"
|
|
10
12
|
},
|
|
11
13
|
"exports": {
|
|
12
14
|
".": "./src/index.js",
|
|
13
15
|
"./builder": "./src/builder.js"
|
|
14
16
|
},
|
|
15
|
-
"files": [
|
|
17
|
+
"files": [
|
|
18
|
+
"src/",
|
|
19
|
+
"README.md",
|
|
20
|
+
"LICENSE",
|
|
21
|
+
"CHANGELOG.md"
|
|
22
|
+
],
|
|
16
23
|
"scripts": {
|
|
17
24
|
"start": "node ./src/cli.js",
|
|
18
25
|
"check": "node --check src/index.js && node --check src/builder.js && node --check src/cli.js"
|
package/src/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { inflateRawSync } from "node:zlib";
|
|
|
7
7
|
const require = createRequire(import.meta.url);
|
|
8
8
|
const lzma = require("lzma-native");
|
|
9
9
|
|
|
10
|
-
export const version = "0.
|
|
10
|
+
export const version = "2.0.1";
|
|
11
11
|
export const MERGE_GAP_LIMIT = 660;
|
|
12
12
|
const INDEX_MAGIC = Buffer.from("RIDAIDX1");
|
|
13
13
|
const CATALOG_MAGIC = Buffer.from("RDACAT01");
|