@thi.ng/parse 2.0.1 → 2.0.3

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 CHANGED
@@ -3,6 +3,22 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/parse@2.0.2...@thi.ng/parse@2.0.3) (2021-10-15)
7
+
8
+ **Note:** Version bump only for package @thi.ng/parse
9
+
10
+
11
+
12
+
13
+
14
+ ## [2.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/parse@2.0.1...@thi.ng/parse@2.0.2) (2021-10-15)
15
+
16
+ **Note:** Version bump only for package @thi.ng/parse
17
+
18
+
19
+
20
+
21
+
6
22
  ## [2.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/parse@2.0.0...@thi.ng/parse@2.0.1) (2021-10-13)
7
23
 
8
24
  **Note:** Version bump only for package @thi.ng/parse
package/README.md CHANGED
@@ -90,7 +90,7 @@ node --experimental-repl-await
90
90
  > const parse = await import("@thi.ng/parse");
91
91
  ```
92
92
 
93
- Package sizes (gzipped, pre-treeshake): ESM: 5.30 KB
93
+ Package sizes (gzipped, pre-treeshake): ESM: 5.28 KB
94
94
 
95
95
  ## Dependencies
96
96
 
package/context.js CHANGED
@@ -5,13 +5,6 @@ import { defArrayReader } from "./readers/array-reader.js";
5
5
  import { defStringReader } from "./readers/string-reader.js";
6
6
  import { indent } from "./utils.js";
7
7
  export class ParseContext {
8
- reader;
9
- opts;
10
- _scopes;
11
- _curr;
12
- _maxDepth;
13
- _debug;
14
- _retain;
15
8
  constructor(reader, opts) {
16
9
  this.reader = reader;
17
10
  this.opts = { maxDepth: 32, debug: false, retain: false, ...opts };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thi.ng/parse",
3
- "version": "2.0.1",
3
+ "version": "2.0.3",
4
4
  "description": "Purely functional parser combinators & AST generation for generic inputs",
5
5
  "type": "module",
6
6
  "module": "./index.js",
@@ -34,14 +34,14 @@
34
34
  "test": "testament test"
35
35
  },
36
36
  "dependencies": {
37
- "@thi.ng/api": "^8.0.1",
38
- "@thi.ng/checks": "^3.0.1",
39
- "@thi.ng/defmulti": "^2.0.1",
40
- "@thi.ng/errors": "^2.0.1",
41
- "@thi.ng/strings": "^3.0.1"
37
+ "@thi.ng/api": "^8.0.3",
38
+ "@thi.ng/checks": "^3.0.3",
39
+ "@thi.ng/defmulti": "^2.0.3",
40
+ "@thi.ng/errors": "^2.0.3",
41
+ "@thi.ng/strings": "^3.0.3"
42
42
  },
43
43
  "devDependencies": {
44
- "@thi.ng/testament": "^0.1.1"
44
+ "@thi.ng/testament": "^0.1.3"
45
45
  },
46
46
  "keywords": [
47
47
  "ast",
@@ -233,5 +233,5 @@
233
233
  ],
234
234
  "year": 2020
235
235
  },
236
- "gitHead": "2e6b3d7c0f4c5686c1e9bdb4902ed7d3f90bcc19"
236
+ "gitHead": "1fb38cac74d6c009d96855c28784a267a81badf1"
237
237
  }
@@ -1,5 +1,4 @@
1
1
  class ArrayReader {
2
- _src;
3
2
  constructor(_src) {
4
3
  this._src = _src;
5
4
  }
@@ -1,5 +1,4 @@
1
1
  class StringReader {
2
- _src;
3
2
  constructor(_src) {
4
3
  this._src = _src;
5
4
  }