@alwatr/global-this 1.0.1 → 1.0.3

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
@@ -3,6 +3,19 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.0.3](https://github.com/Alwatr/nanolib/compare/@alwatr/global-this@1.0.2...@alwatr/global-this@1.0.3) (2024-11-02)
7
+
8
+ ### Dependencies update
9
+
10
+ * update ([4434ba6](https://github.com/Alwatr/nanolib/commit/4434ba67c3f576bb1a0c307fbdb263c43cd9733a)) by @AliMD
11
+
12
+ ## [1.0.2](https://github.com/Alwatr/nanolib/compare/@alwatr/global-this@1.0.1...@alwatr/global-this@1.0.2) (2024-10-25)
13
+
14
+ ### Dependencies update
15
+
16
+ * bump the development-dependencies group across 1 directory with 2 updates ([2dfda9e](https://github.com/Alwatr/nanolib/commit/2dfda9ec38a595f1fd961490d1a2fbf060f20a66)) by @dependabot[bot]
17
+ * bump the development-dependencies group with 8 updates ([16847ac](https://github.com/Alwatr/nanolib/commit/16847acba91da027c422e3910d0f2dcc1f084e93)) by @dependabot[bot]
18
+
6
19
  ## [1.0.1](https://github.com/Alwatr/nanolib/compare/@alwatr/global-this@1.0.0...@alwatr/global-this@1.0.1) (2024-10-12)
7
20
 
8
21
  **Note:** Version bump only for package @alwatr/global-this
@@ -11,22 +24,22 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
11
24
 
12
25
  ### ⚠ BREAKING CHANGES
13
26
 
14
- * **global-scope:** The global-scope module has been deprecated and should no longer be used. Please update your code to use the global-this module instead.
27
+ - **global-scope:** The global-scope module has been deprecated and should no longer be used. Please update your code to use the global-this module instead.
15
28
 
16
29
  ### Code Refactoring
17
30
 
18
- * **global-scope:** Remove global-scope module and replace with global-this ([b194b27](https://github.com/Alwatr/nanolib/commit/b194b2772628fec30cd41d677232e7393fcded61)) by @AliMD
19
- * use new `global-this` package ([42510b9](https://github.com/Alwatr/nanolib/commit/42510b9ae0e385206a902db093d188949f1cb84e)) by @mohammadhonarvar
31
+ - **global-scope:** Remove global-scope module and replace with global-this ([b194b27](https://github.com/Alwatr/nanolib/commit/b194b2772628fec30cd41d677232e7393fcded61)) by @AliMD
32
+ - use new `global-this` package ([42510b9](https://github.com/Alwatr/nanolib/commit/42510b9ae0e385206a902db093d188949f1cb84e)) by @mohammadhonarvar
20
33
 
21
34
  ## [1.1.26](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.25...@alwatr/global-scope@1.1.26) (2024-10-11)
22
35
 
23
36
  ### Bug Fixes
24
37
 
25
- * **global-scope:** prevent duplicate global scope module throw, just log error ([e67ffec](https://github.com/Alwatr/nanolib/commit/e67ffec77cbf5ae9de75d532be0062444486790b)) by @AliMD
38
+ - **global-scope:** prevent duplicate global scope module throw, just log error ([e67ffec](https://github.com/Alwatr/nanolib/commit/e67ffec77cbf5ae9de75d532be0062444486790b)) by @AliMD
26
39
 
27
40
  ### Miscellaneous Chores
28
41
 
29
- * include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @AliMD
42
+ - include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @AliMD
30
43
 
31
44
  ## [1.1.25](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.24...@alwatr/global-scope@1.1.25) (2024-10-11)
32
45
 
@@ -36,7 +49,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
36
49
 
37
50
  ### Dependencies update
38
51
 
39
- * bump the development-dependencies group with 10 updates ([fa4aaf0](https://github.com/Alwatr/nanolib/commit/fa4aaf04c907ecae06aa14000ce35216170c15ad)) by @dependabot[bot]
52
+ - bump the development-dependencies group with 10 updates ([fa4aaf0](https://github.com/Alwatr/nanolib/commit/fa4aaf04c907ecae06aa14000ce35216170c15ad)) by @dependabot[bot]
40
53
 
41
54
  ## [1.1.23](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.22...@alwatr/global-scope@1.1.23) (2024-10-08)
42
55
 
@@ -46,20 +59,20 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
46
59
 
47
60
  ### Bug Fixes
48
61
 
49
- * all dependeny topology ([1c17f34](https://github.com/Alwatr/nanolib/commit/1c17f349adf3e98e2a80ab2da4f0f81028dc9c5f)) by @mohammadhonarvar
62
+ - all dependeny topology ([1c17f34](https://github.com/Alwatr/nanolib/commit/1c17f349adf3e98e2a80ab2da4f0f81028dc9c5f)) by @mohammadhonarvar
50
63
 
51
64
  ### Code Refactoring
52
65
 
53
- * **global-scope:** Improve shared scope definition ([4704a02](https://github.com/Alwatr/nanolib/commit/4704a02497848a18ace8ae27830834d6322d6624)), closes [#123](https://github.com/Alwatr/nanolib/issues/123) by @AliMD
66
+ - **global-scope:** Improve shared scope definition ([4704a02](https://github.com/Alwatr/nanolib/commit/4704a02497848a18ace8ae27830834d6322d6624)), closes [#123](https://github.com/Alwatr/nanolib/issues/123) by @AliMD
54
67
 
55
68
  ### Miscellaneous Chores
56
69
 
57
- * **global-scop:** change the license to AGPL-3.0 ([ad7c262](https://github.com/Alwatr/nanolib/commit/ad7c2629743115af18b9298c6a9ccb5172c27333)) by @ArmanAsadian
58
- * Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @AliMD
70
+ - **global-scop:** change the license to AGPL-3.0 ([ad7c262](https://github.com/Alwatr/nanolib/commit/ad7c2629743115af18b9298c6a9ccb5172c27333)) by @ArmanAsadian
71
+ - Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @AliMD
59
72
 
60
73
  ### Dependencies update
61
74
 
62
- * bump @types/node ([3d80fed](https://github.com/Alwatr/nanolib/commit/3d80fedaf720af792feb060c2f81c737ebb84e11)) by @dependabot[bot]
75
+ - bump @types/node ([3d80fed](https://github.com/Alwatr/nanolib/commit/3d80fedaf720af792feb060c2f81c737ebb84e11)) by @dependabot[bot]
63
76
 
64
77
  ## [1.1.21](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.20...@alwatr/global-scope@1.1.21) (2024-09-21)
65
78
 
@@ -69,32 +82,32 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
69
82
 
70
83
  ### Dependencies update
71
84
 
72
- * bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
73
- * update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @AliMD
85
+ - bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
86
+ - update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @AliMD
74
87
 
75
88
  ## [1.1.19](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.18...@alwatr/global-scope@1.1.19) (2024-08-31)
76
89
 
77
90
  ### Miscellaneous Chores
78
91
 
79
- * Update package.json exports for [@alwatr](https://github.com/alwatr) packages ([dacb362](https://github.com/Alwatr/nanolib/commit/dacb362b145e3c51b4aba00ff643687a3fac11d2)) by @
92
+ - Update package.json exports for [@alwatr](https://github.com/alwatr) packages ([dacb362](https://github.com/Alwatr/nanolib/commit/dacb362b145e3c51b4aba00ff643687a3fac11d2)) by @
80
93
 
81
94
  ## [1.1.18](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.17...@alwatr/global-scope@1.1.18) (2024-08-31)
82
95
 
83
96
  ### Dependencies update
84
97
 
85
- * update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @AliMD
98
+ - update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @AliMD
86
99
 
87
100
  ## [1.1.17](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.16...@alwatr/global-scope@1.1.17) (2024-07-04)
88
101
 
89
102
  ### Dependencies update
90
103
 
91
- * update all dependencies ([0e908b4](https://github.com/Alwatr/nanolib/commit/0e908b476a6b976ec2447f864c8cafcbb8a0f099)) by @
104
+ - update all dependencies ([0e908b4](https://github.com/Alwatr/nanolib/commit/0e908b476a6b976ec2447f864c8cafcbb8a0f099)) by @
92
105
 
93
106
  ## [1.1.16](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.15...@alwatr/global-scope@1.1.16) (2024-05-12)
94
107
 
95
108
  ### Dependencies update
96
109
 
97
- * upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @AliMD
110
+ - upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @AliMD
98
111
 
99
112
  ## [1.1.15](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.14...@alwatr/global-scope@1.1.15) (2024-04-25)
100
113
 
@@ -108,7 +121,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
108
121
 
109
122
  ### Miscellaneous Chores
110
123
 
111
- * **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @AliMD
124
+ - **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @AliMD
112
125
 
113
126
  ## [1.1.12](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.11...@alwatr/global-scope@1.1.12) (2024-01-24)
114
127
 
package/README.md CHANGED
@@ -13,16 +13,16 @@ yarn add @alwatr/global-this
13
13
  ```typescript
14
14
  import {getGlobalThis} from '@alwatr/global-this';
15
15
 
16
- getGlobalThis<{alwatr:{foo: string}}>().alwatr = {
17
- foo: 'bar',
18
- }
16
+ getGlobalThis<{alwatr: {foo: string}}>().alwatr = {
17
+ foo: 'bar',
18
+ };
19
19
  ```
20
20
 
21
21
  ```typescript
22
22
  import {getGlobalThis} from '@alwatr/global-this';
23
23
 
24
24
  getGlobalThis().setTimeout(() => {
25
- console.log(getGlobalThis<{alwatr:{foo: string}}>().alwatr.foo); // 'bar'
25
+ console.log(getGlobalThis<{alwatr: {foo: string}}>().alwatr.foo); // 'bar'
26
26
  }, 1_000);
27
27
  ```
28
28
 
package/dist/main.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/global-this v1.0.1 */
1
+ /* @alwatr/global-this v1.0.3 */
2
2
  "use strict";
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
package/dist/main.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /* @alwatr/global-this v1.0.1 */
1
+ /* @alwatr/global-this v1.0.3 */
2
2
 
3
3
  // src/main.ts
4
4
  var globalThis__ = typeof globalThis === "object" && globalThis || typeof window === "object" && window || typeof global === "object" && global || self;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwatr/global-this",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Provides access to `globalThis`, ensuring cross-platform compatibility, including browsers (`window`), Node.js (`global`), and Web Workers (`self`).",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
6
  "keywords": [
@@ -70,15 +70,15 @@
70
70
  "clean": "rm -rfv dist *.tsbuildinfo"
71
71
  },
72
72
  "dependencies": {
73
- "@alwatr/package-tracer": "^1.0.6"
73
+ "@alwatr/package-tracer": "^1.0.8"
74
74
  },
75
75
  "devDependencies": {
76
- "@alwatr/nano-build": "^2.0.2",
76
+ "@alwatr/nano-build": "^2.0.4",
77
77
  "@alwatr/prettier-config": "^1.0.6",
78
- "@alwatr/tsconfig-base": "^1.3.2",
79
- "@alwatr/type-helper": "^2.0.2",
80
- "@types/node": "^22.7.5",
78
+ "@alwatr/tsconfig-base": "^1.3.3",
79
+ "@alwatr/type-helper": "^2.0.3",
80
+ "@types/node": "^22.8.6",
81
81
  "typescript": "^5.6.3"
82
82
  },
83
- "gitHead": "15d12342d2e69fbb6129675cce620132c5bd0bfc"
83
+ "gitHead": "5aecc962a161034aa9213dcc5fb3c1cece9eaca2"
84
84
  }