@spoosh/plugin-invalidation 0.5.4 → 0.5.5

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.
package/dist/index.js CHANGED
@@ -31,7 +31,7 @@ function resolveModeTags(context, mode) {
31
31
  case "all":
32
32
  return context.tags;
33
33
  case "self":
34
- return [context.path.join("/")];
34
+ return [context.path];
35
35
  case "none":
36
36
  return [];
37
37
  }
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ function resolveModeTags(context, mode) {
5
5
  case "all":
6
6
  return context.tags;
7
7
  case "self":
8
- return [context.path.join("/")];
8
+ return [context.path];
9
9
  case "none":
10
10
  return [];
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spoosh/plugin-invalidation",
3
- "version": "0.5.4",
3
+ "version": "0.5.5",
4
4
  "description": "Cache invalidation plugin for Spoosh - auto-invalidates after mutations",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -33,11 +33,11 @@
33
33
  }
34
34
  },
35
35
  "peerDependencies": {
36
- "@spoosh/core": ">=0.8.0"
36
+ "@spoosh/core": ">=0.11.0"
37
37
  },
38
38
  "devDependencies": {
39
- "@spoosh/test-utils": "0.1.5",
40
- "@spoosh/core": "0.10.0"
39
+ "@spoosh/core": "0.11.0",
40
+ "@spoosh/test-utils": "0.1.6"
41
41
  },
42
42
  "scripts": {
43
43
  "dev": "tsup --watch",