arrangekeys
Advanced tools
Comparing version 4.25.0 to 4.26.0-next.1699019802.60d0b0955e3822aee3220fc18f4be7a57ece7bc8
{ | ||
"title": "Arrange Keys", | ||
"name": "arrangekeys", | ||
"version": "4.25.0", | ||
"version": "4.26.0-next.1699019802.60d0b0955e3822aee3220fc18f4be7a57ece7bc8", | ||
"description": "Returns a copy of a JavaScript object with the keys arranged in a specified order. Useful for formatting JSON files.", | ||
@@ -10,3 +10,7 @@ "homepage": "https://github.com/bevry/arrangekeys", | ||
"browser", | ||
"es2017", | ||
"deno", | ||
"deno-edition", | ||
"deno-entry", | ||
"denoland", | ||
"es2022", | ||
"export-default", | ||
@@ -101,4 +105,4 @@ "keys", | ||
{ | ||
"description": "TypeScript compiled against ES2017 for Node.js with Require for modules", | ||
"directory": "edition-es2017", | ||
"description": "TypeScript compiled against ES2022 for Node.js 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules", | ||
"directory": "edition-es2022", | ||
"entry": "index.js", | ||
@@ -108,3 +112,3 @@ "tags": [ | ||
"javascript", | ||
"es2017", | ||
"es2022", | ||
"require" | ||
@@ -118,4 +122,4 @@ ], | ||
{ | ||
"description": "TypeScript compiled against ES2017 for Node.js with Import for modules", | ||
"directory": "edition-es2017-esm", | ||
"description": "TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules", | ||
"directory": "edition-es2022-esm", | ||
"entry": "index.js", | ||
@@ -125,3 +129,3 @@ "tags": [ | ||
"javascript", | ||
"es2017", | ||
"es2022", | ||
"import" | ||
@@ -133,2 +137,16 @@ ], | ||
} | ||
}, | ||
{ | ||
"description": "TypeScript source code made to be compatible with Deno", | ||
"directory": "edition-deno", | ||
"entry": "index.ts", | ||
"tags": [ | ||
"typescript", | ||
"import", | ||
"deno" | ||
], | ||
"engines": { | ||
"deno": true, | ||
"browsers": true | ||
} | ||
} | ||
@@ -138,7 +156,7 @@ ], | ||
"type": "module", | ||
"main": "edition-es2017/index.js", | ||
"main": "edition-es2022/index.js", | ||
"exports": { | ||
"node": { | ||
"import": "./edition-es2017-esm/index.js", | ||
"require": "./edition-es2017/index.js" | ||
"import": "./edition-es2022-esm/index.js", | ||
"require": "./edition-es2022/index.js" | ||
}, | ||
@@ -149,6 +167,7 @@ "browser": { | ||
}, | ||
"deno": "edition-deno/index.ts", | ||
"browser": "edition-browsers/index.js", | ||
"module": "edition-browsers/index.js", | ||
"devDependencies": { | ||
"@bevry/update-contributors": "^1.22.0", | ||
"@bevry/update-contributors": "^1.23.0", | ||
"@types/node": "^20.8.10", | ||
@@ -159,7 +178,7 @@ "@typescript-eslint/eslint-plugin": "^6.9.1", | ||
"eslint": "^8.52.0", | ||
"eslint-config-bevry": "^3.27.0", | ||
"eslint-config-bevry": "^3.28.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
"eslint-plugin-babel": "^5.3.1", | ||
"eslint-plugin-prettier": "^5.0.1", | ||
"kava": "^5.15.0", | ||
"kava": "^5.17.0", | ||
"make-deno-edition": "^1.3.0", | ||
@@ -171,12 +190,12 @@ "prettier": "^3.0.3", | ||
"typescript": "5.2.2", | ||
"valid-directory": "^4.0.0", | ||
"valid-module": "^1.17.0" | ||
"valid-directory": "^4.1.0", | ||
"valid-module": "^2.1.0" | ||
}, | ||
"scripts": { | ||
"our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next", | ||
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2017 && npm run our:compile:edition-es2017-esm && npm run our:compile:types", | ||
"our:compile": "npm run our:compile:deno && npm run our:compile:edition-browsers && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:types", | ||
"our:compile:deno": "make-deno-edition --attempt", | ||
"our:compile:edition-browsers": "tsc --module ESNext --target ES2022 --outDir ./edition-browsers --project tsconfig.json && ( test ! -d edition-browsers/source || ( mv edition-browsers/source edition-temp && rm -Rf edition-browsers && mv edition-temp edition-browsers ) )", | ||
"our:compile:edition-es2017": "tsc --module commonjs --target ES2017 --outDir ./edition-es2017 --project tsconfig.json && ( test ! -d edition-es2017/source || ( mv edition-es2017/source edition-temp && rm -Rf edition-es2017 && mv edition-temp edition-es2017 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2017/package.json", | ||
"our:compile:edition-es2017-esm": "tsc --module ESNext --target ES2017 --outDir ./edition-es2017-esm --project tsconfig.json && ( test ! -d edition-es2017-esm/source || ( mv edition-es2017-esm/source edition-temp && rm -Rf edition-es2017-esm && mv edition-temp edition-es2017-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2017-esm/package.json", | ||
"our:compile:edition-es2022": "tsc --module commonjs --target ES2022 --outDir ./edition-es2022 --project tsconfig.json && ( test ! -d edition-es2022/source || ( mv edition-es2022/source edition-temp && rm -Rf edition-es2022 && mv edition-temp edition-es2022 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2022/package.json", | ||
"our:compile:edition-es2022-esm": "tsc --module ESNext --target ES2022 --outDir ./edition-es2022-esm --project tsconfig.json && ( test ! -d edition-es2022-esm/source || ( mv edition-es2022-esm/source edition-temp && rm -Rf edition-es2022-esm && mv edition-temp edition-es2022-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2022-esm/package.json", | ||
"our:compile:types": "tsc --project tsconfig.json --emitDeclarationOnly --declaration --declarationMap --declarationDir ./compiled-types && ( test ! -d compiled-types/source || ( mv compiled-types/source edition-temp && rm -Rf compiled-types && mv edition-temp compiled-types ) )", | ||
@@ -203,3 +222,3 @@ "our:deploy": "printf '%s\n' 'no need for this project'", | ||
"our:verify:prettier": "prettier --write .", | ||
"test": "node ./edition-es2017/test.js" | ||
"test": "node ./edition-es2022/test.js" | ||
}, | ||
@@ -215,2 +234,2 @@ "eslintConfig": { | ||
} | ||
} | ||
} |
@@ -106,2 +106,8 @@ <!-- TITLE/ --> | ||
<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> | ||
``` typescript | ||
import pkg from 'https://unpkg.com/arrangekeys@^4.26.0/edition-deno/index.ts' | ||
``` | ||
<a href="https://www.skypack.dev" title="Skypack is a JavaScript Delivery Network for modern web apps"><h3>Skypack</h3></a> | ||
@@ -111,3 +117,3 @@ | ||
<script type="module"> | ||
import pkg from '//cdn.skypack.dev/arrangekeys@^4.25.0' | ||
import pkg from '//cdn.skypack.dev/arrangekeys@^4.26.0' | ||
</script> | ||
@@ -120,3 +126,3 @@ ``` | ||
<script type="module"> | ||
import pkg from '//unpkg.com/arrangekeys@^4.25.0' | ||
import pkg from '//unpkg.com/arrangekeys@^4.26.0' | ||
</script> | ||
@@ -129,3 +135,3 @@ ``` | ||
<script type="module"> | ||
import pkg from '//dev.jspm.io/arrangekeys@4.25.0' | ||
import pkg from '//dev.jspm.io/arrangekeys@4.26.0' | ||
</script> | ||
@@ -140,5 +146,6 @@ ``` | ||
<li><code>arrangekeys/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>arrangekeys</code> aliases <code>arrangekeys/edition-es2017/index.js</code></li> | ||
<li><code>arrangekeys/edition-es2017/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 <a href="https://en.wikipedia.org/wiki/ECMAScript#8th_Edition_-_ECMAScript_2017" title="ECMAScript ES2017">ES2017</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> 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-es2017-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 <a href="https://en.wikipedia.org/wiki/ECMAScript#8th_Edition_-_ECMAScript_2017" title="ECMAScript ES2017">ES2017</a> for <a href="https://nodejs.org" title="Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine">Node.js</a> with <a href="https://babeljs.io/docs/learn-es2015/#modules" title="ECMAScript Modules">Import</a> for modules</li></ul> | ||
<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> 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> | ||
<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> | ||
@@ -145,0 +152,0 @@ <!-- /INSTALL --> |
@@ -9,3 +9,3 @@ { | ||
"strict": true, | ||
"target": "ES2017", | ||
"target": "ES2022", | ||
"module": "ESNext" | ||
@@ -12,0 +12,0 @@ }, |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
37594
217
1