mirror of https://gitee.com/openkylin/npm.git
format patches
This commit is contained in:
parent
bebbfe5710
commit
20ae6bd3c2
|
@ -1,7 +1,15 @@
|
|||
Description: remove shebang from completion script
|
||||
From: =?utf-8?b?SsOpcsOpbXkgTGFs?= <kapouer@melix.org>
|
||||
Date: Tue, 7 May 2024 15:00:49 +0800
|
||||
Subject: remove shebang from completion script
|
||||
|
||||
Forwarded: not-needed
|
||||
Author: Jérémy Lal <kapouer@melix.org>
|
||||
Last-Update: 2012-04-07
|
||||
---
|
||||
lib/utils/completion.sh | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/lib/utils/completion.sh b/lib/utils/completion.sh
|
||||
index a3e5143..4245007 100755
|
||||
--- a/lib/utils/completion.sh
|
||||
+++ b/lib/utils/completion.sh
|
||||
@@ -1,4 +1,3 @@
|
||||
|
|
|
@ -1,10 +1,18 @@
|
|||
Author: Diane Trout <diane@ghic.org>
|
||||
From: Diane Trout <diane@ghic.org>
|
||||
Date: Tue, 7 May 2024 15:00:49 +0800
|
||||
Subject: Use the Debian packaged version of node-gyp instead
|
||||
|
||||
Forwarded: not-needed
|
||||
Description: Use the Debian packaged version of node-gyp instead
|
||||
of the convenience copy that was removed on repack.
|
||||
Reviewed-By: Xavier Guimard <yadd@debian.org>
|
||||
Last-Update: 2020-10-08
|
||||
|
||||
of the convenience copy that was removed on repack.
|
||||
---
|
||||
bin/node-gyp-bin/node-gyp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/bin/node-gyp-bin/node-gyp b/bin/node-gyp-bin/node-gyp
|
||||
index 70efb6f..ae7cff3 100755
|
||||
--- a/bin/node-gyp-bin/node-gyp
|
||||
+++ b/bin/node-gyp-bin/node-gyp
|
||||
@@ -1,6 +1,6 @@
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
Description: Use source-date-epoch as timestamp source for documentation
|
||||
Author: James Addison <jay+salsa@jp-hosting.net>
|
||||
Origin: https://salsa.debian.org/js-team/npm/-/merge_requests/7
|
||||
Forwarded: no
|
||||
Reviewed-By: Yadd <yadd@debian.org>
|
||||
Last-Update: 2022-04-24
|
||||
|
||||
--- a/docs/bin/docs-build.js
|
||||
+++ b/docs/bin/docs-build.js
|
||||
@@ -30,7 +30,8 @@
|
||||
.replace(/\[([^\]]+)\]\(\/using-npm\/([^)]+)\)/g, replacer)
|
||||
.trim()
|
||||
|
||||
- await fs.writeFile(dest, marked(result), 'utf8')
|
||||
+ const date = new Date(process.env.SOURCE_DATE_EPOCH)
|
||||
+ await fs.writeFile(dest, marked(result, {date}), 'utf8')
|
||||
}
|
||||
|
||||
run(...process.argv.slice(2)).catch((err) => {
|
|
@ -1,11 +1,18 @@
|
|||
Description: don't check for last version
|
||||
Author: Yadd <yadd@debian.org>
|
||||
From: Yadd <yadd@debian.org>
|
||||
Date: Tue, 7 May 2024 15:00:49 +0800
|
||||
Subject: don't check for last version
|
||||
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2022-11-18
|
||||
---
|
||||
lib/utils/update-notifier.js | 81 ++------------------------------------------
|
||||
1 file changed, 2 insertions(+), 79 deletions(-)
|
||||
|
||||
diff --git a/lib/utils/update-notifier.js b/lib/utils/update-notifier.js
|
||||
index a7eaaca..e5e4f19 100644
|
||||
--- a/lib/utils/update-notifier.js
|
||||
+++ b/lib/utils/update-notifier.js
|
||||
@@ -36,85 +36,8 @@
|
||||
@@ -36,85 +36,8 @@ const checkTimeout = async (npm, duration) => {
|
||||
}
|
||||
|
||||
const updateNotifier = async (npm, spec = 'latest') => {
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,11 +1,18 @@
|
|||
Description: fix for chalk 5
|
||||
Author: Yadd <yadd@debian.org>
|
||||
From: Yadd <yadd@debian.org>
|
||||
Date: Tue, 7 May 2024 15:00:49 +0800
|
||||
Subject: fix for chalk 5
|
||||
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2022-12-02
|
||||
---
|
||||
lib/npm.js | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/npm.js b/lib/npm.js
|
||||
index 0bdbcdb..b2fae55 100644
|
||||
--- a/lib/npm.js
|
||||
+++ b/lib/npm.js
|
||||
@@ -352,7 +352,7 @@
|
||||
@@ -352,7 +352,7 @@ class Npm extends EventEmitter {
|
||||
if (!this.color) {
|
||||
level = 0
|
||||
}
|
||||
|
|
|
@ -1,11 +1,18 @@
|
|||
Description: fix for node-https-proxy-agent >= 7
|
||||
Author: Yadd <yadd@debian.org>
|
||||
From: Yadd <yadd@debian.org>
|
||||
Date: Tue, 7 May 2024 15:00:49 +0800
|
||||
Subject: fix for node-https-proxy-agent >= 7
|
||||
|
||||
Forwarded: not-needed
|
||||
Last-Update: 2023-11-23
|
||||
---
|
||||
node_modules/make-fetch-happen/lib/agent.js | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/node_modules/make-fetch-happen/lib/agent.js b/node_modules/make-fetch-happen/lib/agent.js
|
||||
index dd68492..7d871b5 100644
|
||||
--- a/node_modules/make-fetch-happen/lib/agent.js
|
||||
+++ b/node_modules/make-fetch-happen/lib/agent.js
|
||||
@@ -169,8 +169,8 @@
|
||||
@@ -169,8 +169,8 @@ const getAuth = u =>
|
||||
|
||||
const getPath = u => u.pathname + u.search + u.hash
|
||||
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
2004_remove_shebang.patch
|
||||
2011_node-gyp-path.patch
|
||||
#2020_reproducible_documentation_build.patch
|
||||
dont-check-for-last-version.patch
|
||||
drop-__proto__-in-tests.patch
|
||||
fix-for-chalk-5.patch
|
||||
|
|
Loading…
Reference in New Issue