arrangekeys
Advanced tools
Comparing version 5.0.0 to 6.0.0
@@ -14,3 +14,3 @@ /** An indexable object */ | ||
keys?: string[] | string | false, | ||
sort?: boolean, | ||
sort?: boolean | ||
): T { | ||
@@ -17,0 +17,0 @@ // Prepare |
{ | ||
"title": "Arrange Keys", | ||
"name": "arrangekeys", | ||
"version": "5.0.0", | ||
"version": "6.0.0", | ||
"description": "Returns a copy of a JavaScript object with the keys arranged in a specified order. Useful for formatting JSON files.", | ||
@@ -75,3 +75,3 @@ "homepage": "https://github.com/bevry/arrangekeys", | ||
"engines": { | ||
"node": ">=6" | ||
"node": ">=4" | ||
}, | ||
@@ -105,3 +105,3 @@ "editions": [ | ||
{ | ||
"description": "TypeScript compiled against ES2022 for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 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", | ||
@@ -116,3 +116,3 @@ "entry": "index.js", | ||
"engines": { | ||
"node": "6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21", | ||
"node": "4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21", | ||
"browsers": false | ||
@@ -171,3 +171,3 @@ } | ||
"@typescript-eslint/parser": "^6.10.0", | ||
"assert-helpers": "^10.1.0", | ||
"assert-helpers": "^11.2.0", | ||
"eslint": "^8.53.0", | ||
@@ -178,5 +178,5 @@ "eslint-config-bevry": "^3.29.0", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"kava": "3.2.0", | ||
"kava": "^7.1.0", | ||
"make-deno-edition": "^1.3.0", | ||
"prettier": "^3.0.3", | ||
"prettier": "^3.1.0", | ||
"projectz": "^2.23.0", | ||
@@ -226,4 +226,5 @@ "surge": "^0.23.1", | ||
"semi": false, | ||
"singleQuote": true | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
} | ||
} |
@@ -51,4 +51,4 @@ <!-- TITLE/ --> | ||
}, | ||
'b c', | ||
), | ||
'b c' | ||
) | ||
) /* { | ||
@@ -71,4 +71,4 @@ b: 3, | ||
'b c', | ||
true, | ||
), | ||
true | ||
) | ||
) /* { | ||
@@ -88,3 +88,3 @@ b: 3, | ||
c: 4, | ||
}), | ||
}) | ||
) /* { | ||
@@ -112,3 +112,3 @@ a: 2, | ||
``` typescript | ||
import pkg from 'https://unpkg.com/arrangekeys@^5.0.0/edition-deno/index.ts' | ||
import pkg from 'https://unpkg.com/arrangekeys@^6.0.0/edition-deno/index.ts' | ||
``` | ||
@@ -120,3 +120,3 @@ | ||
<script type="module"> | ||
import pkg from '//cdn.skypack.dev/arrangekeys@^5.0.0' | ||
import pkg from '//cdn.skypack.dev/arrangekeys@^6.0.0' | ||
</script> | ||
@@ -129,3 +129,3 @@ ``` | ||
<script type="module"> | ||
import pkg from '//unpkg.com/arrangekeys@^5.0.0' | ||
import pkg from '//unpkg.com/arrangekeys@^6.0.0' | ||
</script> | ||
@@ -138,3 +138,3 @@ ``` | ||
<script type="module"> | ||
import pkg from '//dev.jspm.io/arrangekeys@5.0.0' | ||
import pkg from '//dev.jspm.io/arrangekeys@6.0.0' | ||
</script> | ||
@@ -150,3 +150,3 @@ ``` | ||
<li><code>arrangekeys</code> aliases <code>arrangekeys/edition-es2022/index.js</code></li> | ||
<li><code>arrangekeys/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> 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>arrangekeys/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>arrangekeys/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> | ||
@@ -153,0 +153,0 @@ <li><code>arrangekeys/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> |
@@ -14,3 +14,3 @@ /** An indexable object */ | ||
keys?: string[] | string | false, | ||
sort?: boolean, | ||
sort?: boolean | ||
): T { | ||
@@ -17,0 +17,0 @@ // Prepare |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37618