@digipair/skill-dsp 0.22.1 → 0.22.2
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/index.cjs.js +6 -5
- package/index.esm.js +6 -5
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -23524,14 +23524,14 @@ function indent(str, spaces) {
|
|
|
23524
23524
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
23525
23525
|
// match is required
|
|
23526
23526
|
if (!match) {
|
|
23527
|
-
return
|
|
23527
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
|
|
23528
23528
|
v: nextMatch1
|
|
23529
23529
|
};
|
|
23530
23530
|
}
|
|
23531
23531
|
var token = match.token, offset = match.offset;
|
|
23532
23532
|
i1 += offset;
|
|
23533
23533
|
if (token === " ") {
|
|
23534
|
-
return
|
|
23534
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
|
|
23535
23535
|
}
|
|
23536
23536
|
tokens1 = _to_consumable_array$6(tokens1).concat([
|
|
23537
23537
|
token
|
|
@@ -23550,7 +23550,7 @@ function indent(str, spaces) {
|
|
|
23550
23550
|
if (contextKeys.some(function(el) {
|
|
23551
23551
|
return el.startsWith(name);
|
|
23552
23552
|
})) {
|
|
23553
|
-
return
|
|
23553
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
|
|
23554
23554
|
}
|
|
23555
23555
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23556
23556
|
return el === name;
|
|
@@ -23569,9 +23569,9 @@ function indent(str, spaces) {
|
|
|
23569
23569
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23570
23570
|
return el.startsWith(name);
|
|
23571
23571
|
})) {
|
|
23572
|
-
return
|
|
23572
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
|
|
23573
23573
|
}
|
|
23574
|
-
return
|
|
23574
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
|
|
23575
23575
|
v: nextMatch1
|
|
23576
23576
|
};
|
|
23577
23577
|
};
|
|
@@ -27377,6 +27377,7 @@ const applyTemplate = (value, context)=>{
|
|
|
27377
27377
|
const path = result.replace(/^EVALUATE:/, '');
|
|
27378
27378
|
result = evaluate(path, _extends({}, context, {
|
|
27379
27379
|
getTime: (time)=>new Date(time).getTime(),
|
|
27380
|
+
fromTime: (time)=>new Date(time).toISOString(),
|
|
27380
27381
|
atob: (value)=>atob(value),
|
|
27381
27382
|
btoa: (value)=>btoa(value),
|
|
27382
27383
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|
package/index.esm.js
CHANGED
|
@@ -23498,14 +23498,14 @@ function indent(str, spaces) {
|
|
|
23498
23498
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
23499
23499
|
// match is required
|
|
23500
23500
|
if (!match) {
|
|
23501
|
-
return
|
|
23501
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
23502
23502
|
v: nextMatch1
|
|
23503
23503
|
};
|
|
23504
23504
|
}
|
|
23505
23505
|
var token = match.token, offset = match.offset;
|
|
23506
23506
|
i1 += offset;
|
|
23507
23507
|
if (token === " ") {
|
|
23508
|
-
return
|
|
23508
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23509
23509
|
}
|
|
23510
23510
|
tokens1 = _to_consumable_array$6(tokens1).concat([
|
|
23511
23511
|
token
|
|
@@ -23524,7 +23524,7 @@ function indent(str, spaces) {
|
|
|
23524
23524
|
if (contextKeys.some(function(el) {
|
|
23525
23525
|
return el.startsWith(name);
|
|
23526
23526
|
})) {
|
|
23527
|
-
return
|
|
23527
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23528
23528
|
}
|
|
23529
23529
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23530
23530
|
return el === name;
|
|
@@ -23543,9 +23543,9 @@ function indent(str, spaces) {
|
|
|
23543
23543
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23544
23544
|
return el.startsWith(name);
|
|
23545
23545
|
})) {
|
|
23546
|
-
return
|
|
23546
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23547
23547
|
}
|
|
23548
|
-
return
|
|
23548
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
23549
23549
|
v: nextMatch1
|
|
23550
23550
|
};
|
|
23551
23551
|
};
|
|
@@ -27351,6 +27351,7 @@ const applyTemplate = (value, context)=>{
|
|
|
27351
27351
|
const path = result.replace(/^EVALUATE:/, '');
|
|
27352
27352
|
result = evaluate(path, _extends({}, context, {
|
|
27353
27353
|
getTime: (time)=>new Date(time).getTime(),
|
|
27354
|
+
fromTime: (time)=>new Date(time).toISOString(),
|
|
27354
27355
|
atob: (value)=>atob(value),
|
|
27355
27356
|
btoa: (value)=>btoa(value),
|
|
27356
27357
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|