New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gooddata

Package Overview
Dependencies
Maintainers
13
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gooddata - npm Package Compare versions

Comparing version 5.0.0-bugsbunny338-jza-bb-764-getvalidelements-restrictivedefinitioncontent-support-2018-03-22T13-39-08-524Z to 5.0.0-bugsbunny338-jza-fix-duplicit-executionr-keys-2018-04-23T18-04-56-613Z

8

lib/execution/execute-afm.js

@@ -156,8 +156,8 @@ 'use strict';

return getOnePage(pollingUri, offset).then(function (executionResult) {
return {
executionResponse: executionResponse,
executionResult: executionResult
};
var result = _extends({}, executionResponse, executionResult);
result.executionResponse.executionResponse = executionResponse;
result.executionResponse.executionResult = executionResult;
return result;
});
});
}
{
"name": "gooddata",
"version": "5.0.0-bugsbunny338-jza-bb-764-getvalidelements-restrictivedefinitioncontent-support-2018-03-22T13-39-08-524Z",
"version": "5.0.0-bugsbunny338-jza-fix-duplicit-executionr-keys-2018-04-23T18-04-56-613Z",
"author": "GoodData",

@@ -5,0 +5,0 @@ "description": "GoodData JavaScript SDK",

@@ -6,2 +6,9 @@ # GoodData JS SDK

### WARNING: This package is deprecated
It has been renamed from `gooddata` to `@gooddata/gooddata-js` in April 2018. \
See https://www.npmjs.com/package/@gooddata/gooddata-js
----------------
## Usage

@@ -8,0 +15,0 @@

@@ -117,8 +117,11 @@ // Copyright (C) 2007-2014, GoodData(R) Corporation. All rights reserved.

return getOnePage(pollingUri, offset).then((executionResult) => {
return {
executionResponse,
executionResult
const result = {
...executionResponse,
...executionResult
};
result.executionResponse.executionResponse = executionResponse;
result.executionResponse.executionResult = executionResult;
return result;
});
});
}

@@ -599,21 +599,26 @@ // Copyright (C) 2007-2014, GoodData(R) Corporation. All rights reserved.

const getRequestBodyWithReportDefinition = () => post(
`/gdc/app/projects/${projectId}/executeAfm/debug`, {
body: {
execution: {
afm
const getRequestBodyWithReportDefinition =
() => post(
`/gdc/app/projects/${projectId}/executeAfm/debug`, {
body: {
execution: {
afm
}
}
}
}
).then(parseJSON).then(reportDefinitionResult => ({
...pickedOptions,
restrictiveDefinitionContent: reportDefinitionResult.reportDefinition.content
}));
)
.then(parseJSON)
.then(reportDefinitionResult => ({
...pickedOptions,
restrictiveDefinitionContent: reportDefinitionResult.reportDefinition.content
}));
const getOptions = afm ? getRequestBodyWithReportDefinition : () => Promise.resolve(pickedOptions);
return getOptions().then(requestBody => post(
`/gdc/md/${projectId}/obj/${id}/validElements${queryParams}`.replace(/\?$/, ''), {
data: JSON.stringify({ validElementsRequest: requestBody })
}
).then(parseJSON));
return getOptions()
.then(requestBody => post(
`/gdc/md/${projectId}/obj/${id}/validElements${queryParams}`.replace(/\?$/, ''), {
data: JSON.stringify({ validElementsRequest: requestBody })
}
)
.then(parseJSON));
}

@@ -620,0 +625,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc