capdag 0.158.370 → 0.161.384
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 +5 -5
- package/RULES.md +6 -6
- package/capdag.js +26 -2
- package/capdag.test.js +241 -241
- package/machine.pegjs +2 -2
- package/package.json +2 -2
package/machine.pegjs
CHANGED
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
// Two equally valid statement forms:
|
|
7
7
|
//
|
|
8
8
|
// Bracketed (one or more statements per line, any layout):
|
|
9
|
-
// [extract cap:in="media:pdf";
|
|
9
|
+
// [extract cap:in="media:pdf";extract;out="media:txt;textable"]
|
|
10
10
|
// [doc -> extract -> text]
|
|
11
11
|
//
|
|
12
12
|
// Line-based (one statement per line, no brackets):
|
|
13
|
-
// extract cap:in="media:pdf";
|
|
13
|
+
// extract cap:in="media:pdf";extract;out="media:txt;textable"
|
|
14
14
|
// doc -> extract -> text
|
|
15
15
|
// (thumbnail, model_spec) -> describe -> description
|
|
16
16
|
// pages -> LOOP p2t -> texts
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"author": "Bahram Joharshamshiri",
|
|
3
3
|
"dependencies": {
|
|
4
4
|
"peggy": "^5.1.0",
|
|
5
|
-
"tagged-urn": "^0.
|
|
5
|
+
"tagged-urn": "^0.35.86"
|
|
6
6
|
},
|
|
7
7
|
"description": "JavaScript implementation of Cap URN (Capability Uniform Resource Names) with strict validation and matching",
|
|
8
8
|
"engines": {
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"pretest": "npm run build:parser",
|
|
41
41
|
"test": "node capdag.test.js"
|
|
42
42
|
},
|
|
43
|
-
"version": "0.
|
|
43
|
+
"version": "0.161.384"
|
|
44
44
|
}
|