@ctx-core/env 16.0.27 → 16.0.30

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,23 @@
1
1
  # @ctx-core/env
2
2
 
3
+ ## 16.0.30
4
+
5
+ ### Patch Changes
6
+
7
+ - @ctx-core/nanostores: 1.3.0
8
+
9
+ ## 16.0.29
10
+
11
+ ### Patch Changes
12
+
13
+ - @ctx-core/nanostores: 1.2.0
14
+
15
+ ## 16.0.28
16
+
17
+ ### Patch Changes
18
+
19
+ - "@ctx-core/nanostores": "^1.1.1"
20
+
3
21
  ## 16.0.27
4
22
 
5
23
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ctx-core/env",
3
- "version": "16.0.27",
3
+ "version": "16.0.30",
4
4
  "description": "ctx-core env",
5
5
  "keywords": [
6
6
  "ctx-core",
@@ -25,7 +25,7 @@
25
25
  "dependencies": {
26
26
  "@ctx-core/error": "^11.4.8",
27
27
  "@ctx-core/function": "^20.8.0",
28
- "@ctx-core/nanostores": "^1.1.0",
28
+ "@ctx-core/nanostores": "^1.3.0",
29
29
  "@ctx-core/object": "^22.2.0",
30
30
  "svelte": "^3.48.0"
31
31
  },
@@ -1,5 +1,5 @@
1
- import { WritableAtom$ } from '@ctx-core/nanostores'
1
+ import { WritableAtom_ } from '@ctx-core/nanostores'
2
2
  import { B } from '@ctx-core/object'
3
3
  export declare const CACHE_VERSION$_:B<CACHE_VERSION$_T>
4
- export declare type CACHE_VERSION$_T = WritableAtom$<false|string>;
4
+ export declare type CACHE_VERSION$_T = WritableAtom_<false|string>;
5
5
  export { CACHE_VERSION$_ as b__CACHE_VERSION, }
@@ -1,7 +1,7 @@
1
- import { atom$ } from '@ctx-core/nanostores'
1
+ import { atom_ } from '@ctx-core/nanostores'
2
2
  import { be_ } from '@ctx-core/object'
3
3
  /** @type {import('./CACHE_VERSION$_').CACHE_VERSION$_} */
4
4
  export const CACHE_VERSION$_ = be_('CACHE_VERSION$', ()=>
5
- atom$(typeof process === 'object' && process.env.CACHE_VERSION)
5
+ atom_(typeof process === 'object' && process.env.CACHE_VERSION)
6
6
  )
7
7
  export { CACHE_VERSION$_ as b__CACHE_VERSION, }
@@ -1,5 +1,5 @@
1
- import { WritableAtom$ } from '@ctx-core/nanostores'
1
+ import { WritableAtom_ } from '@ctx-core/nanostores'
2
2
  import { B } from '@ctx-core/object'
3
3
  export declare const NODE_ENV$_:B<NODE_ENV$_T>
4
- export declare type NODE_ENV$_T = WritableAtom$<string>;
4
+ export declare type NODE_ENV$_T = WritableAtom_<string>;
5
5
  export { NODE_ENV$_ as b__NODE_ENV }
package/src/NODE_ENV$_.js CHANGED
@@ -1,6 +1,6 @@
1
- import { atom$ } from '@ctx-core/nanostores'
1
+ import { atom_ } from '@ctx-core/nanostores'
2
2
  import { be_ } from '@ctx-core/object'
3
3
  /** @type {import('NODE_ENV$_').NODE_ENV$_} */
4
- export const NODE_ENV$_ = be_('NODE_ENV$', ()=>atom$(process.env.NODE_ENV)
4
+ export const NODE_ENV$_ = be_('NODE_ENV$', ()=>atom_(process.env.NODE_ENV)
5
5
  )
6
6
  export { NODE_ENV$_ as b__NODE_ENV }
@@ -1,4 +1,4 @@
1
1
  import type { B } from '@ctx-core/object'
2
- import type { WritableAtom$ } from '@ctx-core/nanostores'
2
+ import type { WritableAtom_ } from '@ctx-core/nanostores'
3
3
  export declare const VERSION$_:B<VERSION$_T>
4
- export declare type VERSION$_T = WritableAtom$<string>;
4
+ export declare type VERSION$_T = WritableAtom_<string>;
package/src/VERSION$_.js CHANGED
@@ -1,8 +1,8 @@
1
- import { atom$ } from '@ctx-core/nanostores'
1
+ import { atom_ } from '@ctx-core/nanostores'
2
2
  import { be_ } from '@ctx-core/object'
3
3
  /** @type {import('VERSION$_').VERSION$_} */
4
4
  export const VERSION$_ = be_('VERSION$', ()=>
5
- atom$(
5
+ atom_(
6
6
  typeof process === 'object' && (
7
7
  process.env.VERSION || process.env.HEROKU_SLUG_COMMIT
8
8
  )
@@ -1,4 +1,4 @@
1
- import { ReadableAtom$ } from '@ctx-core/nanostores'
1
+ import { ReadableAtom_ } from '@ctx-core/nanostores'
2
2
  import { B } from '@ctx-core/object'
3
3
  export declare const is_development$_:B<is_development$_T>
4
- export declare type is_development$_T = ReadableAtom$<boolean>;
4
+ export declare type is_development$_T = ReadableAtom_<boolean>;
@@ -1,9 +1,9 @@
1
- import { computed$ } from '@ctx-core/nanostores'
1
+ import { computed_ } from '@ctx-core/nanostores'
2
2
  import { be_ } from '@ctx-core/object'
3
3
  import { NODE_ENV$_ } from './NODE_ENV$_.js'
4
4
  /** @type {import('is_development$_').is_development$_} */
5
5
  export const is_development$_ = be_('is_development$', ctx=>
6
- computed$(NODE_ENV$_(ctx),
6
+ computed_(NODE_ENV$_(ctx),
7
7
  (NODE_ENV)=>
8
8
  NODE_ENV === 'dev' || NODE_ENV === 'development.js'
9
9
  )
@@ -1,5 +1,5 @@
1
- import { ReadableAtom$ } from '@ctx-core/nanostores'
1
+ import { ReadableAtom_ } from '@ctx-core/nanostores'
2
2
  import { B } from '@ctx-core/object'
3
3
  export declare const is_production$_:B<is_production$_T>
4
- export declare type is_production$_T = ReadableAtom$<boolean>;
4
+ export declare type is_production$_T = ReadableAtom_<boolean>;
5
5
  export { is_production$_ as b__is__production }
@@ -1,9 +1,9 @@
1
- import { computed$ } from '@ctx-core/nanostores'
1
+ import { computed_ } from '@ctx-core/nanostores'
2
2
  import { be_ } from '@ctx-core/object'
3
3
  import { NODE_ENV$_ } from './NODE_ENV$_.js'
4
4
  /** @type {import('is_production$_').is_production$_} */
5
5
  export const is_production$_ = be_('is_production$', ctx=>
6
- computed$(NODE_ENV$_(ctx),
6
+ computed_(NODE_ENV$_(ctx),
7
7
  (NODE_ENV)=>
8
8
  NODE_ENV === 'prod' || NODE_ENV === 'production.js'
9
9
  )
@@ -1,5 +1,5 @@
1
- import { ReadableAtom$ } from '@ctx-core/nanostores'
1
+ import { ReadableAtom_ } from '@ctx-core/nanostores'
2
2
  import { B } from '@ctx-core/object'
3
3
  export declare const is_staging$_:B<is_staging$_T>
4
- export declare type is_staging$_T = ReadableAtom$<boolean>;
4
+ export declare type is_staging$_T = ReadableAtom_<boolean>;
5
5
  export { is_staging$_ as b__is__staging }
@@ -1,10 +1,10 @@
1
1
  import { eql_ } from '@ctx-core/function'
2
- import { computed$ } from '@ctx-core/nanostores'
2
+ import { computed_ } from '@ctx-core/nanostores'
3
3
  import { be_ } from '@ctx-core/object'
4
4
  import { NODE_ENV$_ } from './NODE_ENV$_.js'
5
5
  /** @type {import('is_staging$_').is_staging$_} */
6
6
  export const is_staging$_ = be_('is_staging$', ctx=>
7
- computed$(NODE_ENV$_(ctx),
7
+ computed_(NODE_ENV$_(ctx),
8
8
  eql_([
9
9
  'staging'
10
10
  ]))