From cc78e414316ebcfdbf53659d7e918542183fd98e Mon Sep 17 00:00:00 2001 From: maliming Date: Fri, 21 Aug 2026 17:40:56 +0800 Subject: [PATCH] Declare bare UMD dependencies and move the vendored license to the package root --- npm/packs/bootstrap-datepicker/package.json | 4 ++-- npm/packs/bootstrap-daterangepicker/package.json | 5 +++-- .../jquery-validation-unobtrusive/{src => }/License.txt | 0 .../src/jquery.validate.unobtrusive.js | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) rename npm/packs/jquery-validation-unobtrusive/{src => }/License.txt (100%) diff --git a/npm/packs/bootstrap-datepicker/package.json b/npm/packs/bootstrap-datepicker/package.json index 5441b1c1ef..8f5f3352a1 100644 --- a/npm/packs/bootstrap-datepicker/package.json +++ b/npm/packs/bootstrap-datepicker/package.json @@ -10,8 +10,8 @@ "access": "public" }, "dependencies": { - "@abp/jquery": "~10.7.0-rc.3", - "bootstrap-datepicker": "1.10.1" + "bootstrap-datepicker": "1.10.1", + "jquery": "~4.0.0" }, "gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431", "homepage": "https://abp.io", diff --git a/npm/packs/bootstrap-daterangepicker/package.json b/npm/packs/bootstrap-daterangepicker/package.json index 4bd07722cd..2e526b04f7 100644 --- a/npm/packs/bootstrap-daterangepicker/package.json +++ b/npm/packs/bootstrap-daterangepicker/package.json @@ -10,8 +10,9 @@ "access": "public" }, "dependencies": { - "@abp/jquery": "~10.7.0-rc.3", - "@abp/moment": "~10.7.0-rc.3" + "@abp/moment": "~10.7.0-rc.3", + "jquery": "~4.0.0", + "moment": "^2.30.1" }, "gitHead": "bb4ea17d5996f01889134c138d00b6c8f858a431", "homepage": "https://abp.io", diff --git a/npm/packs/jquery-validation-unobtrusive/src/License.txt b/npm/packs/jquery-validation-unobtrusive/License.txt similarity index 100% rename from npm/packs/jquery-validation-unobtrusive/src/License.txt rename to npm/packs/jquery-validation-unobtrusive/License.txt diff --git a/npm/packs/jquery-validation-unobtrusive/src/jquery.validate.unobtrusive.js b/npm/packs/jquery-validation-unobtrusive/src/jquery.validate.unobtrusive.js index 3f444d5fa0..b0a34b9b38 100644 --- a/npm/packs/jquery-validation-unobtrusive/src/jquery.validate.unobtrusive.js +++ b/npm/packs/jquery-validation-unobtrusive/src/jquery.validate.unobtrusive.js @@ -2,7 +2,7 @@ * @license * Unobtrusive validation support library for jQuery and jQuery Validate * Copyright (c) .NET Foundation. All rights reserved. - * Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + * Licensed under the MIT License. See License.txt in the package root for license information. * @version v4.0.0 * Patched copy: uses JSON.parse, typeof and Function.prototype.bind instead of the jQuery APIs removed or deprecated in jQuery 4. */