@alwatr/global-this 1.0.0 → 1.0.2

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,26 +3,37 @@
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.2](https://github.com/Alwatr/nanolib/compare/@alwatr/global-this@1.0.1...@alwatr/global-this@1.0.2) (2024-10-25)
7
+
8
+ ### Dependencies update
9
+
10
+ * bump the development-dependencies group across 1 directory with 2 updates ([2dfda9e](https://github.com/Alwatr/nanolib/commit/2dfda9ec38a595f1fd961490d1a2fbf060f20a66)) by @dependabot[bot]
11
+ * bump the development-dependencies group with 8 updates ([16847ac](https://github.com/Alwatr/nanolib/commit/16847acba91da027c422e3910d0f2dcc1f084e93)) by @dependabot[bot]
12
+
13
+ ## [1.0.1](https://github.com/Alwatr/nanolib/compare/@alwatr/global-this@1.0.0...@alwatr/global-this@1.0.1) (2024-10-12)
14
+
15
+ **Note:** Version bump only for package @alwatr/global-this
16
+
6
17
  ## 1.0.0 (2024-10-11)
7
18
 
8
19
  ### ⚠ BREAKING CHANGES
9
20
 
10
- * **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.
21
+ - **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.
11
22
 
12
23
  ### Code Refactoring
13
24
 
14
- * **global-scope:** Remove global-scope module and replace with global-this ([b194b27](https://github.com/Alwatr/nanolib/commit/b194b2772628fec30cd41d677232e7393fcded61)) by @AliMD
15
- * use new `global-this` package ([42510b9](https://github.com/Alwatr/nanolib/commit/42510b9ae0e385206a902db093d188949f1cb84e)) by @mohammadhonarvar
25
+ - **global-scope:** Remove global-scope module and replace with global-this ([b194b27](https://github.com/Alwatr/nanolib/commit/b194b2772628fec30cd41d677232e7393fcded61)) by @AliMD
26
+ - use new `global-this` package ([42510b9](https://github.com/Alwatr/nanolib/commit/42510b9ae0e385206a902db093d188949f1cb84e)) by @mohammadhonarvar
16
27
 
17
28
  ## [1.1.26](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.25...@alwatr/global-scope@1.1.26) (2024-10-11)
18
29
 
19
30
  ### Bug Fixes
20
31
 
21
- * **global-scope:** prevent duplicate global scope module throw, just log error ([e67ffec](https://github.com/Alwatr/nanolib/commit/e67ffec77cbf5ae9de75d532be0062444486790b)) by @AliMD
32
+ - **global-scope:** prevent duplicate global scope module throw, just log error ([e67ffec](https://github.com/Alwatr/nanolib/commit/e67ffec77cbf5ae9de75d532be0062444486790b)) by @AliMD
22
33
 
23
34
  ### Miscellaneous Chores
24
35
 
25
- * include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @AliMD
36
+ - include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @AliMD
26
37
 
27
38
  ## [1.1.25](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.24...@alwatr/global-scope@1.1.25) (2024-10-11)
28
39
 
@@ -32,7 +43,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
32
43
 
33
44
  ### Dependencies update
34
45
 
35
- * bump the development-dependencies group with 10 updates ([fa4aaf0](https://github.com/Alwatr/nanolib/commit/fa4aaf04c907ecae06aa14000ce35216170c15ad)) by @dependabot[bot]
46
+ - bump the development-dependencies group with 10 updates ([fa4aaf0](https://github.com/Alwatr/nanolib/commit/fa4aaf04c907ecae06aa14000ce35216170c15ad)) by @dependabot[bot]
36
47
 
37
48
  ## [1.1.23](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.22...@alwatr/global-scope@1.1.23) (2024-10-08)
38
49
 
@@ -42,20 +53,20 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
42
53
 
43
54
  ### Bug Fixes
44
55
 
45
- * all dependeny topology ([1c17f34](https://github.com/Alwatr/nanolib/commit/1c17f349adf3e98e2a80ab2da4f0f81028dc9c5f)) by @mohammadhonarvar
56
+ - all dependeny topology ([1c17f34](https://github.com/Alwatr/nanolib/commit/1c17f349adf3e98e2a80ab2da4f0f81028dc9c5f)) by @mohammadhonarvar
46
57
 
47
58
  ### Code Refactoring
48
59
 
49
- * **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
60
+ - **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
50
61
 
51
62
  ### Miscellaneous Chores
52
63
 
53
- * **global-scop:** change the license to AGPL-3.0 ([ad7c262](https://github.com/Alwatr/nanolib/commit/ad7c2629743115af18b9298c6a9ccb5172c27333)) by @ArmanAsadian
54
- * Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @AliMD
64
+ - **global-scop:** change the license to AGPL-3.0 ([ad7c262](https://github.com/Alwatr/nanolib/commit/ad7c2629743115af18b9298c6a9ccb5172c27333)) by @ArmanAsadian
65
+ - Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @AliMD
55
66
 
56
67
  ### Dependencies update
57
68
 
58
- * bump @types/node ([3d80fed](https://github.com/Alwatr/nanolib/commit/3d80fedaf720af792feb060c2f81c737ebb84e11)) by @dependabot[bot]
69
+ - bump @types/node ([3d80fed](https://github.com/Alwatr/nanolib/commit/3d80fedaf720af792feb060c2f81c737ebb84e11)) by @dependabot[bot]
59
70
 
60
71
  ## [1.1.21](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.20...@alwatr/global-scope@1.1.21) (2024-09-21)
61
72
 
@@ -65,32 +76,32 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
65
76
 
66
77
  ### Dependencies update
67
78
 
68
- * bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
69
- * update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @AliMD
79
+ - bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
80
+ - update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @AliMD
70
81
 
71
82
  ## [1.1.19](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.18...@alwatr/global-scope@1.1.19) (2024-08-31)
72
83
 
73
84
  ### Miscellaneous Chores
74
85
 
75
- * Update package.json exports for [@alwatr](https://github.com/alwatr) packages ([dacb362](https://github.com/Alwatr/nanolib/commit/dacb362b145e3c51b4aba00ff643687a3fac11d2)) by @
86
+ - Update package.json exports for [@alwatr](https://github.com/alwatr) packages ([dacb362](https://github.com/Alwatr/nanolib/commit/dacb362b145e3c51b4aba00ff643687a3fac11d2)) by @
76
87
 
77
88
  ## [1.1.18](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.17...@alwatr/global-scope@1.1.18) (2024-08-31)
78
89
 
79
90
  ### Dependencies update
80
91
 
81
- * update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @AliMD
92
+ - update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @AliMD
82
93
 
83
94
  ## [1.1.17](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.16...@alwatr/global-scope@1.1.17) (2024-07-04)
84
95
 
85
96
  ### Dependencies update
86
97
 
87
- * update all dependencies ([0e908b4](https://github.com/Alwatr/nanolib/commit/0e908b476a6b976ec2447f864c8cafcbb8a0f099)) by @
98
+ - update all dependencies ([0e908b4](https://github.com/Alwatr/nanolib/commit/0e908b476a6b976ec2447f864c8cafcbb8a0f099)) by @
88
99
 
89
100
  ## [1.1.16](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.15...@alwatr/global-scope@1.1.16) (2024-05-12)
90
101
 
91
102
  ### Dependencies update
92
103
 
93
- * upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @AliMD
104
+ - upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @AliMD
94
105
 
95
106
  ## [1.1.15](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.14...@alwatr/global-scope@1.1.15) (2024-04-25)
96
107
 
@@ -104,7 +115,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
104
115
 
105
116
  ### Miscellaneous Chores
106
117
 
107
- * **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @AliMD
118
+ - **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @AliMD
108
119
 
109
120
  ## [1.1.12](https://github.com/Alwatr/nanolib/compare/@alwatr/global-scope@1.1.11...@alwatr/global-scope@1.1.12) (2024-01-24)
110
121
 
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.0 */
1
+ /* @alwatr/global-this v1.0.2 */
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.0 */
1
+ /* @alwatr/global-this v1.0.2 */
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.0",
3
+ "version": "1.0.2",
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.5"
73
+ "@alwatr/package-tracer": "^1.0.7"
74
74
  },
75
75
  "devDependencies": {
76
- "@alwatr/nano-build": "^2.0.1",
76
+ "@alwatr/nano-build": "^2.0.3",
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.0",
81
81
  "typescript": "^5.6.3"
82
82
  },
83
- "gitHead": "e474bb77657795c7b476fa3e98c219373ee45c2e"
83
+ "gitHead": "a1e430a02f9a5711fc43f19012091bcd8806c4f9"
84
84
  }