sort-keys-recursive
Advanced tools
Comparing version 2.0.1 to 2.1.0
@@ -0,1 +1,19 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. | ||
## 2.1.0 (2020-10-14) | ||
### Features | ||
* add 'options' support with a new third, optional parameter ([c9a1995](https://github.com/kikobeats/sort-keys-recursive/commit/c9a1995f95fe250ff115b0298040e6a8ee19ed4c)) | ||
### Bug Fixes | ||
* **package:** update kind-of to version 5.1.0 ([a431902](https://github.com/kikobeats/sort-keys-recursive/commit/a4319021a4e3d06027bc6bb2e86344abffa27137)) | ||
* **package:** update kind-of to version 6.0.0 ([3688a3a](https://github.com/kikobeats/sort-keys-recursive/commit/3688a3a50a0af47c76ca7cf8b99857074459f7e5)) | ||
* **package:** update sort-keys to version 3.0.0 ([497af99](https://github.com/kikobeats/sort-keys-recursive/commit/497af99716dc2b1a41428e39a9afdff62aedb524)) | ||
<a name="2.0.1"></a> | ||
@@ -85,4 +103,1 @@ ## 2.0.1 (2017-07-18) | ||
* fixed little issue ([9846d85](https://github.com/kikobeats/sort-keys-recursive/commit/9846d85)) | ||
@@ -8,7 +8,7 @@ 'use strict' | ||
!arr || kindOf(arr) !== 'array' | ||
? false | ||
: arr.indexOf(value) > -1 | ||
? false | ||
: arr.indexOf(value) > -1 | ||
) | ||
const sortObjectKeys = (obj, compare) => sortKeys(obj, {compare}) | ||
const sortObjectKeys = (obj, compare) => sortKeys(obj, { compare }) | ||
@@ -15,0 +15,0 @@ const sortArray = (arr, opts) => { |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/Kikobeats/sort-keys-recursive", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"main": "./index.js", | ||
@@ -13,2 +13,8 @@ "author": { | ||
}, | ||
"contributors": [ | ||
{ | ||
"name": "mitogh", | ||
"email": "mitogh@gmail.com" | ||
} | ||
], | ||
"repository": { | ||
@@ -35,11 +41,21 @@ "type": "git", | ||
"dependencies": { | ||
"kind-of": "~5.0.0", | ||
"sort-keys": "~2.0.0" | ||
"kind-of": "~6.0.2", | ||
"sort-keys": "~4.1.0" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "latest", | ||
"@commitlint/config-conventional": "latest", | ||
"ava": "latest", | ||
"ci-publish": "latest", | ||
"conventional-github-releaser": "latest", | ||
"coveralls": "latest", | ||
"finepack": "latest", | ||
"git-authors-cli": "latest", | ||
"husky": "latest", | ||
"lint-staged": "latest", | ||
"npm-check-updates": "latest", | ||
"nyc": "latest", | ||
"standard": "latest", | ||
"standard-markdown": "latest" | ||
"standard-markdown": "latest", | ||
"standard-version": "latest" | ||
}, | ||
@@ -53,8 +69,32 @@ "engines": { | ||
"scripts": { | ||
"contributors": "(git-authors-cli && finepack && git add package.json && git commit -m 'build: contributors' --no-verify) || true", | ||
"coveralls": "nyc report --reporter=text-lcov | coveralls", | ||
"lint": "standard-markdown && standard", | ||
"postrelease": "npm run release:tags && npm run release:github && ci-publish", | ||
"prerelease": "npm run update:check && npm run contributors", | ||
"pretest": "npm run lint", | ||
"test": "nyc ava --verbose" | ||
"release": "standard-version -a", | ||
"release:github": "conventional-github-releaser -p angular", | ||
"release:tags": "git push --follow-tags origin HEAD:master", | ||
"test": "nyc ava --verbose", | ||
"update": "ncu -u", | ||
"update:check": "ncu -- --error-level 2" | ||
}, | ||
"license": "MIT" | ||
"license": "MIT", | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS", | ||
"pre-commit": "lint-staged" | ||
} | ||
}, | ||
"lint-staged": { | ||
"package.json": [ | ||
"finepack" | ||
] | ||
} | ||
} |
13546
15
+ Addedis-plain-obj@2.1.0(transitive)
+ Addedkind-of@6.0.3(transitive)
+ Addedsort-keys@4.1.0(transitive)
- Removedis-plain-obj@1.1.0(transitive)
- Removedkind-of@5.0.2(transitive)
- Removedsort-keys@2.0.0(transitive)
Updatedkind-of@~6.0.2
Updatedsort-keys@~4.1.0