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.3.0 to 5.4.0-next.1701810174.2a2aec0a4da194f733bd4aa05c8858cef4bae7ea

4

edition-deno/index.ts

@@ -15,3 +15,3 @@ /** A typical comparator for sorting object keys */

subject: T,
comparator?: KeyComparator
comparator?: KeyComparator,
): T {

@@ -44,3 +44,3 @@ const result = []

subject: T,
comparator?: KeyComparator
comparator?: KeyComparator,
): T {

@@ -47,0 +47,0 @@ const result: IndexedObject = {} as T

{
"title": "Sort Object",
"name": "sortobject",
"version": "5.3.0",
"version": "5.4.0-next.1701810174.2a2aec0a4da194f733bd4aa05c8858cef4bae7ea",
"description": "Returns a copy of an object, sorted deeply by its keys, without mangling any arrays inside of it",

@@ -119,3 +119,3 @@ "homepage": "https://github.com/bevry/sortobject",

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

@@ -135,3 +135,3 @@ "entry": "index.js",

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

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

"@bevry/update-contributors": "^1.23.0",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"assert-helpers": "^11.6.0",
"eslint": "^8.54.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",
"eslint-config-prettier": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-prettier": "^5.0.1",
"kava": "^7.4.0",
"make-deno-edition": "^2.0.0",
"kava": "^7.5.0",
"make-deno-edition": "^2.0.1",
"prettier": "^3.1.0",
"projectz": "^3.4.0",
"surge": "^0.23.1",
"typedoc": "^0.25.3",
"typescript": "5.2.2",
"valid-directory": "^4.5.0",
"valid-module": "^2.5.0"
"typedoc": "^0.25.4",
"typescript": "5.3.2",
"valid-directory": "^4.6.0",
"valid-module": "^2.6.0"
},

@@ -253,4 +252,5 @@ "scripts": {

"singleQuote": true,
"trailingComma": "es5"
"trailingComma": "all",
"endOfLine": "lf"
}
}
}

@@ -107,3 +107,3 @@ <!-- TITLE/ -->

``` typescript
import pkg from 'https://unpkg.com/sortobject@^5.3.0/edition-deno/index.ts'
import pkg from 'https://unpkg.com/sortobject@^5.4.0/edition-deno/index.ts'
```

@@ -115,3 +115,3 @@

<script type="module">
import pkg from '//cdn.skypack.dev/sortobject@^5.3.0'
import pkg from '//cdn.skypack.dev/sortobject@^5.4.0'
</script>

@@ -124,3 +124,3 @@ ```

<script type="module">
import pkg from '//unpkg.com/sortobject@^5.3.0'
import pkg from '//unpkg.com/sortobject@^5.4.0'
</script>

@@ -133,3 +133,3 @@ ```

<script type="module">
import pkg from '//dev.jspm.io/sortobject@5.3.0'
import pkg from '//dev.jspm.io/sortobject@5.4.0'
</script>

@@ -145,4 +145,4 @@ ```

<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> 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 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> 12 || 14 || 16 || 18 || 20 || 21 with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</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>

@@ -149,0 +149,0 @@ <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>

@@ -15,3 +15,3 @@ /** A typical comparator for sorting object keys */

subject: T,
comparator?: KeyComparator
comparator?: KeyComparator,
): T {

@@ -44,3 +44,3 @@ const result = []

subject: T,
comparator?: KeyComparator
comparator?: KeyComparator,
): T {

@@ -47,0 +47,0 @@ const result: IndexedObject = {} as T

@@ -7,9 +7,8 @@ {

"maxNodeModuleJsDepth": 5,
"module": "ESNext",
"moduleResolution": "Node",
"strict": true,
"target": "ES2022",
"module": "ESNext",
"downlevelIteration": true
"target": "ES2022"
},
"include": ["source"]
}
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