@journeyapps/evaluator
Advanced tools
Comparing version
@@ -11,3 +11,3 @@ "use strict"; | ||
this.expression = expression || ''; | ||
this.tokens = tools_1.compile(this.expression); | ||
this.tokens = (0, tools_1.compile)(this.expression); | ||
this.type = FormatString.TYPE; | ||
@@ -44,3 +44,3 @@ } | ||
var expression = token.expression; | ||
tools_1.extract(type, expression, result, depth); | ||
(0, tools_1.extract)(type, expression, result, depth); | ||
} | ||
@@ -177,3 +177,3 @@ } | ||
const type = scope.getExpressionType(expression); | ||
const text = tools_1.formatValue(value, type, token.format); | ||
const text = (0, tools_1.formatValue)(value, type, token.format); | ||
result += text; | ||
@@ -180,0 +180,0 @@ } |
"use strict"; | ||
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]; } }); | ||
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) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
@@ -30,3 +30,3 @@ "use strict"; | ||
const type = scope.getExpressionType(expression); | ||
return tools_1.formatValueAsync(value, type, this.format); | ||
return (0, tools_1.formatValueAsync)(value, type, this.format); | ||
} | ||
@@ -33,0 +33,0 @@ } |
@@ -23,3 +23,3 @@ "use strict"; | ||
const type = scope.getExpressionType(expression); | ||
return tools_1.formatValueAsync(value, type, this.format); | ||
return (0, tools_1.formatValueAsync)(value, type, this.format); | ||
} | ||
@@ -26,0 +26,0 @@ } |
{ | ||
"name": "@journeyapps/evaluator", | ||
"version": "6.2.1", | ||
"version": "6.2.2", | ||
"description": "Journey JS library", | ||
@@ -9,3 +9,3 @@ "main": "./dist/src/index.js", | ||
"build": "../node_modules/.bin/tsc --build", | ||
"test": "yarn build && yarn test:node && yarn test:browser", | ||
"test": "pnpm build && pnpm test:node && pnpm test:browser", | ||
"test:browser": "karma start karma.conf.js --single-run", | ||
@@ -15,3 +15,3 @@ "test:node": "jasmine dist/test/unit/all.js" | ||
"dependencies": { | ||
"@journeyapps/core-xml": "^5.0.0" | ||
"@journeyapps/core-xml": "^5.0.1" | ||
}, | ||
@@ -22,3 +22,11 @@ "files": [ | ||
], | ||
"gitHead": "ff877a17d6585baf2ed4c820bf564b49d0059467" | ||
"devDependencies": { | ||
"@journeyapps/core-test-helpers": "^4.1.1" | ||
}, | ||
"pnpm": { | ||
"overrides": { | ||
"@journeyapps/core-test-helpers": "link:../test-helpers" | ||
} | ||
}, | ||
"gitHead": "533fd4c59d3c4eb2f8bc2740466be989aab0c78d" | ||
} |
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
124259
0.32%1161
0.35%1
Infinity%Updated