@dremio/js-sdk 0.7.0 → 0.7.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.
@@ -13,6 +13,8 @@
13
13
  * See the License for the specific language governing permissions and
14
14
  * limitations under the License.
15
15
  */
16
- export const catalogPathToString = (path, SEPARATOR = ".") => path.map((part) => (requiresQuotes.test(part) ? `"${part}"` : part)).join(SEPARATOR);
16
+ export const catalogPathToString = (path, SEPARATOR = ".") => path
17
+ .map((part) => (requiresQuotes.test(part) ? `"${part.replaceAll('"', '""')}"` : part))
18
+ .join(SEPARATOR);
17
19
  const requiresQuotes = /\W/;
18
20
  //# sourceMappingURL=catalogPathToString.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"catalogPathToString.js","sourceRoot":"","sources":["../../../../../src/oss/catalog/CatalogReferences/utils/catalogPathToString.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAc,EAAE,YAAoB,GAAG,EAAE,EAAE,CAC7E,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;AAEvF,MAAM,cAAc,GAAG,IAAI,CAAC","sourcesContent":["/*\n * Copyright (C) 2024-2025 Dremio Corporation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const catalogPathToString = (path: string[], SEPARATOR: string = \".\") =>\n path.map((part) => (requiresQuotes.test(part) ? `\"${part}\"` : part)).join(SEPARATOR);\n\nconst requiresQuotes = /\\W/;\n"]}
1
+ {"version":3,"file":"catalogPathToString.js","sourceRoot":"","sources":["../../../../../src/oss/catalog/CatalogReferences/utils/catalogPathToString.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,IAAc,EAAE,YAAoB,GAAG,EAAE,EAAE,CAC7E,IAAI;KACD,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;KACrF,IAAI,CAAC,SAAS,CAAC,CAAC;AAErB,MAAM,cAAc,GAAG,IAAI,CAAC","sourcesContent":["/*\n * Copyright (C) 2024-2025 Dremio Corporation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport const catalogPathToString = (path: string[], SEPARATOR: string = \".\") =>\n path\n .map((part) => (requiresQuotes.test(part) ? `\"${part.replaceAll('\"', '\"\"')}\"` : part))\n .join(SEPARATOR);\n\nconst requiresQuotes = /\\W/;\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dremio/js-sdk",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "JavaScript library for the Dremio API",
5
5
  "keywords": [
6
6
  "dremio",