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

servicestack-client

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

servicestack-client - npm Package Compare versions

Comparing version 0.0.40 to 0.0.41

2

package.json
{
"name": "servicestack-client",
"title": "ServiceStack JavaScript Utils",
"version": "0.0.40",
"version": "0.0.41",
"description": "ServiceStack's TypeScript library providing convenience utilities in developing web apps. Integrates with ServiceStack's Server features including ServiceClient, Server Events, Error Handling and Validation",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/ServiceStack/servicestack-client",

@@ -713,3 +713,3 @@ "use strict";

// No responseStatus body, set from `res` Body object
if (error instanceof Error)
if (error instanceof Error || error instanceof DOMException /*MS Edge*/)
throw _this.raiseError(res, createErrorResponse(res.status, res.statusText, type));

@@ -1020,2 +1020,6 @@ throw _this.raiseError(res, error);

to.expires = new Date(value);
// MS Edge returns Invalid Date when using '-' in "12-Mar-2037"
if (to.expires.toString() === "Invalid Date") {
to.expires = new Date(value.replace(/-/g, " "));
}
}

@@ -1022,0 +1026,0 @@ else {

@@ -928,3 +928,3 @@ import 'fetch-everywhere';

// No responseStatus body, set from `res` Body object
if (error instanceof Error)
if (error instanceof Error || error instanceof DOMException /*MS Edge*/)
throw this.raiseError(res, createErrorResponse(res.status, res.statusText, type));

@@ -1261,2 +1261,7 @@ throw this.raiseError(res, error);

to.expires = new Date(value);
// MS Edge returns Invalid Date when using '-' in "12-Mar-2037"
if (to.expires.toString() === "Invalid Date") {
to.expires = new Date(value.replace(/-/g, " "));
}
} else {

@@ -1263,0 +1268,0 @@ to[name] = value;

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