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

axios-hooks

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

axios-hooks - npm Package Compare versions

Comparing version 1.7.1 to 1.7.2-0

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [1.7.2-0](https://github.com/simoneb/axios-hooks/compare/v1.7.1...v1.7.2-0) (2019-11-10)
### [1.7.1](https://github.com/simoneb/axios-hooks/compare/v1.7.0...v1.7.1) (2019-11-07)

@@ -7,0 +9,0 @@

@@ -164,2 +164,11 @@ "use strict";

_context3.t0 = _context3["catch"](0);
if (!axiosInstance.isCancel(_context3.t0)) {
_context3.next = 13;
break;
}
return _context3.abrupt("return");
case 13:
dispatch({

@@ -172,3 +181,3 @@ type: actions.REQUEST_END,

case 13:
case 15:
case "end":

@@ -175,0 +184,0 @@ return _context3.stop();

@@ -141,2 +141,11 @@ import _extends from "@babel/runtime/helpers/esm/extends";

_context3.t0 = _context3["catch"](0);
if (!axiosInstance.isCancel(_context3.t0)) {
_context3.next = 13;
break;
}
return _context3.abrupt("return");
case 13:
dispatch({

@@ -149,3 +158,3 @@ type: actions.REQUEST_END,

case 13:
case 15:
case "end":

@@ -152,0 +161,0 @@ return _context3.stop();

23

package.json
{
"name": "axios-hooks",
"version": "1.7.1",
"version": "1.7.2-0",
"description": "axios-hooks",

@@ -21,21 +21,22 @@ "keywords": [

"es/",
"src/index.js",
"src/",
"/index.d.ts"
],
"scripts": {
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src/index.js --out-dir cjs",
"build:es": "babel src/index.js --out-dir es",
"build:commonjs": "cross-env BABEL_ENV=commonjs babel src --out-dir cjs",
"build:es": "babel src --out-dir es",
"build": "run-p build:*",
"clean": "rimraf cjs es coverage",
"format": "prettier --write \"src/**/*.{js,md,ts}\"",
"lint": "eslint src",
"commit": "npx git-cz",
"format": "prettier --write \"{src,test}/**/*.{js,md,ts}\"",
"lint": "eslint src test",
"prepare": "npm run clean && npm run build",
"prepublishOnly": "npm run build",
"release": "standard-version",
"pretest": "cp ./src/index.test.js ./src/index.test.ts && cp ./src/index.test.ssr.js ./src/index.test.ssr.ts && cp ./index.d.ts ./src",
"pretest": "cp ./test/index.test.js ./test/index.test.ts && cp ./test/index.test.ssr.js ./test/index.test.ssr.ts",
"test": "jest --no-cache"
},
"dependencies": {
"@babel/runtime": "^7.6.3",
"lru-cache": "^5.1.1"
"@babel/runtime": "7.7.2",
"lru-cache": "5.1.1"
},

@@ -56,3 +57,3 @@ "peerDependencies": {

"@types/lru-cache": "5.1.0",
"@types/node": "12.12.6",
"@types/node": "12.12.7",
"@types/react": "16.9.11",

@@ -73,3 +74,3 @@ "@types/react-dom": "16.9.4",

"npm-run-all": "4.1.5",
"prettier": "1.18.2",
"prettier": "1.19.0",
"react": "16.11.0",

@@ -76,0 +77,0 @@ "react-dom": "16.11.0",

@@ -100,2 +100,6 @@ import React from 'react'

} catch (err) {
if (axiosInstance.isCancel(err)) {
return
}
dispatch({ type: actions.REQUEST_END, payload: err, error: true })

@@ -102,0 +106,0 @@ throw err

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