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

@api-ts/superagent-wrapper

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@api-ts/superagent-wrapper - npm Package Compare versions

Comparing version 0.2.0-beta.6 to 0.2.0-beta.7

6

dist/src/request.js

@@ -67,3 +67,2 @@ "use strict";

return decodedResponse({
// DISCUSS: what's this non-standard HTTP status code?
status: 'decodeError',

@@ -79,5 +78,3 @@ error: `No codec for status ${status}`,

original: res,
})), E.getOrElse((error) =>
// DISCUSS: what's this non-standard HTTP status code?
decodedResponse({
})), E.getOrElse((error) => decodedResponse({
status: 'decodeError',

@@ -99,2 +96,3 @@ error,

});
patchedReq.ok(() => true);
return patchedReq;

@@ -101,0 +99,0 @@ };

@@ -21,3 +21,2 @@ "use strict";

}
// Type assert that I did in fact add all the expected properties
return result;

@@ -24,0 +23,0 @@ };

{
"name": "@api-ts/superagent-wrapper",
"version": "0.2.0-beta.6",
"version": "0.2.0-beta.7",
"description": "Make type-safe HTTP requests with superagent",

@@ -15,2 +15,4 @@ "author": "Patrick McLaughlin <patrickmclaughlin@bitgo.com>",

"clean": "rm -rf -- dist",
"format": "prettier --check .",
"format:fix": "prettier --write .",
"test": "nyc --reporter=lcov --reporter=text --reporter=json-summary mocha test/**/*.test.ts --require ts-node/register --exit"

@@ -17,0 +19,0 @@ },

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