proposal-string-dedent
core-js
proposal-string-dedent | core-js | |
---|---|---|
5 | 141 | |
605 | 23,916 | |
1.0% | - | |
4.1 | 9.8 | |
9 months ago | 1 day 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-string-dedent
-
CoffeeScript for TypeScript
We often add promising TC39 proposals into Civet so people can experiment without waiting.
We've added https://github.com/tc39/proposal-pipeline-operator, a variant of https://github.com/tc39/proposal-pattern-matching, a variant of https://github.com/tc39/proposal-string-dedent and others.
Since our goal is to be 99% compatible with ES we'll need to accommodate any proposals that become standard and pick up anything TC39 leaves on the table (rest parameters in any position, etc.)
-
A single developer has been maintaining core.js with little recognition or support. Almost all modern single page apps use core.js. Millions of downloads and hardly any compensation
I was wondering what "dedent" was when I saw this commit since that's what he named the branch. Conveniently, the changelog shows up first in this merge and he Added String.dedent stage 2 proposal which he links. The proposal is a bit dense for me to skim since I'm not particularly familiar with ECMAscript. The code to implement dedent is included and is a bit tricky to skim but if you scroll down to look at what the tests are doing, then the code will hopefully make a bit more sense.
-
Updates from the 90th TC39 meeting
String.dedent: For multi-backtick templates with automatic margin stripping.
-
How to use multi line template literals strings in an IDE while keeping indentation in the IDE (vs code)
There's nothing built in that does this yet, but there is a proposal for a String.dedent that would.
-
Updates from 78th meeting of TC39
String Dedent
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?
proposal-source-phase-imports - Proposal to enable importing modules at the source phase
create-react-app - Set up a modern web app by running one command.
proposal-class-static-block - ECMAScript class static initialization blocks
proxy-polyfill - Proxy object polyfill
squint - Light-weight ClojureScript dialect
Angular - Deliver web apps with confidence 🚀
proposal-intl-locale-info - An API to expose information of locale, such as week data ( first day of a week, weekend start, weekend end), hour cycle, measurement system, commonly used calendar, etc.
node-sass - :rainbow: Node.js bindings to libsass
proposal-intl-enumeration - Return supported values of options, such as timeZone, calendars, numberingSystems, currencies, units
es6-promise - A polyfill for ES6-style Promises
proposal-error-cause - TC39 proposal for accumulating errors
fromentries - Object.fromEntries() ponyfill (in 6 lines)