-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency nodemon to v3.1.9 #1221
Conversation
[puLL-Merge] - remy/nodemon@v3.1.0..v3.1.9 Diffdiff --git .github/workflows/node.js.yml .github/workflows/node.js.yml
index 7629d907..5af7f9e1 100644
--- .github/workflows/node.js.yml
+++ .github/workflows/node.js.yml
@@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
- node-version: [10.x, 12.x, 18.x]
+ node-version: [18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
diff --git .github/workflows/release.yml .github/workflows/release.yml
index 07706003..c2ac4d79 100644
--- .github/workflows/release.yml
+++ .github/workflows/release.yml
@@ -19,7 +19,7 @@ jobs:
uses: actions/setup-node@v4
with:
cache: npm
- node-version: 16
+ node-version: 18
- name: Install dependencies
run: npm ci
- name: Release
diff --git README.md README.md
index e1ad049a..fb645962 100644
--- README.md
+++ README.md
@@ -264,8 +264,9 @@ nodemon --signal SIGHUP server.js
Your application can handle the signal as follows.
\`\`\`js
-process.once("SIGHUP", function () {
+process.on("SIGHUP", function () {
reloadSomeConfiguration();
+ process.kill(process.pid, "SIGTERM");
}) @@ -292,9 +293,10 @@ nodemon sends a kill signal to your application when it sees a file update. If y -process.once('SIGUSR2', function () {
+// important to use `on` and not `once` as nodemon can re-send the kill signal
+process.on('SIGUSR2', function () {
gracefulShutdown(function () {
- process.kill(process.pid, 'SIGUSR2');
+ process.kill(process.pid, 'SIGTERM');
});
}); @@ -372,87 +374,71 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
-
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
-
-
-
+
-
-
+
-
+
-
-
-
-
-
-
-
-
-
-
+
-
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Please note that links to the sponsors above are not direct endorsements nor affiliated with any of contributors of the nodemon project.
diff --git a/index.d.ts b/index.d.ts
+export type NodemonEventListener = {
+export type Nodemon = {
+export type NodemonEventLog = {
+export interface NodemonEventRestart {
+export type NodemonEventQuit = 143 | 130;
+export interface NodemonExecOptions {
+export interface NodemonConfig {
+export interface NodemonSettings extends NodemonConfig, NodemonExecOptions {
+const nodemon: Nodemon = (settings: NodemonSettings): Nodemon => {};
if (arg === '--delay' || arg === '-d') {
var cwd = process.cwd();
@@ -105,7 +108,8 @@ function rulesToMonitor(watch, ignore, config) { function tryBaseDir(dir) {
return false;
debug('rules', rules); @@ -221,8 +227,10 @@ function match(files, monitor, ext) {
@@ -231,7 +239,6 @@ function match(files, monitor, ext) {
@@ -242,8 +249,6 @@ function match(files, monitor, ext) {
diff --git lib/monitor/run.js lib/monitor/run.js const spawnOptions = {
diff --git lib/nodemon.js lib/nodemon.js +/**
diff --git lib/rules/add.js lib/rules/add.js
describe('when nodemon runs (1)', function () {
-describe('events should follow normal flow on user triggered change',
@@ -84,33 +88,38 @@ describe('events should follow normal flow on user triggered change',
function asCLI(cmd) {
function parse(cmd) { describe('nodemon API events', function () {
afterEach(function () {
describe('require-able', function () {
afterEach(function () {
@@ -65,87 +65,71 @@ Features
Please note that links to the sponsors above are not direct endorsements nor affiliated with any of diff --git website/oc.jq website/oc.jq index 2c0d2fdb..76d9bea4 100644 --- website/oc.jq +++ website/oc.jq @@ -8,7 +8,8 @@ def getImage: "368126": "https://user-images.githubusercontent.com/13700/207157616-8b6d3dd2-e7de-4bbf-86b2-d6ad9fb714fb.png", "471843": "https://github-production-user-asset-6210df.s3.amazonaws.com,/13700/277616726-33b554c8-24e0-4570-b8ed-293fb2ab2448.jpg", "501897": "https://github-production-user-asset-6210df.s3.amazonaws.com/13700/286696172-747dca05-a1e8-4d93-a9e9-95054d1566df.png",
@@ -19,8 +20,9 @@ def getUrl:
@@ -33,7 +35,7 @@ def getAlt:
. + [{ manually added
def markdown: $markdown;
|
1eb4193
to
8f34a3c
Compare
This PR contains the following updates:
3.1.0
->3.1.9
Release Notes
remy/nodemon (nodemon)
v3.1.9
Compare Source
Bug Fixes
exitcrash
(9c9de6e)v3.1.8
Compare Source
Bug Fixes
v3.1.7
Compare Source
v3.1.6
Compare Source
Bug Fixes
v3.1.5
Compare Source
v3.1.4
Compare Source
v3.1.3
Compare Source
Bug Fixes
v3.1.2
Compare Source
v3.1.1
Compare Source
Bug Fixes
Configuration
📅 Schedule: Branch creation - "* 0-4 * * 3" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.