@digipair/skill-mongodb 0.100.0 → 0.101.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/index.esm.js +7 -5
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -23941,14 +23941,14 @@ function indent(str, spaces) {
|
|
|
23941
23941
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
23942
23942
|
// match is required
|
|
23943
23943
|
if (!match) {
|
|
23944
|
-
return
|
|
23944
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
23945
23945
|
v: nextMatch1
|
|
23946
23946
|
};
|
|
23947
23947
|
}
|
|
23948
23948
|
var token = match.token, offset = match.offset;
|
|
23949
23949
|
i1 += offset;
|
|
23950
23950
|
if (token === " ") {
|
|
23951
|
-
return
|
|
23951
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23952
23952
|
}
|
|
23953
23953
|
tokens1 = _to_consumable_array$a(tokens1).concat([
|
|
23954
23954
|
token
|
|
@@ -23967,7 +23967,7 @@ function indent(str, spaces) {
|
|
|
23967
23967
|
if (contextKeys.some(function(el) {
|
|
23968
23968
|
return el.startsWith(name);
|
|
23969
23969
|
})) {
|
|
23970
|
-
return
|
|
23970
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23971
23971
|
}
|
|
23972
23972
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23973
23973
|
return el === name;
|
|
@@ -23986,9 +23986,9 @@ function indent(str, spaces) {
|
|
|
23986
23986
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23987
23987
|
return el.startsWith(name);
|
|
23988
23988
|
})) {
|
|
23989
|
-
return
|
|
23989
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
|
|
23990
23990
|
}
|
|
23991
|
-
return
|
|
23991
|
+
return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
|
|
23992
23992
|
v: nextMatch1
|
|
23993
23993
|
};
|
|
23994
23994
|
};
|
|
@@ -27898,6 +27898,8 @@ const applyTemplate = (value, context)=>{
|
|
|
27898
27898
|
btoa: (value)=>btoa(value),
|
|
27899
27899
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|
|
27900
27900
|
decodeURIComponent: (value)=>decodeURIComponent(value),
|
|
27901
|
+
encodeUTF8: (value)=>Array.from(new TextEncoder().encode(value)).map((b)=>String.fromCharCode(b)).join(''),
|
|
27902
|
+
decodeUTF8: (value)=>new TextDecoder().decode(new Uint8Array(Array.from(value).map((c)=>c.charCodeAt(0)))),
|
|
27901
27903
|
JSONparse: (value)=>JSON.parse(value),
|
|
27902
27904
|
JSONstringify: (value)=>JSON.stringify(value)
|
|
27903
27905
|
}));
|