From 2704b11b6a840d16b8cfbb859a443e994f8afdf4 Mon Sep 17 00:00:00 2001 From: Benjamin Lupton Date: Mon, 13 Nov 2023 04:20:16 +0800 Subject: [PATCH] v11.0.0 - boundation, changelog, version bump --- HISTORY.md | 5 +++++ README.md | 7 +++--- package-lock.json | 54 +++++++++++++++++++++++------------------------ package.json | 27 +++++++++++++++++++----- 4 files changed, 58 insertions(+), 35 deletions(-) diff --git a/HISTORY.md b/HISTORY.md index 5062034..f1216d3 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,10 @@ # History +## v11.0.0 2023 November 13 + +- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation) +- Minimum required Node.js version changed from `node: >=6` to `node: >=4` adapting to ecosystem changes + ## v10.2.0 2023 November 13 - Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation) diff --git a/README.md b/README.md index efd1a8d..d8f355f 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ Common utilities and helpers to make testing assertions easier ``` html ``` @@ -59,7 +59,7 @@ Common utilities and helpers to make testing assertions easier ``` html ``` @@ -67,7 +67,7 @@ Common utilities and helpers to make testing assertions easier ``` html ``` @@ -81,6 +81,7 @@ Common utilities and helpers to make testing assertions easier
  • assert-helpers/edition-es2022/index.js is TypeScript compiled against ES2022 for Node.js 14 || 16 || 18 || 20 || 21 with Require for modules
  • assert-helpers/edition-es2019/index.js is TypeScript compiled against ES2019 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules
  • assert-helpers/edition-es2017/index.js is TypeScript compiled against ES2017 for Node.js 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules
  • +
  • assert-helpers/edition-es5/index.js is TypeScript compiled against ES5 for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules
  • assert-helpers/edition-es2019-esm/index.js is TypeScript compiled against ES2019 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules
  • diff --git a/package-lock.json b/package-lock.json index 28cdaa1..7927abb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,17 +1,17 @@ { "name": "assert-helpers", - "version": "10.2.0", + "version": "11.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "assert-helpers", - "version": "10.2.0", + "version": "11.0.0", "license": "Artistic-2.0", "dependencies": { - "@bevry/ansi": "^5.0.0", + "@bevry/ansi": "2.1.0", "editions": "^6.9.0", - "errlop": "^5.0.0" + "errlop": "4.6.0" }, "devDependencies": { "@bevry/update-contributors": "^1.23.0", @@ -49,11 +49,11 @@ } }, "node_modules/@bevry/ansi": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@bevry/ansi/-/ansi-5.0.0.tgz", - "integrity": "sha512-976NJyZrxnkdFGLcRo35ra38ws6wyjm8+5eq66aHV+THfUZ0cCgHS7ovPhzJ7na0LztI5rXkKymTNxlwjY5u1g==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@bevry/ansi/-/ansi-2.1.0.tgz", + "integrity": "sha512-jkTQzUdapAkusrgZUAOS2vBoUO5Taz+8hzaOrzj7e7XlUDfUZtygS6K8Ou0xkdb59OSL2IAnO6FEx4rTRAPSnQ==", "engines": { - "node": ">=6" + "node": ">=4" }, "funding": { "url": "https://bevry.me/fund" @@ -157,6 +157,18 @@ "url": "https://bevry.me/fund" } }, + "node_modules/@bevry/json/node_modules/errlop": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/errlop/-/errlop-5.0.0.tgz", + "integrity": "sha512-2fCmpAa26GJq1FEYoKPAzYqFpGj3FpKscYulxO7GbZoodRS0t4/8X6qmVt+kkkWg4OmaeaJTH5rkVTUiasuXBA==", + "dev": true, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://bevry.me/fund" + } + }, "node_modules/@bevry/list": { "version": "1.8.0", "resolved": "https://registry.npmjs.org/@bevry/list/-/list-1.8.0.tgz", @@ -777,9 +789,9 @@ "dev": true }, "node_modules/badges": { - "version": "4.30.0", - "resolved": "https://registry.npmjs.org/badges/-/badges-4.30.0.tgz", - "integrity": "sha512-3pR22FsshWWSGevL16EVEvv5fquJYWAIT7lpmf4hcM5ksN3amfxiXuaxgbUWBO256d1rs+fuT1H+GtYL5O+1dg==", + "version": "4.31.0", + "resolved": "https://registry.npmjs.org/badges/-/badges-4.31.0.tgz", + "integrity": "sha512-hmys0FJnqIQBJ3UlZSY8jNohZJoFp/dTsAcmB8+CFAZhKxSlhosbkRnKUmZnvHA1Sx29G+f1dMLvPLmn6JV/Xg==", "dev": true, "engines": { "node": ">=10" @@ -1248,11 +1260,11 @@ } }, "node_modules/errlop": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/errlop/-/errlop-5.0.0.tgz", - "integrity": "sha512-2fCmpAa26GJq1FEYoKPAzYqFpGj3FpKscYulxO7GbZoodRS0t4/8X6qmVt+kkkWg4OmaeaJTH5rkVTUiasuXBA==", + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/errlop/-/errlop-4.6.0.tgz", + "integrity": "sha512-9a1m+bGJeZiCQHZmXwjdpmiSXfOVbp6g/BvLFeJ4Xx2Iu/3ReWGdG5+z4ZPE+F1JU66S+CY9dp4Bm7vw0l3LGA==", "engines": { - "node": ">=8" + "node": ">=4" }, "funding": { "url": "https://bevry.me/fund" @@ -4297,18 +4309,6 @@ "url": "https://bevry.me/fund" } }, - "node_modules/valid-module/node_modules/errlop": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/errlop/-/errlop-4.6.0.tgz", - "integrity": "sha512-9a1m+bGJeZiCQHZmXwjdpmiSXfOVbp6g/BvLFeJ4Xx2Iu/3ReWGdG5+z4ZPE+F1JU66S+CY9dp4Bm7vw0l3LGA==", - "dev": true, - "engines": { - "node": ">=4" - }, - "funding": { - "url": "https://bevry.me/fund" - } - }, "node_modules/verror": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", diff --git a/package.json b/package.json index 4f4cc26..f4ef875 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "title": "Assert Helpers", "name": "assert-helpers", - "version": "10.2.0", + "version": "11.0.0", "description": "Common utilities and helpers to make testing assertions easier", "homepage": "https://github.com/bevry/assert-helpers", "license": "Artistic-2.0", @@ -11,6 +11,7 @@ "es2017", "es2019", "es2022", + "es5", "expect", "module", "node", @@ -74,7 +75,7 @@ "url": "https://github.com/bevry/assert-helpers.git" }, "engines": { - "node": ">=6" + "node": ">=4" }, "editions": [ { @@ -147,6 +148,21 @@ "browsers": false } }, + { + "description": "TypeScript compiled against ES5 for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules", + "directory": "edition-es5", + "entry": "index.js", + "tags": [ + "compiled", + "javascript", + "es5", + "require" + ], + "engines": { + "node": "4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21", + "browsers": false + } + }, { "description": "TypeScript compiled against ES2019 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules", "directory": "edition-es2019-esm", @@ -179,9 +195,9 @@ "browser": "edition-browsers/index.js", "module": "edition-browsers/index.js", "dependencies": { - "@bevry/ansi": "^5.0.0", + "@bevry/ansi": "2.1.0", "editions": "^6.9.0", - "errlop": "^5.0.0" + "errlop": "4.6.0" }, "devDependencies": { "@bevry/update-contributors": "^1.23.0", @@ -204,12 +220,13 @@ }, "scripts": { "our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next", - "our:compile": "npm run our:compile:edition-browsers && npm run our:compile:edition-es2017 && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:edition-es2022 && npm run our:compile:types", + "our:compile": "npm run our:compile:edition-browsers && npm run our:compile:edition-es2017 && npm run our:compile:edition-es2019 && npm run our:compile:edition-es2019-esm && npm run our:compile:edition-es2022 && npm run our:compile:edition-es5 && npm run our:compile:types", "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-es2019": "tsc --module commonjs --target ES2019 --outDir ./edition-es2019 --project tsconfig.json && ( test ! -d edition-es2019/source || ( mv edition-es2019/source edition-temp && rm -Rf edition-es2019 && mv edition-temp edition-es2019 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2019/package.json", "our:compile:edition-es2019-esm": "tsc --module ESNext --target ES2019 --outDir ./edition-es2019-esm --project tsconfig.json && ( test ! -d edition-es2019-esm/source || ( mv edition-es2019-esm/source edition-temp && rm -Rf edition-es2019-esm && mv edition-temp edition-es2019-esm ) ) && printf '%s' '{\"type\": \"module\"}' > edition-es2019-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-es5": "tsc --module commonjs --target ES5 --outDir ./edition-es5 --project tsconfig.json && ( test ! -d edition-es5/source || ( mv edition-es5/source edition-temp && rm -Rf edition-es5 && mv edition-temp edition-es5 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es5/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 ) )", "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",