ask-pro 0.1.48 → 0.1.49
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/bin/ask-pro-cli.js +1 -1
- package/package.json +1 -1
package/dist/bin/ask-pro-cli.js
CHANGED
|
@@ -471,7 +471,7 @@ function browserRuntimeMetadata(value) {
|
|
|
471
471
|
return value !== null && typeof value === "object" ? value : {};
|
|
472
472
|
}
|
|
473
473
|
function isConversationUrl(value) {
|
|
474
|
-
return /^https:\/\/chatgpt\.com\/c\/[a-z0-9-]
|
|
474
|
+
return /^https:\/\/chatgpt\.com\/c\/[a-z0-9-]+(?:[/?#]|$)/i.test(value);
|
|
475
475
|
}
|
|
476
476
|
function compactFields(fields) {
|
|
477
477
|
return Object.fromEntries(Object.entries(fields).filter(([, value]) => value !== undefined));
|