@tabnas/json 0.5.15 → 0.5.16

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 CHANGED
@@ -12,8 +12,9 @@ Available for [TypeScript/JavaScript](#install) and [Go](../go/).
12
12
  npm install @tabnas/json
13
13
  ```
14
14
 
15
- `tabnas` (the engine) is a peer/dependency; see [Develop](#develop) for
16
- the sibling-checkout setup used until it is published.
15
+ `@tabnas/parser` (the engine) is a peer dependency; npm 7 and later
16
+ install it with this package. It is published on npm like this one, and
17
+ [Develop](#develop) covers working on the package itself.
17
18
 
18
19
  ## Quick example
19
20
 
@@ -154,16 +155,19 @@ code 1.
154
155
 
155
156
  ## Develop
156
157
 
157
- This package depends on the engine as a sibling checkout:
158
+ The engine comes from the npm registry like every other dependency, at
159
+ the version `package-lock.json` pins, so nothing needs checking out
160
+ beside this repository:
158
161
 
159
162
  ```bash
160
- git clone https://github.com/tabnas/parser # sibling of this repo
161
- ( cd parser/ts && npm install && npm run build )
162
- npm install # resolves "@tabnas/parser": "file:../../parser/ts"
163
+ npm install # resolves @tabnas/parser from the registry, at the version package-lock.json pins
163
164
  npm test # tsc build + node --test
164
165
  ```
165
166
 
166
- See [`AGENTS.md`](AGENTS.md) for layout and conventions.
167
+ To work against an unreleased engine, link a built checkout of it over
168
+ `node_modules/@tabnas/parser` once the install has finished.
169
+
170
+ See [`AGENTS.md`](../AGENTS.md) for layout and conventions.
167
171
 
168
172
 
169
173
  ## Grammar diagram
package/dist/json.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Tabnas, TabnasError, type Plugin } from '@tabnas/parser';
2
- export declare const VERSION = "0.5.15";
2
+ export declare const VERSION = "0.5.16";
3
3
  export interface JsonGrammarOptions {
4
4
  chainOff?: boolean;
5
5
  }
package/dist/json.js CHANGED
@@ -29,7 +29,7 @@ Object.defineProperty(exports, "JsonError", { enumerable: true, get: function ()
29
29
  // VERSION is this package's version. It MUST equal package.json "version":
30
30
  // the release orchestrator rewrites both, and test/version.test.js fails the
31
31
  // build if they drift. Mirrors `const VERSION` in go/json.go.
32
- exports.VERSION = '0.5.15';
32
+ exports.VERSION = '0.5.16';
33
33
  // JSON-only lexer/parser options. Restrictive enough to mirror
34
34
  // JSON.parse: double-quoted strings only, plain decimal numbers, quoted
35
35
  // keys only, no comments, no trailing-comma map extension, no empty
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tabnas/json",
3
- "version": "0.5.15",
3
+ "version": "0.5.16",
4
4
  "main": "dist/json.js",
5
5
  "type": "commonjs",
6
6
  "types": "dist/json.d.ts",
package/src/json.ts CHANGED
@@ -23,7 +23,7 @@ import { Tabnas, TabnasError, type Plugin } from '@tabnas/parser'
23
23
  // VERSION is this package's version. It MUST equal package.json "version":
24
24
  // the release orchestrator rewrites both, and test/version.test.js fails the
25
25
  // build if they drift. Mirrors `const VERSION` in go/json.go.
26
- export const VERSION = '0.5.15'
26
+ export const VERSION = '0.5.16'
27
27
 
28
28
  // JSON-only lexer/parser options. Restrictive enough to mirror
29
29
  // JSON.parse: double-quoted strings only, plain decimal numbers, quoted