@alwatr/has-own 5.6.8 → 6.0.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/dist/main.js ADDED
@@ -0,0 +1,5 @@
1
+ /* 📦 @alwatr/has-own v6.0.1 */
2
+ var e=Object.hasOwn??Object.call.bind(Object.prototype.hasOwnProperty);export{e as hasOwn};
3
+
4
+ //# debugId=0A12C99498765EF464756E2164756E21
5
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1,10 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/main.ts"],
4
+ "sourcesContent": [
5
+ "/**\n * Determines whether an object has a property with the specified name.\n * @param {object} obj An object.\n * @param {PropertyKey} prop A property name.\n * @returns {boolean} True if the property exists, otherwise false.\n */\nexport const hasOwn = Object.hasOwn ?? Object.call.bind(Object.prototype.hasOwnProperty);\n"
6
+ ],
7
+ "mappings": ";AAMO,IAAM,EAAS,OAAO,QAAU,OAAO,KAAK,KAAK,OAAO,UAAU,cAAc",
8
+ "debugId": "0A12C99498765EF464756E2164756E21",
9
+ "names": []
10
+ }
package/package.json CHANGED
@@ -1,29 +1,54 @@
1
1
  {
2
2
  "name": "@alwatr/has-own",
3
+ "version": "6.0.1",
3
4
  "description": "A side-effect-free polyfill/replacement for `Object.hasOwn` that supports all browsers.",
4
- "version": "5.6.8",
5
+ "license": "MPL-2.0",
5
6
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
- "bugs": "https://github.com/Alwatr/nanolib/issues",
7
- "devDependencies": {
8
- "@alwatr/nano-build": "6.4.2",
9
- "@alwatr/prettier-config": "6.0.2",
10
- "@alwatr/tsconfig-base": "6.0.4",
11
- "typescript": "^5.9.3"
7
+ "type": "module",
8
+ "repository": {
9
+ "directory": "packages/has-own",
10
+ "type": "git",
11
+ "url": "https://github.com/Alwatr/nanolib"
12
12
  },
13
+ "homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/has-own#readme",
14
+ "bugs": "https://github.com/Alwatr/nanolib/issues",
13
15
  "exports": {
14
16
  ".": {
15
17
  "types": "./dist/main.d.ts",
16
- "import": "./dist/main.mjs",
17
- "require": "./dist/main.cjs"
18
+ "default": "./dist/main.js"
18
19
  }
19
20
  },
21
+ "sideEffects": false,
22
+ "devDependencies": {
23
+ "@alwatr/nano-build": "7.0.1",
24
+ "@alwatr/prettier-config": "7.0.1",
25
+ "@alwatr/tsconfig-base": "8.0.0",
26
+ "typescript": "^5.9.3"
27
+ },
28
+ "scripts": {
29
+ "b": "bun run build",
30
+ "build": "bun run build:ts && bun run build:es",
31
+ "build:es": "nano-build --preset=module src/main.ts",
32
+ "build:ts": "tsc --build",
33
+ "c": "bun run clean",
34
+ "cb": "bun run clean && bun run build",
35
+ "clean": "rm -rfv dist *.tsbuildinfo",
36
+ "d": "bun run build:es && bun",
37
+ "w": "bun run watch",
38
+ "watch": "bun run watch:ts & bun run watch:es",
39
+ "watch:es": "bun run build:es --watch",
40
+ "watch:ts": "bun run build:ts --watch --preserveWatchOutput"
41
+ },
20
42
  "files": [
21
- "**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}",
43
+ "**/*.{js,mjs,cjs,ts,map,d.ts,html,LEGAL.txt}",
44
+ "README.md",
22
45
  "LICENSE",
23
46
  "!demo/**/*",
24
47
  "!**/*.test.js"
25
48
  ],
26
- "homepage": "https://github.com/Alwatr/nanolib/tree/next/packages/has-own#readme",
49
+ "publishConfig": {
50
+ "access": "public"
51
+ },
27
52
  "keywords": [
28
53
  "alwatr",
29
54
  "cross-platform",
@@ -44,34 +69,6 @@
44
69
  "utility",
45
70
  "utils"
46
71
  ],
47
- "license": "MPL-2.0",
48
- "main": "./dist/main.cjs",
49
- "module": "./dist/main.mjs",
50
72
  "prettier": "@alwatr/prettier-config",
51
- "publishConfig": {
52
- "access": "public"
53
- },
54
- "repository": {
55
- "type": "git",
56
- "url": "https://github.com/Alwatr/nanolib",
57
- "directory": "packages/has-own"
58
- },
59
- "scripts": {
60
- "b": "bun run build",
61
- "build": "bun run build:ts && bun run build:es",
62
- "build:es": "nano-build --preset=module",
63
- "build:ts": "tsc --build",
64
- "c": "bun run clean",
65
- "cb": "bun run clean && bun run build",
66
- "clean": "rm -rfv dist *.tsbuildinfo",
67
- "d": "bun run build:es && bun --enable-source-maps --trace-warnings",
68
- "w": "bun run watch",
69
- "watch": "bun run watch:ts & bun run watch:es",
70
- "watch:es": "bun run build:es --watch",
71
- "watch:ts": "bun run build:ts --watch --preserveWatchOutput"
72
- },
73
- "sideEffects": false,
74
- "type": "module",
75
- "types": "./dist/main.d.ts",
76
- "gitHead": "c3889e3756b0a0f9b935a1b702a1373ac52cb379"
73
+ "gitHead": "f843742e94d6ebed3921d57b624d9deb35c2c102"
77
74
  }
package/src/main.ts ADDED
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Determines whether an object has a property with the specified name.
3
+ * @param {object} obj An object.
4
+ * @param {PropertyKey} prop A property name.
5
+ * @returns {boolean} True if the property exists, otherwise false.
6
+ */
7
+ export const hasOwn = Object.hasOwn ?? Object.call.bind(Object.prototype.hasOwnProperty);
package/CHANGELOG.md DELETED
@@ -1,363 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## [5.6.8](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.7...@alwatr/has-own@5.6.8) (2026-03-16)
7
-
8
- ### 🔨 Code Refactoring
9
-
10
- * migrate build scripts from yarn to bun across multiple packages ([d90e962](https://github.com/Alwatr/nanolib/commit/d90e962f15e5c951e191d5f02341279b6472abc3))
11
-
12
- ## [5.6.7](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.6...@alwatr/has-own@5.6.7) (2026-02-18)
13
-
14
- **Note:** Version bump only for package @alwatr/has-own
15
-
16
- ## [5.6.6](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.5...@alwatr/has-own@5.6.6) (2025-12-23)
17
-
18
- **Note:** Version bump only for package @alwatr/has-own
19
-
20
- ## [5.6.5](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.4...@alwatr/has-own@5.6.5) (2025-12-13)
21
-
22
- **Note:** Version bump only for package @alwatr/has-own
23
-
24
- ## [5.6.4](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.3...@alwatr/has-own@5.6.4) (2025-12-10)
25
-
26
- **Note:** Version bump only for package @alwatr/has-own
27
-
28
- ## [5.6.3](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.2...@alwatr/has-own@5.6.3) (2025-11-18)
29
-
30
- **Note:** Version bump only for package @alwatr/has-own
31
-
32
- ## [5.6.2](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.1...@alwatr/has-own@5.6.2) (2025-11-15)
33
-
34
- **Note:** Version bump only for package @alwatr/has-own
35
-
36
- ## [5.6.1](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.0...@alwatr/has-own@5.6.1) (2025-11-15)
37
-
38
- **Note:** Version bump only for package @alwatr/has-own
39
-
40
- ## 5.6.0 (2025-11-06)
41
-
42
- ### ✨ Features
43
-
44
- * add Object.hasOwn polyfill with full documentation and license ([4883447](https://github.com/Alwatr/nanolib/commit/488344708fad4eafe90092c10fe3c1fadf08bc11))
45
-
46
- ### 🐛 Bug Fixes
47
-
48
- * remove unnecessary pure annotation from hasOwn export ([f0b50ec](https://github.com/Alwatr/nanolib/commit/f0b50ec21c1eb560b7f954075c7819141b8da978))
49
-
50
- ### 🧹 Miscellaneous Chores
51
-
52
- * remove duplicate 'has-own' keyword from package.json ([6c0fb04](https://github.com/Alwatr/nanolib/commit/6c0fb04746225079b7c585083df4ae1c6b7dd478))
53
-
54
- ## [5.5.21](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.20...@alwatr/polyfill-has-own@5.5.21) (2025-11-04)
55
-
56
- **Note:** Version bump only for package @alwatr/polyfill-has-own
57
-
58
- ## [5.5.20](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.19...@alwatr/polyfill-has-own@5.5.20) (2025-10-06)
59
-
60
- ### 🔗 Dependencies update
61
-
62
- * bump the npm-dependencies group with 4 updates ([9825815](https://github.com/Alwatr/nanolib/commit/982581552bbb4b97dca52af5e93a80937f0c3109))
63
-
64
- ## [5.5.19](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.18...@alwatr/polyfill-has-own@5.5.19) (2025-09-27)
65
-
66
- ### 🧹 Miscellaneous Chores
67
-
68
- * exclude test files from package distribution ([86f4f2f](https://github.com/Alwatr/nanolib/commit/86f4f2f5985845c5cf3a3a9398de7b2f98ce53e7))
69
-
70
- ## [5.5.18](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.17...@alwatr/polyfill-has-own@5.5.18) (2025-09-22)
71
-
72
- **Note:** Version bump only for package @alwatr/polyfill-has-own
73
-
74
- ## [5.5.17](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.16...@alwatr/polyfill-has-own@5.5.17) (2025-09-22)
75
-
76
- **Note:** Version bump only for package @alwatr/polyfill-has-own
77
-
78
- ## [5.5.16](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.15...@alwatr/polyfill-has-own@5.5.16) (2025-09-21)
79
-
80
- **Note:** Version bump only for package @alwatr/polyfill-has-own
81
-
82
- ## [5.5.15](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.14...@alwatr/polyfill-has-own@5.5.15) (2025-09-20)
83
-
84
- ### 🐛 Bug Fixes
85
-
86
- * add sideEffects property to package.json files for better tree-shaking ([c7b9e74](https://github.com/Alwatr/nanolib/commit/c7b9e74e1920c8e35b438742de61883ca62da58c))
87
- * add sideEffects property to package.json files for better tree-shaking ([e8402c4](https://github.com/Alwatr/nanolib/commit/e8402c481a14a1f807a37aaa862a936713d26176))
88
-
89
- ### 🧹 Miscellaneous Chores
90
-
91
- * remove duplicate sideEffects property from multiple package.json files ([b123f86](https://github.com/Alwatr/nanolib/commit/b123f86be81481de2314aae9bb2eeb629743d24c))
92
-
93
- ## [5.5.14](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.13...@alwatr/polyfill-has-own@5.5.14) (2025-09-19)
94
-
95
- **Note:** Version bump only for package @alwatr/polyfill-has-own
96
-
97
- ## [5.5.13](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.12...@alwatr/polyfill-has-own@5.5.13) (2025-09-15)
98
-
99
- **Note:** Version bump only for package @alwatr/polyfill-has-own
100
-
101
- ## [5.5.12](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.11...@alwatr/polyfill-has-own@5.5.12) (2025-09-13)
102
-
103
- **Note:** Version bump only for package @alwatr/polyfill-has-own
104
-
105
- ## [5.5.11](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.10...@alwatr/polyfill-has-own@5.5.11) (2025-09-13)
106
-
107
- ### 🧹 Miscellaneous Chores
108
-
109
- * remove package-tracer dependency and related code from fetch package ([96fe4e9](https://github.com/Alwatr/nanolib/commit/96fe4e9552a205f218ceed187c55e4e904a07089))
110
-
111
- ## [5.5.10](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.9...@alwatr/polyfill-has-own@5.5.10) (2025-09-09)
112
-
113
- ### 🧹 Miscellaneous Chores
114
-
115
- * remove trailing newlines from contributing sections in README files ([e8ab1bc](https://github.com/Alwatr/nanolib/commit/e8ab1bc43e0addea5ccd4c897c2cec597cb9e15f))
116
-
117
- ## [5.5.9](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.8...@alwatr/polyfill-has-own@5.5.9) (2025-09-06)
118
-
119
- **Note:** Version bump only for package @alwatr/polyfill-has-own
120
-
121
- ## [5.5.8](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.7...@alwatr/polyfill-has-own@5.5.8) (2025-09-05)
122
-
123
- **Note:** Version bump only for package @alwatr/polyfill-has-own
124
-
125
- ## [5.5.7](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.6...@alwatr/polyfill-has-own@5.5.7) (2025-09-01)
126
-
127
- **Note:** Version bump only for package @alwatr/polyfill-has-own
128
-
129
- ## [5.5.6](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.5...@alwatr/polyfill-has-own@5.5.6) (2025-08-23)
130
-
131
- **Note:** Version bump only for package @alwatr/polyfill-has-own
132
-
133
- ## [5.5.5](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.3...@alwatr/polyfill-has-own@5.5.5) (2025-08-23)
134
-
135
- ### 🐛 Bug Fixes
136
-
137
- * update license from AGPL-3.0-only to MPL-2.0 ([d20968e](https://github.com/Alwatr/nanolib/commit/d20968e60cc89b1dcdf9b96507178da6ed562f55))
138
- * update package versions in multiple package.json files ([7638b1c](https://github.com/Alwatr/nanolib/commit/7638b1cafee2b4e0f97db7a89ac9fba6384b9b10))
139
-
140
- ### 🔨 Code Refactoring
141
-
142
- * Updated all package.json files in the project to change dependency version specifiers from "workspace:^" to "workspace:*" for consistency and to allow for more flexible version resolution. ([db6a4f7](https://github.com/Alwatr/nanolib/commit/db6a4f76deec2d1d8039978144e4bc51b6f1a0e3))
143
-
144
- ### 🧹 Miscellaneous Chores
145
-
146
- * reformat all package.json files ([ceda45d](https://github.com/Alwatr/nanolib/commit/ceda45de186667790474f729cb4b161a5148ce19))
147
-
148
- ### 🔗 Dependencies update
149
-
150
- * update TypeScript and Jest versions across all packages to improve compatibility and performance ([31baf36](https://github.com/Alwatr/nanolib/commit/31baf366101e92e27db66a21c849fb101f19be47))
151
-
152
- ## [5.5.4](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.3...@alwatr/polyfill-has-own@5.5.4) (2025-08-23)
153
-
154
- ### Code Refactoring
155
-
156
- * Updated all package.json files in the project to change dependency version specifiers from "workspace:^" to "workspace:*" for consistency and to allow for more flexible version resolution. ([db6a4f7](https://github.com/Alwatr/nanolib/commit/db6a4f76deec2d1d8039978144e4bc51b6f1a0e3)) by @alimd
157
-
158
- ## <small>5.5.3 (2025-04-15)</small>
159
-
160
- **Note:** Version bump only for package @alwatr/polyfill-has-own
161
-
162
- ## [5.5.2](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.1...@alwatr/polyfill-has-own@5.5.2) (2025-04-01)
163
-
164
- **Note:** Version bump only for package @alwatr/polyfill-has-own
165
-
166
- ## [5.5.1](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.5.0...@alwatr/polyfill-has-own@5.5.1) (2025-03-18)
167
-
168
- **Note:** Version bump only for package @alwatr/polyfill-has-own
169
-
170
- ## [5.5.0](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.4.0...@alwatr/polyfill-has-own@5.5.0) (2025-03-06)
171
-
172
- ### Miscellaneous Chores
173
-
174
- * update username casing in changelog entries ([9722ac9](https://github.com/Alwatr/nanolib/commit/9722ac9a078438a4e8ebfa5826ea70e0e3a52ca6)) by @
175
-
176
- ### Dependencies update
177
-
178
- * bump the development-dependencies group across 1 directory with 11 updates ([720c395](https://github.com/Alwatr/nanolib/commit/720c3954da55c929fe8fb16957121f4c51fb7f0c)) by @dependabot[bot]
179
-
180
- ## [5.4.0](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.3.1...@alwatr/polyfill-has-own@5.4.0) (2025-02-18)
181
-
182
- **Note:** Version bump only for package @alwatr/polyfill-has-own
183
-
184
- ## [5.3.1](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@5.3.0...@alwatr/polyfill-has-own@5.3.1) (2025-02-03)
185
-
186
- ### Bug Fixes
187
-
188
- * **polyfill:** correct binding of Object.hasOwn to use Object.call ([1fe8e05](https://github.com/Alwatr/nanolib/commit/1fe8e057567bc7621631d37cee4885688c49b1a6)) by @
189
-
190
- ## [5.3.0](https://github.com/Alwatr/nanolib/compare/v5.2.1...v5.3.0) (2025-02-03)
191
-
192
- ### Miscellaneous Chores
193
-
194
- * edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @ArmanAsadian
195
-
196
- ### Dependencies update
197
-
198
- * bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @dependabot[bot]
199
- * update typescript and @types/node to version 5.7.3 and 22.13.0 respectively across multiple packages ([ddab05b](https://github.com/Alwatr/nanolib/commit/ddab05b5d767c30191f36a065e4bc88744e8e3fe)) by @alimd
200
-
201
- ## 5.0.0 (2024-11-02)
202
-
203
- ### ⚠ BREAKING CHANGES
204
-
205
- * To simplify version management and ensure consistency, all nanolib packages now use the same version as @alwatr/nanolib. This may require updates to your project's dependencies.
206
-
207
- ### Features
208
-
209
- * **polyfill-has-own:** new package ([9c3582b](https://github.com/Alwatr/nanolib/commit/9c3582bcfdacde324ac94f46a15e00cd5fef73e8)) by @
210
- * use `package-tracer` ([cc3c5f9](https://github.com/Alwatr/nanolib/commit/cc3c5f9c1a3d03f0d81b46835665f16a0426fd0d)) by @
211
-
212
- ### Bug Fixes
213
-
214
- * all dependeny topology ([1c17f34](https://github.com/Alwatr/nanolib/commit/1c17f349adf3e98e2a80ab2da4f0f81028dc9c5f)) by @
215
- * **polyfill-has-own:** use `prototype` to check exactly ([15dfb6e](https://github.com/Alwatr/nanolib/commit/15dfb6e4e5eaa40a7bebeab3b64f6670b2c77949)) by @
216
-
217
- ### Code Refactoring
218
-
219
- * prevent side-effects ([01e00e1](https://github.com/Alwatr/nanolib/commit/01e00e191385cc92b28677df0c01a085916ae677)) by @
220
- * use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
221
-
222
- ### Miscellaneous Chores
223
-
224
- * **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @
225
- * **has-own-polyfill:** bump version ([36a6529](https://github.com/Alwatr/nanolib/commit/36a65297215b425593c19ce38ed3fbd907c8fc84)) by @
226
- * include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @
227
- * **polyfill-has-own:** change the license to AGPL-3.0 ([afcdf76](https://github.com/Alwatr/nanolib/commit/afcdf76841e70ce515e18581f6ab7d64d8720521)) by @
228
- * Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @
229
- * Update package.json exports for [@alwatr](https://github.com/alwatr) packages ([dacb362](https://github.com/Alwatr/nanolib/commit/dacb362b145e3c51b4aba00ff643687a3fac11d2)) by @
230
-
231
- ### Dependencies update
232
-
233
- * bump @types/node ([3d80fed](https://github.com/Alwatr/nanolib/commit/3d80fedaf720af792feb060c2f81c737ebb84e11)) by @
234
- * bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @
235
- * bump the development-dependencies group with 10 updates ([fa4aaf0](https://github.com/Alwatr/nanolib/commit/fa4aaf04c907ecae06aa14000ce35216170c15ad)) by @
236
- * bump the development-dependencies group with 2 updates ([be5d6c2](https://github.com/Alwatr/nanolib/commit/be5d6c2d86b937f32cebc6848aaff85af07055dd)) by @
237
- * upd ([451d025](https://github.com/Alwatr/nanolib/commit/451d0255ba96ed55f897a6f44f62cf4e6d2b12be)) by @
238
- * update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @
239
- * update all ([53342f6](https://github.com/Alwatr/nanolib/commit/53342f67a8a013127f073540bc11929f1813c05c)) by @
240
- * update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @
241
- * update all dependencies ([0e908b4](https://github.com/Alwatr/nanolib/commit/0e908b476a6b976ec2447f864c8cafcbb8a0f099)) by @
242
- * upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @
243
-
244
- ## [1.1.8](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.1.7...@alwatr/polyfill-has-own@1.1.8) (2024-11-02)
245
-
246
- **Note:** Version bump only for package @alwatr/polyfill-has-own
247
-
248
- ## [1.1.7](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.1.6...@alwatr/polyfill-has-own@1.1.7) (2024-10-25)
249
-
250
- **Note:** Version bump only for package @alwatr/polyfill-has-own
251
-
252
- ## [1.1.6](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.1.5...@alwatr/polyfill-has-own@1.1.6) (2024-10-12)
253
-
254
- **Note:** Version bump only for package @alwatr/polyfill-has-own
255
-
256
- ## [1.1.5](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.1.4...@alwatr/polyfill-has-own@1.1.5) (2024-10-11)
257
-
258
- ### Code Refactoring
259
-
260
- - prevent side-effects ([01e00e1](https://github.com/Alwatr/nanolib/commit/01e00e191385cc92b28677df0c01a085916ae677)) by @mohammadhonarvar
261
-
262
- ## [1.1.4](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.1.3...@alwatr/polyfill-has-own@1.1.4) (2024-10-11)
263
-
264
- ### Miscellaneous Chores
265
-
266
- - include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @alimd
267
-
268
- ## [1.1.3](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.1.2...@alwatr/polyfill-has-own@1.1.3) (2024-10-11)
269
-
270
- **Note:** Version bump only for package @alwatr/polyfill-has-own
271
-
272
- ## [1.1.2](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.1.1...@alwatr/polyfill-has-own@1.1.2) (2024-10-10)
273
-
274
- ### Dependencies update
275
-
276
- - bump the development-dependencies group with 10 updates ([fa4aaf0](https://github.com/Alwatr/nanolib/commit/fa4aaf04c907ecae06aa14000ce35216170c15ad)) by @dependabot[bot]
277
-
278
- ## [1.1.1](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.1.0...@alwatr/polyfill-has-own@1.1.1) (2024-10-08)
279
-
280
- **Note:** Version bump only for package @alwatr/polyfill-has-own
281
-
282
- ## [1.1.0](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.0.10...@alwatr/polyfill-has-own@1.1.0) (2024-09-29)
283
-
284
- ### Features
285
-
286
- - use `package-tracer` ([cc3c5f9](https://github.com/Alwatr/nanolib/commit/cc3c5f9c1a3d03f0d81b46835665f16a0426fd0d)) by @mohammadhonarvar
287
-
288
- ### Bug Fixes
289
-
290
- - all dependeny topology ([1c17f34](https://github.com/Alwatr/nanolib/commit/1c17f349adf3e98e2a80ab2da4f0f81028dc9c5f)) by @mohammadhonarvar
291
- - **polyfill-has-own:** use `prototype` to check exactly ([15dfb6e](https://github.com/Alwatr/nanolib/commit/15dfb6e4e5eaa40a7bebeab3b64f6670b2c77949)) by @mohammadhonarvar
292
-
293
- ### Miscellaneous Chores
294
-
295
- - **polyfill-has-own:** change the license to AGPL-3.0 ([afcdf76](https://github.com/Alwatr/nanolib/commit/afcdf76841e70ce515e18581f6ab7d64d8720521)) by @ArmanAsadian
296
- - Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @alimd
297
-
298
- ### Dependencies update
299
-
300
- - bump @types/node ([3d80fed](https://github.com/Alwatr/nanolib/commit/3d80fedaf720af792feb060c2f81c737ebb84e11)) by @dependabot[bot]
301
-
302
- ## [1.0.10](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.0.9...@alwatr/polyfill-has-own@1.0.10) (2024-09-21)
303
-
304
- **Note:** Version bump only for package @alwatr/polyfill-has-own
305
-
306
- ## [1.0.9](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.0.8...@alwatr/polyfill-has-own@1.0.9) (2024-09-15)
307
-
308
- ### Dependencies update
309
-
310
- - bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
311
- - update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @alimd
312
-
313
- ## [1.0.8](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.0.7...@alwatr/polyfill-has-own@1.0.8) (2024-08-31)
314
-
315
- ### Miscellaneous Chores
316
-
317
- - Update package.json exports for [@alwatr](https://github.com/alwatr) packages ([dacb362](https://github.com/Alwatr/nanolib/commit/dacb362b145e3c51b4aba00ff643687a3fac11d2)) by @
318
-
319
- ## [1.0.7](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.0.6...@alwatr/polyfill-has-own@1.0.7) (2024-08-31)
320
-
321
- ### Dependencies update
322
-
323
- - update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @alimd
324
-
325
- ## [1.0.6](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.0.5...@alwatr/polyfill-has-own@1.0.6) (2024-07-04)
326
-
327
- ### Dependencies update
328
-
329
- - update all dependencies ([0e908b4](https://github.com/Alwatr/nanolib/commit/0e908b476a6b976ec2447f864c8cafcbb8a0f099)) by @
330
-
331
- ## [1.0.5](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.0.4...@alwatr/polyfill-has-own@1.0.5) (2024-05-12)
332
-
333
- ### Dependencies update
334
-
335
- - upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @alimd
336
-
337
- ## [1.0.4](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.0.3...@alwatr/polyfill-has-own@1.0.4) (2024-04-25)
338
-
339
- **Note:** Version bump only for package @alwatr/polyfill-has-own
340
-
341
- ## [1.0.3](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.0.2...@alwatr/polyfill-has-own@1.0.3) (2024-03-28)
342
-
343
- **Note:** Version bump only for package @alwatr/polyfill-has-own
344
-
345
- ## [1.0.2](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.0.1...@alwatr/polyfill-has-own@1.0.2) (2024-01-31)
346
-
347
- ### Miscellaneous Chores
348
-
349
- - **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @alimd
350
-
351
- ## [1.0.1](https://github.com/Alwatr/nanolib/compare/@alwatr/polyfill-has-own@1.0.0...@alwatr/polyfill-has-own@1.0.1) (2024-01-24)
352
-
353
- **Note:** Version bump only for package @alwatr/polyfill-has-own
354
-
355
- ## 1.0.0 (2024-01-20)
356
-
357
- ### Features
358
-
359
- - **polyfill-has-own:** new package ([9c3582b](https://github.com/Alwatr/nanolib/commit/9c3582bcfdacde324ac94f46a15e00cd5fef73e8)) by @njfamirm
360
-
361
- ### Miscellaneous Chores
362
-
363
- - **has-own-polyfill:** bump version ([36a6529](https://github.com/Alwatr/nanolib/commit/36a65297215b425593c19ce38ed3fbd907c8fc84)) by @
package/dist/main.cjs DELETED
@@ -1,3 +0,0 @@
1
- /** 📦 @alwatr/has-own v5.6.8 */
2
- "use strict";var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __hasOwnProp=Object.prototype.hasOwnProperty;var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:true})};var __copyProps=(to,from,except,desc)=>{if(from&&typeof from==="object"||typeof from==="function"){for(let key of __getOwnPropNames(from))if(!__hasOwnProp.call(to,key)&&key!==except)__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable})}return to};var __toCommonJS=mod=>__copyProps(__defProp({},"__esModule",{value:true}),mod);var main_exports={};__export(main_exports,{hasOwn:()=>hasOwn});module.exports=__toCommonJS(main_exports);var hasOwn=Object.hasOwn??Object.call.bind(Object.prototype.hasOwnProperty);0&&(module.exports={hasOwn});
3
- //# sourceMappingURL=main.cjs.map
package/dist/main.cjs.map DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/main.ts"],
4
- "sourcesContent": ["/**\n * Determines whether an object has a property with the specified name.\n * @param {object} obj An object.\n * @param {PropertyKey} prop A property name.\n * @returns {boolean} True if the property exists, otherwise false.\n */\nexport const hasOwn = Object.hasOwn ?? Object.call.bind(Object.prototype.hasOwnProperty);\n"],
5
- "mappings": ";qqBAAA,yGAMO,IAAM,OAAS,OAAO,QAAU,OAAO,KAAK,KAAK,OAAO,UAAU,cAAc",
6
- "names": []
7
- }
package/dist/main.mjs DELETED
@@ -1,3 +0,0 @@
1
- /** 📦 @alwatr/has-own v5.6.8 */
2
- var hasOwn=Object.hasOwn??Object.call.bind(Object.prototype.hasOwnProperty);export{hasOwn};
3
- //# sourceMappingURL=main.mjs.map
package/dist/main.mjs.map DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../src/main.ts"],
4
- "sourcesContent": ["/**\n * Determines whether an object has a property with the specified name.\n * @param {object} obj An object.\n * @param {PropertyKey} prop A property name.\n * @returns {boolean} True if the property exists, otherwise false.\n */\nexport const hasOwn = Object.hasOwn ?? Object.call.bind(Object.prototype.hasOwnProperty);\n"],
5
- "mappings": ";AAMO,IAAM,OAAS,OAAO,QAAU,OAAO,KAAK,KAAK,OAAO,UAAU,cAAc",
6
- "names": []
7
- }