cel-proto-parser 0.3.3 → 0.3.5
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/esm/parser.js +1 -1
- package/package.json +15 -17
- package/parser.js +1 -1
package/esm/parser.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import generate from '@babel/generator';
|
|
2
2
|
import * as t from '@babel/types';
|
|
3
|
-
import { parse } from '@
|
|
3
|
+
import { parse } from '@constructive-io/protobufjs';
|
|
4
4
|
import { mkdirSync, readFileSync, writeFileSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
import { convertTypeToTsInterface, generateAstHelperMethods, generateEnumImports, generateNodeUnionType, generateTypeImportSpecifiers } from './ast';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cel-proto-parser",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.5",
|
|
4
4
|
"description": "CEL (Common Expression Language) proto parser and deparser for TypeScript",
|
|
5
5
|
"author": "Constructive <developers@constructive.io>",
|
|
6
6
|
"homepage": "https://github.com/constructive-io/dev-utils",
|
|
@@ -12,17 +12,6 @@
|
|
|
12
12
|
"access": "public",
|
|
13
13
|
"directory": "dist"
|
|
14
14
|
},
|
|
15
|
-
"scripts": {
|
|
16
|
-
"copy": "makage assets",
|
|
17
|
-
"clean": "makage clean",
|
|
18
|
-
"prepublishOnly": "npm run build",
|
|
19
|
-
"build": "makage build",
|
|
20
|
-
"lint": "eslint . --fix",
|
|
21
|
-
"test": "jest",
|
|
22
|
-
"test:watch": "jest --watch",
|
|
23
|
-
"test:debug": "node --inspect node_modules/.bin/jest --runInBand",
|
|
24
|
-
"generate": "ts-node scripts/generate.ts"
|
|
25
|
-
},
|
|
26
15
|
"repository": {
|
|
27
16
|
"type": "git",
|
|
28
17
|
"url": "https://github.com/constructive-io/dev-utils"
|
|
@@ -41,15 +30,24 @@
|
|
|
41
30
|
"dependencies": {
|
|
42
31
|
"@babel/generator": "^7.28.6",
|
|
43
32
|
"@babel/types": "^7.28.6",
|
|
44
|
-
"@
|
|
33
|
+
"@constructive-io/protobufjs": "7.6.6",
|
|
45
34
|
"@marcbachmann/cel-js": "^7.1.0",
|
|
46
|
-
"nested-obj": "0.2.
|
|
47
|
-
"strfy-js": "3.2.
|
|
35
|
+
"nested-obj": "0.2.4",
|
|
36
|
+
"strfy-js": "3.2.4"
|
|
48
37
|
},
|
|
49
38
|
"devDependencies": {
|
|
50
39
|
"@types/babel__generator": "^7.6.8",
|
|
51
40
|
"makage": "0.1.10",
|
|
52
41
|
"ts-node": "^10.9.2"
|
|
53
42
|
},
|
|
54
|
-
"
|
|
55
|
-
|
|
43
|
+
"scripts": {
|
|
44
|
+
"copy": "makage assets",
|
|
45
|
+
"clean": "makage clean",
|
|
46
|
+
"build": "makage build",
|
|
47
|
+
"lint": "eslint . --fix",
|
|
48
|
+
"test": "jest",
|
|
49
|
+
"test:watch": "jest --watch",
|
|
50
|
+
"test:debug": "node --inspect node_modules/.bin/jest --runInBand",
|
|
51
|
+
"generate": "ts-node scripts/generate.ts"
|
|
52
|
+
}
|
|
53
|
+
}
|
package/parser.js
CHANGED
|
@@ -39,7 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.CelProtoParser = void 0;
|
|
40
40
|
const generator_1 = __importDefault(require("@babel/generator"));
|
|
41
41
|
const t = __importStar(require("@babel/types"));
|
|
42
|
-
const protobufjs_1 = require("@
|
|
42
|
+
const protobufjs_1 = require("@constructive-io/protobufjs");
|
|
43
43
|
const fs_1 = require("fs");
|
|
44
44
|
const path_1 = require("path");
|
|
45
45
|
const ast_1 = require("./ast");
|