@arkecosystem/utils
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -8,2 +8,14 @@ # Changelog | ||
## [1.2.0] - 2020-08-03 | ||
### Added | ||
- Implement HTTP HEAD method (#86) (828736b9, @sebastijankuzner) | ||
### Changed | ||
- Migrate to yarn 2 (berry) (#76) (bb63d73f, @faustbrian) | ||
Thanks to @faustbrian @renovate[bot] @sebastijankuzner | ||
## [1.1.8] - 2020-01-27 | ||
@@ -449,2 +461,3 @@ | ||
[1.2.0]: https://github.com/ArkEcosystem/utils/compare/1.1.8...1.2.0 | ||
[1.1.8]: https://github.com/ArkEcosystem/utils/compare/1.1.7...1.1.8 | ||
@@ -451,0 +464,0 @@ [1.1.7]: https://github.com/ArkEcosystem/utils/compare/1.1.6...1.1.7 |
@@ -66,3 +66,3 @@ "use strict"; | ||
catch (error) { | ||
rej(new HttpError(response, error)); | ||
return rej(new HttpError(response, error)); | ||
} | ||
@@ -74,5 +74,5 @@ } | ||
if (r.statusCode && r.statusCode >= 400) { | ||
rej(new HttpError(response)); | ||
return rej(new HttpError(response)); | ||
} | ||
res(response); | ||
return res(response); | ||
}); | ||
@@ -79,0 +79,0 @@ }); |
@@ -10,3 +10,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -15,3 +15,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -21,3 +21,3 @@ var __importStar = (this && this.__importStar) || function (mod) { | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
@@ -24,0 +24,0 @@ return result; |
@@ -10,3 +10,3 @@ "use strict"; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p); | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
@@ -13,0 +13,0 @@ Object.defineProperty(exports, "__esModule", { value: true }); |
{ | ||
"name": "@arkecosystem/utils", | ||
"description": "Performance oriented implementations of commonly used functions in TypeScript.", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"contributors": [ | ||
@@ -35,43 +35,41 @@ "Brian Faust <brian@ark.io>", | ||
"fast-sort": "^2.2.0", | ||
"type-fest": "^0.16.0" | ||
"type-fest": "^0.17.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.11.0", | ||
"@babel/preset-env": "^7.11.0", | ||
"@babel/core": "^7.11.6", | ||
"@babel/preset-env": "^7.11.5", | ||
"@faustbrian/benchmarker": "^0.1.2", | ||
"@hapi/boom": "^9.1.0", | ||
"@hapi/hapi": "^19.2.0", | ||
"@hapi/hapi": "^20.0.1", | ||
"@sindresorhus/tsconfig": "^0.7.0", | ||
"@types/benchmark": "^1.0.33", | ||
"@types/jest": "^26.0.8", | ||
"@types/lodash": "^4.14.158", | ||
"@types/node": "^14.0.27", | ||
"@types/prettier": "^2.0.2", | ||
"@typescript-eslint/eslint-plugin": "^3.7.1", | ||
"@typescript-eslint/parser": "^3.7.1", | ||
"@yarnpkg/pnpify": "^2.1.0", | ||
"@types/jest": "^26.0.14", | ||
"@types/lodash": "^4.14.161", | ||
"@types/node": "^14.11.2", | ||
"@types/prettier": "^2.1.1", | ||
"@typescript-eslint/eslint-plugin": "^4.3.0", | ||
"@typescript-eslint/parser": "^4.3.0", | ||
"@yarnpkg/pnpify": "^2.3.1", | ||
"benchmark": "^2.1.4", | ||
"big-number": "^2.0.0", | ||
"big.js": "^5.2.2", | ||
"bignumber.js": "^9.0.0", | ||
"big.js": "^6.0.1", | ||
"bignumber.js": "^9.0.1", | ||
"codecov": "^3.7.2", | ||
"cross-env": "^7.0.2", | ||
"del-cli": "^3.0.1", | ||
"eslint": "^7.6.0", | ||
"eslint-config-prettier": "^6.11.0", | ||
"eslint-plugin-jest": "^23.20.0", | ||
"eslint": "^7.10.0", | ||
"eslint-config-prettier": "^6.12.0", | ||
"eslint-plugin-jest": "^24.0.2", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"eslint-plugin-simple-import-sort": "^5.0.3", | ||
"husky": "^4.2.5", | ||
"hyperid": "^2.0.5", | ||
"jest": "^26.2.2", | ||
"jest": "^26.4.2", | ||
"jest-extended": "^0.11.5", | ||
"jsbi": "^3.1.3", | ||
"lint-staged": "^10.2.11", | ||
"lodash": "^4.17.19", | ||
"jsbi": "^3.1.4", | ||
"lodash": "^4.17.20", | ||
"pluralize": "^8.0.0", | ||
"prettier": "^2.0.5", | ||
"prettier": "^2.1.2", | ||
"random-object": "^1.3.4", | ||
"ts-jest": "^26.1.4", | ||
"typescript": "^3.9.7", | ||
"ts-jest": "^26.4.1", | ||
"typescript": "^4.0.3", | ||
"typescript-language-server": "^0.4.0" | ||
@@ -81,8 +79,3 @@ }, | ||
"node": ">=10.x" | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
219481
37
+ Addedtype-fest@0.17.0(transitive)
- Removedtype-fest@0.16.0(transitive)
Updatedtype-fest@^0.17.0