@ctx-core/window 11.0.43 → 11.1.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/CHANGELOG.md CHANGED
@@ -1,5 +1,50 @@
1
1
  # @ctx-core/window
2
2
 
3
+ ## 11.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: window_location_pathname_T,window_location_pathname\$\_T types
8
+
9
+ ## 11.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - feat: window_location_pathname\$\_b from window_location_pathname_b
14
+
15
+ ## 11.0.47
16
+
17
+ ### Patch Changes
18
+
19
+ - update dependencies
20
+
21
+ ## 11.0.46
22
+
23
+ ### Patch Changes
24
+
25
+ - svelte: 3.44.0 -> 3.44.1
26
+ - Updated dependencies [undefined]
27
+ - @ctx-core/store@27.0.35
28
+
29
+ ## 11.0.45
30
+
31
+ ### Patch Changes
32
+
33
+ - typescript: ^4.4.3 -> ^4.4.4
34
+ - svelte: 3.43.1 -> 3.44.0
35
+ - Updated dependencies [undefined]
36
+ - Updated dependencies [undefined]
37
+ - @ctx-core/dom@11.0.28
38
+ - @ctx-core/function@20.2.2
39
+ - @ctx-core/object@21.0.21
40
+ - @ctx-core/store@27.0.34
41
+
42
+ ## 11.0.44
43
+
44
+ ### Patch Changes
45
+
46
+ - update dependencies
47
+
3
48
  ## 11.0.43
4
49
 
5
50
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -4,4 +4,4 @@ export * from './hostname$_b.js';
4
4
  export * from './pathname$_b.js';
5
5
  export * from './window_location$_b.js';
6
6
  export * from './window_location_hostname$_b.js';
7
- export * from './window_location_pathname_b.js';
7
+ export * from './window_location_pathname$_b.js';
package/dist/index.js CHANGED
@@ -4,5 +4,5 @@ export * from './hostname$_b.js';
4
4
  export * from './pathname$_b.js';
5
5
  export * from './window_location$_b.js';
6
6
  export * from './window_location_hostname$_b.js';
7
- export * from './window_location_pathname_b.js';
7
+ export * from './window_location_pathname$_b.js';
8
8
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,6BAA6B,CAAA;AAC3C,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,kCAAkC,CAAA;AAChD,cAAc,iCAAiC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,6BAA6B,CAAA;AAC3C,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,yBAAyB,CAAA;AACvC,cAAc,kCAAkC,CAAA;AAChD,cAAc,kCAAkC,CAAA"}
@@ -2,11 +2,11 @@ import type { hostname$_T } from './hostname$_b.js';
2
2
  import type { pathname$_T } from './pathname$_b.js';
3
3
  import type { window_location$_T } from './window_location$_b.js';
4
4
  import type { window_location_hostname$_T } from './window_location_hostname$_b.js';
5
- import type { window_location_pathname_T } from './window_location_pathname_b.js';
5
+ import type { window_location_pathname$_T } from './window_location_pathname$_b.js';
6
6
  export interface window_ctx_I {
7
7
  hostname$?: hostname$_T;
8
8
  pathname$?: pathname$_T;
9
9
  window_location$?: window_location$_T;
10
10
  window_location_hostname$?: window_location_hostname$_T;
11
- window_location_pathname?: window_location_pathname_T;
11
+ window_location_pathname$?: window_location_pathname$_T;
12
12
  }
@@ -0,0 +1,9 @@
1
+ import { B } from '@ctx-core/object';
2
+ import { Readable$ } from '@ctx-core/store';
3
+ import type { window_Ctx } from './window_Ctx';
4
+ declare const key = "window_location_pathname$";
5
+ export declare const window_location_pathname$_b: B<window_Ctx, typeof key>;
6
+ export declare type window_location_pathname_T = string | undefined;
7
+ export interface window_location_pathname$_T extends Readable$<window_location_pathname_T> {
8
+ }
9
+ export { window_location_pathname$_b as window_location_pathname_b, window_location_pathname$_b as b__pathname__location__window, };
@@ -0,0 +1,13 @@
1
+ import { be_ } from '@ctx-core/object';
2
+ import { derived$ } from '@ctx-core/store';
3
+ import { pathname$_b } from './pathname$_b.js';
4
+ import { window_location$_b } from './window_location$_b.js';
5
+ const key = 'window_location_pathname$';
6
+ export const window_location_pathname$_b = be_(key, ctx => derived$([
7
+ pathname$_b(ctx),
8
+ window_location$_b(ctx),
9
+ ], ([pathname, location__window]) => (location__window && location__window.pathname)
10
+ || pathname
11
+ || ''));
12
+ export { window_location_pathname$_b as window_location_pathname_b, window_location_pathname$_b as b__pathname__location__window, };
13
+ //# sourceMappingURL=window_location_pathname$_b.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"window_location_pathname$_b.js","sourceRoot":"","sources":["../src/window_location_pathname$_b.ts"],"names":[],"mappings":"AAAA,OAAO,EAAK,GAAG,EAAE,MAAM,kBAAkB,CAAA;AACzC,OAAO,EAAE,QAAQ,EAAa,MAAM,iBAAiB,CAAA;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAE5D,MAAM,GAAG,GAAG,2BAA2B,CAAA;AACvC,MAAM,CAAC,MAAM,2BAA2B,GAA6B,GAAG,CAAC,GAAG,EAAE,GAAG,CAAA,EAAE,CAClF,QAAQ,CAAC;IACP,WAAW,CAAC,GAAG,CAAC;IAChB,kBAAkB,CAAC,GAAG,CAAC;CACvB,EACD,CAAC,CAAC,QAAQ,EAAE,gBAAgB,CAAwC,EAAC,EAAE,CACtE,CAAC,gBAAgB,IAAK,gBAA6B,CAAC,QAAQ,CAAC;OAC1D,QAAQ;OACR,EAAE,CACyB,CAChC,CAAA;AAGD,OAAO,EACN,2BAA2B,IAAI,0BAA0B,EACzD,2BAA2B,IAAI,6BAA6B,GAC5D,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/window",
3
- "version": "11.0.43",
3
+ "version": "11.1.1",
4
4
  "description": "ctx-core window",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -28,16 +28,16 @@
28
28
  "./package.json": "./package.json"
29
29
  },
30
30
  "dependencies": {
31
- "@ctx-core/dom": "^11.0.26",
32
- "@ctx-core/function": "^20.2.1",
33
- "@ctx-core/object": "^21.0.20",
34
- "@ctx-core/store": "^27.0.33",
31
+ "@ctx-core/dom": "^11.0.29",
32
+ "@ctx-core/function": "^20.2.2",
33
+ "@ctx-core/object": "^21.0.21",
34
+ "@ctx-core/store": "^27.0.35",
35
35
  "esm": "^3.2.25",
36
- "svelte": "3.43.1"
36
+ "svelte": "3.44.1"
37
37
  },
38
38
  "devDependencies": {
39
- "@ctx-core/dev-tools": "^7.1.3",
40
- "typescript": "^4.4.3"
39
+ "@ctx-core/dev-tools": "^7.1.4",
40
+ "typescript": "^4.4.4"
41
41
  },
42
42
  "publishConfig": {
43
43
  "access": "public",
package/src/index.ts CHANGED
@@ -4,4 +4,4 @@ export * from './hostname$_b.js'
4
4
  export * from './pathname$_b.js'
5
5
  export * from './window_location$_b.js'
6
6
  export * from './window_location_hostname$_b.js'
7
- export * from './window_location_pathname_b.js'
7
+ export * from './window_location_pathname$_b.js'
@@ -5,11 +5,11 @@ import type { hostname$_T } from './hostname$_b.js'
5
5
  import type { pathname$_T } from './pathname$_b.js'
6
6
  import type { window_location$_T } from './window_location$_b.js'
7
7
  import type { window_location_hostname$_T } from './window_location_hostname$_b.js'
8
- import type { window_location_pathname_T } from './window_location_pathname_b.js'
8
+ import type { window_location_pathname$_T } from './window_location_pathname$_b.js'
9
9
  export interface window_ctx_I {
10
10
  hostname$?:hostname$_T
11
11
  pathname$?:pathname$_T
12
12
  window_location$?:window_location$_T
13
13
  window_location_hostname$?:window_location_hostname$_T
14
- window_location_pathname?:window_location_pathname_T
14
+ window_location_pathname$?:window_location_pathname$_T
15
15
  }
@@ -3,8 +3,8 @@ import { derived$, Readable$ } from '@ctx-core/store'
3
3
  import { pathname$_b } from './pathname$_b.js'
4
4
  import { window_location$_b } from './window_location$_b.js'
5
5
  import type { window_Ctx } from './window_Ctx'
6
- const key = 'window_location_pathname'
7
- export const window_location_pathname_b:B<window_Ctx, typeof key> = be_(key, ctx=>
6
+ const key = 'window_location_pathname$'
7
+ export const window_location_pathname$_b:B<window_Ctx, typeof key> = be_(key, ctx=>
8
8
  derived$([
9
9
  pathname$_b(ctx),
10
10
  window_location$_b(ctx),
@@ -13,10 +13,11 @@ export const window_location_pathname_b:B<window_Ctx, typeof key> = be_(key, ctx
13
13
  (location__window && (location__window as Location).pathname)
14
14
  || pathname
15
15
  || ''
16
- ) as window_location_pathname_T
16
+ ) as window_location_pathname$_T
17
17
  )
18
- export type $window_location_pathname_T = string|undefined
19
- export interface window_location_pathname_T extends Readable$<$window_location_pathname_T> {}
18
+ export type window_location_pathname_T = string|undefined
19
+ export interface window_location_pathname$_T extends Readable$<window_location_pathname_T> {}
20
20
  export {
21
- window_location_pathname_b as b__pathname__location__window,
21
+ window_location_pathname$_b as window_location_pathname_b,
22
+ window_location_pathname$_b as b__pathname__location__window,
22
23
  }