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

hasoop

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hasoop - npm Package Compare versions

Comparing version 0.3.1 to 0.3.2

15

dist/sendRequest.js

@@ -10,12 +10,13 @@ 'use strict';

exports.senDeleteRequest = senDeleteRequest;
/**
* Created by Chyroc on 17/1/10.
*/
var fetch = require('isomorphic-fetch');
var _isomorphicFetch = require('isomorphic-fetch');
var _isomorphicFetch2 = _interopRequireDefault(_isomorphicFetch);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function sendRequest(method, url) {
var body = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;
return fetch(url, { method: method, body: body }).then(function (res) {
return (0, _isomorphicFetch2.default)(url, { method: method, body: body }).then(function (res) {
return res.json();

@@ -25,3 +26,5 @@ }).catch(function (err) {

});
}
} /**
* Created by Chyroc on 17/1/10.
*/

@@ -28,0 +31,0 @@ function sendGetRequest(url) {

22

package.json
{
"name": "hasoop",
"version": "0.3.1",
"version": "0.3.2",
"main": "dist/index.js",

@@ -43,18 +43,18 @@ "license": "MIT",

"devDependencies": {
"babel-cli": "^6.18.0",
"babel-core": "^6.21.0",
"babel-plugin-transform-export-extensions": "^6.8.0",
"babel-plugin-transform-object-rest-spread": "^6.20.2",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-latest": "^6.16.0",
"babel-cli": "^6.22.2",
"babel-core": "^6.22.1",
"babel-plugin-transform-export-extensions": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.22.0",
"babel-plugin-transform-runtime": "^6.22.0",
"babel-preset-latest": "^6.22.0",
"chai": "^3.5.0",
"coveralls": "^2.11.15",
"coveralls": "^2.11.16",
"faker": "^3.1.0",
"husky": "^0.12.0",
"husky": "^0.13.1",
"mocha": "^3.2.0",
"nyc": "^10.0.0",
"nyc": "^10.1.2",
"rimraf": "^2.5.4",
"snazzy": "^5.0.0",
"snazzy": "^6.0.0",
"standard": "^8.6.0"
}
}
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