@shgysk8zer0/polyfills 0.4.3 → 0.4.5

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
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [v0.4.5] - 2024-10-11
11
+
12
+ ### Added
13
+ - Add polyfill for `customElements.getName`
14
+
15
+ ## [v0.4.4] - 2024-10-09
16
+
17
+ ### Added
18
+ - Add `Error.isError` (imperfect, but works)
19
+
20
+ ### Fixed
21
+ - Fixed and simplicy `Array.prototype.uniqueBy`
22
+
10
23
  ## [v0.4.3] - 2024-09-17
11
24
 
12
25
  ### Added
package/JSON.js CHANGED
@@ -1,7 +1,7 @@
1
- // eslint-disable-next-line no-redeclare
1
+
2
2
  /* global Record Tuple */
3
3
  if (! (JSON.parseImmutable instanceof Function)) {
4
- /* eslint-disable no-inner-declarations */
4
+
5
5
  function getImmutable(thing) {
6
6
  switch (typeof thing) {
7
7
  case 'object':
package/Record.js CHANGED
@@ -1,5 +1,5 @@
1
1
  if (! (globalThis.Record instanceof Function)) {
2
- /* eslint-disable no-inner-declarations */
2
+
3
3
  function Record(obj) {
4
4
  if (new.target === Record) {
5
5
  throw new TypeError('Record is not a constructor');
package/Tuple.js CHANGED
@@ -1,5 +1,5 @@
1
1
  if (! (globalThis.Tuple instanceof Function)) {
2
- /* eslint-disable no-inner-declarations */
2
+
3
3
 
4
4
  /**
5
5
  * Creates an unfrozen Tuple, such as for `Tuple.of()`