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

gooddata

Package Overview
Dependencies
Maintainers
10
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 4.4.1 to 4.5.0-tomasreichmann-TRE-RAIL-351-Attribute-Elements-2017-12-18T14-16-15-808Z

18

index.d.ts

@@ -35,11 +35,11 @@ // Copyright (C) 2007-2017, GoodData(R) Corporation. All rights reserved.

export interface IValidElementsOptions {
limit: number;
offset: number;
order: SortDirection;
filter: string;
prompt: string;
uris: string[];
complement: boolean;
includeTotalCountWithoutFilters: boolean;
restrictiveDefinition: string;
limit?: number;
offset?: number;
order?: SortDirection;
filter?: string;
prompt?: string;
uris?: string[];
complement?: boolean;
includeTotalCountWithoutFilters?: boolean;
restrictiveDefinition?: string;
}

@@ -46,0 +46,0 @@

@@ -218,5 +218,9 @@ 'use strict';

if (response.status === 202 && !settings.dontPollOnResult) {
// poll on new provided url, fallback to the original one
// (for example validElements returns 303 first with new url which may then return 202 to poll on)
var finalUrl = response.url || url;
var finalSettings = settings;
// if the response is 202 and Location header is not empty, let's poll on the new Location
var finalUrl = url;
var finalSettings = settings;
if (response.headers.has('Location')) {

@@ -228,2 +232,3 @@ finalUrl = response.headers.get('Location');

delete finalSettings.body;
return handlePolling(finalUrl, finalSettings, ajax);

@@ -230,0 +235,0 @@ }

{
"name": "gooddata",
"version": "4.4.1",
"version": "4.5.0-tomasreichmann-TRE-RAIL-351-Attribute-Elements-2017-12-18T14-16-15-808Z",
"author": "GoodData",

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

@@ -201,5 +201,9 @@ // Copyright (C) 2007-2013, GoodData(R) Corporation. All rights reserved.

if (response.status === 202 && !settings.dontPollOnResult) {
// poll on new provided url, fallback to the original one
// (for example validElements returns 303 first with new url which may then return 202 to poll on)
let finalUrl = response.url || url;
const finalSettings = settings;
// if the response is 202 and Location header is not empty, let's poll on the new Location
let finalUrl = url;
const finalSettings = settings;
if (response.headers.has('Location')) {

@@ -211,2 +215,3 @@ finalUrl = response.headers.get('Location');

delete finalSettings.body;
return handlePolling(finalUrl, finalSettings, ajax);

@@ -213,0 +218,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