@digipair/skill-imap 0.117.6 → 0.117.7
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/dist/index.esm.js +10 -6
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { snakeCase, kebabCase, camelCase } from 'case-anything/dist/index.js';
|
|
1
2
|
import { ImapFlow } from 'imapflow';
|
|
2
3
|
import { JSDOM } from 'jsdom';
|
|
3
4
|
|
|
@@ -22841,14 +22842,14 @@ function indent(str, spaces) {
|
|
|
22841
22842
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
22842
22843
|
// match is required
|
|
22843
22844
|
if (!match) {
|
|
22844
|
-
return
|
|
22845
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
22845
22846
|
v: nextMatch1
|
|
22846
22847
|
};
|
|
22847
22848
|
}
|
|
22848
22849
|
var token = match.token, offset = match.offset;
|
|
22849
22850
|
i1 += offset;
|
|
22850
22851
|
if (token === ' ') {
|
|
22851
|
-
return
|
|
22852
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
22852
22853
|
}
|
|
22853
22854
|
tokens1 = _to_consumable_array$4(tokens1).concat([
|
|
22854
22855
|
token
|
|
@@ -22867,7 +22868,7 @@ function indent(str, spaces) {
|
|
|
22867
22868
|
if (contextKeys.some(function(el) {
|
|
22868
22869
|
return el.startsWith(name);
|
|
22869
22870
|
})) {
|
|
22870
|
-
return
|
|
22871
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
22871
22872
|
}
|
|
22872
22873
|
if (dateTimeIdentifiers.some(function(el) {
|
|
22873
22874
|
return el === name;
|
|
@@ -22886,9 +22887,9 @@ function indent(str, spaces) {
|
|
|
22886
22887
|
if (dateTimeIdentifiers.some(function(el) {
|
|
22887
22888
|
return el.startsWith(name);
|
|
22888
22889
|
})) {
|
|
22889
|
-
return
|
|
22890
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
22890
22891
|
}
|
|
22891
|
-
return
|
|
22892
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
22892
22893
|
v: nextMatch1
|
|
22893
22894
|
};
|
|
22894
22895
|
};
|
|
@@ -44214,7 +44215,10 @@ const DIGIPAIR_FUNCTIONS = {
|
|
|
44214
44215
|
encodeUTF8: (value)=>Array.from(new TextEncoder().encode(value)).map((b)=>String.fromCharCode(b)).join(''),
|
|
44215
44216
|
decodeUTF8: (value)=>new TextDecoder().decode(new Uint8Array(Array.from(value).map((c)=>c.charCodeAt(0)))),
|
|
44216
44217
|
JSONparse: (value)=>JSON.parse(value),
|
|
44217
|
-
JSONstringify: (value)=>JSON.stringify(value)
|
|
44218
|
+
JSONstringify: (value)=>JSON.stringify(value),
|
|
44219
|
+
camelCase: (value)=>camelCase(value),
|
|
44220
|
+
kebabCase: (value)=>kebabCase(value),
|
|
44221
|
+
snakeCase: (value)=>snakeCase(value)
|
|
44218
44222
|
};
|
|
44219
44223
|
const globalInstance = typeof window === 'undefined' ? global : window;
|
|
44220
44224
|
const _config = globalInstance.__DIGIPAIR_CONFIG__ = globalInstance.__DIGIPAIR_CONFIG__ ?? {
|