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

feat: align some methods with the Change By Copy proposal #9207

Merged
merged 1 commit into from
Nov 7, 2023

Conversation

almeidx
Copy link
Member

@almeidx almeidx commented Mar 6, 2023

Please describe the changes this PR makes and why it should be merged:
Stage 4 proposal:

Overview of the changes:

  • sorted -> toSorted
  • Added toReversed

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating
  • This PR includes breaking changes (methods removed or renamed, parameters moved or removed)

@vercel
Copy link

vercel bot commented Mar 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
discord-js ⬜️ Ignored (Inspect) Visit Preview Nov 7, 2023 6:18pm
discord-js-guide ⬜️ Ignored (Inspect) Visit Preview Nov 7, 2023 6:18pm

@codecov
Copy link

codecov bot commented Mar 22, 2023

Codecov Report

Merging #9207 (a53403b) into main (3b8df63) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #9207      +/-   ##
==========================================
+ Coverage   60.39%   60.41%   +0.01%     
==========================================
  Files         233      233              
  Lines       16161    16169       +8     
  Branches     1232     1233       +1     
==========================================
+ Hits         9760     9768       +8     
  Misses       6357     6357              
  Partials       44       44              
Flag Coverage Δ
collection 99.28% <100.00%> (+<0.01%) ⬆️
next ∅ <ø> (∅)
proxy 75.00% <ø> (ø)
rest 92.77% <ø> (ø)
ws 52.63% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
packages/collection/src/collection.ts 99.28% <100.00%> (+<0.01%) ⬆️

📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today!

@almeidx almeidx changed the title feat(collection): align some methods with the Change By Copy proposal feat: align some methods with the Change By Copy proposal Oct 29, 2023
@almeidx almeidx force-pushed the collection/change-by-copy branch from 1b0706c to 8005d6f Compare November 7, 2023 18:08
@almeidx almeidx requested a review from a team as a code owner November 7, 2023 18:08
Copy link

github-actions bot commented Nov 7, 2023

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟢 Performance 95
🟢 Accessibility 94
🟢 Best practices 92
🟢 SEO 92
🟠 PWA 67

Lighthouse ran on https://discord-js-git-fork-almeidx-collection-change-by-copy-discordjs.vercel.app/

@almeidx almeidx requested a review from kyranet November 7, 2023 18:09
BREAKING CHANGE: The `sorted` method has been renamed to `toSorted`
@almeidx almeidx force-pushed the collection/change-by-copy branch from 8005d6f to a53403b Compare November 7, 2023 18:18
@almeidx almeidx removed the blocked label Nov 7, 2023
@kodiakhq kodiakhq bot merged commit 65966ae into discordjs:main Nov 7, 2023
@almeidx almeidx deleted the collection/change-by-copy branch November 7, 2023 18:26
@Jiralite Jiralite added this to the collection 2.0 milestone Nov 7, 2023
cobaltt7 added a commit to scratchaddons-community/scradd that referenced this pull request Dec 19, 2023
Signed-off-by: RedGuy12 <paul@reid-family.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

6 participants