From bd21e1b374b39e92382ca87b45b65906613e4603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski-Owczarek?= Date: Mon, 12 May 2025 17:52:55 +0200 Subject: [PATCH 1/2] Build: Update the apt-get cache before installing any package --- .github/workflows/node.js.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index ca2b79e7..30412870 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -19,6 +19,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 + - name: Update apt-get cache + run: sudo apt-get update - name: Install xmllint run: sudo apt-get install -y libxml2-utils - name: Use Node.js ${{ matrix.node-version }} From 25291a3012982c78b0747c914ab0537ebc9b9df2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Mon, 17 Oct 2022 18:52:48 +0200 Subject: [PATCH 2/2] jQuery.get:jQuery.post: Document issues with `data: null` with 3 params In jQuery 3.x and older, when providing a `null` value for `success` you also have to provide the `data` parameter; you can set it to `undefined`. Document this restriction of `jQuery.get` & `jQuery.post`. Closes gh-1208 Ref jquery/jquery#4989 Ref jquery/jquery#5139 Ref jquery/jquery#5640 Ref jquery/jquery#5645 Ref jquery/jquery#5646 --- entries/jQuery.get.xml | 2 +- entries/jQuery.post.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/entries/jQuery.get.xml b/entries/jQuery.get.xml index 575a6f83..e0f7af6f 100644 --- a/entries/jQuery.get.xml +++ b/entries/jQuery.get.xml @@ -15,7 +15,7 @@ - A callback function that is executed if the request succeeds. Required if dataType is provided, but you can use null or jQuery.noop as a placeholder. + A callback function that is executed if the request succeeds. Required if dataType is provided, but you can use null or jQuery.noop as a placeholder. NOTE: In jQuery 3.x and older, when providing a null value for success you also have to provide the data parameter; you can set it to null or undefined. The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html). diff --git a/entries/jQuery.post.xml b/entries/jQuery.post.xml index e5411bed..e862071f 100644 --- a/entries/jQuery.post.xml +++ b/entries/jQuery.post.xml @@ -15,7 +15,7 @@ - A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null in that case. + A callback function that is executed if the request succeeds. Required if dataType is provided, but can be null or jQuery.noop as a placeholder. NOTE: In jQuery 3.x and older, when providing a null value for success you also have to provide the data parameter; you can set it to undefined. The type of data expected from the server. Default: Intelligent Guess (xml, json, script, text, html).