Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: isaacs/node-lru-cache
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v10.0.1
Choose a base ref
...
head repository: isaacs/node-lru-cache
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v10.0.2
Choose a head ref
  • 4 commits
  • 40 files changed
  • 1 contributor

Commits on Sep 15, 2023

  1. add github link to typedocs

    isaacs committed Sep 15, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    7ea4716 View commit details

Commits on Nov 10, 2023

  1. update tap, clock-mock, build with tshy

    This also removes the size tracking stuff, since it's not really
    providing enough utility for the maintenance overhead of having outdated
    deps that keep triggering audit warnings.
    
    close: #323
    isaacs committed Nov 10, 2023

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    e0f005a View commit details
  2. Copy the full SHA
    7af4946 View commit details
  3. 10.0.2

    isaacs committed Nov 10, 2023
    Copy the full SHA
    744ba6d View commit details
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ jobs:
build:
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x, 21.x]
platform:
- os: ubuntu-latest
shell: bash
19 changes: 0 additions & 19 deletions .github/workflows/size-limit.yml

This file was deleted.

6 changes: 1 addition & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/.tap
/node_modules
/.nyc_output
/nyc_output
/coverage
/bundle
/index.mjs
/dist
9 changes: 9 additions & 0 deletions .tshy/build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"rootDir": "../src",
"target": "es2022",
"module": "nodenext",
"moduleResolution": "nodenext"
}
}
14 changes: 14 additions & 0 deletions .tshy/commonjs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"extends": "./build.json",
"include": [
"../src/**/*.ts",
"../src/**/*.cts",
"../src/**/*.tsx"
],
"exclude": [
"../src/**/*.mts"
],
"compilerOptions": {
"outDir": "../.tshy-build/commonjs"
}
}
12 changes: 12 additions & 0 deletions .tshy/esm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"extends": "./build.json",
"include": [
"../src/**/*.ts",
"../src/**/*.mts",
"../src/**/*.tsx"
],
"exclude": [],
"compilerOptions": {
"outDir": "../.tshy-build/esm"
}
}
20 changes: 4 additions & 16 deletions fixup.sh
Original file line number Diff line number Diff line change
@@ -2,24 +2,12 @@

esbuild --minify \
--sourcemap \
--bundle dist/cjs/index.js \
--outfile=dist/cjs/index.min.js \
--bundle dist/commonjs/index.js \
--outfile=dist/commonjs/index.min.js \
--format=cjs

esbuild --minify \
--sourcemap \
--bundle dist/mjs/index.js \
--outfile=dist/mjs/index.min.js \
--bundle dist/esm/index.js \
--outfile=dist/esm/index.min.js \
--format=esm

cat >dist/cjs/package.json <<!EOF
{
"type": "commonjs"
}
!EOF

cat >dist/mjs/package.json <<!EOF
{
"type": "module"
}
!EOF
Loading