From 30a3d1a655a6eea188fcbd665746c093a821d5b6 Mon Sep 17 00:00:00 2001 From: Jason Mulligan Date: Fri, 7 Apr 2023 10:47:04 -0400 Subject: [PATCH 1/9] Updating `benchmark.js` --- benchmark.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmark.js b/benchmark.js index 6d458cb..46d5ae9 100644 --- a/benchmark.js +++ b/benchmark.js @@ -1,4 +1,4 @@ -import {lru} from "./dist/tiny-lru.esm.js"; +import {lru} from "tiny-lru"; import {precise} from "precise"; const nth = 2e3, From 6b6bb0c652531939bb7d589b6c219409883b7c60 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Apr 2023 06:57:44 +0000 Subject: [PATCH 2/9] Bump eslint from 8.37.0 to 8.38.0 (#78) Bumps [eslint](https://github.com/eslint/eslint) from 8.37.0 to 8.38.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v8.37.0...v8.38.0) --- updated-dependencies: - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9f7a881..c37f6a1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -69,9 +69,9 @@ } }, "node_modules/@eslint/js": { - "version": "8.37.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.37.0.tgz", - "integrity": "sha512-x5vzdtOOGgFVDCUs81QRB2+liax8rFg3+7hqM+QhBG0/G3F1ZsoYl97UrqgHgQ9KKT7G6c4V+aTUCgu/n22v1A==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.38.0.tgz", + "integrity": "sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==", "dev": true, "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" @@ -600,15 +600,15 @@ } }, "node_modules/eslint": { - "version": "8.37.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.37.0.tgz", - "integrity": "sha512-NU3Ps9nI05GUoVMxcZx1J8CNR6xOvUT4jAUMH5+z8lpp3aEdPVCImKw6PWG4PY+Vfkpr+jvMpxs/qoE7wq0sPw==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.38.0.tgz", + "integrity": "sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==", "dev": true, "dependencies": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", "@eslint/eslintrc": "^2.0.2", - "@eslint/js": "8.37.0", + "@eslint/js": "8.38.0", "@humanwhocodes/config-array": "^0.11.8", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", @@ -2039,9 +2039,9 @@ } }, "@eslint/js": { - "version": "8.37.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.37.0.tgz", - "integrity": "sha512-x5vzdtOOGgFVDCUs81QRB2+liax8rFg3+7hqM+QhBG0/G3F1ZsoYl97UrqgHgQ9KKT7G6c4V+aTUCgu/n22v1A==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.38.0.tgz", + "integrity": "sha512-IoD2MfUnOV58ghIHCiil01PcohxjbYR/qCxsoC+xNgUwh1EY8jOOrYmu3d3a71+tJJ23uscEV4X2HJWMsPJu4g==", "dev": true }, "@humanwhocodes/config-array": { @@ -2424,15 +2424,15 @@ "dev": true }, "eslint": { - "version": "8.37.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.37.0.tgz", - "integrity": "sha512-NU3Ps9nI05GUoVMxcZx1J8CNR6xOvUT4jAUMH5+z8lpp3aEdPVCImKw6PWG4PY+Vfkpr+jvMpxs/qoE7wq0sPw==", + "version": "8.38.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-8.38.0.tgz", + "integrity": "sha512-pIdsD2jwlUGf/U38Jv97t8lq6HpaU/G9NKbYmpWpZGw3LdTNhZLbJePqxOXGB5+JEKfOPU/XLxYxFh03nr1KTg==", "dev": true, "requires": { "@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/regexpp": "^4.4.0", "@eslint/eslintrc": "^2.0.2", - "@eslint/js": "8.37.0", + "@eslint/js": "8.38.0", "@humanwhocodes/config-array": "^0.11.8", "@humanwhocodes/module-importer": "^1.0.1", "@nodelib/fs.walk": "^1.2.8", From fee6a8853a7f3b5aa1a37cce9d3581387732d49e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Apr 2023 06:57:54 +0000 Subject: [PATCH 3/9] Bump typescript from 5.0.3 to 5.0.4 (#79) Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.0.3 to 5.0.4. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v5.0.3...v5.0.4) --- updated-dependencies: - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index c37f6a1..b810322 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1826,9 +1826,9 @@ } }, "node_modules/typescript": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.3.tgz", - "integrity": "sha512-xv8mOEDnigb/tN9PSMTwSEqAnUvkoXMQlicOb0IUVDBSQCgBSaAAROUZYy2IcUy5qU6XajK5jjjO7TMWqBTKZA==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", + "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", "dev": true, "bin": { "tsc": "bin/tsc", @@ -3294,9 +3294,9 @@ "dev": true }, "typescript": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.3.tgz", - "integrity": "sha512-xv8mOEDnigb/tN9PSMTwSEqAnUvkoXMQlicOb0IUVDBSQCgBSaAAROUZYy2IcUy5qU6XajK5jjjO7TMWqBTKZA==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.0.4.tgz", + "integrity": "sha512-cW9T5W9xY37cc+jfEnaUvX91foxtHkza3Nw3wkoF4sSlKn0MONdkdEndig/qPBWXNkmplh3NzayQzCiHM4/hqw==", "dev": true }, "uglify-js": { From 743123ecb5c59ac7bd200dfa402aae06bc0eeded Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Apr 2023 06:58:00 +0000 Subject: [PATCH 4/9] Bump @rollup/plugin-terser from 0.4.0 to 0.4.1 (#80) Bumps [@rollup/plugin-terser](https://github.com/rollup/plugins/tree/HEAD/packages/terser) from 0.4.0 to 0.4.1. - [Release notes](https://github.com/rollup/plugins/releases) - [Changelog](https://github.com/rollup/plugins/blob/master/packages/terser/CHANGELOG.md) - [Commits](https://github.com/rollup/plugins/commits/terser-v0.4.1/packages/terser) --- updated-dependencies: - dependency-name: "@rollup/plugin-terser" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index b810322..40dc399 100644 --- a/package-lock.json +++ b/package-lock.json @@ -204,9 +204,9 @@ } }, "node_modules/@rollup/plugin-terser": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-terser/-/plugin-terser-0.4.0.tgz", - "integrity": "sha512-Ipcf3LPNerey1q9ZMjiaWHlNPEHNU/B5/uh9zXLltfEQ1lVSLLeZSgAtTPWGyw8Ip1guOeq+mDtdOlEj/wNxQw==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-terser/-/plugin-terser-0.4.1.tgz", + "integrity": "sha512-aKS32sw5a7hy+fEXVy+5T95aDIwjpGHCTv833HXVtyKMDoVS7pBr5K3L9hEQoNqbJFjfANPrNpIXlTQ7is00eA==", "dev": true, "dependencies": { "serialize-javascript": "^6.0.0", @@ -2143,9 +2143,9 @@ } }, "@rollup/plugin-terser": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@rollup/plugin-terser/-/plugin-terser-0.4.0.tgz", - "integrity": "sha512-Ipcf3LPNerey1q9ZMjiaWHlNPEHNU/B5/uh9zXLltfEQ1lVSLLeZSgAtTPWGyw8Ip1guOeq+mDtdOlEj/wNxQw==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/@rollup/plugin-terser/-/plugin-terser-0.4.1.tgz", + "integrity": "sha512-aKS32sw5a7hy+fEXVy+5T95aDIwjpGHCTv833HXVtyKMDoVS7pBr5K3L9hEQoNqbJFjfANPrNpIXlTQ7is00eA==", "dev": true, "requires": { "serialize-javascript": "^6.0.0", From d8c2e912449c69c3a93f38ed4104a66eb40296ea Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Apr 2023 06:57:15 +0000 Subject: [PATCH 5/9] Bump rollup from 3.20.2 to 3.20.4 (#81) Bumps [rollup](https://github.com/rollup/rollup) from 3.20.2 to 3.20.4. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v3.20.2...v3.20.4) --- updated-dependencies: - dependency-name: rollup dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 40dc399..395adc7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1575,9 +1575,9 @@ } }, "node_modules/rollup": { - "version": "3.20.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.20.2.tgz", - "integrity": "sha512-3zwkBQl7Ai7MFYQE0y1MeQ15+9jsi7XxfrqwTb/9EK8D9C9+//EBR4M+CuA1KODRaNbFez/lWxA5vhEGZp4MUg==", + "version": "3.20.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.20.4.tgz", + "integrity": "sha512-n7J4tuctZXUErM9Uc916httwqmTc63zzCr2+TLCiSCpfO/Xuk3g/marGN1IlRJZi+QF3XMYx75PxXRfZDVgaRw==", "dev": true, "bin": { "rollup": "dist/bin/rollup" @@ -3124,9 +3124,9 @@ } }, "rollup": { - "version": "3.20.2", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.20.2.tgz", - "integrity": "sha512-3zwkBQl7Ai7MFYQE0y1MeQ15+9jsi7XxfrqwTb/9EK8D9C9+//EBR4M+CuA1KODRaNbFez/lWxA5vhEGZp4MUg==", + "version": "3.20.4", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.20.4.tgz", + "integrity": "sha512-n7J4tuctZXUErM9Uc916httwqmTc63zzCr2+TLCiSCpfO/Xuk3g/marGN1IlRJZi+QF3XMYx75PxXRfZDVgaRw==", "dev": true, "requires": { "fsevents": "~2.3.2" From 7cf0b3f78b5965f143f615272a459bc1022bae2e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 18 Apr 2023 06:57:02 +0000 Subject: [PATCH 6/9] Bump rollup from 3.20.4 to 3.20.5 (#82) Bumps [rollup](https://github.com/rollup/rollup) from 3.20.4 to 3.20.5. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v3.20.4...v3.20.5) --- updated-dependencies: - dependency-name: rollup dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 395adc7..f936561 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1575,9 +1575,9 @@ } }, "node_modules/rollup": { - "version": "3.20.4", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.20.4.tgz", - "integrity": "sha512-n7J4tuctZXUErM9Uc916httwqmTc63zzCr2+TLCiSCpfO/Xuk3g/marGN1IlRJZi+QF3XMYx75PxXRfZDVgaRw==", + "version": "3.20.5", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.20.5.tgz", + "integrity": "sha512-Mx6NE3nLPIP6a9ReV4dTPOYYmDiyarJNtSbc37Jx0jvh8SHySoFPgyZAp9aDP3LnYvaJOrz+fclcwq3oZDzlnA==", "dev": true, "bin": { "rollup": "dist/bin/rollup" @@ -3124,9 +3124,9 @@ } }, "rollup": { - "version": "3.20.4", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.20.4.tgz", - "integrity": "sha512-n7J4tuctZXUErM9Uc916httwqmTc63zzCr2+TLCiSCpfO/Xuk3g/marGN1IlRJZi+QF3XMYx75PxXRfZDVgaRw==", + "version": "3.20.5", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.20.5.tgz", + "integrity": "sha512-Mx6NE3nLPIP6a9ReV4dTPOYYmDiyarJNtSbc37Jx0jvh8SHySoFPgyZAp9aDP3LnYvaJOrz+fclcwq3oZDzlnA==", "dev": true, "requires": { "fsevents": "~2.3.2" From cfaf25221f78965059e7fce3cdaa95aa00d4f9ed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 19 Apr 2023 06:57:07 +0000 Subject: [PATCH 7/9] Bump rollup from 3.20.5 to 3.20.6 (#83) Bumps [rollup](https://github.com/rollup/rollup) from 3.20.5 to 3.20.6. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](https://github.com/rollup/rollup/compare/v3.20.5...v3.20.6) --- updated-dependencies: - dependency-name: rollup dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index f936561..71e8a51 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1575,9 +1575,9 @@ } }, "node_modules/rollup": { - "version": "3.20.5", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.20.5.tgz", - "integrity": "sha512-Mx6NE3nLPIP6a9ReV4dTPOYYmDiyarJNtSbc37Jx0jvh8SHySoFPgyZAp9aDP3LnYvaJOrz+fclcwq3oZDzlnA==", + "version": "3.20.6", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.20.6.tgz", + "integrity": "sha512-2yEB3nQXp/tBQDN0hJScJQheXdvU2wFhh6ld7K/aiZ1vYcak6N/BKjY1QrU6BvO2JWYS8bEs14FRaxXosxy2zw==", "dev": true, "bin": { "rollup": "dist/bin/rollup" @@ -3124,9 +3124,9 @@ } }, "rollup": { - "version": "3.20.5", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.20.5.tgz", - "integrity": "sha512-Mx6NE3nLPIP6a9ReV4dTPOYYmDiyarJNtSbc37Jx0jvh8SHySoFPgyZAp9aDP3LnYvaJOrz+fclcwq3oZDzlnA==", + "version": "3.20.6", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.20.6.tgz", + "integrity": "sha512-2yEB3nQXp/tBQDN0hJScJQheXdvU2wFhh6ld7K/aiZ1vYcak6N/BKjY1QrU6BvO2JWYS8bEs14FRaxXosxy2zw==", "dev": true, "requires": { "fsevents": "~2.3.2" From 7d3aa827be6dccbd4b13fee556da67a588ca2b04 Mon Sep 17 00:00:00 2001 From: Jason Mulligan Date: Wed, 19 Apr 2023 21:13:07 -0400 Subject: [PATCH 8/9] Adding `types` to `exports`, fixes #84 --- package-lock.json | 4 ++-- package.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 71e8a51..1a5ec67 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "tiny-lru", - "version": "11.0.0", + "version": "11.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "tiny-lru", - "version": "11.0.0", + "version": "11.0.1", "license": "BSD-3-Clause", "devDependencies": { "@rollup/plugin-terser": "^0.4.0", diff --git a/package.json b/package.json index aaa6c83..44df01f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "tiny-lru", "description": "Tiny LRU cache for Client or Server", - "version": "11.0.0", + "version": "11.0.1", "homepage": "https://github.com/avoidwork/tiny-lru", "author": "Jason Mulligan ", "repository": { @@ -19,6 +19,7 @@ "source": "src/lru.js", "main": "dist/tiny-lru", "exports": { + "types": "./lru.d.ts", "import": "./dist/tiny-lru.js", "require": "./dist/tiny-lru.cjs" }, From a698b7ba6b7b981ee3ab39e3d7903aa1e984777b Mon Sep 17 00:00:00 2001 From: Jason Mulligan Date: Wed, 19 Apr 2023 21:13:34 -0400 Subject: [PATCH 9/9] Generating CHANGELOG.md --- CHANGELOG.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1779a83..cf18966 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,9 +4,23 @@ All notable changes to this project will be documented in this file. Dates are d Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). -#### [11.0.0](https://github.com/avoidwork/tiny-lru/compare/10.4.1...11.0.0) +#### [11.0.1](https://github.com/avoidwork/tiny-lru/compare/11.0.0...11.0.1) + +- Bump rollup from 3.20.5 to 3.20.6 [`#83`](https://github.com/avoidwork/tiny-lru/pull/83) +- Bump rollup from 3.20.4 to 3.20.5 [`#82`](https://github.com/avoidwork/tiny-lru/pull/82) +- Bump rollup from 3.20.2 to 3.20.4 [`#81`](https://github.com/avoidwork/tiny-lru/pull/81) +- Bump @rollup/plugin-terser from 0.4.0 to 0.4.1 [`#80`](https://github.com/avoidwork/tiny-lru/pull/80) +- Bump typescript from 5.0.3 to 5.0.4 [`#79`](https://github.com/avoidwork/tiny-lru/pull/79) +- Bump eslint from 8.37.0 to 8.38.0 [`#78`](https://github.com/avoidwork/tiny-lru/pull/78) +- Adding `types` to `exports`, fixes #84 [`#84`](https://github.com/avoidwork/tiny-lru/issues/84) +- Updating `benchmark.js` [`30a3d1a`](https://github.com/avoidwork/tiny-lru/commit/30a3d1a655a6eea188fcbd665746c093a821d5b6) + +### [11.0.0](https://github.com/avoidwork/tiny-lru/compare/10.4.1...11.0.0) + +> 7 April 2023 - Updating rollup config such that ecma module is '.js' and UMD is 'umd.js', replacing private `#has()` with equal `has()`, updating test such that it imports by name, updating package.json such that `exports` key is present for esm and cjs usage [`6a284e6`](https://github.com/avoidwork/tiny-lru/commit/6a284e6b4b321306ea418d4fc4c4f6efccc203d5) +- Generating CHANGELOG.md [`6e8b7a7`](https://github.com/avoidwork/tiny-lru/commit/6e8b7a761017647d289c3ee119fd76f0294b2e8d) #### [10.4.1](https://github.com/avoidwork/tiny-lru/compare/10.4.0...10.4.1)