@stacksjs/utils 0.42.2 → 0.43.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.
package/dist/is.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export declare const isBrowser: boolean;
2
+ export declare const isServer: boolean;
package/dist/is.mjs CHANGED
@@ -1 +1,2 @@
1
1
  export const isBrowser = typeof window !== "undefined";
2
+ export const isServer = typeof document === "undefined";
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@stacksjs/utils",
3
3
  "type": "module",
4
- "version": "0.42.2",
5
- "packageManager": "pnpm@7.17.0",
4
+ "version": "0.43.1",
5
+ "packageManager": "pnpm@7.17.1",
6
6
  "description": "The Stacks helper functions.",
7
7
  "author": "Chris Breuer",
8
8
  "license": "MIT",
@@ -38,11 +38,11 @@
38
38
  ],
39
39
  "engines": {
40
40
  "node": ">=v18.12.1",
41
- "pnpm": ">=7.17.0"
41
+ "pnpm": ">=7.17.1"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "@vueuse/core": "^9.6.0",
45
- "@vueuse/head": "^1.0.18",
45
+ "@vueuse/head": "^1.0.19",
46
46
  "@vueuse/math": "^9.6.0",
47
47
  "@vueuse/shared": "^9.6.0",
48
48
  "defu": "^6.1.1",
@@ -54,17 +54,17 @@
54
54
  "p-limit": "^4.0.0",
55
55
  "rimraf": "^3.0.2",
56
56
  "throttle-debounce": "^5.0.0",
57
- "@stacksjs/cli": "0.42.2",
58
- "@stacksjs/config": "0.42.2",
59
- "@stacksjs/lint": "0.42.2",
60
- "@stacksjs/path": "0.42.2",
61
- "@stacksjs/storage": "0.42.2",
62
- "@stacksjs/types": "0.42.2"
57
+ "@stacksjs/cli": "0.43.1",
58
+ "@stacksjs/config": "0.43.1",
59
+ "@stacksjs/lint": "0.43.1",
60
+ "@stacksjs/path": "0.43.1",
61
+ "@stacksjs/storage": "0.43.1",
62
+ "@stacksjs/types": "0.43.1"
63
63
  },
64
64
  "devDependencies": {
65
65
  "mkdist": "^1.0.0",
66
66
  "typescript": "^4.9.3",
67
- "@stacksjs/testing": "0.42.2"
67
+ "@stacksjs/testing": "0.43.1"
68
68
  },
69
69
  "scripts": {
70
70
  "build": "mkdist -d",