@digipair/skill-codex 0.100.1 → 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.cjs.js +2 -0
- package/index.esm.js +7 -5
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -27881,6 +27881,8 @@ const applyTemplate = (value, context)=>{
|
|
|
27881
27881
|
btoa: (value)=>btoa(value),
|
|
27882
27882
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|
|
27883
27883
|
decodeURIComponent: (value)=>decodeURIComponent(value),
|
|
27884
|
+
encodeUTF8: (value)=>Array.from(new TextEncoder().encode(value)).map((b)=>String.fromCharCode(b)).join(''),
|
|
27885
|
+
decodeUTF8: (value)=>new TextDecoder().decode(new Uint8Array(Array.from(value).map((c)=>c.charCodeAt(0)))),
|
|
27884
27886
|
JSONparse: (value)=>JSON.parse(value),
|
|
27885
27887
|
JSONstringify: (value)=>JSON.stringify(value)
|
|
27886
27888
|
}));
|
package/index.esm.js
CHANGED
|
@@ -23902,14 +23902,14 @@ function indent(str, spaces) {
|
|
|
23902
23902
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
23903
23903
|
// match is required
|
|
23904
23904
|
if (!match) {
|
|
23905
|
-
return
|
|
23905
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
23906
23906
|
v: nextMatch1
|
|
23907
23907
|
};
|
|
23908
23908
|
}
|
|
23909
23909
|
var token = match.token, offset = match.offset;
|
|
23910
23910
|
i1 += offset;
|
|
23911
23911
|
if (token === " ") {
|
|
23912
|
-
return
|
|
23912
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
23913
23913
|
}
|
|
23914
23914
|
tokens1 = _to_consumable_array$1(tokens1).concat([
|
|
23915
23915
|
token
|
|
@@ -23928,7 +23928,7 @@ function indent(str, spaces) {
|
|
|
23928
23928
|
if (contextKeys.some(function(el) {
|
|
23929
23929
|
return el.startsWith(name);
|
|
23930
23930
|
})) {
|
|
23931
|
-
return
|
|
23931
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
23932
23932
|
}
|
|
23933
23933
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23934
23934
|
return el === name;
|
|
@@ -23947,9 +23947,9 @@ function indent(str, spaces) {
|
|
|
23947
23947
|
if (dateTimeIdentifiers.some(function(el) {
|
|
23948
23948
|
return el.startsWith(name);
|
|
23949
23949
|
})) {
|
|
23950
|
-
return
|
|
23950
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
23951
23951
|
}
|
|
23952
|
-
return
|
|
23952
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
23953
23953
|
v: nextMatch1
|
|
23954
23954
|
};
|
|
23955
23955
|
};
|
|
@@ -27859,6 +27859,8 @@ const applyTemplate = (value, context)=>{
|
|
|
27859
27859
|
btoa: (value)=>btoa(value),
|
|
27860
27860
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|
|
27861
27861
|
decodeURIComponent: (value)=>decodeURIComponent(value),
|
|
27862
|
+
encodeUTF8: (value)=>Array.from(new TextEncoder().encode(value)).map((b)=>String.fromCharCode(b)).join(''),
|
|
27863
|
+
decodeUTF8: (value)=>new TextDecoder().decode(new Uint8Array(Array.from(value).map((c)=>c.charCodeAt(0)))),
|
|
27862
27864
|
JSONparse: (value)=>JSON.parse(value),
|
|
27863
27865
|
JSONstringify: (value)=>JSON.stringify(value)
|
|
27864
27866
|
}));
|