Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@esri/arcgis-rest-request

Package Overview
Dependencies
Maintainers
16
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@esri/arcgis-rest-request - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

dist/.DS_Store

6

dist/esm/request.d.ts

@@ -34,11 +34,11 @@ export interface IAuthenticationManager {

/**
* Base url for the portal you want to make the request to. Defaults to 'https://www.arcgis.com/sharing/rest'
* Base url for the portal you want to make the request to. Defaults to 'https://www.arcgis.com/sharing/rest'.
*/
portal?: string;
/**
* The implementation of `fetch` to use. Defaults to a global `fetch`
* The implementation of `fetch` to use. Defaults to a global `fetch`.
*/
fetch?: (input: RequestInfo, init?: RequestInit) => Promise<Response>;
/**
* If the length of a GET request's URL exceeds `maxUrlLength` the request will use POST instead
* If the length of a GET request's URL exceeds `maxUrlLength` the request will use POST instead.
*/

@@ -45,0 +45,0 @@ maxUrlLength?: number;

@@ -71,3 +71,5 @@ /* Copyright (c) 2017 Environmental Systems Research Institute, Inc.

var fetchOptions = {
method: httpMethod
method: httpMethod,
// ensures behavior mimics XMLHttpRequest. needed to support sending IWA cookies
credentials: "same-origin"
};

@@ -74,0 +76,0 @@ return (authentication ? authentication.getToken(url) : Promise.resolve(""))

@@ -73,3 +73,5 @@ "use strict";

var fetchOptions = {
method: httpMethod
method: httpMethod,
// ensures behavior mimics XMLHttpRequest. needed to support sending IWA cookies
credentials: "same-origin"
};

@@ -76,0 +78,0 @@ return (authentication ? authentication.getToken(url) : Promise.resolve(""))

@@ -1,2 +0,2 @@

/* @esri/arcgis-rest-request - v1.1.2 - Wed May 02 2018 13:58:48 GMT-0700 (PDT)
/* @esri/arcgis-rest-request - v1.1.2 - Mon May 14 2018 16:55:10 GMT-0700 (PDT)
* Copyright (c) 2018 Environmental Systems Research Institute, Inc.

@@ -3,0 +3,0 @@ * Apache-2.0 */

@@ -1,2 +0,2 @@

/* @esri/arcgis-rest-request - v1.1.2 - Wed May 02 2018 13:58:50 GMT-0700 (PDT)
/* @esri/arcgis-rest-request - v1.1.2 - Mon May 14 2018 16:55:11 GMT-0700 (PDT)
* Copyright (c) 2018 Environmental Systems Research Institute, Inc.

@@ -3,0 +3,0 @@ * Apache-2.0 */

{
"name": "@esri/arcgis-rest-request",
"version": "1.1.2",
"version": "1.2.0",
"description": "Common methods and utilities for @esri/arcgis-rest-* packages.",
"main": "dist/node/index.js",
"browser": "dist/umd/arcgis-rest-request.umd.js",
"browser": "dist/umd/request.umd.js",
"module": "dist/esm/index.js",

@@ -8,0 +8,0 @@ "js:next": "dist/esm/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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