@graffy/cache 0.15.22 → 0.15.23-alpha.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.
Files changed (3) hide show
  1. package/index.cjs +1 -1
  2. package/index.mjs +1 -1
  3. package/package.json +3 -3
package/index.cjs CHANGED
@@ -7,7 +7,7 @@ function index({ maxAge = DEFAULT_MAX_AGE } = {}) {
7
7
  return (store) => {
8
8
  const layers = [];
9
9
  let optimisticState = [];
10
- const optimisticChanges = new Set();
10
+ const optimisticChanges = /* @__PURE__ */ new Set();
11
11
  const watcher = common.makeWatcher();
12
12
  function addToCache(result = []) {
13
13
  const now = Date.now();
package/index.mjs CHANGED
@@ -6,7 +6,7 @@ function index({ maxAge = DEFAULT_MAX_AGE } = {}) {
6
6
  return (store) => {
7
7
  const layers = [];
8
8
  let optimisticState = [];
9
- const optimisticChanges = new Set();
9
+ const optimisticChanges = /* @__PURE__ */ new Set();
10
10
  const watcher = makeWatcher();
11
11
  function addToCache(result = []) {
12
12
  const now = Date.now();
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@graffy/cache",
3
3
  "description": "Graffy module providing in-memory caching.",
4
4
  "author": "aravind (https://github.com/aravindet)",
5
- "version": "0.15.22",
5
+ "version": "0.15.23-alpha.1",
6
6
  "main": "./index.cjs",
7
7
  "exports": {
8
8
  "import": "./index.mjs",
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "license": "Apache-2.0",
18
18
  "dependencies": {
19
- "@graffy/common": "0.15.22",
20
- "@graffy/stream": "0.15.22"
19
+ "@graffy/common": "0.15.23-alpha.1",
20
+ "@graffy/stream": "0.15.23-alpha.1"
21
21
  }
22
22
  }