proposal-array-grouping
core-js
proposal-array-grouping | core-js | |
---|---|---|
19 | 141 | |
513 | 23,916 | |
- | - | |
0.0 | 9.8 | |
6 months ago | 3 days ago | |
HTML | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
proposal-array-grouping
-
TC39: Add Object.groupBy and Map.groupBy
Global iterator type is coming: https://github.com/tc39/proposal-iterator-helpers
But a method named `groupBy` on iterators traditionally means a different thing: https://github.com/tc39/proposal-array-grouping/issues/51#is...
Global iterable type it's too late for, since there's many extant iterables in the language and on the web which don't have it in their prototype chain and can't reasonably be changed.
-
What's New in Node.js 21
Array grouping to combine like data into groups using Object.groupBy() and Map.groupBy().
-
Updates from the 97th TC39 meeting
Array Grouping: A proposal to make grouping of array items easier.
-
Snap.js - A competitor to Lodash
They are coming out with array.group() soon, which is supposed to also fulfil the use-case of partitioning :) - https://github.com/tc39/proposal-array-grouping.
-
[AskJS] Is JavaScript missing some built-in methods?
https://github.com/tc39/proposal-array-grouping for those curious
-
Set methods proposal reaches stage 3
I'm also looking forward to map.emplace() and arr.group() and iterator helpers.
-
SmooshGate
At the end of the day, it comes down to whether browser vendors are willing to ship the feature even though it breaks said websites, and they do have visitor data to back those decisions. If the rule was "never break any website ever", you'd be able to block proposals you don't personally like by crafting a website that "gets broken" by that proposal.
At least in the array grouping proposal, they did evaluate amount and popularity of possibly breaking sites, before eventually renaming the method from .groupBy to .group
https://github.com/tc39/proposal-array-grouping/issues/37
-
New ECMAScript 23 array features
The proposal is described here.
-
how can I split an array into multiple arrays based on a property?
Remarkably, this is now a TC39 proposal.
-
Upcoming ECMAScript features I'm excited about
Proposal, Polyfill
core-js
-
Emacs' helm is maintained by one maintaner for 11 years long
This is surprisingly common. The other example off the top of my head, a single maintainer of a very popular project who had to temporarily abandon it due to lack of funds, is Denis Pushkarev (zloirock) and core.js (https://github.com/zloirock/core-js/blob/master/docs/2023-02...).
The majority of OSS projects have most of their contributions by one person (the project leader), and the vast majority of OSS contributors don't do it for their job. It seems nearly every single popular OSS project is like this (one unpaid, maybe sponsored, volunteer doing most of the work); it's not even worth listing projects and names, because you can just pick a couple projects you know and I bet at least one will be an example. Fortunately, most of these people seem to be well-off (probably in part due to the quality of programming jobs), but every once in a while there's someone who's not so fortunate. It should be more common to sponsor maintainers, especially if they are asking for donations provided they can prove that they really need the money (the world we live in, some people who have plenty fake issues to solicit donations, then others who genuinely need and deserve the money are scolded and left unfunded because of them).
-
Users are massively giving their 1-star reviews to AdBlocker
Funny you say that, I was just thinking earlier today back to the core-js drama.
In short: the creator of a NPM package that is used by approximately everyone, everywhere, was facing a legal battle. He had been developing this package full time for years and did not have the cash on hand to hire a lawyer. He added a console log that ran on installing his package that said something like "If you're using core-js please consider donating". Queue an absolute shitstorm of people screaming at him in the github issues and him going to prison for around 10 months. Luckily he seems to be back on the grind nowadays, with a decently robust cross-platform slush fund to boot (~200k USD across Pateron, Open Collective, Bitcoin).
It can be a rough world out there for the folks building for the "focus, productivity and anti-distraction" platform.
https://github.com/zloirock/core-js
-
SpeakBits - A reddit alternative without the corporate baggage
I think everyone here knows that, at some point, the site would start costing a lot of money and would need to be funded in some way. I would love for the Wikipedia donation model to work for a site like this but everything I find points to that not being the case. Reddit gold not covering server costs and open source devs not tied to a corporation struggling to continue working on their projects being two prime examples. If anyone has anything that can convince me to give it a try, please let me know and I will switch this to a non-profit.
-
Why there may never be a libjpeg-turbo 3.1
Open source developers are not being paid. They published under licenses that allow zero cost and businesses won't pay.
If you want to write open source code for living, you have to find a business model that works. In this case, it is even under permissive license.
* code freeze - code is under open source license only a certain time after commit/release. Maybe add "support", aka you get security fixes in timely manner.
* open core - put some features behind commericial door.
* go ImageSharp way of split license. That one is fun, because MS deprecated/killed (throws exceptions on attempt to use) official image/font library and that was was intended replacement. Rather blatant offloading of costs.
This has been rehashed several time (core-js recently https://github.com/zloirock/core-js/blob/master/docs/2023-02...).
The gist of it is: Companies are not going to pay if they don't have to. That is the reality and it's not going to change.
-
[Torte de Lini] After 375 changes, all 166 Standard Hero Guides are updated to patch 7.33d
This is one of the few examples. https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md
-
I am an enthusiast of Linux. But... here is where it sucks
Open source: It sounds pretty nice. Open to everyone... But it sucks in general. People really don't care to contribute to open-source. (e.g. here). It is a really good resource for development but for people who don't know anything about development, it is not important. There needs to be some financial income / support for good open-source.
-
Why you use Nodejs and depends 95% on third party libraries which only last of a year or two and don't use something like asp.net which is maintained by Microsoft?
there is https://github.com/zloirock/core-js but is more or less a 1 guy team and he is grossly under paid and well just read this https://github.com/zloirock/core-js/blob/master/docs/2023-02-14-so-whats-next.md im shocked he still works on it
-
Why Phoenix?
Choice is good to a point but at some point it becomes crippling. It still haunts me on Rails. Is it yarn, is it brunch, is it npm, is it webpacker, is it esbuild, is it import maps... plus personally the pad-left debacle left a bad taste in my mouth and this little nugget about core-js was heartbreaking. For me it's hard to pick JS for anything other than what I absolutely must.
-
Journalists having bad ideas about software development
There's a real story behind that (but the software is core-js, not nginx)
-
Discussion Thread
npm WARN deprecated [email protected]: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3. \> [email protected] postinstall /home/daniel/src/test/node_modules/core-js > node -e "try{require('./postinstall')}catch(e){}" Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library! The project needs your help! Please consider supporting of core-js on Open Collective or Patreon: > https://opencollective.com/core-js > https://www.patreon.com/zloirock Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
What are some alternatives?
es1995 - ES1995 – The Missing JS Polyfill
create-react-app - Set up a modern web app by running one command.
retro-random-number
proxy-polyfill - Proxy object polyfill
proposal-regexp-r-escape - Regular Expression `\R` Escape for ECMAScript
Angular - Deliver web apps with confidence 🚀
proposal-string-cooked - ECMAScript proposal for String.cooked built-in template tag
node-sass - :rainbow: Node.js bindings to libsass
proposal-function-pipe-flow - A proposal to standardize helper functions for serial function application and function composition.
es6-promise - A polyfill for ES6-style Promises
proposal-array-from-async - Draft specification for a proposed Array.fromAsync method in JavaScript.
fromentries - Object.fromEntries() ponyfill (in 6 lines)