@autohq/cli 0.1.521 → 0.1.522

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.
@@ -30866,7 +30866,7 @@ Object.assign(lookup, {
30866
30866
  // package.json
30867
30867
  var package_default = {
30868
30868
  name: "@autohq/cli",
30869
- version: "0.1.521",
30869
+ version: "0.1.522",
30870
30870
  license: "SEE LICENSE IN README.md",
30871
30871
  publishConfig: {
30872
30872
  access: "public"
@@ -33478,9 +33478,9 @@ var CommunityInviteOutputSchema = external_exports.object({
33478
33478
  function isCommunitySlackInviteUrl(value2) {
33479
33479
  try {
33480
33480
  const url3 = new URL(value2);
33481
- return url3.protocol === "https:" && url3.hostname === "join.slack.com" && url3.username === "" && url3.password === "" && url3.search === "" && url3.hash === "" && /^\/t\/[A-Za-z0-9_-]+\/shared_invite\/[A-Za-z0-9_-]+\/?$/.test(
33481
+ return url3.protocol === "https:" && url3.hostname === "join.slack.com" && url3.username === "" && url3.password === "" && url3.search === "" && url3.hash === "" && (/^\/t\/[A-Za-z0-9_-]+\/shared_invite\/[A-Za-z0-9_-]+\/?$/.test(
33482
33482
  url3.pathname
33483
- );
33483
+ ) || /^\/share\/[A-Za-z0-9_-]+\/?$/.test(url3.pathname));
33484
33484
  } catch {
33485
33485
  return false;
33486
33486
  }
package/dist/index.js CHANGED
@@ -17283,9 +17283,9 @@ var init_conversation_reducer = __esm({
17283
17283
  function isCommunitySlackInviteUrl(value) {
17284
17284
  try {
17285
17285
  const url2 = new URL(value);
17286
- return url2.protocol === "https:" && url2.hostname === "join.slack.com" && url2.username === "" && url2.password === "" && url2.search === "" && url2.hash === "" && /^\/t\/[A-Za-z0-9_-]+\/shared_invite\/[A-Za-z0-9_-]+\/?$/.test(
17286
+ return url2.protocol === "https:" && url2.hostname === "join.slack.com" && url2.username === "" && url2.password === "" && url2.search === "" && url2.hash === "" && (/^\/t\/[A-Za-z0-9_-]+\/shared_invite\/[A-Za-z0-9_-]+\/?$/.test(
17287
17287
  url2.pathname
17288
- );
17288
+ ) || /^\/share\/[A-Za-z0-9_-]+\/?$/.test(url2.pathname));
17289
17289
  } catch {
17290
17290
  return false;
17291
17291
  }
@@ -68163,7 +68163,7 @@ var init_package = __esm({
68163
68163
  "package.json"() {
68164
68164
  package_default = {
68165
68165
  name: "@autohq/cli",
68166
- version: "0.1.521",
68166
+ version: "0.1.522",
68167
68167
  license: "SEE LICENSE IN README.md",
68168
68168
  publishConfig: {
68169
68169
  access: "public"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autohq/cli",
3
- "version": "0.1.521",
3
+ "version": "0.1.522",
4
4
  "license": "SEE LICENSE IN README.md",
5
5
  "publishConfig": {
6
6
  "access": "public"