From 0095aa2ba6e6b9c8079d8d665b4b3bf700f5be69 Mon Sep 17 00:00:00 2001 From: Benjamin Lupton Date: Sat, 25 Nov 2023 00:58:46 +0800 Subject: [PATCH] v1.3.0 - boundation, changelog, version bump --- .github/workflows/bevry.yml | 8 + HISTORY.md | 4 + README.md | 9 +- package-lock.json | 365 +++++++++++++++++++++++++++--------- package.json | 39 +++- 5 files changed, 330 insertions(+), 95 deletions(-) diff --git a/.github/workflows/bevry.yml b/.github/workflows/bevry.yml index ef53bfb..4b8ecf3 100644 --- a/.github/workflows/bevry.yml +++ b/.github/workflows/bevry.yml @@ -16,6 +16,10 @@ jobs: runs-on: ${{ matrix.os }} steps: - uses: actions/checkout@v4 + - name: Install Deno + uses: denoland/setup-deno@v1 + with: + deno-version: vx.x.x - name: Install desired Node.js version uses: actions/setup-node@v4 with: @@ -43,6 +47,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Install Deno + uses: denoland/setup-deno@v1 + with: + deno-version: vx.x.x - name: Install desired Node.js version uses: actions/setup-node@v4 with: diff --git a/HISTORY.md b/HISTORY.md index 0670a7d..dc5c226 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,5 +1,9 @@ # History +## v1.3.0 2023 November 25 + +- Updated dependencies, [base files](https://github.com/bevry/base), and [editions](https://editions.bevry.me) using [boundation](https://github.com/bevry/boundation) + ## v1.2.0 2023 November 23 - 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 8fcd3b3..9dc22e1 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,12 @@ Remove a file.
  • Require: const pkg = require('@bevry/fs-unlink').default
  • +

    Deno

    + +``` typescript +import pkg from 'https://unpkg.com/@bevry/fs-unlink@^1.3.0/edition-deno/index.ts' +``` +

    Editions

    This package is published with the following editions:

    @@ -57,7 +63,8 @@ Remove a file.
  • @bevry/fs-unlink/edition-es2022/index.js is TypeScript compiled against ES2022 for Node.js 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules
  • @bevry/fs-unlink/edition-es2016/index.js is TypeScript compiled against ES2016 for Node.js 4 || 6 || 8 || 10 || 12 || 14 || 16 || 18 || 20 || 21 with Require for modules
  • @bevry/fs-unlink/edition-es2022-esm/index.js is TypeScript compiled against ES2022 for Node.js 12 || 14 || 16 || 18 || 20 || 21 with Import for modules
  • -
  • @bevry/fs-unlink/edition-types/index.d.ts is TypeScript compiled Types with Import for modules
  • +
  • @bevry/fs-unlink/edition-types/index.d.ts is TypeScript compiled Types with Import for modules
  • +
  • @bevry/fs-unlink/edition-deno/index.ts is TypeScript source code made to be compatible with Deno
  • diff --git a/package-lock.json b/package-lock.json index 95306a4..0ba4f15 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,30 +1,31 @@ { "name": "@bevry/fs-unlink", - "version": "1.2.0", + "version": "1.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@bevry/fs-unlink", - "version": "1.2.0", + "version": "1.3.0", "license": "Artistic-2.0", "dependencies": { - "@bevry/fs-accessible": "^2.1.0", - "editions": "^6.13.0", - "errlop": "^7.3.0" + "@bevry/fs-accessible": "^2.2.0", + "editions": "^6.16.0", + "errlop": "^7.4.0" }, "devDependencies": { - "@bevry/fs-write": "^1.1.0", + "@bevry/fs-write": "^1.2.0", "@bevry/update-contributors": "^1.23.0", - "@types/node": "^20.9.4", + "@types/node": "^20.10.0", "@typescript-eslint/eslint-plugin": "^6.12.0", "@typescript-eslint/parser": "^6.12.0", - "assert-helpers": "^11.5.0", + "assert-helpers": "^11.6.0", "eslint": "^8.54.0", - "eslint-config-bevry": "^5.1.0", + "eslint-config-bevry": "^5.2.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "kava": "^7.3.0", + "make-deno-edition": "^2.0.0", "prettier": "^3.1.0", "projectz": "^3.3.0", "promise-errback": "^1.0.0", @@ -50,12 +51,12 @@ } }, "node_modules/@bevry/ansi": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/@bevry/ansi/-/ansi-6.4.0.tgz", - "integrity": "sha512-nuzLg4ZDKh8OaLbP0FL2CI/fd8xFll9eUdnFgUzycR1iLl9lk+ANR1Ivmest6gxvgNLBElO58sRpQ0rqq+jeng==", + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/@bevry/ansi/-/ansi-6.5.0.tgz", + "integrity": "sha512-F1V0fQsvjKW+8HD81pAQ3A/B3t9hZBwpozXA5FnQaqAlrELPhwtF+B8FQi0O6he5HCAlKP/PmzlySk/ZtS8IZg==", "dev": true, "dependencies": { - "editions": "^6.13.0" + "editions": "^6.15.0" }, "engines": { "node": ">=4" @@ -65,11 +66,11 @@ } }, "node_modules/@bevry/fs-accessible": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@bevry/fs-accessible/-/fs-accessible-2.1.0.tgz", - "integrity": "sha512-0CBc/Hz2hBcv81lLAH6IxWvKKTNxWxPwDFZQqGQbLbN9suoQVUMloplFBYbtJi6TWv8iYPMHAZrVgFvMGL29GQ==", + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@bevry/fs-accessible/-/fs-accessible-2.2.0.tgz", + "integrity": "sha512-LfwU96cE4/7BCx9cwiWsT/1773zS0Z1NCamMF7vnLFxP6nwnCjRSxUedzGDF942WkuEaENpUdAAl/o9TedVWXw==", "dependencies": { - "editions": "^6.13.0" + "editions": "^6.16.0" }, "engines": { "node": ">=4" @@ -79,15 +80,15 @@ } }, "node_modules/@bevry/fs-list": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@bevry/fs-list/-/fs-list-2.1.0.tgz", - "integrity": "sha512-LuRldn3zimwAnCdnQb9gzDVErSAvls6abkynncevLMayd8RLFzZRYwxRCP1JXdWewSLqqa5852NW0mPD6gOyOg==", + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/@bevry/fs-list/-/fs-list-2.3.0.tgz", + "integrity": "sha512-n2Y9m6Zip/1Q4pz8TSUhLqdQPyA0luOMbX1SQrnguM9KEdikymyl2iOoHboBTNTbO5hH+KfxhP2KFz2TtNOByg==", "dev": true, "dependencies": { - "@bevry/fs-accessible": "^2.1.0", - "editions": "^6.13.0", - "errlop": "^7.3.0", - "version-compare": "^3.3.0" + "@bevry/fs-accessible": "^2.2.0", + "editions": "^6.16.0", + "errlop": "^7.4.0", + "version-compare": "^3.4.0" }, "engines": { "node": ">=4" @@ -97,15 +98,15 @@ } }, "node_modules/@bevry/fs-mkdirp": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@bevry/fs-mkdirp/-/fs-mkdirp-1.1.0.tgz", - "integrity": "sha512-mOdTgQmzqhz61mCxLIkbZwiBtmWw9wkcF89Qwn1rAewCjvRB1qBWNf7CW7eDaOevkKQ+Ub8TWXEJZmNXpWO+Qw==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@bevry/fs-mkdirp/-/fs-mkdirp-1.3.0.tgz", + "integrity": "sha512-xw9Q/p5B/TytBiALokrhED4KyUqDO97rXtG9vU8kE4t4mKV+AkH87DBE9c/CVxuWtOe+ZOv+T6BadgfYvWdBHA==", "dev": true, "dependencies": { - "@bevry/fs-accessible": "^2.1.0", - "editions": "^6.13.0", - "errlop": "^7.3.0", - "version-compare": "^3.3.0" + "@bevry/fs-accessible": "^2.2.0", + "editions": "^6.16.0", + "errlop": "^7.4.0", + "version-compare": "^3.4.0" }, "engines": { "node": ">=4" @@ -115,14 +116,48 @@ } }, "node_modules/@bevry/fs-read": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@bevry/fs-read/-/fs-read-1.1.0.tgz", - "integrity": "sha512-r84hG1xmTeLYi3foBjtSFOibOYd4QMD0FSkWWTjsK3AFPY3kaAVDeaUuaNKG5A43sTlCpA1zpMudWBml9RFL2Q==", + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@bevry/fs-read/-/fs-read-1.3.0.tgz", + "integrity": "sha512-gv8HALfji3xhGot7dV6754HXitIox2Mg34qo0t8hX3biT/4pLf11a7IWawLOFsIIR2lJGi6dgsHY+N2Kc15CVw==", "dev": true, "dependencies": { - "@bevry/fs-accessible": "^2.1.0", - "editions": "^6.13.0", - "errlop": "^7.3.0" + "@bevry/fs-accessible": "^2.2.0", + "editions": "^6.16.0", + "errlop": "^7.4.0" + }, + "engines": { + "node": ">=4" + }, + "funding": { + "url": "https://bevry.me/fund" + } + }, + "node_modules/@bevry/fs-readable": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@bevry/fs-readable/-/fs-readable-2.2.0.tgz", + "integrity": "sha512-GsB2lXQ3VrCerwoOraJNbruJ+QeekSwWr7gV0ShIcxH5VLwBldN8PbRyJiSf8MkMZXzkfmyGu3iRI68VQbWnlg==", + "dev": true, + "dependencies": { + "@bevry/fs-accessible": "^2.2.0", + "editions": "^6.16.0" + }, + "engines": { + "node": ">=4" + }, + "funding": { + "url": "https://bevry.me/fund" + } + }, + "node_modules/@bevry/fs-remove": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/@bevry/fs-remove/-/fs-remove-1.3.0.tgz", + "integrity": "sha512-ootfOZOW3MVb3+QwNGHrwiHNG+MHCJOQRBIdAWB4R5IXp/bKx6g2yKRuvKAInRxDDcR0j3STbF8jqDUEZtdPzA==", + "dev": true, + "dependencies": { + "@bevry/fs-accessible": "^2.2.0", + "editions": "^6.16.0", + "errlop": "^7.4.0", + "version-compare": "^3.4.0" }, "engines": { "node": ">=4" @@ -132,9 +167,9 @@ } }, "node_modules/@bevry/fs-unlink": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@bevry/fs-unlink/-/fs-unlink-1.1.0.tgz", - "integrity": "sha512-l4YjsAjCtxs4pH+5djB0CwOP125mEzpmDlqlnK+9wX97wqcWGXp90rKzM2dTwmdHOrgltpY8a7oXj/Dlixl26Q==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@bevry/fs-unlink/-/fs-unlink-1.2.0.tgz", + "integrity": "sha512-jKCdi+4KWJfn8IJ8bT5hF1+yUYxFJkzEZkecfMhaK+IC4YgXHuwUwh21nmAAyAcs/rGROM/UPYIA/aUjrZIA3A==", "dev": true, "dependencies": { "@bevry/fs-accessible": "^2.1.0", @@ -149,9 +184,9 @@ } }, "node_modules/@bevry/fs-write": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@bevry/fs-write/-/fs-write-1.1.0.tgz", - "integrity": "sha512-F7j79mQeSO4jvO7qgV4nPNS7lNjT9wqW13hiz9roxpp/yyYG6CDXKpMvvDn2FTORFESn4k48oeKGWJirl7Q0fQ==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@bevry/fs-write/-/fs-write-1.2.0.tgz", + "integrity": "sha512-UOHfn1JHCPhAiEqRDU50hkoybBqyLm4DYnAjnwboU9KpzumAYjSx7pzZWvYUXblLO9Q14+v8FtJXMKyC3m9xaw==", "dev": true, "dependencies": { "@bevry/fs-accessible": "^2.1.0", @@ -452,9 +487,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "20.9.4", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.9.4.tgz", - "integrity": "sha512-wmyg8HUhcn6ACjsn8oKYjkN/zUzQeNtMy44weTJSM6p4MMzEOuKbA3OjJ267uPCOW7Xex9dyrNTful8XTQYoDA==", + "version": "20.10.0", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.10.0.tgz", + "integrity": "sha512-D0WfRmU9TQ8I9PFx9Yc+EBHw+vSpIub4IDvQivcp26PtPrdMGAq5SDcpXEo/epqa/DXotVpekHiLNTg3iaKXBQ==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -827,13 +862,13 @@ } }, "node_modules/assert-helpers": { - "version": "11.5.0", - "resolved": "https://registry.npmjs.org/assert-helpers/-/assert-helpers-11.5.0.tgz", - "integrity": "sha512-Ti9VEWfg3SVFrbfEgwy+AJ9o6Df65wN6ihu1F9RdZr86gwjcBqPtTHBMP5hX5YEbuR5aJhDLBT5/WKqmQi0Ypw==", + "version": "11.6.0", + "resolved": "https://registry.npmjs.org/assert-helpers/-/assert-helpers-11.6.0.tgz", + "integrity": "sha512-Jcqd2GBDCw0/INP/sRGoZSTi/0OdTi2AykOV0NLjfBap12o+C+596c0QnUpkO6UA59cm7pxA19WZ3/iYa3BJiw==", "dev": true, "dependencies": { - "@bevry/ansi": "^6.4.0", - "editions": "^6.13.0", + "@bevry/ansi": "^6.5.0", + "editions": "^6.15.0", "errlop": "^7.3.0" }, "engines": { @@ -858,6 +893,18 @@ "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", @@ -874,9 +921,9 @@ "dev": true }, "node_modules/badges": { - "version": "4.36.0", - "resolved": "https://registry.npmjs.org/badges/-/badges-4.36.0.tgz", - "integrity": "sha512-ZLoUJU1pL5T1wqHTE8SN/gG2HfkULhgpgtHWr8Zh5X/P++M6DqacIcTx3PS3e/iBK5BMyxlaJZsK2P5UVL1E8w==", + "version": "4.37.0", + "resolved": "https://registry.npmjs.org/badges/-/badges-4.37.0.tgz", + "integrity": "sha512-bEcUJp9MwKqX14G7Qh6ZKnn6Rtyouqh7AqVPvyO6co6QeNThqJfYhTX20zp27Y9xnM2NKOETGekrnNZg+yWinA==", "dev": true, "engines": { "node": ">=10" @@ -891,6 +938,26 @@ "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", @@ -909,6 +976,17 @@ "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", @@ -955,6 +1033,30 @@ "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", @@ -1239,12 +1341,12 @@ } }, "node_modules/eachr": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/eachr/-/eachr-6.5.0.tgz", - "integrity": "sha512-ZN/qq8/81Zxdabht75isKiPnPJdCNFBhGcekF7MCb1nzLp81/IMQkpvLEoJOcGwXoOWMcWRh6ujZv80PNnYcCA==", + "version": "6.6.0", + "resolved": "https://registry.npmjs.org/eachr/-/eachr-6.6.0.tgz", + "integrity": "sha512-e3ck9m2B8SWtJSPm8V5pK/2nteaCpzeekgRR7VnOQt1Bpu9uyf6mBoy/ZHeHlQuZrAQ/dcxTxZJ4keDMmbcJ0w==", "dev": true, "dependencies": { - "editions": "^6.13.0", + "editions": "^6.15.0", "typechecker": "^8.5.0" }, "engines": { @@ -1265,11 +1367,11 @@ } }, "node_modules/editions": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/editions/-/editions-6.13.0.tgz", - "integrity": "sha512-wAQCrco6+HLunD8Zv2VTZxJqAv90kQbhSkD5hH80o1D2TvM0V5tbwHRFL1OnYg0BZRKOcWaGuBh8WCwjfz/eGw==", + "version": "6.16.0", + "resolved": "https://registry.npmjs.org/editions/-/editions-6.16.0.tgz", + "integrity": "sha512-RsLYxqnrKIpdKTY670m2pkpYhkd2bPL3ytsSqhm/dMOCCCub9HjIjZACYQDVZ0BMvdKX4Xie6yOzkb1HFJEMyQ==", "dependencies": { - "version-range": "^3.2.0" + "version-range": "^4.7.0" }, "engines": { "node": ">=4" @@ -1279,9 +1381,9 @@ } }, "node_modules/errlop": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/errlop/-/errlop-7.3.0.tgz", - "integrity": "sha512-L7V1a+Ot9BieLoKa8bwOu2X7e/sH6LZ3SSzfnOEOdCHGmIi+vK4jgJLEmtmuM7JlI1+68PX9ZMDd2oUhLmLSGw==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/errlop/-/errlop-7.4.0.tgz", + "integrity": "sha512-1sewbkMZKj/0skdam//E9xu8Cqhhh9qIXJj5USRfkTkPwE32KFJEn76dQJvzGHk2GBPQ9ilDEjx3Q2fqGFc9Cg==", "engines": { "node": ">=4" }, @@ -1357,9 +1459,9 @@ } }, "node_modules/eslint-config-bevry": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/eslint-config-bevry/-/eslint-config-bevry-5.1.0.tgz", - "integrity": "sha512-WI5DJGD7FsCGhN4p5lSfv+S6g0e82NYUJ8a9WcApOjNj95vJoWksRy2XOjglQ+nDbI2/BZO9OQoY0ahW+nlfFQ==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/eslint-config-bevry/-/eslint-config-bevry-5.2.0.tgz", + "integrity": "sha512-fST7kg8t2rYHwjO1dV6DoB4ufrYnm5h4ATWD/y1whfXUa+qy22V4yKQSGjoD/uQWmg+z38ny+fPARWxtymoOZQ==", "dev": true, "dependencies": { "version-clean": "^1.1.0" @@ -1500,12 +1602,12 @@ } }, "node_modules/event-emitter-grouped": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/event-emitter-grouped/-/event-emitter-grouped-6.3.0.tgz", - "integrity": "sha512-k/O+Z5z607OnI87uBW5pdjho49PyV2lWMnyeVFPv90Lio2sCrHLm3sLGDUMnWKVfmvBoiKHdfxVimn/DMPai0A==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/event-emitter-grouped/-/event-emitter-grouped-6.4.0.tgz", + "integrity": "sha512-eIRQPpH2dug+C0CuPP0qU/GW4t70Bc5weifElNOBz1jOG8Cn//q18+UxrLctmMD0JopB+ZDGU9BSiFT2hWiHXg==", "dev": true, "dependencies": { - "editions": "^6.13.0", + "editions": "^6.16.0", "taskgroup": "^9.4.0", "unbounded": "^5.3.0" }, @@ -1573,12 +1675,12 @@ "dev": true }, "node_modules/extendr": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/extendr/-/extendr-7.3.0.tgz", - "integrity": "sha512-POnl6CCjhLIMap3Ms3C0499f4Dj1Wr0MuraNFcT2CQveEcL6llem9NK0xXQBsZpTtjhJ6hlMiFqe8QTF92k2ew==", + "version": "7.4.0", + "resolved": "https://registry.npmjs.org/extendr/-/extendr-7.4.0.tgz", + "integrity": "sha512-mY4d+PB4Qzse/rovDu4gW63VeZJk4uZ3tsf5dV6wUVdw02sxYylAKqfy73hUMh4z6rEfUA203m4Rc6061bGm8A==", "dev": true, "dependencies": { - "editions": "^6.13.0", + "editions": "^6.16.0", "typechecker": "^8.5.0" }, "engines": { @@ -2016,6 +2118,26 @@ "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.3.0", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", @@ -2479,6 +2601,52 @@ "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==", "dev": true }, + "node_modules/make-deno-edition": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/make-deno-edition/-/make-deno-edition-2.0.0.tgz", + "integrity": "sha512-A1nG1TbA/MBabFGFY7+bl7uMs1e8b1GQViJNIKptbtrn6xaDQuzNEZjR/+sX6hO9qwBAOK44tV/9pn1opeadVQ==", + "dev": true, + "dependencies": { + "@bevry/ansi": "^6.4.0", + "@bevry/fs-list": "^2.2.0", + "@bevry/fs-read": "^1.2.0", + "@bevry/fs-readable": "^2.1.0", + "@bevry/fs-remove": "^1.2.0", + "@bevry/fs-write": "^1.2.0", + "@bevry/json": "^2.0.0", + "await-spawn": "^4.0.2", + "errlop": "^7.3.0", + "get-cli-arg": "^8.2.0" + }, + "bin": { + "make-deno-edition": "bin.cjs" + }, + "engines": { + "node": ">=18" + }, + "funding": { + "url": "https://bevry.me/fund" + } + }, + "node_modules/make-deno-edition/node_modules/@bevry/json": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@bevry/json/-/json-2.0.0.tgz", + "integrity": "sha512-CcQ7v0GCDvzNeg39u7QeqaknbjzIXrJhhiD2f1tfC5/ZIDKQW/Ny7+XFGyBYS3TtS6tf6HWmj7HoQMJoTgsMMg==", + "dev": true, + "dependencies": { + "@bevry/fs-read": "^1.2.0", + "@bevry/fs-unlink": "^1.2.0", + "@bevry/fs-write": "^1.2.0", + "editions": "^6.13.0", + "errlop": "^7.3.0" + }, + "engines": { + "node": ">=4" + }, + "funding": { + "url": "https://bevry.me/fund" + } + }, "node_modules/marked": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", @@ -3001,6 +3169,20 @@ "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", @@ -3409,6 +3591,15 @@ "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", @@ -3825,6 +4016,12 @@ "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", @@ -3909,9 +4106,10 @@ } }, "node_modules/version-compare": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/version-compare/-/version-compare-3.3.0.tgz", - "integrity": "sha512-jL4QY+bjCHaEGDudegNgtAPzeFeicPBRkISl/2bi1fiKVGbpbQi2fEKBUbA9zsYck7Nv020Xa5jbUdcBv3yocg==", + "version": "3.4.0", + "resolved": "https://registry.npmjs.org/version-compare/-/version-compare-3.4.0.tgz", + "integrity": "sha512-tt9kikXzv+9Cpx6IqQjZ6LsMhqaT9SjPJWOpCXIta5lfq9qC+21RotjbUk+PHqE6RZOJJMO354OO3hyTk2lcyA==", + "dev": true, "engines": { "node": ">=4" }, @@ -3920,12 +4118,9 @@ } }, "node_modules/version-range": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/version-range/-/version-range-3.2.0.tgz", - "integrity": "sha512-aP/XwEG9q+mTjyGUR2FDrIfLMAylJ4k4/eSCxXBAeDUeHWWtzFeWE37YlTrPA5lEXwA2A7A0N+YDPEPAkuEcJg==", - "dependencies": { - "version-compare": "^3.2.0" - }, + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/version-range/-/version-range-4.7.0.tgz", + "integrity": "sha512-//udu20odzjo4lH4SjUh3KOcqBanhYjyiFFfVsso6LsGMPjpUlnc5+6QHwl0pv0PMfXq6sv6kfMV1AXXdVGQ3g==", "engines": { "node": ">=4" }, diff --git a/package.json b/package.json index 1d41e05..0030534 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,16 @@ { "name": "@bevry/fs-unlink", - "version": "1.2.0", + "version": "1.3.0", "description": "Remove a file.", "homepage": "https://github.com/bevry/fs-unlink", "license": "Artistic-2.0", "keywords": [ "access", "accessible", + "deno", + "deno-edition", + "deno-entry", + "denoland", "ecmascript", "es2016", "es2022", @@ -147,6 +151,20 @@ "import" ], "engines": false + }, + { + "description": "TypeScript source code made to be compatible with Deno", + "directory": "edition-deno", + "entry": "index.ts", + "tags": [ + "typescript", + "import", + "deno" + ], + "engines": { + "deno": true, + "browsers": false + } } ], "types": "edition-types/index.d.ts", @@ -160,23 +178,25 @@ "require": "./edition-es2022/index.js" } }, + "deno": "edition-deno/index.ts", "dependencies": { - "@bevry/fs-accessible": "^2.1.0", - "editions": "^6.13.0", - "errlop": "^7.3.0" + "@bevry/fs-accessible": "^2.2.0", + "editions": "^6.16.0", + "errlop": "^7.4.0" }, "devDependencies": { - "@bevry/fs-write": "^1.1.0", + "@bevry/fs-write": "^1.2.0", "@bevry/update-contributors": "^1.23.0", - "@types/node": "^20.9.4", + "@types/node": "^20.10.0", "@typescript-eslint/eslint-plugin": "^6.12.0", "@typescript-eslint/parser": "^6.12.0", - "assert-helpers": "^11.5.0", + "assert-helpers": "^11.6.0", "eslint": "^8.54.0", - "eslint-config-bevry": "^5.1.0", + "eslint-config-bevry": "^5.2.0", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.0.1", "kava": "^7.3.0", + "make-deno-edition": "^2.0.0", "prettier": "^3.1.0", "projectz": "^3.3.0", "promise-errback": "^1.0.0", @@ -187,7 +207,8 @@ }, "scripts": { "our:clean": "rm -rf ./docs ./edition* ./es2015 ./es5 ./out ./.next", - "our:compile": "npm run our:compile:edition-es2016 && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types", + "our:compile": "npm run our:compile:deno && npm run our:compile:edition-es2016 && npm run our:compile:edition-es2022 && npm run our:compile:edition-es2022-esm && npm run our:compile:edition-types", + "our:compile:deno": "make-deno-edition --attempt", "our:compile:edition-es2016": "tsc --module commonjs --target ES2016 --outDir ./edition-es2016 --project tsconfig.json && ( test ! -d edition-es2016/source || ( mv edition-es2016/source edition-temp && rm -rf edition-es2016 && mv edition-temp edition-es2016 ) ) && printf '%s' '{\"type\": \"commonjs\"}' > edition-es2016/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",