mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Build: Fix pre release matching in compare size regex
Some checks are pending
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Edge_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Edge_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (IE_11) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Opera_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Safari_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Safari_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_15) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_16) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_17) (push) Waiting to run
Code scanning - action / CodeQL-Build (push) Waiting to run
Filestash / Update Filestash (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 20.x, test:esm) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 20.x, test:no-deprecated) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 20.x, test:selector-native) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 20.x, test:slim) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome/Firefox, 20.x, test:browser) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (new), 20.x, test:firefox) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (old), 20.x, test:firefox) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 18.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 20.x, lint) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 20.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 23.x, test:browserless) (push) Waiting to run
Node / test:ie - IE (push) Waiting to run
Node / test:safari - Safari (push) Waiting to run
Some checks are pending
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Chrome_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Edge_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Edge_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Firefox_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (IE_11) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Opera_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Safari_latest) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (Safari_latest-1) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_15) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_16) (push) Waiting to run
Browserstack / ${{ matrix.BROWSER }} (__iOS_17) (push) Waiting to run
Code scanning - action / CodeQL-Build (push) Waiting to run
Filestash / Update Filestash (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 20.x, test:esm) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 20.x, test:no-deprecated) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 20.x, test:selector-native) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome, 20.x, test:slim) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Chrome/Firefox, 20.x, test:browser) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (new), 20.x, test:firefox) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Firefox ESR (old), 20.x, test:firefox) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 18.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 20.x, lint) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 20.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 22.x, test:browserless) (push) Waiting to run
Node / ${{ matrix.NPM_SCRIPT }} - ${{ matrix.NAME }} (${{ matrix.NODE_VERSION }}) (Node, 23.x, test:browserless) (push) Waiting to run
Node / test:ie - IE (push) Waiting to run
Node / test:safari - Safari (push) Waiting to run
Closes gh-5584
This commit is contained in:
parent
d5ebb464de
commit
041f6e347b
@ -5,7 +5,7 @@ import { exec as nodeExec } from "node:child_process";
|
||||
import chalk from "chalk";
|
||||
import isCleanWorkingDir from "./isCleanWorkingDir.js";
|
||||
|
||||
const VERSION = 1;
|
||||
const VERSION = 2;
|
||||
const lastRunBranch = " last run";
|
||||
|
||||
const gzip = promisify( zlib.gzip );
|
||||
@ -111,7 +111,7 @@ export async function compareSize( { cache = ".sizecache.json", files } = {} ) {
|
||||
// Remove the short SHA and .dirty from comparisons.
|
||||
// The short SHA so commits can be compared against each other
|
||||
// and .dirty to compare with the existing branch during development.
|
||||
const sha = /jQuery v\d+.\d+.\d+(?:-\w+)?(?:\+slim\.|\+)?([^ \.]+(?:\.dirty)?)?/.exec( contents )[ 1 ];
|
||||
const sha = /jQuery v\d+.\d+.\d+(?:-[\w\.]+)?(?:\+slim\.|\+)?(\w+(?:\.dirty)?)?/.exec( contents )[ 1 ];
|
||||
contents = contents.replace( new RegExp( sha, "g" ), "" );
|
||||
|
||||
const size = Buffer.byteLength( contents, "utf8" );
|
||||
|
Loading…
Reference in New Issue
Block a user