@ctx-core/window 15.1.63 → 15.1.67

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/hostname/index.js CHANGED
@@ -1,8 +1,9 @@
1
- import { nullish__none_ } from '@ctx-core/function'
1
+ /// <reference types="ctx-core" />
2
+ /// <reference types="./index.d.ts" />
2
3
  import { be_computed_pair_ } from '@ctx-core/nanostores'
4
+ import { nullish__none_ } from 'ctx-core/function'
3
5
  import { window_location$_ } from '../window_location/index.js'
4
- /** @typedef {import('@ctx-core/object').Ctx} */
5
- /** @type {typeof import('./index.d.ts').hostname$_} */
6
+ /** @type {typeof hostname$_} */
6
7
  export const [
7
8
  hostname$_,
8
9
  hostname_,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/window",
3
- "version": "15.1.63",
3
+ "version": "15.1.67",
4
4
  "description": "ctx-core window",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -31,15 +31,14 @@
31
31
  "./package.json": "./package.json"
32
32
  },
33
33
  "dependencies": {
34
- "@ctx-core/dom": "^15.1.58",
35
- "@ctx-core/function": "^21.24.8",
36
- "@ctx-core/nanostores": "^10.0.2",
37
- "@ctx-core/object": "^31.1.35"
34
+ "@ctx-core/dom": "^15.1.61",
35
+ "@ctx-core/nanostores": "^10.0.5",
36
+ "ctx-core": "^5.2.0"
38
37
  },
39
38
  "devDependencies": {
40
39
  "c8": "^8.0.1",
41
40
  "check-dts": "^0.7.2",
42
- "tsx": "^4.6.2",
41
+ "tsx": "^4.7.0",
43
42
  "typescript": "next",
44
43
  "uvu": "^0.5.6"
45
44
  },
package/pathname/index.js CHANGED
@@ -1,8 +1,10 @@
1
- import { nullish__none_ } from '@ctx-core/function'
1
+ /// <reference types="ctx-core" />
2
+ /// <reference types="./index.d.ts" />
2
3
  import { be_computed_pair_ } from '@ctx-core/nanostores'
4
+ import { nullish__none_ } from 'ctx-core/function'
3
5
  import { window_location$_ } from '../window_location/index.js'
4
- /** @typedef {import('@ctx-core/object').Ctx} */
5
- /** @type {typeof import('./index.d.ts').pathname$_} */
6
+ /** @typedef {Ctx} */
7
+ /** @type {typeof pathname$_} */
6
8
  export const [
7
9
  pathname$_,
8
10
  pathname_,
@@ -1,5 +1,5 @@
1
1
  import type { be_computed_pair_T } from '@ctx-core/nanostores'
2
- import type { Ctx } from '@ctx-core/object'
2
+ import type { Ctx } from 'ctx-core/be'
3
3
  export declare const [
4
4
  window_location$_,
5
5
  window_location_,
@@ -1,12 +1,10 @@
1
+ /// <reference types="ctx-core" />
1
2
  import { has_dom, no_dom } from '@ctx-core/dom'
2
3
  import { atom_, be_computed_pair_, computed_, onMount } from '@ctx-core/nanostores'
3
- import { be_ } from '@ctx-core/object'
4
+ import { be_ } from 'ctx-core/be'
4
5
  const window_location__atom$_ = be_(()=>
5
6
  atom_())
6
- /** @typedef {import('@ctx-core/object').be_atom_triple_T} */
7
7
  /** @typedef {import('@ctx-core/nanostores').WritableAtom_} */
8
- /** @typedef {import('@ctx-core/object').Be} */
9
- /** @typedef {import('@ctx-core/object').Ctx} */
10
8
  /** @type {typeof import('./index.d.ts').window_location$_} */
11
9
  export const [
12
10
  window_location$_,