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

xhr-shaper

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xhr-shaper - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

11

dist/XHRShaper.this.js

@@ -428,3 +428,2 @@ this["XHRShaper"] =

XHRProxy: _xhr2.default,
XHR: XHR,
useGlobal: useGlobal

@@ -472,4 +471,4 @@ };

//console.log('native loadend');
console.log('native loadend');
loadEndEvent = event;

@@ -488,4 +487,4 @@ if (done && _onloadend) {

//console.log('native load');
console.log('native load');
loadEvent = event;

@@ -566,3 +565,3 @@ if (done && _onload && xhr.readyState === 4) {

} else {
console.log('done, not delaying');
//console.log('done, not delaying');
done = true;

@@ -619,4 +618,4 @@ triggerStateChange(event);

xhr._id = id;
xhrProxy._id = id;
xhr.__throttledId = id;
xhrProxy.__throttledId = id;
}

@@ -623,0 +622,0 @@

@@ -437,3 +437,2 @@ (function webpackUniversalModuleDefinition(root, factory) {

XHRProxy: _xhr2.default,
XHR: XHR,
useGlobal: useGlobal

@@ -481,4 +480,4 @@ };

//console.log('native loadend');
console.log('native loadend');
loadEndEvent = event;

@@ -497,4 +496,4 @@ if (done && _onloadend) {

//console.log('native load');
console.log('native load');
loadEvent = event;

@@ -575,3 +574,3 @@ if (done && _onload && xhr.readyState === 4) {

} else {
console.log('done, not delaying');
//console.log('done, not delaying');
done = true;

@@ -628,4 +627,4 @@ triggerStateChange(event);

xhr._id = id;
xhrProxy._id = id;
xhr.__throttledId = id;
xhrProxy.__throttledId = id;
}

@@ -632,0 +631,0 @@

{
"name": "xhr-shaper",
"version": "2.0.1",
"version": "2.0.2",
"description": "Shapes your XHR requests to a max emulated bandwidth and latency, randomizes frequency of progress events",

@@ -5,0 +5,0 @@ "main": "index.js",

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