aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-06-13 14:30:37 +0200
committerJakub Jirutka <jakub@jirutka.cz>2021-06-13 14:31:32 +0200
commit943213ca616db7b584b0a92befbe6c414aa16801 (patch)
tree6fa63d91d43081c1f66400adafa9f126ac68d8e9
parent0b75e6f6de51e6daf7f25e1a7ae4830d106101ef (diff)
downloadaports-943213ca616db7b584b0a92befbe6c414aa16801.tar.gz
aports-943213ca616db7b584b0a92befbe6c414aa16801.tar.bz2
aports-943213ca616db7b584b0a92befbe6c414aa16801.tar.xz
main/npm: upgrade to 7.17.0
-rw-r--r--main/npm/APKBUILD8
-rw-r--r--main/npm/dont-check-for-last-version.patch13
-rw-r--r--main/npm/reproducible-documentation-build.patch6
3 files changed, 12 insertions, 15 deletions
diff --git a/main/npm/APKBUILD b/main/npm/APKBUILD
index 7130978d77..73d0826cb2 100644
--- a/main/npm/APKBUILD
+++ b/main/npm/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=npm
-pkgver=7.15.0
+pkgver=7.17.0
pkgrel=0
pkgdesc="The package manager for JavaScript"
url="https://npm.community"
@@ -109,9 +109,9 @@ doc() {
}
sha512sums="
-5478537759fee6f92fed8642e337c5c27802b674c414e0df801653e4272688dee310f626ca0020f4dd692ac8fce48fe2c812222bb370d4a4b0b6990a4f9bd349 npm-cli-7.15.0.tar.gz
-44821978050194c126a9d3c0fb9df9204100d8e88c13a9aa8c0e74769f3a667ce605c1f37e053a658dde6ee8367cf71005ea3f1705b3a95700767bc041a28f15 reproducible-documentation-build.patch
-92728357d9d03a40b275ba01980a569dc456f526a415edc22a4582162ff8dcafe8f32cb42f14bc93ea627f1ac9384a42abe2bcdfb8ed04c06491a27b1efc7e40 dont-check-for-last-version.patch
+01349884845e84b4cf79162624425ed838552b3e0cf248d5f2bad87cadc10c304a3107fdac3a14d60b177a1aa8816227c8b0fbf0e7fde8d27ab391f5ccbe5246 npm-cli-7.17.0.tar.gz
+c75734fc24bf9aac9ae795f49f1145a99b82ec359a05af18531ae5a22edd1a22348faf301d9b6e3d0b68d3333df76136c17d4953ecd4f5f5efdbfb06a227a174 reproducible-documentation-build.patch
+86bcf0d9883073b330dcb90ced00e8293dd011e1587791fadc14eb0c25eedfe7132626f9bfb792ae2587d335464f71b1af1183b5e6a411b04f975ff5aa06cdc7 dont-check-for-last-version.patch
0aed63f6b541378d51794393bf70b6401c7bdbc8c1ebbf35fc8b91c8220fc5ab1753f577908b0dc24bdeaf4f9cabb3bb1a48329c2ac026aba1f479d6a53311d6 make-dont-install-deps.patch
bb0f40db679c4811531e0373cb133dc116cf0efe3e9b4619a73c6897ab440dd99c592fa4f682b72aaef311a231f5b02934b90f9aa538aadb106b49cb3f2ddd91 smoke-tests-npm-location.patch
6d0ce425061ffff1c5d7a42c9908f3382cd77abf81a9c30a62ff6fff1f0d02ff633b2bb090814aa619f7d2a51237b3da7f85d97d0f584e037639b60ccfaf0e96 npmrc
diff --git a/main/npm/dont-check-for-last-version.patch b/main/npm/dont-check-for-last-version.patch
index 56ca23511a..8f08e2236a 100644
--- a/main/npm/dont-check-for-last-version.patch
+++ b/main/npm/dont-check-for-last-version.patch
@@ -1,17 +1,14 @@
-Description: don't check for last version
-Author: Xavier Guimard <yadd@debian.org>
-Forwarded: not-needed
-Last-Update: 2021-03-02
+Don't check for last version
-Patch-Source: https://sources.debian.org/src/npm/7.5.2+ds-2/debian/patches/dont-check-for-last-version.patch
+Patch based on https://sources.debian.org/src/npm/7.5.2+ds-2/debian/patches/dont-check-for-last-version.patch
--- a/lib/utils/update-notifier.js
+++ b/lib/utils/update-notifier.js
-@@ -38,6 +38,8 @@
+@@ -40,6 +40,8 @@
}
- const updateNotifier = module.exports = async (npm, spec = 'latest') => {
-+ // Maintained by Debian JS Team
+ const updateNotifier = async (npm, spec = 'latest') => {
++ // XXX-Patched: Maintained by Alpine's package manager
+ return null;
// never check for updates in CI, when updating npm already, or opted out
if (!npm.config.get('update-notifier') ||
diff --git a/main/npm/reproducible-documentation-build.patch b/main/npm/reproducible-documentation-build.patch
index 2a02d418c7..1021a15a31 100644
--- a/main/npm/reproducible-documentation-build.patch
+++ b/main/npm/reproducible-documentation-build.patch
@@ -2,7 +2,7 @@ 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
-Last-Update: 2020-11-11
+Last-Update: 2021-06-13
Patch-Source: https://sources.debian.org/src/npm/7.5.2+ds-2/debian/patches/2020_reproducible_documentation_build.patch
@@ -15,6 +15,6 @@ Patch-Source: https://sources.debian.org/src/npm/7.5.2+ds-2/debian/patches/2020_
- fs.writeFile(dest, marked(result), 'utf8', function (err) {
+ var date = new Date(process.env.SOURCE_DATE_EPOCH)
+ fs.writeFile(dest, marked(result, {date}), 'utf8', function (err) {
- if (err) return console.log(err)
+ if (err)
+ return console.log(err)
})
- })