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

sort-keys-recursive

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sort-keys-recursive - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

21

CHANGELOG.md

@@ -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))

6

index.js

@@ -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"
]
}
}
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