@alwatr/has-own 5.6.7 → 6.0.0

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.0 */
2
+ var e=Object.hasOwn??Object.call.bind(Object.prototype.hasOwnProperty);export{e as hasOwn};
3
+
4
+ //# debugId=130DCF60E2AE33CD64756E2164756E21
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": "130DCF60E2AE33CD64756E2164756E21",
9
+ "names": []
10
+ }
package/package.json CHANGED
@@ -1,24 +1,24 @@
1
1
  {
2
2
  "name": "@alwatr/has-own",
3
3
  "description": "A side-effect-free polyfill/replacement for `Object.hasOwn` that supports all browsers.",
4
- "version": "5.6.7",
4
+ "version": "6.0.0",
5
5
  "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",
6
6
  "bugs": "https://github.com/Alwatr/nanolib/issues",
7
7
  "devDependencies": {
8
- "@alwatr/nano-build": "6.4.1",
9
- "@alwatr/prettier-config": "6.0.2",
10
- "@alwatr/tsconfig-base": "6.0.4",
8
+ "@alwatr/nano-build": "7.0.0",
9
+ "@alwatr/prettier-config": "7.0.0",
10
+ "@alwatr/tsconfig-base": "7.0.0",
11
11
  "typescript": "^5.9.3"
12
12
  },
13
13
  "exports": {
14
14
  ".": {
15
15
  "types": "./dist/main.d.ts",
16
- "import": "./dist/main.mjs",
17
- "require": "./dist/main.cjs"
16
+ "default": "./dist/main.js"
18
17
  }
19
18
  },
20
19
  "files": [
21
- "**/*.{js,mjs,cjs,map,d.ts,html,md,LEGAL.txt}",
20
+ "**/*.{js,mjs,cjs,ts,map,d.ts,html,LEGAL.txt}",
21
+ "README.md",
22
22
  "LICENSE",
23
23
  "!demo/**/*",
24
24
  "!**/*.test.js"
@@ -45,8 +45,6 @@
45
45
  "utils"
46
46
  ],
47
47
  "license": "MPL-2.0",
48
- "main": "./dist/main.cjs",
49
- "module": "./dist/main.mjs",
50
48
  "prettier": "@alwatr/prettier-config",
51
49
  "publishConfig": {
52
50
  "access": "public"
@@ -57,21 +55,21 @@
57
55
  "directory": "packages/has-own"
58
56
  },
59
57
  "scripts": {
60
- "b": "yarn run build",
61
- "build": "yarn run build:ts && yarn run build:es",
62
- "build:es": "nano-build --preset=module",
58
+ "b": "bun run build",
59
+ "build": "bun run build:ts && bun run build:es",
60
+ "build:es": "nano-build --preset=module src/main.ts",
63
61
  "build:ts": "tsc --build",
64
- "c": "yarn run clean",
65
- "cb": "yarn run clean && yarn run build",
62
+ "c": "bun run clean",
63
+ "cb": "bun run clean && bun run build",
66
64
  "clean": "rm -rfv dist *.tsbuildinfo",
67
- "d": "yarn run build:es && yarn node --enable-source-maps --trace-warnings",
68
- "w": "yarn run watch",
69
- "watch": "yarn run watch:ts & yarn run watch:es",
70
- "watch:es": "yarn run build:es --watch",
71
- "watch:ts": "yarn run build:ts --watch --preserveWatchOutput"
65
+ "d": "bun run build:es && bun",
66
+ "w": "bun run watch",
67
+ "watch": "bun run watch:ts & bun run watch:es",
68
+ "watch:es": "bun run build:es --watch",
69
+ "watch:ts": "bun run build:ts --watch --preserveWatchOutput"
72
70
  },
73
71
  "sideEffects": false,
74
72
  "type": "module",
75
73
  "types": "./dist/main.d.ts",
76
- "gitHead": "f9f9ba54b319ce8ccc6968059b222e89f4b5d149"
74
+ "gitHead": "056102a1c8a563bbae8a290b6830450f467322a3"
77
75
  }
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,357 +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.7](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.6...@alwatr/has-own@5.6.7) (2026-02-18)
7
-
8
- **Note:** Version bump only for package @alwatr/has-own
9
-
10
- ## [5.6.6](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.5...@alwatr/has-own@5.6.6) (2025-12-23)
11
-
12
- **Note:** Version bump only for package @alwatr/has-own
13
-
14
- ## [5.6.5](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.4...@alwatr/has-own@5.6.5) (2025-12-13)
15
-
16
- **Note:** Version bump only for package @alwatr/has-own
17
-
18
- ## [5.6.4](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.3...@alwatr/has-own@5.6.4) (2025-12-10)
19
-
20
- **Note:** Version bump only for package @alwatr/has-own
21
-
22
- ## [5.6.3](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.2...@alwatr/has-own@5.6.3) (2025-11-18)
23
-
24
- **Note:** Version bump only for package @alwatr/has-own
25
-
26
- ## [5.6.2](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.1...@alwatr/has-own@5.6.2) (2025-11-15)
27
-
28
- **Note:** Version bump only for package @alwatr/has-own
29
-
30
- ## [5.6.1](https://github.com/Alwatr/nanolib/compare/@alwatr/has-own@5.6.0...@alwatr/has-own@5.6.1) (2025-11-15)
31
-
32
- **Note:** Version bump only for package @alwatr/has-own
33
-
34
- ## 5.6.0 (2025-11-06)
35
-
36
- ### ✨ Features
37
-
38
- * add Object.hasOwn polyfill with full documentation and license ([4883447](https://github.com/Alwatr/nanolib/commit/488344708fad4eafe90092c10fe3c1fadf08bc11))
39
-
40
- ### 🐛 Bug Fixes
41
-
42
- * remove unnecessary pure annotation from hasOwn export ([f0b50ec](https://github.com/Alwatr/nanolib/commit/f0b50ec21c1eb560b7f954075c7819141b8da978))
43
-
44
- ### 🧹 Miscellaneous Chores
45
-
46
- * remove duplicate 'has-own' keyword from package.json ([6c0fb04](https://github.com/Alwatr/nanolib/commit/6c0fb04746225079b7c585083df4ae1c6b7dd478))
47
-
48
- ## [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)
49
-
50
- **Note:** Version bump only for package @alwatr/polyfill-has-own
51
-
52
- ## [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)
53
-
54
- ### 🔗 Dependencies update
55
-
56
- * bump the npm-dependencies group with 4 updates ([9825815](https://github.com/Alwatr/nanolib/commit/982581552bbb4b97dca52af5e93a80937f0c3109))
57
-
58
- ## [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)
59
-
60
- ### 🧹 Miscellaneous Chores
61
-
62
- * exclude test files from package distribution ([86f4f2f](https://github.com/Alwatr/nanolib/commit/86f4f2f5985845c5cf3a3a9398de7b2f98ce53e7))
63
-
64
- ## [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)
65
-
66
- **Note:** Version bump only for package @alwatr/polyfill-has-own
67
-
68
- ## [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)
69
-
70
- **Note:** Version bump only for package @alwatr/polyfill-has-own
71
-
72
- ## [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)
73
-
74
- **Note:** Version bump only for package @alwatr/polyfill-has-own
75
-
76
- ## [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)
77
-
78
- ### 🐛 Bug Fixes
79
-
80
- * add sideEffects property to package.json files for better tree-shaking ([c7b9e74](https://github.com/Alwatr/nanolib/commit/c7b9e74e1920c8e35b438742de61883ca62da58c))
81
- * add sideEffects property to package.json files for better tree-shaking ([e8402c4](https://github.com/Alwatr/nanolib/commit/e8402c481a14a1f807a37aaa862a936713d26176))
82
-
83
- ### 🧹 Miscellaneous Chores
84
-
85
- * remove duplicate sideEffects property from multiple package.json files ([b123f86](https://github.com/Alwatr/nanolib/commit/b123f86be81481de2314aae9bb2eeb629743d24c))
86
-
87
- ## [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)
88
-
89
- **Note:** Version bump only for package @alwatr/polyfill-has-own
90
-
91
- ## [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)
92
-
93
- **Note:** Version bump only for package @alwatr/polyfill-has-own
94
-
95
- ## [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)
96
-
97
- **Note:** Version bump only for package @alwatr/polyfill-has-own
98
-
99
- ## [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)
100
-
101
- ### 🧹 Miscellaneous Chores
102
-
103
- * remove package-tracer dependency and related code from fetch package ([96fe4e9](https://github.com/Alwatr/nanolib/commit/96fe4e9552a205f218ceed187c55e4e904a07089))
104
-
105
- ## [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)
106
-
107
- ### 🧹 Miscellaneous Chores
108
-
109
- * remove trailing newlines from contributing sections in README files ([e8ab1bc](https://github.com/Alwatr/nanolib/commit/e8ab1bc43e0addea5ccd4c897c2cec597cb9e15f))
110
-
111
- ## [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)
112
-
113
- **Note:** Version bump only for package @alwatr/polyfill-has-own
114
-
115
- ## [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)
116
-
117
- **Note:** Version bump only for package @alwatr/polyfill-has-own
118
-
119
- ## [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)
120
-
121
- **Note:** Version bump only for package @alwatr/polyfill-has-own
122
-
123
- ## [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)
124
-
125
- **Note:** Version bump only for package @alwatr/polyfill-has-own
126
-
127
- ## [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)
128
-
129
- ### 🐛 Bug Fixes
130
-
131
- * update license from AGPL-3.0-only to MPL-2.0 ([d20968e](https://github.com/Alwatr/nanolib/commit/d20968e60cc89b1dcdf9b96507178da6ed562f55))
132
- * update package versions in multiple package.json files ([7638b1c](https://github.com/Alwatr/nanolib/commit/7638b1cafee2b4e0f97db7a89ac9fba6384b9b10))
133
-
134
- ### 🔨 Code Refactoring
135
-
136
- * 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))
137
-
138
- ### 🧹 Miscellaneous Chores
139
-
140
- * reformat all package.json files ([ceda45d](https://github.com/Alwatr/nanolib/commit/ceda45de186667790474f729cb4b161a5148ce19))
141
-
142
- ### 🔗 Dependencies update
143
-
144
- * update TypeScript and Jest versions across all packages to improve compatibility and performance ([31baf36](https://github.com/Alwatr/nanolib/commit/31baf366101e92e27db66a21c849fb101f19be47))
145
-
146
- ## [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)
147
-
148
- ### Code Refactoring
149
-
150
- * 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
151
-
152
- ## <small>5.5.3 (2025-04-15)</small>
153
-
154
- **Note:** Version bump only for package @alwatr/polyfill-has-own
155
-
156
- ## [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)
157
-
158
- **Note:** Version bump only for package @alwatr/polyfill-has-own
159
-
160
- ## [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)
161
-
162
- **Note:** Version bump only for package @alwatr/polyfill-has-own
163
-
164
- ## [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)
165
-
166
- ### Miscellaneous Chores
167
-
168
- * update username casing in changelog entries ([9722ac9](https://github.com/Alwatr/nanolib/commit/9722ac9a078438a4e8ebfa5826ea70e0e3a52ca6)) by @
169
-
170
- ### Dependencies update
171
-
172
- * bump the development-dependencies group across 1 directory with 11 updates ([720c395](https://github.com/Alwatr/nanolib/commit/720c3954da55c929fe8fb16957121f4c51fb7f0c)) by @dependabot[bot]
173
-
174
- ## [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)
175
-
176
- **Note:** Version bump only for package @alwatr/polyfill-has-own
177
-
178
- ## [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)
179
-
180
- ### Bug Fixes
181
-
182
- * **polyfill:** correct binding of Object.hasOwn to use Object.call ([1fe8e05](https://github.com/Alwatr/nanolib/commit/1fe8e057567bc7621631d37cee4885688c49b1a6)) by @
183
-
184
- ## [5.3.0](https://github.com/Alwatr/nanolib/compare/v5.2.1...v5.3.0) (2025-02-03)
185
-
186
- ### Miscellaneous Chores
187
-
188
- * edit README ([3860b3d](https://github.com/Alwatr/nanolib/commit/3860b3df48ab82dc479d5236c2e8579df614aabf)) by @ArmanAsadian
189
-
190
- ### Dependencies update
191
-
192
- * bump the development-dependencies group across 1 directory with 11 updates ([cb79d07](https://github.com/Alwatr/nanolib/commit/cb79d072a57c79e1c01abff1a293d6757bb65350)) by @dependabot[bot]
193
- * 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
194
-
195
- ## 5.0.0 (2024-11-02)
196
-
197
- ### ⚠ BREAKING CHANGES
198
-
199
- * 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.
200
-
201
- ### Features
202
-
203
- * **polyfill-has-own:** new package ([9c3582b](https://github.com/Alwatr/nanolib/commit/9c3582bcfdacde324ac94f46a15e00cd5fef73e8)) by @
204
- * use `package-tracer` ([cc3c5f9](https://github.com/Alwatr/nanolib/commit/cc3c5f9c1a3d03f0d81b46835665f16a0426fd0d)) by @
205
-
206
- ### Bug Fixes
207
-
208
- * all dependeny topology ([1c17f34](https://github.com/Alwatr/nanolib/commit/1c17f349adf3e98e2a80ab2da4f0f81028dc9c5f)) by @
209
- * **polyfill-has-own:** use `prototype` to check exactly ([15dfb6e](https://github.com/Alwatr/nanolib/commit/15dfb6e4e5eaa40a7bebeab3b64f6670b2c77949)) by @
210
-
211
- ### Code Refactoring
212
-
213
- * prevent side-effects ([01e00e1](https://github.com/Alwatr/nanolib/commit/01e00e191385cc92b28677df0c01a085916ae677)) by @
214
- * use the same version as @alwatr/nanolib ([60eb860](https://github.com/Alwatr/nanolib/commit/60eb860a0e33dfffe2d1d95e63ce54c60876be06)) by @
215
-
216
- ### Miscellaneous Chores
217
-
218
- * **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @
219
- * **has-own-polyfill:** bump version ([36a6529](https://github.com/Alwatr/nanolib/commit/36a65297215b425593c19ce38ed3fbd907c8fc84)) by @
220
- * include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @
221
- * **polyfill-has-own:** change the license to AGPL-3.0 ([afcdf76](https://github.com/Alwatr/nanolib/commit/afcdf76841e70ce515e18581f6ab7d64d8720521)) by @
222
- * Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @
223
- * Update package.json exports for [@alwatr](https://github.com/alwatr) packages ([dacb362](https://github.com/Alwatr/nanolib/commit/dacb362b145e3c51b4aba00ff643687a3fac11d2)) by @
224
-
225
- ### Dependencies update
226
-
227
- * bump @types/node ([3d80fed](https://github.com/Alwatr/nanolib/commit/3d80fedaf720af792feb060c2f81c737ebb84e11)) by @
228
- * bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @
229
- * bump the development-dependencies group with 10 updates ([fa4aaf0](https://github.com/Alwatr/nanolib/commit/fa4aaf04c907ecae06aa14000ce35216170c15ad)) by @
230
- * bump the development-dependencies group with 2 updates ([be5d6c2](https://github.com/Alwatr/nanolib/commit/be5d6c2d86b937f32cebc6848aaff85af07055dd)) by @
231
- * upd ([451d025](https://github.com/Alwatr/nanolib/commit/451d0255ba96ed55f897a6f44f62cf4e6d2b12be)) by @
232
- * update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @
233
- * update all ([53342f6](https://github.com/Alwatr/nanolib/commit/53342f67a8a013127f073540bc11929f1813c05c)) by @
234
- * update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @
235
- * update all dependencies ([0e908b4](https://github.com/Alwatr/nanolib/commit/0e908b476a6b976ec2447f864c8cafcbb8a0f099)) by @
236
- * upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @
237
-
238
- ## [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)
239
-
240
- **Note:** Version bump only for package @alwatr/polyfill-has-own
241
-
242
- ## [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)
243
-
244
- **Note:** Version bump only for package @alwatr/polyfill-has-own
245
-
246
- ## [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)
247
-
248
- **Note:** Version bump only for package @alwatr/polyfill-has-own
249
-
250
- ## [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)
251
-
252
- ### Code Refactoring
253
-
254
- - prevent side-effects ([01e00e1](https://github.com/Alwatr/nanolib/commit/01e00e191385cc92b28677df0c01a085916ae677)) by @mohammadhonarvar
255
-
256
- ## [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)
257
-
258
- ### Miscellaneous Chores
259
-
260
- - include LICENSE and LEGAL files to publish ([09f366f](https://github.com/Alwatr/nanolib/commit/09f366f680bfa9fb26acb2cd1ccbc68c5a9e9ad8)) by @alimd
261
-
262
- ## [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)
263
-
264
- **Note:** Version bump only for package @alwatr/polyfill-has-own
265
-
266
- ## [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)
267
-
268
- ### Dependencies update
269
-
270
- - bump the development-dependencies group with 10 updates ([fa4aaf0](https://github.com/Alwatr/nanolib/commit/fa4aaf04c907ecae06aa14000ce35216170c15ad)) by @dependabot[bot]
271
-
272
- ## [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)
273
-
274
- **Note:** Version bump only for package @alwatr/polyfill-has-own
275
-
276
- ## [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)
277
-
278
- ### Features
279
-
280
- - use `package-tracer` ([cc3c5f9](https://github.com/Alwatr/nanolib/commit/cc3c5f9c1a3d03f0d81b46835665f16a0426fd0d)) by @mohammadhonarvar
281
-
282
- ### Bug Fixes
283
-
284
- - all dependeny topology ([1c17f34](https://github.com/Alwatr/nanolib/commit/1c17f349adf3e98e2a80ab2da4f0f81028dc9c5f)) by @mohammadhonarvar
285
- - **polyfill-has-own:** use `prototype` to check exactly ([15dfb6e](https://github.com/Alwatr/nanolib/commit/15dfb6e4e5eaa40a7bebeab3b64f6670b2c77949)) by @mohammadhonarvar
286
-
287
- ### Miscellaneous Chores
288
-
289
- - **polyfill-has-own:** change the license to AGPL-3.0 ([afcdf76](https://github.com/Alwatr/nanolib/commit/afcdf76841e70ce515e18581f6ab7d64d8720521)) by @ArmanAsadian
290
- - Update build and lint scripts ([392d0b7](https://github.com/Alwatr/nanolib/commit/392d0b71f446bce336b0256119a80f07aff794ba)) by @alimd
291
-
292
- ### Dependencies update
293
-
294
- - bump @types/node ([3d80fed](https://github.com/Alwatr/nanolib/commit/3d80fedaf720af792feb060c2f81c737ebb84e11)) by @dependabot[bot]
295
-
296
- ## [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)
297
-
298
- **Note:** Version bump only for package @alwatr/polyfill-has-own
299
-
300
- ## [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)
301
-
302
- ### Dependencies update
303
-
304
- - bump the development-dependencies group across 1 directory with 10 updates ([9ed98ff](https://github.com/Alwatr/nanolib/commit/9ed98ffd0668d5a36e255c82edab3af53bffda8f)) by @dependabot[bot]
305
- - update ([c36ed50](https://github.com/Alwatr/nanolib/commit/c36ed50f68da2f5608ccd96119963a16cfacb4ce)) by @alimd
306
-
307
- ## [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)
308
-
309
- ### Miscellaneous Chores
310
-
311
- - Update package.json exports for [@alwatr](https://github.com/alwatr) packages ([dacb362](https://github.com/Alwatr/nanolib/commit/dacb362b145e3c51b4aba00ff643687a3fac11d2)) by @
312
-
313
- ## [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)
314
-
315
- ### Dependencies update
316
-
317
- - update all dependencies ([1e0c30e](https://github.com/Alwatr/nanolib/commit/1e0c30e6a3a8e19deb5185814e24ab6c08dca573)) by @alimd
318
-
319
- ## [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)
320
-
321
- ### Dependencies update
322
-
323
- - update all dependencies ([0e908b4](https://github.com/Alwatr/nanolib/commit/0e908b476a6b976ec2447f864c8cafcbb8a0f099)) by @
324
-
325
- ## [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)
326
-
327
- ### Dependencies update
328
-
329
- - upgrade ([6dbd300](https://github.com/Alwatr/nanolib/commit/6dbd300642c9bcc9e7d0b281e244bf1b06eb1c38)) by @alimd
330
-
331
- ## [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)
332
-
333
- **Note:** Version bump only for package @alwatr/polyfill-has-own
334
-
335
- ## [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)
336
-
337
- **Note:** Version bump only for package @alwatr/polyfill-has-own
338
-
339
- ## [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)
340
-
341
- ### Miscellaneous Chores
342
-
343
- - **deps:** update ([1a45030](https://github.com/Alwatr/nanolib/commit/1a450305440b710a300787d4ca24b1ed8c6a39d7)) by @alimd
344
-
345
- ## [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)
346
-
347
- **Note:** Version bump only for package @alwatr/polyfill-has-own
348
-
349
- ## 1.0.0 (2024-01-20)
350
-
351
- ### Features
352
-
353
- - **polyfill-has-own:** new package ([9c3582b](https://github.com/Alwatr/nanolib/commit/9c3582bcfdacde324ac94f46a15e00cd5fef73e8)) by @njfamirm
354
-
355
- ### Miscellaneous Chores
356
-
357
- - **has-own-polyfill:** bump version ([36a6529](https://github.com/Alwatr/nanolib/commit/36a65297215b425593c19ce38ed3fbd907c8fc84)) by @
package/dist/main.cjs DELETED
@@ -1,4 +0,0 @@
1
- /** 📦 @alwatr/has-own v5.6.7 */
2
- __dev_mode__: console.debug("📦 @alwatr/has-own v5.6.7");
3
- "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});
4
- //# 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,4 +0,0 @@
1
- /** 📦 @alwatr/has-own v5.6.7 */
2
- __dev_mode__: console.debug("📦 @alwatr/has-own v5.6.7");
3
- var hasOwn=Object.hasOwn??Object.call.bind(Object.prototype.hasOwnProperty);export{hasOwn};
4
- //# 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
- }