Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: define map & set overrides on the instance instead of prototype #1975

Merged
merged 6 commits into from
May 17, 2024

Conversation

bigopon
Copy link
Member

@bigopon bigopon commented May 17, 2024

📖 Description

Map & Set, unlike array, can be considered "normal" objects, it doesn't need the same treatment of overriding like Array. Also cleanup utilities & error codes.

Copy link

codecov bot commented May 17, 2024

Codecov Report

Attention: Patch coverage is 96.23352% with 20 lines in your changes are missing coverage. Please review.

Project coverage is 88.56%. Comparing base (f1a73d6) to head (7637d11).
Report is 6 commits behind head on master.

Files Patch % Lines
packages/runtime/src/map-observer.ts 90.52% 9 Missing ⚠️
packages/runtime/src/set-observer.ts 90.47% 8 Missing ⚠️
...time-html/src/observation/select-value-observer.ts 0.00% 1 Missing ⚠️
packages/runtime/src/array-observer.ts 99.67% 1 Missing ⚠️
packages/runtime/src/dirty-checker.ts 66.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1975      +/-   ##
==========================================
- Coverage   88.59%   88.56%   -0.03%     
==========================================
  Files         273      278       +5     
  Lines       22945    22879      -66     
  Branches     5305     5287      -18     
==========================================
- Hits        20328    20263      -65     
+ Misses       2617     2616       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bigopon bigopon merged commit 253e92a into master May 17, 2024
28 of 29 checks passed
@bigopon bigopon deleted the chore/cleanup-14 branch May 17, 2024 10:03
AureliaEffect pushed a commit that referenced this pull request May 23, 2024
2.0.0-beta.18 (2024-05-23)

**BREAKING CHANGES:**

* **dom-queue:** merge dom read and write queues (#1970) ([3a63cde](3a63cde))

**Features:**

* **dialog:** ability to specify dialog per open call (#1978) ([7d44ed1](7d44ed1))
* **dialog:** add event manager for custom event handling extension ([7d44ed1](7d44ed1))
* **kernel:** add last resolver (#1976) ([c47817c](c47817c))
* **router-lite:** current route (#1966) ([d966e15](d966e15))

**Bug Fixes:**

* **di:** use official metadata instead of weakmap (#1977) ([9aeeffa](9aeeffa))
* **router-lite:** current route subscription disposal (#1969) ([ace4c65](ace4c65))
* **convention:** typing: use array for bindables isntead of object (#1967) ([f1a73d6](f1a73d6))

**Refactorings:**

* **collection:** define map & set overrides on the instance instead of prototype (#1975) ([253e92a](253e92a))
* **runtime:** reoganise utils import ([253e92a](253e92a))
* **fetch-client:** extract error codes and cleanup (#1974) ([63ffdc9](63ffdc9))
* **i18n-validation:** replace errors with error codes (#1972) ([f91f31c](f91f31c))
* **dev:** turbo package input glob + ts dev script ([253e92a](253e92a))

**Docs:**

* **doc:** updated ISignaler documentation example (#1973) ([e0481d6](e0481d6))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant