@digipair/skill-mcp 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 require$$0$2 from 'path';
|
|
2
3
|
import require$$0$3 from 'buffer';
|
|
3
4
|
import require$$1$1 from 'string_decoder';
|
|
@@ -22843,14 +22844,14 @@ function indent(str, spaces) {
|
|
|
22843
22844
|
var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
|
|
22844
22845
|
// match is required
|
|
22845
22846
|
if (!match) {
|
|
22846
|
-
return
|
|
22847
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
22847
22848
|
v: nextMatch1
|
|
22848
22849
|
};
|
|
22849
22850
|
}
|
|
22850
22851
|
var token = match.token, offset = match.offset;
|
|
22851
22852
|
i1 += offset;
|
|
22852
22853
|
if (token === ' ') {
|
|
22853
|
-
return
|
|
22854
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
22854
22855
|
}
|
|
22855
22856
|
tokens1 = _to_consumable_array$4$1(tokens1).concat([
|
|
22856
22857
|
token
|
|
@@ -22869,7 +22870,7 @@ function indent(str, spaces) {
|
|
|
22869
22870
|
if (contextKeys.some(function(el) {
|
|
22870
22871
|
return el.startsWith(name);
|
|
22871
22872
|
})) {
|
|
22872
|
-
return
|
|
22873
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
22873
22874
|
}
|
|
22874
22875
|
if (dateTimeIdentifiers.some(function(el) {
|
|
22875
22876
|
return el === name;
|
|
@@ -22888,9 +22889,9 @@ function indent(str, spaces) {
|
|
|
22888
22889
|
if (dateTimeIdentifiers.some(function(el) {
|
|
22889
22890
|
return el.startsWith(name);
|
|
22890
22891
|
})) {
|
|
22891
|
-
return
|
|
22892
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
22892
22893
|
}
|
|
22893
|
-
return
|
|
22894
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
22894
22895
|
v: nextMatch1
|
|
22895
22896
|
};
|
|
22896
22897
|
};
|
|
@@ -44216,7 +44217,10 @@ const DIGIPAIR_FUNCTIONS = {
|
|
|
44216
44217
|
encodeUTF8: (value)=>Array.from(new TextEncoder().encode(value)).map((b)=>String.fromCharCode(b)).join(''),
|
|
44217
44218
|
decodeUTF8: (value)=>new TextDecoder().decode(new Uint8Array(Array.from(value).map((c)=>c.charCodeAt(0)))),
|
|
44218
44219
|
JSONparse: (value)=>JSON.parse(value),
|
|
44219
|
-
JSONstringify: (value)=>JSON.stringify(value)
|
|
44220
|
+
JSONstringify: (value)=>JSON.stringify(value),
|
|
44221
|
+
camelCase: (value)=>camelCase(value),
|
|
44222
|
+
kebabCase: (value)=>kebabCase(value),
|
|
44223
|
+
snakeCase: (value)=>snakeCase(value)
|
|
44220
44224
|
};
|
|
44221
44225
|
const globalInstance = typeof window === 'undefined' ? global : window;
|
|
44222
44226
|
const _config = globalInstance.__DIGIPAIR_CONFIG__ = globalInstance.__DIGIPAIR_CONFIG__ ?? {
|