From 7ee58dabf9e6c669ee94f1483e94d3b746a98d38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski-Owczarek?= Date: Thu, 7 Sep 2023 16:43:06 +0200 Subject: [PATCH 1/2] Docs: Archive Sizzle, step 1 Rename GitHub references from jquery/sizzle to jquery-archive/sizzle. --- Gruntfile.js | 2 +- LICENSE.txt | 2 +- README.md | 6 +++--- package.json | 6 +++--- src/sizzle.js | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 171b9f21..7435e13e 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -28,7 +28,7 @@ module.exports = function( grunt ) { // if Browserstack is set up, assume we can use it if ( isBrowserStack ) { - // See https://github.com/jquery/sizzle/wiki/Sizzle-Documentation#browsers + // See https://github.com/jquery-archive/sizzle/wiki/Sizzle-Documentation#browsers browsers.desktop = [ "bs_chrome-45", // shares V8 with Node.js v4 LTS diff --git a/LICENSE.txt b/LICENSE.txt index 88fcd178..4b91f7ca 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -2,7 +2,7 @@ Copyright JS Foundation and other contributors, https://js.foundation/ This software consists of voluntary contributions made by many individuals. For exact contribution history, see the revision history -available at https://github.com/jquery/sizzle +available at https://github.com/jquery-archive/sizzle The following license applies to all parts of this software except as documented below: diff --git a/README.md b/README.md index 6cdb2696..c2d89ada 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ __A pure-JavaScript CSS selector engine designed to be easily dropped in to a host library.__ - [More information](https://sizzlejs.com/) -- [Documentation](https://github.com/jquery/sizzle/wiki/) -- [Browser support](https://github.com/jquery/sizzle/wiki/#wiki-browsers) +- [Documentation](https://github.com/jquery-archive/sizzle/wiki/) +- [Browser support](https://github.com/jquery-archive/sizzle/wiki/#wiki-browsers) Contribution Guides --------------------------- @@ -35,7 +35,7 @@ How to build Sizzle Clone a copy of the main Sizzle git repo by running: ```bash -git clone git@github.com:jquery/sizzle.git +git clone git@github.com:jquery-archive/sizzle.git ``` In the `sizzle/dist` folder you will find build version of sizzle along with the minified copy and associated map file. diff --git a/package.json b/package.json index 45342328..e4bb84a3 100644 --- a/package.json +++ b/package.json @@ -13,14 +13,14 @@ "homepage": "https://sizzlejs.com", "author": { "name": "JS Foundation and other contributors", - "url": "https://github.com/jquery/sizzle/blob/main/AUTHORS.txt" + "url": "https://github.com/jquery-archive/sizzle/blob/main/AUTHORS.txt" }, "repository": { "type": "git", - "url": "https://github.com/jquery/sizzle.git" + "url": "https://github.com/jquery-archive/sizzle.git" }, "bugs": { - "url": "https://github.com/jquery/sizzle/issues" + "url": "https://github.com/jquery-archive/sizzle/issues" }, "license": "MIT", "files": [ diff --git a/src/sizzle.js b/src/sizzle.js index 4eff41d3..02c81563 100644 --- a/src/sizzle.js +++ b/src/sizzle.js @@ -1221,7 +1221,7 @@ Sizzle.uniqueSort = function( results ) { } // Clear input after sorting to release objects - // See https://github.com/jquery/sizzle/pull/225 + // See https://github.com/jquery-archive/sizzle/pull/225 sortInput = null; return results; From c810094cdaee34bc73509cb73e9b0589f04b5174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82e=CC=A8biowski-Owczarek?= Date: Thu, 7 Sep 2023 16:43:43 +0200 Subject: [PATCH 2/2] Docs: Archive Sizzle, step 2 Add a deprecation notice to the README. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index c2d89ada..dd4d33e8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # Sizzle +-------------------- + +**NOTE: Sizzle is no longer maintained. jQuery versions `3.7.0` or newer no longer depend on Sizzle. Issues with the jQuery selector engine should be reported directly to jQuery at https://github.com/jquery/jquery/issues.** + +-------------------- + __A pure-JavaScript CSS selector engine designed to be easily dropped in to a host library.__ - [More information](https://sizzlejs.com/)