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

@journeyapps/evaluator

Package Overview
Dependencies
Maintainers
2
Versions
266
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@journeyapps/evaluator - npm Package Compare versions

Comparing version 0.0.0-dev.375c2d3.0ce5033 to 0.0.0-dev.3d82e35.28b73fb

1

dist/@types/src/token-expressions/FunctionTokenExpression.d.ts

@@ -13,2 +13,3 @@ /**

constructor(expression: string, start?: number);
stringify(): string;
isFunction(): boolean;

@@ -15,0 +16,0 @@ /**

@@ -11,2 +11,3 @@ /**

protected constructor(expression: string, start?: number);
stringify(): string;
toString(): string;

@@ -13,0 +14,0 @@ isConstant(): boolean;

@@ -9,2 +9,3 @@ export interface TypeInterface {

options: object;
stringify(): string;
}
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormatString = void 0;
const tools_1 = require("./tools");

@@ -4,0 +5,0 @@ /**

36

dist/src/index.js
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./token-expressions/ConstantTokenExpression"));
__export(require("./token-expressions/FormatShorthandTokenExpression"));
__export(require("./token-expressions/FunctionTokenExpression"));
__export(require("./token-expressions/LegacyFunctionTokenExpression"));
__export(require("./token-expressions/PrimitiveConstantTokenExpression"));
__export(require("./token-expressions/ShorthandTokenExpression"));
__export(require("./token-expressions/TokenExpression"));
__export(require("./FormatString"));
__export(require("./tools"));
__export(require("./VariableFormatStringScope"));
__exportStar(require("./token-expressions/ConstantTokenExpression"), exports);
__exportStar(require("./token-expressions/FormatShorthandTokenExpression"), exports);
__exportStar(require("./token-expressions/FunctionTokenExpression"), exports);
__exportStar(require("./token-expressions/LegacyFunctionTokenExpression"), exports);
__exportStar(require("./token-expressions/PrimitiveConstantTokenExpression"), exports);
__exportStar(require("./token-expressions/ShorthandTokenExpression"), exports);
__exportStar(require("./token-expressions/TokenExpression"), exports);
__exportStar(require("./FormatString"), exports);
__exportStar(require("./tools"), exports);
__exportStar(require("./TypeInterface"), exports);
__exportStar(require("./ObjectRefInterface"), exports);
__exportStar(require("./FormatStringScope"), exports);
__exportStar(require("./VariableFormatStringScope"), exports);
//# sourceMappingURL=index.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ConstantTokenExpression = void 0;
/**

@@ -4,0 +5,0 @@ * Constant token expression.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FormatShorthandTokenExpression = void 0;
/**

@@ -20,11 +21,3 @@ * Shorthand token expression with format specifier.

toString() {
return ('[object ' +
this.constructor.name +
' <' +
this.expression +
', ' +
this.start +
', ' +
this.format +
'>]');
return '[object ' + this.constructor.name + ' <' + this.expression + ', ' + this.start + ', ' + this.format + '>]';
}

@@ -31,0 +24,0 @@ async tokenEvaluatePromise(scope) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.FunctionTokenExpression = void 0;
/**

@@ -18,2 +19,5 @@ * JavaScript function token expression.

}
stringify() {
return `${FunctionTokenExpression.PREFIX}${this.expression}`;
}
isFunction() {

@@ -33,4 +37,3 @@ return true;

toConstant(includeEscapeTags) {
if (typeof includeEscapeTags === 'undefined' ||
includeEscapeTags === null) {
if (typeof includeEscapeTags === 'undefined' || includeEscapeTags === null) {
includeEscapeTags = false;

@@ -52,2 +55,3 @@ }

}
exports.FunctionTokenExpression = FunctionTokenExpression;
/**

@@ -57,3 +61,2 @@ * Prefix for function token expressions.

FunctionTokenExpression.PREFIX = '$:';
exports.FunctionTokenExpression = FunctionTokenExpression;
//# sourceMappingURL=FunctionTokenExpression.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LegacyFunctionTokenExpression = void 0;
/**

@@ -4,0 +5,0 @@ * Legacy function token expression.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.PrimitiveConstantTokenExpression = void 0;
/**

@@ -4,0 +5,0 @@ * Non-String Constant token expression

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ShorthandTokenExpression = void 0;
/**

@@ -4,0 +5,0 @@ * Shorthand token expression.

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.TokenExpression = void 0;
class TokenExpression {

@@ -13,10 +14,7 @@ constructor(expression, start) {

}
stringify() {
return this.expression;
}
toString() {
return ('[object ' +
this.constructor.name +
' <' +
this.expression +
', ' +
this.start +
'>]');
return '[object ' + this.constructor.name + ' <' + this.expression + ', ' + this.start + '>]';
}

@@ -23,0 +21,0 @@ isConstant() {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports._deepMerge = exports._compile = exports.formatValueAsync = exports.formatValue = exports.actionableTokenExpression = exports.functionTokenExpression = exports.formatString = exports.extract = exports.deepMerge = exports.getObjectType = exports.compile = exports.parseEnclosingBraces = exports.unescape = void 0;
const ConstantTokenExpression_1 = require("./token-expressions/ConstantTokenExpression");

@@ -4,0 +5,0 @@ const FunctionTokenExpression_1 = require("./token-expressions/FunctionTokenExpression");

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.VariableFormatStringScope = void 0;
class VariableFormatStringScope {

@@ -4,0 +5,0 @@ constructor(variableScope) {

{
"name": "@journeyapps/evaluator",
"version": "0.0.0-dev.375c2d3.0ce5033",
"version": "0.0.0-dev.3d82e35.28b73fb",
"description": "Journey JS library",

@@ -14,3 +14,3 @@ "main": "./dist/src/index.js",

"dependencies": {
"@journeyapps/core-xml": "0.0.0-dev.375c2d3.0ce5033"
"@journeyapps/core-xml": "0.0.0-dev.3d82e35.28b73fb"
},

@@ -21,3 +21,3 @@ "files": [

],
"gitHead": "9eabd513e30ef59a7c471e2999bf2189201bb6da"
"gitHead": "f044d164080528680e2caf9504974227789a2e1b"
}

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

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

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