soql-parser-js
Advanced tools
Comparing version 4.7.1 to 4.8.0
# Changelog | ||
## 4.8.0 | ||
April 9, 2023 | ||
- Fix `isAggregateFn` (#228) | ||
- Date functions, such as `HOUR_IN_DAY(CreatedDate)` did not properly have the `isAggregateFn` property set to true for the field. | ||
- As a result, `getFlattenedFields` would produce incorrect results for these fields if they were not aliased. | ||
- Upgraded webpack, migrated from Travis CI to Github Actions | ||
- Update dependencies to resolve reported security issues | ||
- Update build process to fix invalid sourcemap mapping (#227) | ||
- Removed non-minified version of application which had incorrect path to sourcemaps | ||
- Ensure webpack generates a sourcemap for the minified code output | ||
## 4.7.1 | ||
January 23rd, 2023 | ||
The repository was moved from `paustint` to `jetstreamapp`. No code changes. | ||
@@ -6,0 +21,0 @@ |
@@ -488,3 +488,3 @@ "use strict"; | ||
dateFunction(ctx, options = { includeType: true }) { | ||
return this.helpers.$_getFieldFunction(ctx, false, options.includeType); | ||
return this.helpers.$_getFieldFunction(ctx, true, options.includeType); | ||
} | ||
@@ -491,0 +491,0 @@ aggregateFunction(ctx, options = { includeType: true }) { |
@@ -510,3 +510,3 @@ var __extends = (this && this.__extends) || (function () { | ||
if (options === void 0) { options = { includeType: true }; } | ||
return this.helpers.$_getFieldFunction(ctx, false, options.includeType); | ||
return this.helpers.$_getFieldFunction(ctx, true, options.includeType); | ||
}; | ||
@@ -513,0 +513,0 @@ SOQLVisitor.prototype.aggregateFunction = function (ctx, options) { |
@@ -513,3 +513,3 @@ "use strict"; | ||
if (options === void 0) { options = { includeType: true }; } | ||
return this.helpers.$_getFieldFunction(ctx, false, options.includeType); | ||
return this.helpers.$_getFieldFunction(ctx, true, options.includeType); | ||
}; | ||
@@ -516,0 +516,0 @@ SOQLVisitor.prototype.aggregateFunction = function (ctx, options) { |
{ | ||
"name": "soql-parser-js", | ||
"version": "4.7.1", | ||
"version": "4.8.0", | ||
"description": "Salesforce.com SOQL parser and composer", | ||
@@ -13,3 +13,3 @@ "main": "dist/index.js", | ||
"prebuild": "npm run clean", | ||
"build": "npm-run-all compile bundle:regular bundle:min build:esm build:cli", | ||
"build": "npm-run-all compile bundle:min build:esm build:cli", | ||
"build:esm": "npm-run-all clean:esm compile:esm", | ||
@@ -21,3 +21,3 @@ "build:cli": "npm-run-all clean:cli compile:cli", | ||
"bundle:regular": "webpack --config webpack-regular.config.js", | ||
"bundle:min": "webpack --config webpack-min.config.js", | ||
"bundle:min": "webpack --config webpack.config.js", | ||
"tsc": "./node_modules/.bin/tsc", | ||
@@ -73,4 +73,4 @@ "release": "release-it", | ||
"typescript": "^4.2.3", | ||
"webpack": "^5.73.0", | ||
"webpack-cli": "^4.10.0" | ||
"webpack": "^5.78.0", | ||
"webpack-cli": "^5.0.1" | ||
}, | ||
@@ -77,0 +77,0 @@ "keywords": [ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
952474
58
12329