@jetstreamapp/soql-parser-js 6.3.0 → 6.3.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/CHANGELOG.md +6 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/esm/index.mjs +1 -1
- package/dist/lwc/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -119,7 +119,7 @@ ${this.repeatChar(r," ")}`,o=`
|
|
|
119
119
|
${this.repeatChar(r-1," ")})`):e=e.replace(/\n/g,`
|
|
120
120
|
`)),`${i}${e}${o}`}formatClause(e){return this.enabled?this.options.newLineAfterKeywords?`
|
|
121
121
|
${e}
|
|
122
|
-
|
|
122
|
+
${this.getIndent()}`:`
|
|
123
123
|
${e}`:` ${e}`}formatText(e){return this.enabled&&(this.options.newLineAfterKeywords||e.startsWith(`
|
|
124
124
|
`))?e:` ${e}`}formatWithIndent(e){return this.enabled?`${this.getIndent()}${e}`:e}formatOrderByArray(e){if(this.enabled){let r=0,n="";return e.forEach((i,o)=>{let a=e[o+1];r+=i.length,a&&(r+a.length>(this.options.fieldMaxLineLength||0)||this.options.newLineAfterKeywords)?(n+=`${i},
|
|
125
125
|
`,r=0):n+=`${i}${a?", ":""}`}),n}else return e.join(", ")}formatParens(e,r,n=!1){let i="";if(xt(e)&&e>0)if(this.enabled)if(r==="("){for(let o=0;o<e;o++)n&&o===e-1?i+="(":o===0?i+=`(
|
package/dist/cli/index.js
CHANGED
|
@@ -124,7 +124,7 @@ ${this.repeatChar(r," ")}`,o=`
|
|
|
124
124
|
${this.repeatChar(r-1," ")})`):e=e.replace(/\n/g,`
|
|
125
125
|
`)),`${i}${e}${o}`}formatClause(e){return this.enabled?this.options.newLineAfterKeywords?`
|
|
126
126
|
${e}
|
|
127
|
-
|
|
127
|
+
${this.getIndent()}`:`
|
|
128
128
|
${e}`:` ${e}`}formatText(e){return this.enabled&&(this.options.newLineAfterKeywords||e.startsWith(`
|
|
129
129
|
`))?e:` ${e}`}formatWithIndent(e){return this.enabled?`${this.getIndent()}${e}`:e}formatOrderByArray(e){if(this.enabled){let r=0,n="";return e.forEach((i,o)=>{let a=e[o+1];r+=i.length,a&&(r+a.length>(this.options.fieldMaxLineLength||0)||this.options.newLineAfterKeywords)?(n+=`${i},
|
|
130
130
|
`,r=0):n+=`${i}${a?", ":""}`}),n}else return e.join(", ")}formatParens(e,r,n=!1){let i="";if(At(e)&&e>0)if(this.enabled)if(r==="("){for(let o=0;o<e;o++)n&&o===e-1?i+="(":o===0?i+=`(
|
package/dist/esm/index.mjs
CHANGED
|
@@ -119,7 +119,7 @@ ${this.repeatChar(r," ")}`,o=`
|
|
|
119
119
|
${this.repeatChar(r-1," ")})`):e=e.replace(/\n/g,`
|
|
120
120
|
`)),`${i}${e}${o}`}formatClause(e){return this.enabled?this.options.newLineAfterKeywords?`
|
|
121
121
|
${e}
|
|
122
|
-
|
|
122
|
+
${this.getIndent()}`:`
|
|
123
123
|
${e}`:` ${e}`}formatText(e){return this.enabled&&(this.options.newLineAfterKeywords||e.startsWith(`
|
|
124
124
|
`))?e:` ${e}`}formatWithIndent(e){return this.enabled?`${this.getIndent()}${e}`:e}formatOrderByArray(e){if(this.enabled){let r=0,n="";return e.forEach((i,o)=>{let a=e[o+1];r+=i.length,a&&(r+a.length>(this.options.fieldMaxLineLength||0)||this.options.newLineAfterKeywords)?(n+=`${i},
|
|
125
125
|
`,r=0):n+=`${i}${a?", ":""}`}),n}else return e.join(", ")}formatParens(e,r,n=!1){let i="";if(xt(e)&&e>0)if(this.enabled)if(r==="("){for(let o=0;o<e;o++)n&&o===e-1?i+="(":o===0?i+=`(
|
package/dist/lwc/index.js
CHANGED
|
@@ -12179,7 +12179,7 @@ ${this.repeatChar(numTabs - 1, " ")})`;
|
|
|
12179
12179
|
if (this.enabled) {
|
|
12180
12180
|
return this.options.newLineAfterKeywords ? `
|
|
12181
12181
|
${clause}
|
|
12182
|
-
|
|
12182
|
+
${this.getIndent()}` : `
|
|
12183
12183
|
${clause}`;
|
|
12184
12184
|
}
|
|
12185
12185
|
return ` ${clause}`;
|