diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml index 25f1258..ed1eba0 100644 --- a/.github/workflows/automerge.yml +++ b/.github/workflows/automerge.yml @@ -5,7 +5,7 @@ jobs: automerge: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - uses: ahmadnassri/action-dependabot-auto-merge@v2 with: github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_GITHUB_TOKEN }} diff --git a/.github/workflows/bevry.yml b/.github/workflows/bevry.yml index 7e354a8..910c56c 100644 --- a/.github/workflows/bevry.yml +++ b/.github/workflows/bevry.yml @@ -17,30 +17,42 @@ jobs: runs-on: ${{ matrix.os }} continue-on-error: ${{ contains('macos-latest windows-latest', matrix.os) }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install desired Node.js version - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: '20' + - name: Verify Node.js Versions + run: >- + printf '%s' 'node: ' && node --version && printf '%s' 'npm: ' && npm + --version && node -e 'console.log(process.versions)' - run: npm run our:setup - run: npm run our:compile - run: npm run our:verify - name: Install targeted Node.js if: ${{ matrix.node != 20 }} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node }} + - name: Verify Node.js Versions + run: >- + printf '%s' 'node: ' && node --version && printf '%s' 'npm: ' && npm + --version && node -e 'console.log(process.versions)' - run: npm test publish: if: ${{ github.event_name == 'push' }} needs: test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install desired Node.js version - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: '20' + - name: Verify Node.js Versions + run: >- + printf '%s' 'node: ' && node --version && printf '%s' 'npm: ' && npm + --version && node -e 'console.log(process.versions)' - run: npm run our:setup - run: npm run our:compile - run: npm run our:meta diff --git a/HISTORY.md b/HISTORY.md index 1fc9e94..76c3f8b 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,9 @@ # History +## v4.1.0 2023 November 2 + +- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation) + ## v4.0.0 2023 October 30 - API now returns all paths as the third argument diff --git a/README.md b/README.md index 2d65dd0..06dd1ee 100644 --- a/README.md +++ b/README.md @@ -97,9 +97,9 @@ To validate your packages before you publish them, you can do the following:

This package is published with the following editions:

+
  • valid-directory aliases valid-directory/edition-es2022/index.js
  • +
  • valid-directory/edition-es2022/index.js is TypeScript compiled against ES2022 for Node.js 18 || 20 || 21 with Require for modules
  • +
  • valid-directory/edition-es2022-esm/index.js is TypeScript compiled against ES2022 for Node.js 18 || 20 || 21 with Import for modules
  • diff --git a/bin.cjs b/bin.cjs index e21967b..8b5ca2f 100755 --- a/bin.cjs +++ b/bin.cjs @@ -1,4 +1,4 @@ #!/usr/bin/env node 'use strict' // auto-generated by boundation, do not update manually -module.exports = require('./edition-es2017/bin.js') +module.exports = require('./edition-es2022/bin.js') diff --git a/package-lock.json b/package-lock.json index 82f7f7d..793067b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "valid-directory", - "version": "4.0.0", + "version": "4.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "valid-directory", - "version": "4.0.0", + "version": "4.1.0", "license": "Artistic-2.0", "dependencies": { "@bevry/valid-filename": "^1.0.0", @@ -17,17 +17,16 @@ }, "devDependencies": { "@bevry/update-contributors": "^1.22.0", - "@types/node": "^20.8.9", - "@typescript-eslint/eslint-plugin": "^6.9.0", - "@typescript-eslint/parser": "^6.9.0", + "@types/node": "^20.8.10", + "@typescript-eslint/eslint-plugin": "^6.9.1", + "@typescript-eslint/parser": "^6.9.1", "assert-helpers": "^8.4.0", "eslint": "^8.52.0", - "eslint-config-bevry": "^3.27.0", + "eslint-config-bevry": "^3.28.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", - "filedirname": "^2.7.0", - "kava": "^5.15.0", - "make-deno-edition": "^1.3.0", + "filedirname": "^2.8.0", + "kava": "^5.17.0", "prettier": "^3.0.3", "projectz": "^2.23.0", "surge": "^0.23.1", @@ -66,9 +65,9 @@ } }, "node_modules/@bevry/file": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@bevry/file/-/file-1.2.0.tgz", - "integrity": "sha512-YuGkX6NlbwIXZpLvvNdQpNxk7s2KoTgK1kyGqDUBjsEvPRpm3bVqH+cusCaaSpeIz0VXDv4hSuNRVrkH6HIL+A==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@bevry/file/-/file-1.4.0.tgz", + "integrity": "sha512-ZqGPumBsQ4qDnPYqYCRZ4WlB9Q10nnWF36f9Mh8mCY07r4XdYT5cROSFuBmeCNqskgmdiQateaTGd6SHePSvtw==", "dev": true, "engines": { "node": ">=10" @@ -133,13 +132,14 @@ } }, "node_modules/@bevry/json": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@bevry/json/-/json-1.4.0.tgz", - "integrity": "sha512-0Z5m7IiXTuA1GiEBlsofvELILycQtiUfWe4arQMjmiXHPALgvg+3UxTRPBKoiJyOHAEio+8k6X7e6BGZz28OlQ==", + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@bevry/json/-/json-1.5.0.tgz", + "integrity": "sha512-MkpMS/bjshnvO5T0KFtbtzs2jazI61LUKppTyU9eLNtIH6HjQzPStoKFoMn9tLC1AdJPEsGKVCTIPopGTCQxug==", "dev": true, "dependencies": { - "@bevry/file": "^1.1.0", - "errlop": "^4.2.0" + "@bevry/file": "^1.4.0", + "editions": "^6.8.0", + "errlop": "^4.6.0" }, "engines": { "node": ">=10" @@ -149,9 +149,9 @@ } }, "node_modules/@bevry/list": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/@bevry/list/-/list-1.7.0.tgz", - "integrity": "sha512-8I6xz7pSmRDdSjZRjmpqy5KGopfmhbSKw7wy02bZ1TkkBbieha/nKoHwA7F0acKy0ms6+933AMjTjgpAT0uY4g==", + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/@bevry/list/-/list-1.8.0.tgz", + "integrity": "sha512-qkLuLrM+AO2XDX87pySdRX31qXeB0jDBEL0PfY+LJSV56QhfDS1PGrqkCz4Ux+/eq/PfiQ/2hQhNgOHGb2HvSw==", "dev": true, "engines": { "node": ">=10" @@ -355,47 +355,21 @@ "integrity": "sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==", "dev": true }, - "node_modules/@types/glob": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@types/glob/-/glob-8.1.0.tgz", - "integrity": "sha512-IO+MJPVhoqz+28h1qLAcBEH2+xHMK6MTyHJc7MTnnYb6wsoLR29POVGJ7LycmVXIqyy/4/2ShP5sUwTXuOwb/w==", - "dev": true, - "dependencies": { - "@types/minimatch": "^5.1.2", - "@types/node": "*" - } - }, "node_modules/@types/json-schema": { "version": "7.0.14", "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.14.tgz", "integrity": "sha512-U3PUjAudAdJBeC2pgN8uTIKgxrb4nlDF3SF0++EldXQvQBGkpFZMSnwQiIoDU77tv45VgNkl/L4ouD+rEomujw==", "dev": true }, - "node_modules/@types/minimatch": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz", - "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==", - "dev": true - }, "node_modules/@types/node": { - "version": "20.8.9", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.9.tgz", - "integrity": "sha512-UzykFsT3FhHb1h7yD4CA4YhBHq545JC0YnEz41xkipN88eKQtL6rSgocL5tbAP6Ola9Izm/Aw4Ora8He4x0BHg==", + "version": "20.8.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.10.tgz", + "integrity": "sha512-TlgT8JntpcbmKUFzjhsyhGfP2fsiz1Mv56im6enJ905xG1DAYesxJaeSbGqQmAw8OWPdhyJGhGSQGKRNJ45u9w==", "dev": true, "dependencies": { "undici-types": "~5.26.4" } }, - "node_modules/@types/rimraf": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/@types/rimraf/-/rimraf-3.0.2.tgz", - "integrity": "sha512-F3OznnSLAUxFrCEu/L5PY8+ny8DtcFRjx7fZZ9bycvXRi3KPTRS9HOitGZwvPg0juRhXFWIeKX58cnX5YqLohQ==", - "dev": true, - "dependencies": { - "@types/glob": "*", - "@types/node": "*" - } - }, "node_modules/@types/semver": { "version": "7.5.4", "resolved": "https://registry.npmjs.org/@types/semver/-/semver-7.5.4.tgz", @@ -403,16 +377,16 @@ "dev": true }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.9.0.tgz", - "integrity": "sha512-lgX7F0azQwRPB7t7WAyeHWVfW1YJ9NIgd9mvGhfQpRY56X6AVf8mwM8Wol+0z4liE7XX3QOt8MN1rUKCfSjRIA==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-6.9.1.tgz", + "integrity": "sha512-w0tiiRc9I4S5XSXXrMHOWgHgxbrBn1Ro+PmiYhSg2ZVdxrAJtQgzU5o2m1BfP6UOn7Vxcc6152vFjQfmZR4xEg==", "dev": true, "dependencies": { "@eslint-community/regexpp": "^4.5.1", - "@typescript-eslint/scope-manager": "6.9.0", - "@typescript-eslint/type-utils": "6.9.0", - "@typescript-eslint/utils": "6.9.0", - "@typescript-eslint/visitor-keys": "6.9.0", + "@typescript-eslint/scope-manager": "6.9.1", + "@typescript-eslint/type-utils": "6.9.1", + "@typescript-eslint/utils": "6.9.1", + "@typescript-eslint/visitor-keys": "6.9.1", "debug": "^4.3.4", "graphemer": "^1.4.0", "ignore": "^5.2.4", @@ -438,15 +412,15 @@ } }, "node_modules/@typescript-eslint/parser": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.9.0.tgz", - "integrity": "sha512-GZmjMh4AJ/5gaH4XF2eXA8tMnHWP+Pm1mjQR2QN4Iz+j/zO04b9TOvJYOX2sCNIQHtRStKTxRY1FX7LhpJT4Gw==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-6.9.1.tgz", + "integrity": "sha512-C7AK2wn43GSaCUZ9do6Ksgi2g3mwFkMO3Cis96kzmgudoVaKyt62yNzJOktP0HDLb/iO2O0n2lBOzJgr6Q/cyg==", "dev": true, "dependencies": { - "@typescript-eslint/scope-manager": "6.9.0", - "@typescript-eslint/types": "6.9.0", - "@typescript-eslint/typescript-estree": "6.9.0", - "@typescript-eslint/visitor-keys": "6.9.0", + "@typescript-eslint/scope-manager": "6.9.1", + "@typescript-eslint/types": "6.9.1", + "@typescript-eslint/typescript-estree": "6.9.1", + "@typescript-eslint/visitor-keys": "6.9.1", "debug": "^4.3.4" }, "engines": { @@ -466,13 +440,13 @@ } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.9.0.tgz", - "integrity": "sha512-1R8A9Mc39n4pCCz9o79qRO31HGNDvC7UhPhv26TovDsWPBDx+Sg3rOZdCELIA3ZmNoWAuxaMOT7aWtGRSYkQxw==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-6.9.1.tgz", + "integrity": "sha512-38IxvKB6NAne3g/+MyXMs2Cda/Sz+CEpmm+KLGEM8hx/CvnSRuw51i8ukfwB/B/sESdeTGet1NH1Wj7I0YXswg==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.9.0", - "@typescript-eslint/visitor-keys": "6.9.0" + "@typescript-eslint/types": "6.9.1", + "@typescript-eslint/visitor-keys": "6.9.1" }, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -483,13 +457,13 @@ } }, "node_modules/@typescript-eslint/type-utils": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.9.0.tgz", - "integrity": "sha512-XXeahmfbpuhVbhSOROIzJ+b13krFmgtc4GlEuu1WBT+RpyGPIA4Y/eGnXzjbDj5gZLzpAXO/sj+IF/x2GtTMjQ==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-6.9.1.tgz", + "integrity": "sha512-eh2oHaUKCK58qIeYp19F5V5TbpM52680sB4zNSz29VBQPTWIlE/hCj5P5B1AChxECe/fmZlspAWFuRniep1Skg==", "dev": true, "dependencies": { - "@typescript-eslint/typescript-estree": "6.9.0", - "@typescript-eslint/utils": "6.9.0", + "@typescript-eslint/typescript-estree": "6.9.1", + "@typescript-eslint/utils": "6.9.1", "debug": "^4.3.4", "ts-api-utils": "^1.0.1" }, @@ -510,9 +484,9 @@ } }, "node_modules/@typescript-eslint/types": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.9.0.tgz", - "integrity": "sha512-+KB0lbkpxBkBSiVCuQvduqMJy+I1FyDbdwSpM3IoBS7APl4Bu15lStPjgBIdykdRqQNYqYNMa8Kuidax6phaEw==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-6.9.1.tgz", + "integrity": "sha512-BUGslGOb14zUHOUmDB2FfT6SI1CcZEJYfF3qFwBeUrU6srJfzANonwRYHDpLBuzbq3HaoF2XL2hcr01c8f8OaQ==", "dev": true, "engines": { "node": "^16.0.0 || >=18.0.0" @@ -523,13 +497,13 @@ } }, "node_modules/@typescript-eslint/typescript-estree": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.9.0.tgz", - "integrity": "sha512-NJM2BnJFZBEAbCfBP00zONKXvMqihZCrmwCaik0UhLr0vAgb6oguXxLX1k00oQyD+vZZ+CJn3kocvv2yxm4awQ==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-6.9.1.tgz", + "integrity": "sha512-U+mUylTHfcqeO7mLWVQ5W/tMLXqVpRv61wm9ZtfE5egz7gtnmqVIw9ryh0mgIlkKk9rZLY3UHygsBSdB9/ftyw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.9.0", - "@typescript-eslint/visitor-keys": "6.9.0", + "@typescript-eslint/types": "6.9.1", + "@typescript-eslint/visitor-keys": "6.9.1", "debug": "^4.3.4", "globby": "^11.1.0", "is-glob": "^4.0.3", @@ -550,17 +524,17 @@ } }, "node_modules/@typescript-eslint/utils": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.9.0.tgz", - "integrity": "sha512-5Wf+Jsqya7WcCO8me504FBigeQKVLAMPmUzYgDbWchINNh1KJbxCgVya3EQ2MjvJMVeXl3pofRmprqX6mfQkjQ==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-6.9.1.tgz", + "integrity": "sha512-L1T0A5nFdQrMVunpZgzqPL6y2wVreSyHhKGZryS6jrEN7bD9NplVAyMryUhXsQ4TWLnZmxc2ekar/lSGIlprCA==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.4.0", "@types/json-schema": "^7.0.12", "@types/semver": "^7.5.0", - "@typescript-eslint/scope-manager": "6.9.0", - "@typescript-eslint/types": "6.9.0", - "@typescript-eslint/typescript-estree": "6.9.0", + "@typescript-eslint/scope-manager": "6.9.1", + "@typescript-eslint/types": "6.9.1", + "@typescript-eslint/typescript-estree": "6.9.1", "semver": "^7.5.4" }, "engines": { @@ -575,12 +549,12 @@ } }, "node_modules/@typescript-eslint/visitor-keys": { - "version": "6.9.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.9.0.tgz", - "integrity": "sha512-dGtAfqjV6RFOtIP8I0B4ZTBRrlTT8NHHlZZSchQx3qReaoDeXhYM++M4So2AgFK9ZB0emRPA6JI1HkafzA2Ibg==", + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.9.1.tgz", + "integrity": "sha512-MUaPUe/QRLEffARsmNfmpghuQkW436DvESW+h+M52w0coICHRfD6Np9/K6PdACwnrq1HmuLl+cSPZaJmeVPkSw==", "dev": true, "dependencies": { - "@typescript-eslint/types": "6.9.0", + "@typescript-eslint/types": "6.9.1", "eslint-visitor-keys": "^3.4.1" }, "engines": { @@ -794,18 +768,6 @@ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", "dev": true }, - "node_modules/await-spawn": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/await-spawn/-/await-spawn-4.0.2.tgz", - "integrity": "sha512-GdADmeLJiMvGKJD3xWBcX40DMn07JNH1sqJYgYJZH7NTGJ3B1qDjKBKzxhhyR1hjIcnUGFUmE/+4D1HcHAJBAA==", - "dev": true, - "dependencies": { - "bl": "^4.0.3" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/aws-sign2": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", @@ -822,9 +784,9 @@ "dev": true }, "node_modules/badges": { - "version": "4.28.0", - "resolved": "https://registry.npmjs.org/badges/-/badges-4.28.0.tgz", - "integrity": "sha512-fXferBh0DGNQjUnOf8iW/sjZfQgLLTDD5AaRi7lIKRpkCy6G9kF5hW5RW/lp1vL9pJ7uM2iAMRTEiPNTKkQ4Wg==", + "version": "4.29.0", + "resolved": "https://registry.npmjs.org/badges/-/badges-4.29.0.tgz", + "integrity": "sha512-fAzm/xvqy8vteLOB9/enostfJnPgNqPp1vxrYZApQlBwJAkGkcGWjqfSersEkLHLuMil6JoU2OqbRhhXeC7ICg==", "dev": true, "engines": { "node": ">=10" @@ -839,26 +801,6 @@ "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", "dev": true }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, "node_modules/bcrypt-pbkdf": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", @@ -877,17 +819,6 @@ "node": ">=0.6" } }, - "node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "dev": true, - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, "node_modules/block-stream": { "version": "0.0.9", "resolved": "https://registry.npmjs.org/block-stream/-/block-stream-0.0.9.tgz", @@ -934,30 +865,6 @@ "node": ">=8" } }, - "node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, "node_modules/bundle-name": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/bundle-name/-/bundle-name-3.0.0.tgz", @@ -1278,12 +1185,12 @@ } }, "node_modules/editions": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/editions/-/editions-6.7.0.tgz", - "integrity": "sha512-c4277FrLdMcqEq/furtDBjXIhN+qPnBxng5IQRtJZEOttf0LTz7m5hm/D0GCwn9RXCBFgpTTc/x5DAuigZdBkw==", + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/editions/-/editions-6.8.0.tgz", + "integrity": "sha512-N4HL1Jy7GuwRY0SM+k3SCCq0rCpQ8Y+hJg05Yg3XT0gxmtxytfIgYV/4jbUFWLvlREqxpwaYhws8p+hisWkLEw==", "dev": true, "dependencies": { - "version-range": "^1.2.0" + "version-range": "^1.4.0" }, "engines": { "node": ">=4" @@ -1293,9 +1200,9 @@ } }, "node_modules/errlop": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/errlop/-/errlop-4.5.0.tgz", - "integrity": "sha512-oUGLzMxSQ/wfkq2hTIJv66Y6WAqCXM+10BKdllOrQFvc6bqcSomL2pUcflazdcOtodT7agUJ8tz75XzBtL1o0w==", + "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" @@ -1372,12 +1279,12 @@ } }, "node_modules/eslint-config-bevry": { - "version": "3.27.0", - "resolved": "https://registry.npmjs.org/eslint-config-bevry/-/eslint-config-bevry-3.27.0.tgz", - "integrity": "sha512-4A64zuBmQHwQMYzOvpoSqyPtLssEOfG3Cq8x0OX/8vmRjWlrU9NlCDM/k9TiLN94qDGbnzEir2OWShhP5Zps8w==", + "version": "3.28.0", + "resolved": "https://registry.npmjs.org/eslint-config-bevry/-/eslint-config-bevry-3.28.0.tgz", + "integrity": "sha512-lLoxygaVctEtz6bjDmPo6M6DeW4L3NZ0vzR0YPWuQDmP5pjeAOIk74e85aJ7Ksz1eOg3DiDLVrTvsqdTXz6DiA==", "dev": true, "dependencies": { - "semver": "^7.3.5" + "semver": "^7.5.4" }, "engines": { "node": ">=10" @@ -1515,13 +1422,13 @@ } }, "node_modules/event-emitter-grouped": { - "version": "4.19.0", - "resolved": "https://registry.npmjs.org/event-emitter-grouped/-/event-emitter-grouped-4.19.0.tgz", - "integrity": "sha512-9wrke2ZJL7r+oa83iQNSM/hCQfhmJTK7es4YeBs/gCaV1HNmxHYoe6Cc2nNjFlD33g0NoaFU0HzP5c506KHgwQ==", + "version": "4.20.0", + "resolved": "https://registry.npmjs.org/event-emitter-grouped/-/event-emitter-grouped-4.20.0.tgz", + "integrity": "sha512-C84I90JkjxY45Yf3vcEnu0GLPCzSTkPvdqE+uJ58YRw+mNXrSXe0m3ub2s8BT5W0bfYyGeDoLON9E4AEepNvnA==", "dev": true, "dependencies": { - "taskgroup": "^7.18.0", - "unbounded": "^3.14.0" + "taskgroup": "^7.19.0", + "unbounded": "^3.15.0" }, "engines": { "node": ">=10" @@ -1587,12 +1494,12 @@ "dev": true }, "node_modules/extendr": { - "version": "5.19.0", - "resolved": "https://registry.npmjs.org/extendr/-/extendr-5.19.0.tgz", - "integrity": "sha512-RDfK3UZaTWV02m5ndmqU0/Sn44aSy6Vsd0syD/ozjdX58ePubKJ8PxRrTHFIlXkScqU0rDGnu23KVBDKcaSOpQ==", + "version": "5.20.0", + "resolved": "https://registry.npmjs.org/extendr/-/extendr-5.20.0.tgz", + "integrity": "sha512-o+pOXJAowIkHyLHoTHNrjKADhADSZ80bbcyK8EyI5qVG1jyNIKXgetwb9/m/zDwLjvPUfs/fmwkTlmSXF6edwA==", "dev": true, "dependencies": { - "typechecker": "^7.17.0" + "typechecker": "^7.18.0" }, "engines": { "node": ">=10" @@ -1699,9 +1606,9 @@ } }, "node_modules/fellow": { - "version": "6.24.0", - "resolved": "https://registry.npmjs.org/fellow/-/fellow-6.24.0.tgz", - "integrity": "sha512-1y/L9xRWlNExWmrOnGgaOYGlbsf25ibqUES/FE+bCOQONhK3d/XPRGZEKOPUiUjGdkDyFIG87B1PkYEcsIkg5g==", + "version": "6.25.0", + "resolved": "https://registry.npmjs.org/fellow/-/fellow-6.25.0.tgz", + "integrity": "sha512-/eYuI5Cr9hi2Llw5VHIdiDQKe4cL4Qa1a9EE8NxuT/xa7KsfsnF7pBcYXIhmqSLxPbWS1ozF1vzYcN4VTf9OwA==", "dev": true, "engines": { "node": ">=10" @@ -1744,12 +1651,12 @@ } }, "node_modules/filedirname": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/filedirname/-/filedirname-2.7.0.tgz", - "integrity": "sha512-rw4NZ0XCpm4EeBp0NK2b1WUkCm/LSDg6mJR8ywV2JYvIiwe+fimMgwVxjgd94lbmx4rOOmxybeVHsB6SRNeaXQ==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/filedirname/-/filedirname-2.8.0.tgz", + "integrity": "sha512-+NWRoWq4BGYSrQrvcxDVv36Duc0aJC4sD/ELWCKtLnWEBGPNM8K2zMTRQMhhY5ggCQZhlSdjQ+wCbv2l7CuHsg==", "dev": true, "dependencies": { - "get-current-line": "^6.5.0" + "get-current-line": "^6.6.0" }, "engines": { "node": ">=10" @@ -1850,27 +1757,6 @@ "node": ">=0.6" } }, - "node_modules/fstream/node_modules/minimist": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", - "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/fstream/node_modules/mkdirp": { - "version": "0.5.6", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", - "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", - "dev": true, - "dependencies": { - "minimist": "^1.2.6" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, "node_modules/fstream/node_modules/rimraf": { "version": "2.7.1", "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", @@ -1884,12 +1770,12 @@ } }, "node_modules/get-cli-arg": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-7.3.0.tgz", - "integrity": "sha512-4ccIo5TqI0OAvheSsT5SR5KgmcIOysGMCqAacA22kyuji23uBKY1Xd5ow248EIRo4feq/y4c0P0u7Z5RDzV/tg==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/get-cli-arg/-/get-cli-arg-7.4.0.tgz", + "integrity": "sha512-5/AgKgM3d0RNbjPLLhj5z/5fp1Fzh1ccJzpsEc/0O8vcB/v2ITvFWeQ7KoXIomiPuzaeEQCR8VHAHbTeHkcJDg==", "dev": true, "dependencies": { - "normalify": "^2.22.0" + "normalify": "^2.24.0" }, "engines": { "node": ">=10" @@ -1899,9 +1785,9 @@ } }, "node_modules/get-current-line": { - "version": "6.6.0", - "resolved": "https://registry.npmjs.org/get-current-line/-/get-current-line-6.6.0.tgz", - "integrity": "sha512-9q/tqdL4+GMb0P28N/oSFruQE/8Sa1l9ew73AWS4j/KEMY32wD8+5QRB8LSTgt9HUZuLplmi8vc5dFFf5OvROA==", + "version": "6.7.0", + "resolved": "https://registry.npmjs.org/get-current-line/-/get-current-line-6.7.0.tgz", + "integrity": "sha512-k0OFBIYPandXy7odmwxGbJiBpXQnTjF3dBVLQgV7yiD6CUehVnFqB42PLI71aVwul56EbzHgW7BaG20FUx9S/A==", "dev": true, "engines": { "node": ">=10" @@ -2078,26 +1964,6 @@ "node": ">=0.10.0" } }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] - }, "node_modules/ignore": { "version": "5.2.4", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.2.4.tgz", @@ -2478,13 +2344,13 @@ } }, "node_modules/kava": { - "version": "5.15.0", - "resolved": "https://registry.npmjs.org/kava/-/kava-5.15.0.tgz", - "integrity": "sha512-Y4RYizZyFrIK0H45ljnAUSm1ZPYtAiqSVMzKE+jJeHMdpPqpDZ9piydFzF48OX+xVyQT5nZA4YAmCbunnDcM9Q==", + "version": "5.17.0", + "resolved": "https://registry.npmjs.org/kava/-/kava-5.17.0.tgz", + "integrity": "sha512-zwtfnDp34g5rRn3PUyzZSr2ChssXy5i/c/qv4lPm2qpnplUfAj780rgRYZlqK+IHGEf6kjqmT6ZIlyyRoknhyQ==", "dev": true, "dependencies": { - "event-emitter-grouped": "^4.18.0", - "taskgroup": "^7.18.0" + "event-emitter-grouped": "^4.20.0", + "taskgroup": "^7.19.0" }, "engines": { "node": ">=10" @@ -2560,45 +2426,6 @@ "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==", "dev": true }, - "node_modules/make-deno-edition": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/make-deno-edition/-/make-deno-edition-1.3.0.tgz", - "integrity": "sha512-C5JoDkykIJMjPf3wVwgzM1ex680rNwhGYF3gMlgoeXAWPAyEPof6W7/HaZvLLNaR3/BRzNElsfbd7ZEIkJOJXA==", - "dev": true, - "dependencies": { - "@types/rimraf": "^3.0.0", - "await-spawn": "^4.0.2", - "chalk": "^4.1.1", - "errlop": "^4.2.0", - "fdir": "^5.1.0", - "get-cli-arg": "^7.0.0", - "mkdirp": "^1.0.4", - "rimraf": "^3.0.2" - }, - "bin": { - "make-deno-edition": "bin.cjs" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://bevry.me/fund" - } - }, - "node_modules/make-deno-edition/node_modules/fdir": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-5.3.0.tgz", - "integrity": "sha512-BtE53+jaa7nNHT+gPdfU6cFAXOJUWDs2b5GFox8dtl6zLXmfNf/N6im69b9nqNNwDyl27mpIWX8qR7AafWzSdQ==", - "dev": true, - "peerDependencies": { - "picomatch": "2.x" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, "node_modules/marked": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", @@ -2688,15 +2515,24 @@ "dev": true }, "node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", + "version": "0.5.6", + "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", + "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", "dev": true, + "dependencies": { + "minimist": "^1.2.6" + }, "bin": { "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" + } + }, + "node_modules/mkdirp/node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "funding": { + "url": "https://github.com/sponsors/ljharb" } }, "node_modules/moniker": { @@ -2721,10 +2557,13 @@ "dev": true }, "node_modules/native-promise-pool": { - "version": "3.19.0", - "resolved": "https://registry.npmjs.org/native-promise-pool/-/native-promise-pool-3.19.0.tgz", - "integrity": "sha512-Clf1xJ/qBGZrWeuu1qJ2Ta79L0CC0pANvh5cq2RIwCu4ehcc8W5COA4fwgnaU5a+Cg/QFOBGEuM/5naa9LF+og==", + "version": "3.20.0", + "resolved": "https://registry.npmjs.org/native-promise-pool/-/native-promise-pool-3.20.0.tgz", + "integrity": "sha512-Bgq6GMLw3Bv7BVn3njUHld5tqKLuzTq3NqI70DctoVkgZBTI+ddti/UO0opHkBwXPCqphGPKatZnmkzhDwfL8Q==", "dev": true, + "dependencies": { + "editions": "^6.8.0" + }, "engines": { "node": ">=10" }, @@ -2765,9 +2604,9 @@ } }, "node_modules/normalify": { - "version": "2.24.0", - "resolved": "https://registry.npmjs.org/normalify/-/normalify-2.24.0.tgz", - "integrity": "sha512-zwLnXtcvYq9+IOdmokIWRWVn71myOcAP90a+FiK1p6m8yU+e2sRFaLq4VlnumbtrLhnxLqr5yVerNs/2l/4xhg==", + "version": "2.25.0", + "resolved": "https://registry.npmjs.org/normalify/-/normalify-2.25.0.tgz", + "integrity": "sha512-cxwJIcf3b7yK0tgprrNHJkbwu679m2MRcmMtADWtOBixojPavGQjbRSRKTUCs/5x3IfADhrhQhBbofkdI7ERrw==", "dev": true, "engines": { "node": ">=10" @@ -3066,9 +2905,9 @@ "dev": true }, "node_modules/punycode": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.0.tgz", - "integrity": "sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", + "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, "engines": { "node": ">=6" @@ -3115,20 +2954,6 @@ "node": ">=0.8" } }, - "node_modules/readable-stream": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz", - "integrity": "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==", - "dev": true, - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/request": { "version": "2.88.2", "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", @@ -3194,9 +3019,9 @@ } }, "node_modules/rfc-log-levels": { - "version": "3.17.0", - "resolved": "https://registry.npmjs.org/rfc-log-levels/-/rfc-log-levels-3.17.0.tgz", - "integrity": "sha512-vgSO25fGN2UZYQ82+kd92v/bVzbNBzg+Hmwy/RdsRldAQTSHpO3gPwokpQV5Blt0Pv4FeAJ3obyXOinheqklyQ==", + "version": "3.18.0", + "resolved": "https://registry.npmjs.org/rfc-log-levels/-/rfc-log-levels-3.18.0.tgz", + "integrity": "sha512-Bjc4gS02aK19WAF5p/Dgfy78YHlOYUwhvpBo6UXfd47zqqm6eQy1btSSvF46fA/JEOqlH5lV4eQnNgzcdUA3Jw==", "dev": true, "engines": { "node": ">=10" @@ -3489,9 +3314,9 @@ "dev": true }, "node_modules/spdx-license-list": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/spdx-license-list/-/spdx-license-list-6.7.0.tgz", - "integrity": "sha512-NFqavuJxNsHdwSy/0PjmUpcc76XwlmHQRPjVVtE62qmSLhKJUnzSvJCkU9nrY6TsChfGU1xqGePriBkNtNRMiA==", + "version": "6.8.0", + "resolved": "https://registry.npmjs.org/spdx-license-list/-/spdx-license-list-6.8.0.tgz", + "integrity": "sha512-5UdM7r9yJ1EvsPQZWfa41AZjLQngl9iMMysm9XBW7Lqhq7aF8cllfqjS+rFCHB8FFMGSM0yFWue2LUV9mR0QzQ==", "dev": true, "engines": { "node": ">=8" @@ -3537,15 +3362,6 @@ "node": ">=0.10.0" } }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dev": true, - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, "node_modules/string-width": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", @@ -3705,15 +3521,15 @@ } }, "node_modules/taskgroup": { - "version": "7.19.0", - "resolved": "https://registry.npmjs.org/taskgroup/-/taskgroup-7.19.0.tgz", - "integrity": "sha512-SWwM8bGfOZF0rwP3Wna5T51vf6JZOK3eSnVBqo27DVVf8UJLih6arif24qiS8DspFbWt2cE9SgOEwIW3rgWQtA==", + "version": "7.20.0", + "resolved": "https://registry.npmjs.org/taskgroup/-/taskgroup-7.20.0.tgz", + "integrity": "sha512-Z8iV1BDxAeTfUX9YnvpVY0kiRMU35JQUWue5nNf5OZJwaDEm0gFq34FE8C/HeIXp89Ca8ReDeqHmlYhx6nrcUQ==", "dev": true, "dependencies": { "ambi": "3.2.0", "eachr": "^4.5.0", - "extendr": "^5.19.0", - "unbounded": "^3.14.0" + "extendr": "^5.20.0", + "unbounded": "^3.15.0" }, "engines": { "node": ">=10" @@ -3961,12 +3777,6 @@ "integrity": "sha512-1WJ8YX1Kcec9wgxy8d/ATzGP1ayO6BRnd3iB6NlM+7cOnn6U8p5PKppRTCPLobh3CSdJ4d0TdPjopzyU2KcVFw==", "dev": true }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", - "dev": true - }, "node_modules/uuid": { "version": "3.4.0", "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", diff --git a/package.json b/package.json index f0a0555..6b24ebe 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { "name": "valid-directory", - "version": "4.0.0", + "version": "4.1.0", "description": "Check whether or not a directory and its descendants are valid", "homepage": "https://github.com/bevry/valid-directory", "license": "Artistic-2.0", "keywords": [ "check", "detect", - "es2017", + "es2022", "export-default", "fs", "is", @@ -87,13 +87,13 @@ "engines": false }, { - "description": "TypeScript compiled against ES2017 for Node.js with Require for modules", - "directory": "edition-es2017", + "description": "TypeScript compiled against ES2022 for Node.js 18 || 20 || 21 with Require for modules", + "directory": "edition-es2022", "entry": "index.js", "tags": [ "compiled", "javascript", - "es2017", + "es2022", "require" ], "engines": { @@ -102,13 +102,13 @@ } }, { - "description": "TypeScript compiled against ES2017 for Node.js with Import for modules", - "directory": "edition-es2017-esm", + "description": "TypeScript compiled against ES2022 for Node.js 18 || 20 || 21 with Import for modules", + "directory": "edition-es2022-esm", "entry": "index.js", "tags": [ "compiled", "javascript", - "es2017", + "es2022", "import" ], "engines": { @@ -120,11 +120,11 @@ "bin": "bin.cjs", "types": "./compiled-types/", "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" } }, "dependencies": { @@ -133,17 +133,16 @@ }, "devDependencies": { "@bevry/update-contributors": "^1.22.0", - "@types/node": "^20.8.9", - "@typescript-eslint/eslint-plugin": "^6.9.0", - "@typescript-eslint/parser": "^6.9.0", + "@types/node": "^20.8.10", + "@typescript-eslint/eslint-plugin": "^6.9.1", + "@typescript-eslint/parser": "^6.9.1", "assert-helpers": "^8.4.0", "eslint": "^8.52.0", - "eslint-config-bevry": "^3.27.0", + "eslint-config-bevry": "^3.28.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", - "filedirname": "^2.7.0", - "kava": "^5.15.0", - "make-deno-edition": "^1.3.0", + "filedirname": "^2.8.0", + "kava": "^5.17.0", "prettier": "^3.0.3", "projectz": "^2.23.0", "surge": "^0.23.1", @@ -153,10 +152,9 @@ "scripts": { "our:bin": "node ./bin.cjs", "our:clean": "rm -Rf ./docs ./edition* ./es2015 ./es5 ./out ./.next", - "our:compile": "npm run our:compile:deno && npm run our:compile:edition-es2017 && npm run our:compile:edition-es2017-esm && npm run our:compile:types", - "our:compile:deno": "make-deno-edition --attempt", - "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": "npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:types", + "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 ) )", "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", @@ -165,18 +163,18 @@ "our:meta:docs:typedoc": "rm -Rf ./docs && typedoc --exclude '**/+(*test*|node_modules)' --excludeExternals --out ./docs ./source", "our:meta:projectz": "projectz compile", "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", - "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: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:release:check-dirty": "git diff --exit-code", "our:release:prepare": "npm run our:clean && npm run our:compile && npm run our:test && npm run our:meta", "our:release:push": "git push origin && git push origin --tags", - "our:release:tag": "export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag v$npm_package_version -am \"$MESSAGE\"", + "our:release:tag": "export MESSAGE=$(cat ./HISTORY.md | sed -n \"/## v$npm_package_version/,/##/p\" | sed 's/## //' | awk 'NR>1{print buf}{buf = $0}') && test \"$MESSAGE\" || (printf '%s\n' 'proper changelog entry not found' && exit -1) && git tag \"v$npm_package_version\" -am \"$MESSAGE\"", "our:setup": "npm run our:setup:install", "our:setup:install": "npm install", "our:test": "npm run our:verify && npm test", "our:verify": "npm run our:verify:eslint && 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", "our:verify:prettier": "prettier --write .", - "test": "node ./edition-es2017/test.js" + "test": "node ./edition-es2022/test.js" }, "eslintConfig": { "extends": [ diff --git a/tsconfig.json b/tsconfig.json index d82b56b..89f7643 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,7 @@ "maxNodeModuleJsDepth": 5, "moduleResolution": "Node", "strict": true, - "target": "ES2017", + "target": "ES2022", "module": "ESNext" }, "include": ["source"]