« first day (5043 days earlier)      last day (45 days later) » 

2:45 AM
 
2 hours later…
4:47 AM
@matt Until somebody starts a line with ( or [ at which point they get weird results, come to SO to ask why their code doesn't behave, get slapped with the ASI rules and then basically everybody leaves unhappy.
@matt Yes, this could be mitigated if you make a conscious effort to avoid incorrect parsing. But this does take a lot of effort. And it's extremely easy to break it, too: 1. maybe there was a line between these two. However, in the future the line is moved or removed. And suddenly fn1 gets invoked. 2. a build tool might concatenate some files ending up with two items next to each other that you didn't anticipate.
Number 2 actually bit us in my last company. There was a missing semicolon in one file but it worked because it was concatenated last. But after something was updated, the bundler changed its position and there was now something else after it. Both were IIFEs, so the code ended up being (function() { /* semicolonless IIFE */})() (function( /* IIFE with semicolon */))(); And that also only affected just the production build. So, imagine our surprise when Release N works Release N+1 doesn't.
 
8 hours later…
12:25 PM
> Formerly known as moron.js, objection.js is [an ORM]
Why did they change the name /s
Woah, I looked up the repository. It seems to have been renamed with extreme prejudice. The repo has three commits. 1. Initial 2. Updating the Readme to say it was renamed 3. Fix a typo in the last commit.
I guess the author re-wrote the history.
@VLAZ The original name was better, because the repository lives up to the name
@matt I've never not used semicolons. To me, semicolons make my code look more formal, and it also functions better (e.g., avoiding the example you posted).
Mar 11, 2022 at 5:58, by Kevin B
a missing semi-colon is an unfinished thought
 
2 hours later…
2:59 PM
Kevin is wise
 
2 hours later…
5:27 PM
i have tended to declare my immediately invoked functions like this
        ;
        (()=>{
              console.log('abc');
        })()
        ;
So, instead of one semicolon, it needs two. I think I'll stick to ESLint autofixing it for me.
@matt I agree with VLAZ, that is terrible 😂
im slowly transitioning towards not using semi colons, here amd there
6:17 PM
       var fn1=function(arg){    //  has to be a function expression

              console.log(arg);
              return crazy;

              function crazy(arg){

                    console.log(arg)

              }//crazy

        }//fn1

        !function fn2(arg){

              console.log('hello',arg);

        }('world');
 
1 hour later…
7:39 PM
posted on August 06, 2024 by Daniel Yip

The Stable channel has been updated to 127.0.6533.99/.100 for Windows, Mac and 127.0.6533.99 for Linux which will roll out over the coming days/weeks. A full list of changes in this build is available in the Log. Security Fixes and Rewards Note: Access to bug details and links may be kept restricted until a majority of users are updated with a fix. We will also retain restrictions i

posted on August 06, 2024 by Ben Mason

Hi everyone! We've just released Chrome Stable 127 (127.0.6533.107) for iOS; it'll become available on App Store in the next few hours. This release includes stability and performance improvements. You can see a full list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Erhu Akpobaro Google Chrome

posted on August 06, 2024 by Srinivas Sista

The Extended Stable channel has been updated to 126.0.6478.234 for Windows and Mac which will roll out over the coming days/weeks. A full list of changes in this build is available in the log. Interested in switching release channels? Find out how here. If you find a new issue, please let us know by filing a bug. The community help forum is also a great place to reach out for help or lear

 
2 hours later…
9:39 PM
posted on August 06, 2024 by Krishna Govind

   Hi, everyone! We've just released Chrome 127 (127.0.6533.103) for Android . It'll become available on Google Play over the next few days.  This release includes stability and performance improvements. You can see a full list of the changes in the Git log. If you find a new issue, please let us know by filing a bug. Android releases contain the same securit

 
1 hour later…
10:45 PM
  //download-repo-dir.node.mjs

        import fs from 'fs';

        var owner     = 'Vincit';
        var repo      = 'objection.js';
        var branch    = 'main';
        var path      = '';

        if(path[0]=='/')path    = path.slice(1);
        if(path && path.slice(-1)!='/')path  += '/';

        var file    = `${path.split('/').filter(Boolean).at(-1)||repo}/`;
        fs.mkdirSync(file);
        var url     = `api.github.com/repos${owner}/${repo}/git/trees/${branch}?recursive=true`;
10:57 PM
posted on August 06, 2024 by Giuliana Pritchard

LTS-120 is being updated in the LTS (Long Term Support) channel, version 120.0.6099.319 (Platform Version: 15662.116.0), for most ChromeOS devices.  Release notes for LTS-120 can be found here  Want to know more about Long-term Support? Click here This update contains selective Security fixes, including: 341136300 High CVE-2024-6778 Race in DevTools Giuli


« first day (5043 days earlier)      last day (45 days later) »