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

aws4fetch-proxy

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aws4fetch-proxy - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

6

dist/aws4fetch.cjs.js

@@ -81,2 +81,3 @@ 'use strict';

this.method = method || (body ? 'POST' : 'GET');
// if `proxyTo` is present, sign with the destination URL

@@ -88,2 +89,5 @@ if (proxyTo) {

}
// where the actual fetch request will be made
this.fetchUrl = new URL(url);
this.headers = new Headers(headers);

@@ -177,3 +181,3 @@ this.body = body;

method: this.method,
url: this.url,
url: this.fetchUrl,
headers: this.headers,

@@ -180,0 +184,0 @@ body: this.body,

@@ -77,2 +77,3 @@ const encoder = new TextEncoder('utf-8');

this.method = method || (body ? 'POST' : 'GET');
// if `proxyTo` is present, sign with the destination URL

@@ -84,2 +85,5 @@ if (proxyTo) {

}
// where the actual fetch request will be made
this.fetchUrl = new URL(url);
this.headers = new Headers(headers);

@@ -173,3 +177,3 @@ this.body = body;

method: this.method,
url: this.url,
url: this.fetchUrl,
headers: this.headers,

@@ -176,0 +180,0 @@ body: this.body,

@@ -83,2 +83,3 @@ (function (global, factory) {

this.method = method || (body ? 'POST' : 'GET');
// if `proxyTo` is present, sign with the destination URL

@@ -90,2 +91,5 @@ if (proxyTo) {

}
// where the actual fetch request will be made
this.fetchUrl = new URL(url);
this.headers = new Headers(headers);

@@ -179,3 +183,3 @@ this.body = body;

method: this.method,
url: this.url,
url: this.fetchUrl,
headers: this.headers,

@@ -182,0 +186,0 @@ body: this.body,

2

package.json
{
"name": "aws4fetch-proxy",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/aws4fetch.cjs.js",

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