Compare commits

...
Sign in to create a new pull request.

25 commits

Author SHA1 Message Date
tjuhasz
8dca4f8f2c Update to version 3.1.11 (rhbz#2414185) 2025-11-18 15:49:55 +01:00
tjuhasz
d59865a6e1 Rebuild for nodejs-packaging
Recently, Node.js changed the way node modules are installed to allow for better parallel functionality and easier unbundling of certain parts of Node.js.

Previously, Node.js was using a symlink, %{_libdir}/node_modules, which pointed to a versioned path, e.g., %{_libdir}/node_modules_22.

This has changed to using a global %{_libdir}/node_modules static shared folder for generic modules and %{_libdir}/node_modules_XX for version-specific modules.

This change is better described in the Fedora change proposal wiki: https://fedoraproject.org/wiki/Changes/NodejsNodeModulesPath.

This also needed to be reflected in nodejs-packaging macros, which forces a rebuild of dependent packages.
2025-11-12 12:08:06 +01:00
Fedora Release Engineering
d32d9b30c0 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 22:53:51 +00:00
tjuhasz
1a3f970c01
update to version 3.1.10 (rhbz#2361851) 2025-04-23 15:49:50 +02:00
Tomas Juhasz
fadc737904 Added patch for CVE-2024-4068 2025-03-18 11:46:10 +00:00
Fedora Release Engineering
df23a3e870 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 20:15:23 +00:00
Honza Horak
2452b76687 Upload the new tar 2025-01-03 16:47:39 +01:00
Andrei Radchenko
9839f82f92 Update to version 3.1.9 (rhbz#2313708) 2024-12-16 14:32:31 +01:00
Fedora Release Engineering
03d5163236 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 19:38:01 +00:00
Jan Staněk
a091b671d4
Update to version 3.1.4 (rhbz#2290334) 2024-06-24 12:39:54 +02:00
Jan Staněk
a50d64a809
Update to version 3.1.2 (rhbz#2284031) 2024-05-31 14:09:33 +02:00
Jan Staněk
bce0d5aebc
Update to 3.1.1 (rhbz#2283282) 2024-05-28 15:44:17 +02:00
Honza Horak
3ad25a5e5c update to 3.1.0 2024-03-18 12:50:55 +01:00
Honza Horak
08285c65aa SPDX conversion
Bundled deps semver, touch, yallist, and other are licensed under ISC license.
2024-02-09 12:30:21 +01:00
Honza Horak
4bdad4d95d update to version 3.0.3 2024-02-09 10:44:28 +01:00
Fedora Release Engineering
afe76f5149 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 09:09:53 +00:00
Fedora Release Engineering
4d27d1f87e Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 09:48:17 +00:00
Jan Staněk
d6ffe4494c
update to version 3.0.1 2023-10-11 15:27:14 +02:00
Jan Staněk
079bad5de1 Convert to %autorelease and %autochangelog
[skip changelog]
2023-10-11 15:25:12 +02:00
Honza Horak
bd4fb82491 Prefer non-versioned (defautl) nodejs version if nothing else requires a specific version
Related: rhbz#2230317
2023-08-09 14:04:59 +02:00
Honza Horak
5a6c5a6673 Let nodemon work with any Node.js version
Resolves: #2230317

A related discussion: https://lists.fedoraproject.org/archives/list/nodejs@lists.fedoraproject.org/thread/JDOUUBB5HQJUUKDPJFGEYAWYCY5S4P6I/
2023-08-09 13:17:26 +02:00
Fedora Release Engineering
55597347c6 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 16:46:53 +00:00
Fedora Release Engineering
1e8bb34526 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 21:41:52 +00:00
Fedora Release Engineering
7fce5be520 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 00:41:04 +00:00
Fedora Release Engineering
35cdc8970d - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 21:19:03 +00:00
5 changed files with 110 additions and 46 deletions

2
.gitignore vendored
View file

@ -1 +1 @@
/nodemon-v2.0.3-bundled.tar.gz
/nodemon-v*-bundled.tar.gz

View file

@ -0,0 +1,38 @@
From 1dfe8b9208dade21baad8344d6e9847eecb5837d Mon Sep 17 00:00:00 2001
From: Aaron Moat <2937187+AaronMoat@users.noreply.github.com>
Date: Tue, 21 May 2024 17:32:41 +1000
Subject: [PATCH] Lower defaultLength to 10000
---
README.md | 2 +-
lib/constants.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
**Description**: Limit the length of the input string. Useful when the input string is generated or your application allows users to pass a string, et cetera.
diff --git a/README.md b/README.md
index 6b94046..f59dd60 100644
--- node_modules/braces/README.md
+++ node_modules/braces/README.md
@@ -178,7 +178,7 @@ console.log(braces.expand('a{b}c'));
**Type**: `Number`
-**Default**: `65,536`
+**Default**: `10,000`
**Description**: Limit the length of the input string. Useful when the input string is generated or your application allows users to pass a string, et cetera.
diff --git a/lib/constants.js b/lib/constants.js
index a937943..2bb3b88 100644
--- node_modules/braces/lib/constants.js
+++ node_modules/braces/lib/constants.js
@@ -1,7 +1,7 @@
'use strict';
module.exports = {
- MAX_LENGTH: 1024 * 64,
+ MAX_LENGTH: 10000,
// Digits
CHAR_0: '0', /* 0 */

50
changelog Normal file
View file

@ -0,0 +1,50 @@
* Wed Aug 09 2023 Honza Horak <hhorak@redhat.com> - 2.0.3-9
- Let nodemon work with any Node.js version
Resolves: #2230317
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri May 01 2020 Honza Horak <hhorak@redhat.com> - 2.0.3-1
- Update to 2.0.3
* Mon Aug 13 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.18.3-1
- Resolves: #1615413
- Updated
- bundled
* Mon Jul 03 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.11.0-2
- rh-nodejs8 rebuild
* Mon Oct 31 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.11.0-1
- Updated with script
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.8.1-6
- rebuilt
* Wed Jan 06 2016 Tomas Hrcka <thrcka@redhat.com> - 1.8.1-5
- Enable scl macros
* Thu Dec 17 2015 Troy Dawson <tdawson@redhat.com> - 1.8.1-2
- Fix dependencies
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 1.8.1-1
- Initial package

View file

@ -5,17 +5,26 @@
%global enable_tests 0
Name: nodejs-%{npm_name}
Version: 2.0.3
Release: 4%{?dist}
Version: 3.1.11
Release: %autorelease
Summary: Simple monitor script for use during development of a node.js app
License: MIT
License: ISC AND MIT
URL: https://github.com/remy/nodemon
Source0: %{npm_name}-v%{version}-bundled.tar.gz
# Patch in the fix for unlimited resource allocation of dependency
# Source: https://github.com/micromatch/braces/commit/415d660c3002d1ab7e63dbf490c9851da80596ff
Patch: 0001-CVE-2024-4068-fix.patch
BuildRequires: nodejs-devel
BuildRequires: nodejs-packaging
BuildRequires: npm
# Let the nodemon work with any nodejs version available
%global __requires_exclude ^\/usr\/bin\/node
Requires: nodejs(engine)
Suggests: nodejs
ExclusiveArch: %{nodejs_arches} noarch
BuildArch: noarch
@ -24,19 +33,19 @@ Simple monitor script for use during development of a node.js app.
For use during development of a node.js based application.
nodemon will watch the files in the directory in which nodemon
was started, and if any files change, nodemon will automatically
nodemon will watch the files in the directory in which nodemon
was started, and if any files change, nodemon will automatically
restart your node application.
nodemon does not require any changes to your code or method of
development. nodemon simply wraps your node application and keeps
an eye on any files that have changed. Remember that nodemon is a
replacement wrapper for node, think of it as replacing the word "node"
nodemon does not require any changes to your code or method of
development. nodemon simply wraps your node application and keeps
an eye on any files that have changed. Remember that nodemon is a
replacement wrapper for node, think of it as replacing the word "node"
on the command line when you run your script.
%prep
%setup -q -n %{npm_name}-%{version}
%patch -P 0
%build
# nothing to do
@ -64,37 +73,4 @@ npm run test
%{_bindir}/nodemon
%changelog
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri May 01 2020 Honza Horak <hhorak@redhat.com> - 2.0.3-1
- Update to 2.0.3
* Mon Aug 13 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.18.3-1
- Resolves: #1615413
- Updated
- bundled
* Mon Jul 03 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.11.0-2
- rh-nodejs8 rebuild
* Mon Oct 31 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.11.0-1
- Updated with script
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.8.1-6
- rebuilt
* Wed Jan 06 2016 Tomas Hrcka <thrcka@redhat.com> - 1.8.1-5
- Enable scl macros
* Thu Dec 17 2015 Troy Dawson <tdawson@redhat.com> - 1.8.1-2
- Fix dependencies
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 1.8.1-1
- Initial package
%autochangelog

View file

@ -1 +1 @@
SHA512 (nodemon-v2.0.3-bundled.tar.gz) = 2314e795ddea7eeda858a6179943f4b500791bb9ef2954de1a81056bf0fca416243af08c84058ffb0748237259c3e47cc785898adffa653393aacf7a5156739e
SHA512 (nodemon-v3.1.11-bundled.tar.gz) = 77a02847c266654c3cb4f49acc74235aa277c7dc786770097790e2f2c5addc4a4db79c23dbcbf9e5938f01b26ad79cb8cf001e76bf51fa28fc927125e8a3e9a8