From ec9a387ee0c90e057227f44d34f7654fc3d87f1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Wed, 6 Aug 2025 00:21:57 +0200 Subject: [PATCH] Build: Update the jQuery license link in comment headers Switch https://jquery.org/license to https://jquery.com/license/, note the trailing slash. Leave the trailing slash from the minified version to save size. Closes gh-5685 Ref gh-5686 --- build/tasks/minify.js | 2 +- src/wrapper-esm.js | 2 +- src/wrapper-factory-esm.js | 2 +- src/wrapper-factory.js | 2 +- src/wrapper.js | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/tasks/minify.js b/build/tasks/minify.js index aff942b32..d28c16cf4 100644 --- a/build/tasks/minify.js +++ b/build/tasks/minify.js @@ -24,7 +24,7 @@ export default async function minify( { filename, dir, esm } ) { comments: false, preamble: `/*! jQuery ${ version }` + " | (c) OpenJS Foundation and other contributors" + - " | jquery.org/license */\n" + " | jquery.com/license */\n" }, inlineSourcesContent: false, mangle: true, diff --git a/src/wrapper-esm.js b/src/wrapper-esm.js index a4574a3fa..0e6d49cfa 100644 --- a/src/wrapper-esm.js +++ b/src/wrapper-esm.js @@ -4,7 +4,7 @@ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license - * https://jquery.org/license + * https://jquery.com/license/ * * Date: @DATE */ diff --git a/src/wrapper-factory-esm.js b/src/wrapper-factory-esm.js index 9127d41e6..b7a202712 100644 --- a/src/wrapper-factory-esm.js +++ b/src/wrapper-factory-esm.js @@ -4,7 +4,7 @@ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license - * https://jquery.org/license + * https://jquery.com/license/ * * Date: @DATE */ diff --git a/src/wrapper-factory.js b/src/wrapper-factory.js index 212ff33bf..4c2b0cfc8 100644 --- a/src/wrapper-factory.js +++ b/src/wrapper-factory.js @@ -4,7 +4,7 @@ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license - * https://jquery.org/license + * https://jquery.com/license/ * * Date: @DATE */ diff --git a/src/wrapper.js b/src/wrapper.js index ce7637c63..a17aa8a0c 100644 --- a/src/wrapper.js +++ b/src/wrapper.js @@ -4,7 +4,7 @@ * * Copyright OpenJS Foundation and other contributors * Released under the MIT license - * https://jquery.org/license + * https://jquery.com/license/ * * Date: @DATE */