@opennextjs/cloudflare 1.19.0 → 1.19.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36,6 +36,15 @@ export function withFilter({ tagCache, filterFn }) {
36
36
  }
37
37
  return tagCache.writeTags(filteredTags);
38
38
  },
39
+ isStale: tagCache.isStale
40
+ ? async (tags, lastModified) => {
41
+ const filteredTags = tags.filter(filterFn);
42
+ if (filteredTags.length === 0) {
43
+ return false;
44
+ }
45
+ return tagCache.isStale(filteredTags, lastModified);
46
+ }
47
+ : undefined,
39
48
  };
40
49
  }
41
50
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opennextjs/cloudflare",
3
3
  "description": "Cloudflare builder for next apps",
4
- "version": "1.19.0",
4
+ "version": "1.19.1",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "opennextjs-cloudflare": "dist/cli/index.js"