breeze-bindgen 1.1.3 → 1.1.4

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/dist/cli.mjs CHANGED
@@ -18,8 +18,10 @@ import { spawnSync } from "node:child_process";
18
18
 
19
19
  // c-type-parser.ts
20
20
  var CTypeParser = class {
21
- tokens = [];
22
- cursor = 0;
21
+ constructor() {
22
+ this.tokens = [];
23
+ this.cursor = 0;
24
+ }
23
25
  lex(str) {
24
26
  this.tokens = [];
25
27
  let current = "";
package/dist/core.cjs CHANGED
@@ -228,8 +228,10 @@ var import_node_child_process = require("node:child_process");
228
228
 
229
229
  // c-type-parser.ts
230
230
  var CTypeParser = class {
231
- tokens = [];
232
- cursor = 0;
231
+ constructor() {
232
+ this.tokens = [];
233
+ this.cursor = 0;
234
+ }
233
235
  lex(str) {
234
236
  this.tokens = [];
235
237
  let current = "";
package/dist/core.mjs CHANGED
@@ -224,8 +224,10 @@ import { spawnSync } from "node:child_process";
224
224
 
225
225
  // c-type-parser.ts
226
226
  var CTypeParser = class {
227
- tokens = [];
228
- cursor = 0;
227
+ constructor() {
228
+ this.tokens = [];
229
+ this.cursor = 0;
230
+ }
229
231
  lex(str) {
230
232
  this.tokens = [];
231
233
  let current = "";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e",
3
3
  "name": "breeze-bindgen",
4
- "version": "1.1.3",
4
+ "version": "1.1.4",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
@@ -29,6 +29,7 @@
29
29
  "build:cli": "esbuild cli.ts --bundle --outfile=cli.js --platform=node --format=esm --banner:js='#!/usr/bin/env node'",
30
30
  "cli": "node -r esbuild-register cli.ts",
31
31
  "typegen": "node -r esbuild-register typegen.ts",
32
- "parser-test": "node -r esbuild-register c-type-parser.ts"
32
+ "parser-test": "node -r esbuild-register c-type-parser.ts",
33
+ "build-types": "tsc --emitDeclarationOnly core.ts --declaration --outdir dist"
33
34
  }
34
35
  }