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

@atlaskit/util-service-support

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/util-service-support - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

14

CHANGELOG.md

@@ -1,6 +0,16 @@

<a name="2.0.1"></a>
## 2.0.1 (2017-07-24)
<a name="2.0.2"></a>
## 2.0.2 (2017-09-12)
<a name="2.0.2"></a>
## 2.0.2 (2017-09-12)
### Bug Fixes
* **component:** requestService can handle 204 responses with no content ([edf13d5](https://bitbucket.org/atlassian/atlaskit/commits/edf13d5))
<a name="2.0.1"></a>

@@ -7,0 +17,0 @@ ## 2.0.1 (2017-07-24)

5

dist/es2015/serviceUtils.js

@@ -76,3 +76,6 @@ import * as URL from 'url';

.then((response) => {
if (response.ok) {
if (response.status === 204) {
return Promise.resolve();
}
else if (response.ok) {
return response.json();

@@ -79,0 +82,0 @@ }

@@ -80,3 +80,6 @@ "use strict";

.then(function (response) {
if (response.ok) {
if (response.status === 204) {
return Promise.resolve();
}
else if (response.ok) {
return response.json();

@@ -83,0 +86,0 @@ }

{
"name": "@atlaskit/util-service-support",
"version": "2.0.1",
"version": "2.0.2",
"config": {

@@ -18,4 +18,4 @@ "access": "public"

"validate/typescript": "../../build/bin/validate.typescript.sh",
"jest": "../../node_modules/.bin/jest -c ../../build/config/jest.config.js",
"jest/watch": "../../node_modules/.bin/jest --watch -c ../../build/config/jest.config.js"
"test:unit": "../../node_modules/.bin/jest -c ../../build/config/jest.config.js",
"jest": "echo 'yarn run jest is deprecated and removed. please run yarn run test:unit instead.'"
},

@@ -22,0 +22,0 @@ "files": [

@@ -86,3 +86,5 @@ import * as URL from 'url';

.then((response: Response) => {
if (response.ok) {
if (response.status === 204) {
return Promise.resolve();
} else if (response.ok) {
return response.json();

@@ -89,0 +91,0 @@ } else if (response.status === 401 && refreshedSecurityProvider) {

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