@malloydata/malloy 0.0.15-dev221209192619 → 0.0.15

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.
Files changed (2) hide show
  1. package/dist/malloy.js +4 -3
  2. package/package.json +1 -1
package/dist/malloy.js CHANGED
@@ -451,12 +451,13 @@ class PreparedQuery {
451
451
  }
452
452
  exports.PreparedQuery = PreparedQuery;
453
453
  function parseTableURI(tableURI) {
454
- const [firstPart, secondPart] = tableURI.split(":");
455
- if (secondPart) {
454
+ const parts = tableURI.match(/^([^:]*):(.*)$/);
455
+ if (parts) {
456
+ const [, firstPart, secondPart] = parts;
456
457
  return { connectionName: firstPart, tablePath: secondPart };
457
458
  }
458
459
  else {
459
- return { tablePath: firstPart };
460
+ return { tablePath: tableURI };
460
461
  }
461
462
  }
462
463
  exports.parseTableURI = parseTableURI;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@malloydata/malloy",
3
- "version": "0.0.15-dev221209192619",
3
+ "version": "0.0.15",
4
4
  "license": "GPL-2.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",