meocord 1.0.0-beta.4 → 1.0.1
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/README.md
CHANGED
|
@@ -101,7 +101,6 @@ While still growing, MeoCord provides a solid foundation for developers to creat
|
|
|
101
101
|
"emitDecoratorMetadata": true,
|
|
102
102
|
"experimentalDecorators": true,
|
|
103
103
|
"resolveJsonModule": true,
|
|
104
|
-
"verbatimModuleSyntax": true,
|
|
105
104
|
"noUnusedLocals": true,
|
|
106
105
|
"noUnusedParameters": true,
|
|
107
106
|
"skipLibCheck": true,
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
*
|
|
64
64
|
* @param pattern - The pattern string to parse.
|
|
65
65
|
* @returns An object containing the generated regex and parameter names.
|
|
66
|
-
*/function createRegexFromPattern(a){var b=[],c=a.replace(/[/\\^$*+?.()|[\]]/g,"\\$&"),d=c.replace(/\{(\w+)}/g,function(a,c){if(!/^\w+$/.test(c))throw new Error("Invalid parameter name: ".concat(c,". Parameter names must be alphanumeric."));return b.push(c),"(?<".concat(c,"
|
|
66
|
+
*/function createRegexFromPattern(a){var b=[],c=a.replace(/[/\\^$*+?.()|[\]]/g,"\\$&"),d=c.replace(/\{(\w+)}/g,function(a,c){if(!/^\w+$/.test(c))throw new Error("Invalid parameter name: ".concat(c,". Parameter names must be alphanumeric."));return b.push(c),"(?<".concat(c,">[a-zA-Z0-9]+)")}),e=new RegExp("^".concat(d,"$"));// Escape special characters except for {} and -
|
|
67
67
|
// Removed hyphen `-` from this list
|
|
68
68
|
// Replace placeholders with named capturing groups
|
|
69
69
|
// Construct the final regex
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "meocord",
|
|
3
3
|
"description": "MeoCord is a lightweight and modular framework for building scalable Discord bots using TypeScript and Discord.js. It simplifies bot development with an extensible architecture, TypeScript-first approach, and powerful CLI tools.",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"packageManager": "yarn@4.6.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"scripts": {
|