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