nuxt-skew-protection 0.1.0 → 0.1.2

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/README.md CHANGED
@@ -45,6 +45,8 @@ Install `nuxt-skew-protection` dependency to your project:
45
45
  npx nuxi@latest module add nuxt-skew-protection
46
46
  ```
47
47
 
48
+ Nuxt Skew Protection is a [Nuxt SEO Pro](https://nuxtseo.com/pricing) module, **please see the [licensing](#license) for commercial use**.
49
+
48
50
  ## Documentation
49
51
 
50
52
  [📖 Read the full documentation](https://nuxtseo.com/skew-protection) for more information.
@@ -61,7 +63,9 @@ npx nuxi@latest module add nuxt-skew-protection
61
63
 
62
64
  #### Commercial License
63
65
 
64
- If you want to use Nuxt Skew Protection for commercial projects, you need a [Nuxt SEO Pro](https://nuxtseo.com/pricing) license. With this license, your source code remains proprietary.
66
+ Nuxt Skew Protection requires a paid license when using it for commercial projects. With this license, your source code remains proprietary.
67
+
68
+ See the [Nuxt SEO Pro](https://nuxtseo.com/pricing) to purchase or contact me at harlan@harlanzw.com.
65
69
 
66
70
  Commercial use includes:
67
71
  - Use in commercial products or services
package/dist/module.cjs CHANGED
@@ -796,10 +796,6 @@ export {}
796
796
  name: "useSkewProtection",
797
797
  from: resolver.resolve("./runtime/app/composables/useSkewProtection")
798
798
  });
799
- kit.addImports({
800
- name: "useSkewProtectionCookie",
801
- from: resolver.resolve("./runtime/app/composables/useSkewProtectionCookie")
802
- });
803
799
  nuxt.options.alias["nuxt-skew-protection/server"] = resolver.resolve("./runtime/server");
804
800
  if (options.storage?.driver) {
805
801
  nuxt.options.nitro.storage = nuxt.options.nitro.storage || {};
package/dist/module.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { CookieSerializeOptions } from 'cookie-es';
3
- import { NuxtSkewProtectionRuntimeConfig } from '/home/harlan/pkg/nuxt-skew-protection/dist/runtime/types.js';
3
+ import { NuxtSkewProtectionRuntimeConfig } from '/home/runner/work/nuxt-skew-protection/nuxt-skew-protection/dist/runtime/types.js';
4
4
 
5
5
  interface ModuleOptions {
6
6
  /**
package/dist/module.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { CookieSerializeOptions } from 'cookie-es';
3
- import { NuxtSkewProtectionRuntimeConfig } from '/home/harlan/pkg/nuxt-skew-protection/dist/runtime/types.js';
3
+ import { NuxtSkewProtectionRuntimeConfig } from '/home/runner/work/nuxt-skew-protection/nuxt-skew-protection/dist/runtime/types.js';
4
4
 
5
5
  interface ModuleOptions {
6
6
  /**
package/dist/module.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { CookieSerializeOptions } from 'cookie-es';
3
- import { NuxtSkewProtectionRuntimeConfig } from '/home/harlan/pkg/nuxt-skew-protection/dist/runtime/types.js';
3
+ import { NuxtSkewProtectionRuntimeConfig } from '/home/runner/work/nuxt-skew-protection/nuxt-skew-protection/dist/runtime/types.js';
4
4
 
5
5
  interface ModuleOptions {
6
6
  /**
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "nuxt": ">=4.0.0"
5
5
  },
6
6
  "configKey": "skewProtection",
7
- "version": "0.1.0",
7
+ "version": "0.1.2",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
package/dist/module.mjs CHANGED
@@ -793,10 +793,6 @@ export {}
793
793
  name: "useSkewProtection",
794
794
  from: resolver.resolve("./runtime/app/composables/useSkewProtection")
795
795
  });
796
- addImports({
797
- name: "useSkewProtectionCookie",
798
- from: resolver.resolve("./runtime/app/composables/useSkewProtectionCookie")
799
- });
800
796
  nuxt.options.alias["nuxt-skew-protection/server"] = resolver.resolve("./runtime/server");
801
797
  if (options.storage?.driver) {
802
798
  nuxt.options.nitro.storage = nuxt.options.nitro.storage || {};
@@ -5,21 +5,15 @@ interface Props {
5
5
  */
6
6
  forceOpen?: boolean;
7
7
  }
8
- declare function handleDismiss(): void;
9
- declare function handleReload(): Promise<void>;
10
8
  declare var __VLS_1: {
11
- isOpen: boolean;
12
- dismiss: typeof handleDismiss;
13
- reload: typeof handleReload;
14
- timeAgo: string;
15
- releaseDate: Date;
16
- releaseCount: number;
17
- invalidatedCount: number;
18
- payload: {
19
- deletedChunks: string[];
20
- invalidatedModules: string[];
21
- passedReleases: string[];
22
- } | null;
9
+ isOpen: any;
10
+ dismiss: any;
11
+ reload: any;
12
+ timeAgo: any;
13
+ releaseDate: any;
14
+ releaseCount: any;
15
+ invalidatedCount: any;
16
+ payload: any;
23
17
  };
24
18
  type __VLS_Slots = {} & {
25
19
  default?: (props: typeof __VLS_1) => any;
@@ -5,21 +5,15 @@ interface Props {
5
5
  */
6
6
  forceOpen?: boolean;
7
7
  }
8
- declare function handleDismiss(): void;
9
- declare function handleReload(): Promise<void>;
10
8
  declare var __VLS_1: {
11
- isOpen: boolean;
12
- dismiss: typeof handleDismiss;
13
- reload: typeof handleReload;
14
- timeAgo: string;
15
- releaseDate: Date;
16
- releaseCount: number;
17
- invalidatedCount: number;
18
- payload: {
19
- deletedChunks: string[];
20
- invalidatedModules: string[];
21
- passedReleases: string[];
22
- } | null;
9
+ isOpen: any;
10
+ dismiss: any;
11
+ reload: any;
12
+ timeAgo: any;
13
+ releaseDate: any;
14
+ releaseCount: any;
15
+ invalidatedCount: any;
16
+ payload: any;
23
17
  };
24
18
  type __VLS_Slots = {} & {
25
19
  default?: (props: typeof __VLS_1) => any;
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "nuxt-skew-protection",
3
3
  "type": "module",
4
- "version": "0.1.0",
5
- "description": "Zero-config real-time notifications and long-lived build assets to prevent skew issues in Nuxt applications.",
4
+ "version": "0.1.2",
5
+ "description": "Instantly adopted Nuxt releases with long-lived build assets.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",
8
8
  "email": "harlan@harlanzw.com",
@@ -41,17 +41,9 @@
41
41
  "tinyexec": "^1.0.1",
42
42
  "ufo": "^1.6.1"
43
43
  },
44
- "optionalDependencies": {
45
- "cloudflare": "^5.2.0"
46
- },
47
44
  "devDependencies": {
48
45
  "@antfu/eslint-config": "^5.4.1",
49
46
  "@arethetypeswrong/cli": "^0.18.2",
50
- "@headlessui/vue": "^1.7.23",
51
- "@iconify-json/carbon": "^1.2.13",
52
- "@iconify-json/logos": "^1.2.9",
53
- "@iconify-json/ri": "^1.2.5",
54
- "@iconify-json/tabler": "^1.2.23",
55
47
  "@nuxt/content": "^3.7.1",
56
48
  "@nuxt/devtools-ui-kit": "^2.6.5",
57
49
  "@nuxt/module-builder": "^1.0.2",
@@ -68,7 +60,7 @@
68
60
  "@unocss/runtime": "^66.5.2",
69
61
  "@vueuse/nuxt": "^13.9.0",
70
62
  "better-sqlite3": "^12.4.1",
71
- "bumpp": "^10.3.0",
63
+ "bumpp": "^10.3.1",
72
64
  "eslint": "^9.37.0",
73
65
  "eventsource": "^4.0.0",
74
66
  "execa": "^9.6.0",