jexp 1.0.5 → 4.1.0

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 ADDED
@@ -0,0 +1,42 @@
1
+ # Changelog
2
+
3
+ ## 4.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 979d24a: desploy test
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [979d24a]
12
+ - 3xpr@4.1.0
13
+ - h3lp@4.1.0
14
+ - jemv@4.1.0
15
+
16
+ ## 4.0.0
17
+
18
+ ### Major Changes
19
+
20
+ - 13d22dd: test
21
+
22
+ ### Minor Changes
23
+
24
+ - 13d22dd: test
25
+
26
+ ### Patch Changes
27
+
28
+ - Updated dependencies [13d22dd]
29
+ - Updated dependencies [13d22dd]
30
+ - 3xpr@4.0.0
31
+ - h3lp@4.0.0
32
+ - jemv@4.0.0
33
+
34
+ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
35
+
36
+ ### [1.0.5](https://github.com/data7expressions/jexp/compare/v1.0.4...v1.0.5) (2024-06-08)
37
+
38
+ ### [1.0.4](https://github.com/data7expressions/jexp/compare/v1.0.3...v1.0.4) (2024-04-14)
39
+
40
+ ### [1.0.3](https://github.com/data7expressions/jexp/compare/v1.0.2...v1.0.3) (2024-02-16)
41
+
42
+ ### 1.0.2 (2024-01-30)
package/cli.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  export {};
3
+ //# sourceMappingURL=cli.d.ts.map
package/cli.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../../src/lib/cli.ts"],"names":[],"mappings":""}
package/index.d.ts CHANGED
@@ -3,3 +3,4 @@ import { Jexp } from './manager/jexp';
3
3
  export declare const jexp: Jexp;
4
4
  export * from './model';
5
5
  export * from './manager';
6
+ //# sourceMappingURL=index.d.ts.map
package/index.d.ts.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AACrC,eAAO,MAAM,IAAI,MAAgB,CAAA;AACjC,cAAc,SAAS,CAAA;AACvB,cAAc,WAAW,CAAA"}
@@ -12,4 +12,4 @@
12
12
  "json",
13
13
  "node"
14
14
  ]
15
- }
15
+ }
@@ -1,3 +1,4 @@
1
1
  export * from './schema';
2
2
  export * from './jexp';
3
3
  export declare const Helper: import("h3lp").H3lp;
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/manager/index.ts"],"names":[],"mappings":"AACA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA;AACtB,eAAO,MAAM,MAAM,qBAAO,CAAA"}
package/manager/jexp.d.ts CHANGED
@@ -8,3 +8,4 @@ export declare class Jexp {
8
8
  eval(expression: string, data: any): Promise<any>;
9
9
  validate(schema: string, data: any): Promise<ValidationResult>;
10
10
  }
11
+ //# sourceMappingURL=jexp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jexp.d.ts","sourceRoot":"","sources":["../../../src/lib/manager/jexp.ts"],"names":[],"mappings":"AAEA,OAAO,EAAc,gBAAgB,EAAE,MAAM,MAAM,CAAA;AAInD,qBAAa,IAAI;IAChB,OAAO,CAAC,GAAG,CAAa;IACxB,OAAO,CAAC,IAAI,CAAM;;IAclB,OAAO,CAAC,MAAM,CAAC,SAAS,CAAM;IAC9B,WAAkB,QAAQ,IAAK,IAAI,CAKlC;IAEY,IAAI,CAAE,UAAU,EAAC,MAAM,EAAE,IAAI,EAAC,GAAG,GAAI,OAAO,CAAC,GAAG,CAAC;IAIjD,QAAQ,CAAE,MAAM,EAAC,MAAM,EAAE,IAAI,EAAC,GAAG,GAAI,OAAO,CAAC,gBAAgB,CAAC;CAG3E"}
@@ -6,3 +6,4 @@ export declare class ExpressionConstraintBuilder implements IConstraintBuilder {
6
6
  apply(rule: Schema): boolean;
7
7
  build(schema: Schema, rule: Schema): IConstraint;
8
8
  }
9
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/lib/manager/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,kBAAkB,EAAiC,MAAM,MAAM,CAAA;AAC7F,OAAO,EAAE,WAAW,EAAE,MAAM,MAAM,CAAA;AAElC,qBAAa,2BAA4B,YAAW,kBAAkB;IACrE,OAAO,CAAC,WAAW,CAAa;gBACnB,WAAW,EAAE,WAAW;IAI9B,KAAK,CAAE,IAAI,EAAE,MAAM,GAAE,OAAO;IAI5B,KAAK,CAAE,MAAM,EAAC,MAAM,EAAE,IAAI,EAAE,MAAM,GAAG,WAAW;CAavD"}
package/model/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './schema';
2
2
  export * from './jexp';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/model/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,QAAQ,CAAA"}
package/model/jexp.d.ts CHANGED
@@ -6,3 +6,4 @@ export interface JexpOptions {
6
6
  output: ['json' | 'yaml'];
7
7
  beautiful: boolean;
8
8
  }
9
+ //# sourceMappingURL=jexp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jexp.d.ts","sourceRoot":"","sources":["../../../src/lib/model/jexp.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IAC1B,IAAI,EAAC,GAAG,CAAA;IACR,SAAS,CAAC,EAAC,MAAM,CAAA;CACjB;AAED,MAAM,WAAW,WAAW;IAC3B,MAAM,EAAE,CAAC,MAAM,GAAC,MAAM,CAAC,CAAA;IACvB,SAAS,EAAE,OAAO,CAAA;CAClB"}
package/model/schema.d.ts CHANGED
@@ -2,3 +2,4 @@ import { Schema } from 'jemv';
2
2
  export interface ExpressionSchema extends Schema {
3
3
  expression?: string;
4
4
  }
5
+ //# sourceMappingURL=schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/lib/model/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,MAAM,CAAA;AAE7B,MAAM,WAAW,gBAAiB,SAAQ,MAAM;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAA;CACnB"}
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "jexp",
3
- "version": "1.0.5",
3
+ "version": "4.1.0",
4
4
  "description": "Parser and evaluator of expressions by line of commands. The expressions correspond to the package 3xpr",
5
5
  "author": "Flavio Lionel Rita <flaviolrita@hotmail.com>",
6
6
  "license": "Apache-2.0 License",
7
- "engines": {
8
- "node": ">=10"
9
- },
10
7
  "main": "index.js",
8
+ "types": "index.d.ts",
9
+ "publishConfig": {
10
+ "access": "public"
11
+ },
11
12
  "homepage": "https://github.com/data7expressions/jexp#readme",
12
13
  "bugs": {
13
14
  "url": "https://github.com/data7expressions/jexp/issues"
@@ -21,9 +22,9 @@
21
22
  },
22
23
  "dependencies": {
23
24
  "commander": "^12.0.0",
24
- "jemv": "^0.2.3",
25
- "3xpr": "^1.15.26",
26
- "h3lp": "^1.12.1",
25
+ "jemv": "^4.1.0",
26
+ "3xpr": "^4.1.0",
27
+ "h3lp": "^4.1.0",
27
28
  "js-yaml": "^4.1.0",
28
29
  "crypto-js": "^4.2.0"
29
30
  },
@@ -47,6 +48,5 @@
47
48
  "parser",
48
49
  "eval",
49
50
  "evaluator"
50
- ],
51
- "types": "index.d.ts"
51
+ ]
52
52
  }
@@ -0,0 +1 @@
1
+ //# sourceMappingURL=main.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"main.test.d.ts","sourceRoot":"","sources":["../../../../src/lib/test/__tests__/main.test.ts"],"names":[],"mappings":""}
@@ -1,7 +1,6 @@
1
1
  "use strict";
2
2
  describe('Main', () => {
3
3
  test('main', () => {
4
- // TODO:
5
4
  expect(2).toBe(1 + 1);
6
5
  });
7
6
  });
@@ -1 +1 @@
1
- {"version":3,"file":"main.test.js","sourceRoot":"","sources":["../../../../src/lib/test/__tests__/main.test.ts"],"names":[],"mappings":";AACA,QAAQ,CAAC,MAAM,EAAE,GAAG,EAAE;IACrB,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE;QACjB,SAAS;QACH,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,GAAC,CAAC,CAAC,CAAA;IAC1B,CAAC,CAAC,CAAA;AACH,CAAC,CAAC,CAAA"}
1
+ {"version":3,"file":"main.test.js","sourceRoot":"","sources":["../../../../src/lib/test/__tests__/main.test.ts"],"names":[],"mappings":";AAAA,QAAQ,CAAC,MAAM,EAAE,GAAG,EAAE;IACrB,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE;QACjB,MAAM,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAA;IACtB,CAAC,CAAC,CAAA;AACH,CAAC,CAAC,CAAA"}