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

sortobject

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sortobject - npm Package Compare versions

Comparing version 5.4.0 to 5.5.0-next.1703683280.5efa43e69a53bec7548931d40ee2f6bd8adfb24b

8

LICENSE.md
<!-- LICENSEFILE/ -->
<h1>License</h1>
# License
Unless stated otherwise all works are:
<ul><li>Copyright &copy; 2012+ <a href="http://bevry.me">Bevry Pty Ltd</a></li></ul>
- Copyright &copy; [Benjamin Lupton](https://balupton.com)
and licensed under:
<ul><li><a href="http://spdx.org/licenses/Artistic-2.0.html">Artistic License 2.0</a></li></ul>
- [Artistic License 2.0](http://spdx.org/licenses/Artistic-2.0.html)
<h2>The Artistic License 2.0</h2>
## The Artistic License 2.0

@@ -15,0 +15,0 @@ <pre>

{
"title": "Sort Object",
"name": "sortobject",
"version": "5.4.0",
"version": "5.5.0-next.1703683280.5efa43e69a53bec7548931d40ee2f6bd8adfb24b",
"license": "Artistic-2.0",
"description": "Returns a copy of an object, sorted deeply by its keys, without mangling any arrays inside of it",
"homepage": "https://github.com/bevry/sortobject",
"license": "Artistic-2.0",
"funding": "https://bevry.me/fund",
"repository": {
"type": "git",
"url": "https://github.com/bevry/sortobject.git"
},
"bugs": {
"url": "https://github.com/bevry/sortobject/issues"
},
"keywords": [

@@ -68,23 +76,44 @@ "array",

},
"funding": "https://bevry.me/fund",
"author": "2012+ Bevry Pty Ltd <us@bevry.me> (http://bevry.me)",
"sponsors": [
"GoVests <oren@govests.com.au> (https://www.govests.com.au)"
"author": "Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton)",
"authors": [
"Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Accelerating collaborative wisdom."
],
"maintainers": [
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)"
"Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton): Accelerating collaborative wisdom."
],
"contributors": [
"Benjamin Lupton <b@lupton.cc> (https://github.com/balupton)",
"James Newell (http://jameslnewell.me/)",
"James Newell (https://github.com/jameslnewell)",
"Serge Havas <sinewyk@gmail.com> (https://github.com/Sinewyk)"
"Benjamin Lupton <b@lupton.cc> (https://balupton.com) (https://github.com/balupton)",
"James Newell (https://jameslnewell.me/)",
"James Newell (https://jameslnewell.dev/) (https://github.com/jameslnewell)",
"Serge Havas <sinewyk@gmail.com> (https://sinewyk.com) (https://github.com/Sinewyk)"
],
"bugs": {
"url": "https://github.com/bevry/sortobject/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/bevry/sortobject.git"
},
"funders": [
"GoVests <oren@govests.com.au> (https://www.govests.com.au)"
],
"sponsors": [
"Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew): Software engineer and researcher",
"Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa): We're Balsa, and we're building tools for builders.",
"Codecov <hello-codecov@sentry.io> (https://codecov.io/) (https://github.com/codecov): Empower developers with tools to improve code quality and testing.",
"Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)",
"Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)",
"Sentry (https://sentry.io) (https://github.com/getsentry): Real-time crash reporting for your web apps, mobile apps, and games.",
"Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm): Syntax Podcast"
],
"donors": [
"Andrew Nesbitt (https://nesbitt.io) (https://github.com/andrew)",
"Balsa <hello@balsa.com> (https://balsa.com) (https://github.com/balsa)",
"Chad (https://opencollective.com/chad8)",
"Codecov <hello-codecov@sentry.io> (https://codecov.io/) (https://github.com/codecov)",
"entroniq (https://gitlab.com/entroniq) (https://thanks.dev/d/gl/entroniq)",
"GoVests <oren@govests.com.au> (https://www.govests.com.au)",
"Jean-Luc Geering (https://github.com/jlgeering) (https://opencollective.com/jlgeering) (https://twitter.com/jlgeering)",
"Michael Duane Mooring (https://bevry.me) (https://github.com/mikeumus) (https://opencollective.com/mikeumus) (https://twitter.com/mikeumus)",
"Mohammed Shah <shah@idk.uno> (https://github.com/smashah) (https://thanks.dev/d/gh/smashah) (https://twitter.com/smashah)",
"Poonacha Medappa (https://poonachamedappa.com) (https://github.com/km-Poonacha)",
"Rob Morris <rob@prismatik.com.au> (https://github.com/Rob-Morris)",
"Sentry (https://sentry.io) (https://github.com/getsentry)",
"ServieJS (https://github.com/serviejs) (https://thanks.dev/d/gh/serviejs)",
"Skunk Team (https://skunk.team) (https://github.com/skunkteam)",
"Syntax <scott@syntax.fm> (https://syntax.fm) (https://github.com/syntaxfm)"
],
"engines": {

@@ -120,3 +149,3 @@ "node": ">=4"

{
"description": "TypeScript compiled against ES2022 for Node.js 21 with Require for modules",
"description": "TypeScript compiled against ES2022 for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules",
"directory": "edition-es2022",

@@ -136,3 +165,3 @@ "entry": "index.js",

{
"description": "TypeScript compiled against ES2022 for Node.js 21 with Import for modules",
"description": "TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules",
"directory": "edition-es2022-esm",

@@ -195,19 +224,18 @@ "entry": "index.js",

"devDependencies": {
"@bevry/update-contributors": "^1.23.0",
"@types/node": "^20.10.3",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"assert-helpers": "^11.9.0",
"eslint": "^8.55.0",
"eslint-config-bevry": "^5.2.0",
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"assert-helpers": "^11.11.0",
"eslint": "^8.56.0",
"eslint-config-bevry": "^5.3.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-prettier": "^5.0.1",
"kava": "^7.5.0",
"make-deno-edition": "^2.0.1",
"prettier": "^3.1.0",
"projectz": "^3.4.0",
"eslint-plugin-prettier": "^5.1.2",
"kava": "^7.6.0",
"make-deno-edition": "^2.1.0",
"prettier": "^3.1.1",
"projectz": "^4.0.0",
"typedoc": "^0.25.4",
"typescript": "5.3.2",
"valid-directory": "^4.6.0",
"typescript": "5.3.3",
"valid-directory": "^4.7.0",
"valid-module": "^2.6.0"

@@ -224,7 +252,6 @@ },

"our:deploy": "printf '%s\n' 'no need for this project'",
"our:meta": "npm run our:meta:contributors && npm run our:meta:docs && npm run our:meta:projectz",
"our:meta:contributors": "update-contributors",
"our:meta": "npm run our:meta:docs && npm run our:meta:projectz",
"our:meta:docs": "npm run our:meta:docs:typedoc",
"our:meta:docs:typedoc": "rm -rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source",
"our:meta:projectz": "projectz compile",
"our:meta:projectz": "projectz",
"our:release": "npm run our:release:prepare && npm run our:release:check-changelog && npm run our:release:check-dirty && npm run our:release:tag && npm run our:release:push",

@@ -239,4 +266,3 @@ "our:release:check-changelog": "cat ./HISTORY.md | grep \"v$npm_package_version\" || (printf '%s\n' \"add a changelog entry for v$npm_package_version\" && exit -1)",

"our:test": "npm run our:verify && npm test",
"our:verify": "npm run our:verify:directory && npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier",
"our:verify:directory": "valid-directory",
"our:verify": "npm run our:verify:eslint && npm run our:verify:module && npm run our:verify:prettier",
"our:verify:eslint": "eslint --fix --ignore-pattern '**/*.d.ts' --ignore-pattern '**/vendor/' --ignore-pattern '**/node_modules/' --ext .mjs,.js,.jsx,.ts,.tsx ./source",

@@ -258,2 +284,2 @@ "our:verify:module": "valid-module",

}
}
}
<!-- TITLE/ -->
<h1>Sort Object</h1>
# Sort Object
<!-- /TITLE -->
<!-- BADGES/ -->

@@ -28,3 +27,2 @@

<!-- DESCRIPTION/ -->

@@ -96,92 +94,82 @@

<h2>Install</h2>
## Install
<a href="https://npmjs.com" title="npm is a package manager for javascript"><h3>npm</h3></a>
<ul>
<li>Install: <code>npm install --save sortobject</code></li>
<li>Import: <code>import pkg from ('sortobject')</code></li>
<li>Require: <code>const pkg = require('sortobject').default</code></li>
</ul>
### [npm](https://npmjs.com "npm is a package manager for javascript")
<a href="https://deno.land" title="Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js"><h3>Deno</h3></a>
- Install: `npm install --save sortobject`
- Import: `import pkg from ('sortobject')`
- Require: `const pkg = require('sortobject').default`
### [Deno](https://deno.land "Deno is a secure runtime for JavaScript and TypeScript, it is an alternative for Node.js")
``` typescript
import pkg from 'https://unpkg.com/sortobject@^5.4.0/edition-deno/index.ts'
import pkg from 'https://unpkg.com/sortobject@^5.5.0/edition-deno/index.ts'
```
### [Skypack](https://www.skypack.dev "Skypack is a JavaScript Delivery Network for modern web apps")
<a href="https://www.skypack.dev" title="Skypack is a JavaScript Delivery Network for modern web apps"><h3>Skypack</h3></a>
``` html
<script type="module">
import pkg from '//cdn.skypack.dev/sortobject@^5.4.0'
import pkg from '//cdn.skypack.dev/sortobject@^5.5.0'
</script>
```
### [unpkg](https://unpkg.com "unpkg is a fast, global content delivery network for everything on npm")
<a href="https://unpkg.com" title="unpkg is a fast, global content delivery network for everything on npm"><h3>unpkg</h3></a>
``` html
<script type="module">
import pkg from '//unpkg.com/sortobject@^5.4.0'
import pkg from '//unpkg.com/sortobject@^5.5.0'
</script>
```
### [jspm](https://jspm.io "Native ES Modules CDN")
<a href="https://jspm.io" title="Native ES Modules CDN"><h3>jspm</h3></a>
``` html
<script type="module">
import pkg from '//dev.jspm.io/sortobject@5.4.0'
import pkg from '//dev.jspm.io/sortobject@5.5.0'
</script>
```
### [Editions](https://editions.bevry.me "Editions are the best way to produce and consume packages you care about.")
<h3><a href="https://editions.bevry.me" title="Editions are the best way to produce and consume packages you care about.">Editions</a></h3>
This package is published with the following editions:
- `sortobject/source/index.ts` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") source code with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules
- `sortobject/edition-browsers/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 "ECMAScript 2022") for web browsers with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules
- `sortobject` aliases `sortobject/edition-es2022/index.js`
- `sortobject/edition-es2022/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 "ECMAScript 2022") for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with [Require](https://nodejs.org/dist/latest-v5.x/docs/api/modules.html "Node/CJS Modules") for modules
- `sortobject/edition-es2022-esm/index.js` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled against [ES2022](https://en.wikipedia.org/wiki/ES2022 "ECMAScript 2022") for [Node.js](https://nodejs.org "Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine") 12 || 14 || 16 || 18 || 20 || 21 with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules
- `sortobject/edition-types/index.d.ts` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") compiled Types with [Import](https://babeljs.io/docs/learn-es2015/#modules "ECMAScript Modules") for modules
- `sortobject/edition-deno/index.ts` is [TypeScript](https://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.") source code made to be compatible with [Deno](https://deno.land "Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js")
<p>This package is published with the following editions:</p>
<ul><li><code>sortobject/source/index.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> source code with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>
<li><code>sortobject/edition-browsers/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for web browsers with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>
<li><code>sortobject</code> aliases <code>sortobject/edition-es2022/index.js</code></li>
<li><code>sortobject/edition-es2022/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 21 with <a href="https://nodejs.org/dist/latest-v5.x/docs/api/modules.html" title="Node/CJS Modules">Require</a> for modules</li>
<li><code>sortobject/edition-es2022-esm/index.js</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled against ES2022 for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 21 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>
<li><code>sortobject/edition-types/index.d.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> compiled Types with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li>
<li><code>sortobject/edition-deno/index.ts</code> is <a href="https://www.typescriptlang.org/" title="TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. ">TypeScript</a> source code made to be compatible with <a href="https://deno.land" title="Deno is a secure runtime for JavaScript and TypeScript, it is an alternative to Node.js">Deno</a></li></ul>
<!-- /INSTALL -->
<!-- HISTORY/ -->
<h2>History</h2>
## History
<a href="https://github.com/bevry/sortobject/blob/master/HISTORY.md#files">Discover the release history by heading on over to the <code>HISTORY.md</code> file.</a>
[Discover the release history by heading on over to the `HISTORY.md` file.](https://github.com/bevry/sortobject/blob/HEAD/HISTORY.md#files)
<!-- /HISTORY -->
<!-- BACKERS/ -->
<!-- CONTRIBUTE/ -->
## Backers
<h2>Contribute</h2>
### Code
<a href="https://github.com/bevry/sortobject/blob/master/CONTRIBUTING.md#files">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>
[Discover how to contribute via the `CONTRIBUTING.md` file.](https://github.com/bevry/sortobject/blob/HEAD/CONTRIBUTING.md#files)
<!-- /CONTRIBUTE -->
#### Authors
- [Benjamin Lupton](https://balupton.com) — Accelerating collaborative wisdom.
<!-- BACKERS/ -->
#### Maintainers
<h2>Backers</h2>
- [Benjamin Lupton](https://github.com/balupton) — Accelerating collaborative wisdom.
<h3>Maintainers</h3>
#### Contributors
These amazing people are maintaining this project:
- [Benjamin Lupton](https://github.com/balupton) — [view contributions](https://github.com/bevry/sortobject/commits?author=balupton "View the GitHub contributions of Benjamin Lupton on repository bevry/sortobject")
- [James Newell](https://jameslnewell.me/)
- [James Newell](https://github.com/jameslnewell) — [view contributions](https://github.com/bevry/sortobject/commits?author=jameslnewell "View the GitHub contributions of James Newell on repository bevry/sortobject")
- [Serge Havas](https://github.com/Sinewyk) — [view contributions](https://github.com/bevry/sortobject/commits?author=Sinewyk "View the GitHub contributions of Serge Havas on repository bevry/sortobject")
<ul><li><a href="https://github.com/balupton">Benjamin Lupton</a> — <a href="https://github.com/bevry/sortobject/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/sortobject">view contributions</a></li></ul>
### Finances
<h3>Sponsors</h3>
These amazing people have contributed finances to this project:
<ul><li><a href="https://www.govests.com.au">GoVests</a></li></ul>
Become a sponsor!
<span class="badge-githubsponsors"><a href="https://github.com/sponsors/balupton" title="Donate to this project using GitHub Sponsors"><img src="https://img.shields.io/badge/github-donate-yellow.svg" alt="GitHub Sponsors donate button" /></a></span>

@@ -196,28 +184,48 @@ <span class="badge-thanksdev"><a href="https://thanks.dev/u/gh/bevry" title="Donate to this project using ThanksDev"><img src="https://img.shields.io/badge/thanksdev-donate-yellow.svg" alt="ThanksDev donate button" /></a></span>

<h3>Contributors</h3>
#### Funders
These amazing people have contributed code to this project:
- [GoVests](https://www.govests.com.au)
<ul><li><a href="https://github.com/balupton">Benjamin Lupton</a> — <a href="https://github.com/bevry/sortobject/commits?author=balupton" title="View the GitHub contributions of Benjamin Lupton on repository bevry/sortobject">view contributions</a></li>
<li><a href="http://jameslnewell.me/">James Newell</a></li>
<li><a href="https://github.com/jameslnewell">James Newell</a> — <a href="https://github.com/bevry/sortobject/commits?author=jameslnewell" title="View the GitHub contributions of James Newell on repository bevry/sortobject">view contributions</a></li>
<li><a href="https://github.com/Sinewyk">Serge Havas</a> — <a href="https://github.com/bevry/sortobject/commits?author=Sinewyk" title="View the GitHub contributions of Serge Havas on repository bevry/sortobject">view contributions</a></li></ul>
#### Sponsors
<a href="https://github.com/bevry/sortobject/blob/master/CONTRIBUTING.md#files">Discover how you can contribute by heading on over to the <code>CONTRIBUTING.md</code> file.</a>
- [Andrew Nesbitt](https://nesbitt.io) — Software engineer and researcher
- [Balsa](https://balsa.com) — We're Balsa, and we're building tools for builders.
- [Codecov](https://codecov.io/) — Empower developers with tools to improve code quality and testing.
- [Poonacha Medappa](https://poonachamedappa.com)
- [Rob Morris](https://github.com/Rob-Morris)
- [Sentry](https://sentry.io) — Real-time crash reporting for your web apps, mobile apps, and games.
- [Syntax](https://syntax.fm) — Syntax Podcast
#### Donors
- [Andrew Nesbitt](https://nesbitt.io)
- [Balsa](https://balsa.com)
- [Chad](https://opencollective.com/chad8)
- [Codecov](https://codecov.io/)
- [entroniq](https://gitlab.com/entroniq)
- [GoVests](https://www.govests.com.au)
- [Jean-Luc Geering](https://github.com/jlgeering)
- [Michael Duane Mooring](https://bevry.me)
- [Mohammed Shah](https://github.com/smashah)
- [Poonacha Medappa](https://poonachamedappa.com)
- [Rob Morris](https://github.com/Rob-Morris)
- [Sentry](https://sentry.io)
- [ServieJS](https://github.com/serviejs)
- [Skunk Team](https://skunk.team)
- [Syntax](https://syntax.fm)
<!-- /BACKERS -->
<!-- LICENSE/ -->
<h2>License</h2>
## License
Unless stated otherwise all works are:
<ul><li>Copyright &copy; 2012+ <a href="http://bevry.me">Bevry Pty Ltd</a></li></ul>
- Copyright &copy; [Benjamin Lupton](https://balupton.com)
and licensed under:
<ul><li><a href="http://spdx.org/licenses/Artistic-2.0.html">Artistic License 2.0</a></li></ul>
- [Artistic License 2.0](http://spdx.org/licenses/Artistic-2.0.html)
<!-- /LICENSE -->
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