@thi.ng/egf 0.6.203 → 0.6.205

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.
Files changed (4) hide show
  1. package/README.md +2 -2
  2. package/api.js +2 -2
  3. package/package.json +17 -16
  4. package/parser.js +2 -2
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](https://mastodon.thi.ng/@toxi)
8
8
 
9
9
  > [!NOTE]
10
- > This is one of 213 standalone projects, maintained as part
10
+ > This is one of 214 standalone projects, maintained as part
11
11
  > of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
12
12
  > and anti-framework.
13
13
  >
@@ -130,7 +130,7 @@ For Node.js REPL:
130
130
  const egf = await import("@thi.ng/egf");
131
131
  ```
132
132
 
133
- Package sizes (brotli'd, pre-treeshake): ESM: 2.61 KB
133
+ Package sizes (brotli'd, pre-treeshake): ESM: 2.62 KB
134
134
 
135
135
  ## Dependencies
136
136
 
package/api.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { isNode } from "@thi.ng/checks/is-node";
2
- import { unsupported } from "@thi.ng/errors/unsupported";
2
+ import { unsupportedOp } from "@thi.ng/errors/unsupported";
3
3
  const IS_NODE = isNode();
4
- const NODE_ONLY = () => unsupported("only available in NodeJS");
4
+ const NODE_ONLY = () => unsupportedOp("only available in NodeJS");
5
5
  export {
6
6
  IS_NODE,
7
7
  NODE_ONLY
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/egf",
3
- "version": "0.6.203",
3
+ "version": "0.6.205",
4
4
  "description": "Extensible Graph Format",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -8,7 +8,8 @@
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
11
- "url": "https://github.com/thi-ng/umbrella.git"
11
+ "url": "git+https://github.com/thi-ng/umbrella.git",
12
+ "directory": "packages/egf"
12
13
  },
13
14
  "homepage": "https://thi.ng/egf",
14
15
  "funding": [
@@ -40,21 +41,21 @@
40
41
  "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
41
42
  },
42
43
  "dependencies": {
43
- "@thi.ng/api": "^8.12.12",
44
- "@thi.ng/checks": "^3.8.2",
45
- "@thi.ng/dot": "^2.1.125",
46
- "@thi.ng/errors": "^2.6.1",
47
- "@thi.ng/logger": "^3.2.11",
48
- "@thi.ng/prefixes": "^2.3.63",
49
- "@thi.ng/strings": "^3.9.33",
50
- "@thi.ng/transducers-binary": "^2.1.193",
51
- "@thi.ng/trie": "^2.0.11"
44
+ "@thi.ng/api": "^8.12.14",
45
+ "@thi.ng/checks": "^3.8.4",
46
+ "@thi.ng/dot": "^2.1.127",
47
+ "@thi.ng/errors": "^2.6.3",
48
+ "@thi.ng/logger": "^3.2.13",
49
+ "@thi.ng/prefixes": "^2.3.65",
50
+ "@thi.ng/strings": "^3.9.35",
51
+ "@thi.ng/transducers-binary": "^2.1.195",
52
+ "@thi.ng/trie": "^2.0.13"
52
53
  },
53
54
  "devDependencies": {
54
- "@thi.ng/equiv": "^2.1.102",
55
- "@types/node": "^24.10.1",
56
- "esbuild": "^0.27.0",
57
- "typedoc": "^0.28.14",
55
+ "@thi.ng/equiv": "^2.1.104",
56
+ "@types/node": "^24.10.9",
57
+ "esbuild": "^0.27.2",
58
+ "typedoc": "^0.28.16",
58
59
  "typescript": "^5.9.3"
59
60
  },
60
61
  "keywords": [
@@ -111,5 +112,5 @@
111
112
  "status": "alpha",
112
113
  "year": 2020
113
114
  },
114
- "gitHead": "deb511294f7a120091b654af0ff7e8a399a465b3\n"
115
+ "gitHead": "4bd1b9d8ae52ba32b90a1b9a55d329c708ca7865\n"
115
116
  }
package/parser.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { illegalState } from "@thi.ng/errors/illegal-state";
2
- import { unsupported } from "@thi.ng/errors/unsupported";
2
+ import { unsupportedOp } from "@thi.ng/errors/unsupported";
3
3
  import { NULL_LOGGER } from "@thi.ng/logger/null";
4
4
  import * as $prefixes from "@thi.ng/prefixes";
5
5
  import { unescape } from "@thi.ng/strings/escape";
@@ -77,7 +77,7 @@ const __parsePrefix = (line, ctx) => {
77
77
  };
78
78
  const __parseTag = (tag, body, ctx) => {
79
79
  const parser = ctx.tags[tag] || ctx.defaultTag;
80
- return parser ? parser(tag, body, ctx) : unsupported(`missing parser for tag: ${tag}`);
80
+ return parser ? parser(tag, body, ctx) : unsupportedOp(`missing parser for tag: ${tag}`);
81
81
  };
82
82
  const __parseProp = (node, ctx, line, lines, i) => {
83
83
  const idx0 = line[0] === " " ? 1 : 4;