Comparing version 1.4.0 to 1.5.0
@@ -153,7 +153,14 @@ 'use strict'; | ||
var omittedOptions = ['filter', 'types', 'paging', 'dataSetIdentifier', 'returnAllDateDataSets', 'returnAllRelatedDateDataSets']; | ||
// includeObjectsWithTags has higher priority than excludeObjectsWithTags, | ||
// so when present omit excludeObjectsWithTags | ||
if (options.includeObjectsWithTags) { | ||
omittedOptions.push('excludeObjectsWithTags'); | ||
} | ||
var request = (0, _omit3.default)(_extends({}, LOAD_DATE_DATASET_DEFAULTS, REQUEST_DEFAULTS, options, getRequiredDataSets(options), { | ||
bucketItems: bucketItems | ||
}), ['filter', 'types', 'paging', 'dataSetIdentifier', 'returnAllDateDataSets', 'returnAllRelatedDateDataSets']); | ||
}), omittedOptions); | ||
return requestDateDataSets(projectId, request); | ||
} |
{ | ||
"name": "gooddata", | ||
"version": "1.4.0", | ||
"version": "1.5.0", | ||
"author": "GoodData", | ||
@@ -5,0 +5,0 @@ "description": "GoodData JavaScript SDK", |
@@ -127,2 +127,9 @@ import { get, find, omit, cloneDeep } from 'lodash'; | ||
const omittedOptions = ['filter', 'types', 'paging', 'dataSetIdentifier', 'returnAllDateDataSets', 'returnAllRelatedDateDataSets']; | ||
// includeObjectsWithTags has higher priority than excludeObjectsWithTags, | ||
// so when present omit excludeObjectsWithTags | ||
if (options.includeObjectsWithTags) { | ||
omittedOptions.push('excludeObjectsWithTags'); | ||
} | ||
const request = omit({ | ||
@@ -134,5 +141,5 @@ ...LOAD_DATE_DATASET_DEFAULTS, | ||
bucketItems | ||
}, ['filter', 'types', 'paging', 'dataSetIdentifier', 'returnAllDateDataSets', 'returnAllRelatedDateDataSets']); | ||
}, omittedOptions); | ||
return requestDateDataSets(projectId, request); | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
461133
161
10868
1
0
6