Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

certlogic-utils-js

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

certlogic-utils-js - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

dist/partial-evaluator/extended-types.d.ts

6

CHANGELOG.md
# Change log
## 0.2.0
* Upgrade dependencies
* Move partial evaluation to here from the [`eu-dcc-business-rules-analysis` repo](https://github.com/ehn-dcc-development/eu-dcc-business-rules-analysis)
## 0.1.1

@@ -4,0 +10,0 @@

4

dist/compiler/evaluatables.d.ts

@@ -20,3 +20,3 @@ import { TimeUnit } from "certlogic-js";

}
export declare type Fragment = string | number;
export type Fragment = string | number;
export declare class DataAccess implements Evaluatable {

@@ -51,3 +51,3 @@ private readonly fragments;

}
export declare type BinaryLambda = (left: any, right: any) => any;
export type BinaryLambda = (left: any, right: any) => any;
export declare class BiTriOperation implements Evaluatable {

@@ -54,0 +54,0 @@ private readonly operands;

@@ -1,2 +0,3 @@

export { compile, Evaluatable } from "./compiler";
export * as compiler from "./compiler";
export * as partialEvaluator from "./partial-evaluator";
//# sourceMappingURL=index.d.ts.map
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.compile = void 0;
var compiler_1 = require("./compiler");
Object.defineProperty(exports, "compile", { enumerable: true, get: function () { return compiler_1.compile; } });
exports.partialEvaluator = exports.compiler = void 0;
exports.compiler = __importStar(require("./compiler"));
exports.partialEvaluator = __importStar(require("./partial-evaluator"));
//# sourceMappingURL=index.js.map
{
"name": "certlogic-utils-js",
"version": "0.1.1",
"description": "Utility package for anything that's CertLogic but not evaluation",
"version": "0.2.0",
"description": "Utility package for anything that's CertLogic but not (direct) evaluation",
"keywords": [

@@ -26,8 +26,6 @@ "json",

"watch-build": "tsc --watch --incremental",
"pretest": "npm run build",
"test": "mocha --recursive dist/test",
"watch-test": "mocha --watch --recursive dist/test",
"clean": "rm -rf dist/ && rm -rf node_modules/",
"check-deps": "dpdm dist/ --circular --exit-code circular:1",
"precheck-deps": "npm run build"
"check-deps": "dpdm dist/ --circular --exit-code circular:1"
},

@@ -37,13 +35,15 @@ "author": "Meinte Boersma <meinte.boersma@gmail.com>",

"devDependencies": {
"@types/chai": "^4.3.1",
"@types/chai": "^4.3.4",
"@types/deep-equal": "^1.0.1",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.35",
"chai": "^4.3.6",
"dpdm": "^3.9.0",
"@types/node": "^17.0.45",
"chai": "^4.3.7",
"dpdm": "^3.12.0",
"mocha": "^9.2.2",
"typescript": "^4.6.4"
"typescript": "^4.9.5"
},
"dependencies": {
"certlogic-js": "^1.2.2"
"certlogic-js": "^1.2.2",
"deep-equal": "^2.2.0"
}
}

@@ -8,3 +8,3 @@ # README

The intention is to move all functionality in `certlogic-js` that's not directly related to/used by the evaluation of CertLogic expressions, in this utility package.
The intention is to (eventually) move all functionality in `certlogic-js` that's not directly related to/used by the evaluation of CertLogic expressions, in this utility package.
That includes:

@@ -16,3 +16,4 @@

* Reflection/inspection, e.g. the `dataAccesses` function
* [&#10003;] Compilation
* [&#10003;] [Compilation](./src/compiler/index.ts)
* [&#10003;] [Partial evaluation](./src/partial-evaluator/README.md)
* Type system

@@ -19,0 +20,0 @@ * etc.

@@ -1,1 +0,2 @@

export {compile, Evaluatable} from "./compiler"
export * as compiler from "./compiler"
export * as partialEvaluator from "./partial-evaluator"

@@ -18,3 +18,3 @@ /*

const runTestsOn = (testSuite: any) => {
testDirective2MochaFunc(testSuite.directive, describe)(testSuite.name, () => {
testDirective2MochaFunc(testSuite.directive, describe)(`[compiler.testSuite] ${testSuite.name}`, () => {
testSuite.cases

@@ -21,0 +21,0 @@ .forEach((testCase: any) => {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc