Skip to content

Commit 7c1fba7

Browse files
committed
✨ jQuery v1.5.3-sec
1 parent 43daa2a commit 7c1fba7

File tree

4 files changed

+101
-87
lines changed

4 files changed

+101
-87
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ In a perfect world, at least every MAJOR EOL jQuery release line would have a se
1111
|| `1.2.6` | `1.2.7-sec` | [1.2.7-sec] | [PR][1.2.7-pr] | | [CVE-2011-4969] \| [CVE-2012-6708] \| <del>CVE-2015-9251</del>\* \| [CVE-2019-11358] \| [CVE-2020-7656] \| [CVE-2020-11022] \| [CVE-2020-11023] |
1212
|| `1.3.2` | `1.3.3-sec` | [1.3.3-sec] | [PR][1.3.3-pr] | | [CVE-2011-4969] \| [CVE-2012-6708] \| <del>CVE-2015-9251</del>\* \| [CVE-2019-11358] \| [CVE-2020-7656] \| [CVE-2020-11022] \| [CVE-2020-11023] |
1313
|| `1.4.4` | `1.4.5-sec` | [1.4.5-sec] | [PR][1.4.5-pr] | | [CVE-2011-4969] \| [CVE-2012-6708] \| [CVE-2015-9251] \| [CVE-2019-11358] \| [CVE-2020-7656] \| [CVE-2020-11022] \| [CVE-2020-11023] |
14-
| 🚧 | `1.5.2` | `1.5.3-sec` | | | | [CVE-2011-4969] \| [CVE-2012-6708] \| [CVE-2015-9251] \| [CVE-2019-11358] \| [CVE-2020-7656] \| [CVE-2020-11022] \| [CVE-2020-11023] |
14+
| | `1.5.2` | `1.5.3-sec` | [1.5.3-sec] | [PR][1.5.3-pr] | | [CVE-2011-4969] \| [CVE-2012-6708] \| [CVE-2015-9251] \| [CVE-2019-11358] \| [CVE-2020-7656] \| [CVE-2020-11022] \| [CVE-2020-11023] |
1515
|| `1.6.4` | `1.6.5-sec` | [1.6.5-sec] | [PR][1.6.5-pr] | | [CVE-2012-6708] \| [CVE-2015-9251] \| [CVE-2019-11358] \| [CVE-2020-7656] \| [CVE-2020-11022] \| [CVE-2020-11023] |
1616
| 🚧 | `1.7.2` | `1.7.3-sec` | | | | [CVE-2012-6708] \| [CVE-2015-9251] \| [CVE-2019-11358] \| [CVE-2020-7656] \| [CVE-2020-11022] \| [CVE-2020-11023] |
1717
| 🚧 | `1.8.3` | `1.8.4-sec` | | | | [CVE-2012-6708] \| [CVE-2015-9251] \| [CVE-2019-11358] \| [CVE-2020-7656] \| [CVE-2020-11022] \| [CVE-2020-11023] |
@@ -63,7 +63,9 @@ Ultimately, our hope is that these patched versions can be approved and accepted
6363
[1.3.3-sec]: https://github.com/ctcpip/jquery-security-patches/tree/1.3.3-sec
6464
[1.3.3-pr]: https://github.com/ctcpip/jquery-security-patches/pull/3
6565
[1.4.5-sec]: https://github.com/ctcpip/jquery-security-patches/tree/1.4.5-sec
66-
[1.4.5-pr]: https://github.com/ctcpip/jquery-security-patches/pull/4
66+
[1.4.5-pr]: https://github.com/ctcpip/jquery-security-patches/pull/5
67+
[1.5.3-sec]: https://github.com/ctcpip/jquery-security-patches/tree/1.5.3-sec
68+
[1.5.3-pr]: https://github.com/ctcpip/jquery-security-patches/pull/6
6769
[1.6.5-sec]: https://github.com/ctcpip/jquery-security-patches/tree/1.6.5-sec
6870
[1.6.5-pr]: https://github.com/ctcpip/jquery-security-patches/pull/1
6971
[CVE-2011-4969]: https://github.com/advisories/GHSA-579v-mp3v-rrw5

security/README.md

Lines changed: 40 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,62 +5,64 @@
55
> [!IMPORTANT]
66
> In order to keep the version PRs clean, you will need to use different branches depending on whether you want to run the jQuery tests, build jQuery, or run the A/B CVE tests. For the A/B CVE tests, you need to checkout the `main` branch. For the jQuery tests or to build jQuery, you need to checkout the branch of the version you are interested in, e.g. `1.6.5-sec`.
77
8+
## Prerequisites
9+
10+
- For older jQuery versions (1.2.6 through 1.5.2<!-- update as needed -->), you'll need to install php 5.6
11+
- For Macs, We recommend using [homebrew-php](https://github.com/shivammathur/homebrew-php)
12+
813
## Testing
914

1015
### jQuery tests
1116

12-
#### How to run jQuery tests
13-
14-
##### 1.2.6 / 1.2.7-sec
17+
#### 1.2.6 / 1.2.7-sec
1518

1619
- Checkout the `1.2.6` or `1.2.7-sec` branch
17-
- Run `make test` from the root folder of the repo
20+
- Run `make` from the root folder of the repo
1821
- Open `/tests/index.html` in your browser
1922

20-
##### 1.3.2 / 1.3.3-sec
23+
#### 1.3.2 / 1.3.3-sec
2124

2225
<!-- - Checkout the `1.3.2` or `1.3.3-sec` branch
2326
- Run `make test` from the root folder of the repo
2427
- Open `/tests/index.html` in your browser -->
2528

26-
##### 1.4.4 / 1.4.5-sec
27-
28-
###### Prerequisites
29-
30-
- Install php 5.6
31-
- For Macs, We recommend using [homebrew-php](https://github.com/shivammathur/homebrew-php)
32-
33-
###### Running the tests
29+
#### 1.4.4 / 1.4.5-sec
3430

3531
- Checkout the `1.4.4` or `1.4.5-sec` branch
3632
- From the root folder of the repo:
33+
- `git clone git@github.com:jquery/sizzle.git --depth=1 src/sizzle`
34+
- `cd src/sizzle`
35+
- `git fetch --tags`
36+
- Get corresponding sizzle branch for this jQuery version/release:
37+
- `git checkout 1.4.4`
38+
- `cd ../..`
3739
- `git clone git@github.com:qunitjs/qunit.git --depth=1 test/qunit`
3840
- `cd test/qunit`
3941
- Get the closest QUnit commit to the jQuery version/release:
4042
- `git checkout 25e4489a5f280e8f0a22ca99ecb401338bb75308`
41-
- `cd ../..`
42-
- `git clone git@github.com:jquery/sizzle.git --depth=1 src/sizzle`
43-
- `cd src/sizzle`
44-
- `git fetch --tags`
45-
- Get corresponding sizzle branch for this jQuery version/release:
46-
- `git checkout 1.4.4`
4743
- `cd ..`
48-
- Create symlink to src in test folder:
49-
- `ln -s ../src src`
44+
- Create symlink to src in test folder:
45+
- `ln -s ../src src`
5046
- `cd ..`
5147
- `make jquery`
52-
- Run php server:
53-
- `php -S 127.0.0.1:8000 -t test`
48+
- Run php server:
49+
- `php -S 127.0.0.1:8000 -t test`
5450
- Open `/tests/index.html` in your browser
5551

56-
##### 1.6.4 / 1.6.5-sec
52+
#### 1.5.2 / 1.5.3-sec
5753

58-
###### Prerequisites
59-
60-
- Install php 5.6
61-
- For Macs, We recommend using [homebrew-php](https://github.com/shivammathur/homebrew-php)
54+
- Checkout the `1.5.2` or `1.5.3-sec` branch
55+
- From the root folder of the repo:
56+
- `cd test`
57+
- Create symlink to src in test folder:
58+
- `ln -s ../src src`
59+
- `cd ..`
60+
- `make`
61+
- Run php server:
62+
- `php -S 127.0.0.1:8000 -t test`
63+
- Open `/tests/index.html` in your browser
6264

63-
###### Running the tests
65+
#### 1.6.4 / 1.6.5-sec
6466

6567
- Checkout the `1.6.4` or `1.6.5-sec` branch
6668
- Run php server from the root folder of the repo: `php -S 127.0.0.1:8000`
@@ -115,10 +117,17 @@ You can run the A/B tests locally in CI mode or manually in the browser
115117
- `git clone git@github.com:jquery/sizzle.git --depth=1 src/sizzle`
116118
- `cd src/sizzle`
117119
- `git fetch --tags`
118-
- Get corresponding sizzle branch for this jQuery version/release:
119-
- `git checkout 1.4.4`
120+
- Get corresponding sizzle branch for this jQuery version/release:
121+
- `git checkout 1.4.4`
120122
- `cd ../..`
121123
- Run `make jquery`
122124
- This will output `./dist/jquery.js`
123125

126+
#### 1.5.2 / 1.5.3-sec
127+
128+
- Checkout the `1.5.2` or `1.5.3-sec` branch
129+
- From the root folder of the repo:
130+
- Run `make`
131+
- This will output `./dist/jquery.js`
132+
124133
### 1.6.4 / 1.6.5-sec

0 commit comments

Comments
 (0)