@iebh/reflib 2.3.4 → 2.3.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.
@@ -6,8 +6,8 @@ export class WritableStream {
6
6
  this.emitter = Emitter();
7
7
  this.parser = new CacxParser({
8
8
  collect: false,
9
+ reAttrSegment: /(?<key>[a-zA-Z_:][-a-zA-Z0-9_:.]*)(?:\s*=\s*(?<escape>["'])(?<val>.*?)\k<escape>)?/ig,
9
10
  onTagOpen: (node) => {
10
- console.log(node.tag, node.attrs);
11
11
  const name = node.tag;
12
12
  const attrs = node.attrs || {};
13
13
  this.emitter.emit('opentag', name, attrs);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iebh/reflib",
3
- "version": "2.3.4",
3
+ "version": "2.3.6",
4
4
  "description": "Reference / Citation reference library utilities",
5
5
  "scripts": {
6
6
  "lint": "eslint lib modules shared test",
@@ -53,7 +53,7 @@
53
53
  "vite-plugin-replace": "^0.1.1"
54
54
  },
55
55
  "dependencies": {
56
- "@iebh/cacx": "^1.0.0",
56
+ "@iebh/cacx": "^1.0.2",
57
57
  "htmlparser2": "^9.0.0",
58
58
  "JSONStream": "^1.3.5",
59
59
  "mitt": "^3.0.1"