Просмотр исходного кода

upgrading package: npm 6.10.0 -> 6.10.1

Ralf S. Engelschall 6 лет назад
Родитель
Сommit
575772ff84
2 измененных файлов с 19 добавлено и 19 удалено
  1. 17 17
      npm/npm.patch
  2. 2 2
      npm/npm.spec

+ 17 - 17
npm/npm.patch

@@ -1,6 +1,6 @@
 Index: lib/config/core.js
---- lib/config/core.js.orig	2019-01-17 23:01:14.000000000 +0100
-+++ lib/config/core.js	2019-01-18 09:35:37.768622000 +0100
+--- lib/config/core.js.orig	2019-07-11 19:37:53.000000000 +0200
++++ lib/config/core.js	2019-07-12 07:54:52.482074000 +0200
 @@ -292,7 +292,7 @@
        fs.writeFile(target.path, data, 'utf8', function (er) {
          if (er) return then(er)
@@ -11,8 +11,8 @@ Index: lib/config/core.js
            then()
          }
 Index: lib/npm.js
---- lib/npm.js.orig	2019-01-17 23:01:14.000000000 +0100
-+++ lib/npm.js	2019-01-18 09:35:37.768915000 +0100
+--- lib/npm.js.orig	2019-07-11 19:37:53.000000000 +0200
++++ lib/npm.js	2019-07-12 07:54:52.482386000 +0200
 @@ -404,9 +404,7 @@
    Object.defineProperty(npm, 'globalDir',
      {
@@ -25,8 +25,8 @@ Index: lib/npm.js
        enumerable: true
      })
 Index: lib/search/all-package-metadata.js
---- lib/search/all-package-metadata.js.orig	2019-01-18 09:35:37.769261000 +0100
-+++ lib/search/all-package-metadata.js	2019-01-18 09:37:13.610366000 +0100
+--- lib/search/all-package-metadata.js.orig	2019-07-11 19:37:53.000000000 +0200
++++ lib/search/all-package-metadata.js	2019-07-12 07:54:52.482671000 +0200
 @@ -3,7 +3,6 @@
  const BB = require('bluebird')
  
@@ -47,20 +47,20 @@ Index: lib/search/all-package-metadata.js
  }
  
 Index: lib/unbuild.js
---- lib/unbuild.js.orig	2019-01-17 23:01:14.000000000 +0100
-+++ lib/unbuild.js	2019-01-18 09:35:37.769754000 +0100
-@@ -96,7 +96,7 @@
+--- lib/unbuild.js.orig	2019-07-12 07:54:52.482968000 +0200
++++ lib/unbuild.js	2019-07-12 07:56:11.245660000 +0200
+@@ -98,7 +98,7 @@
        !npm.config.get('global')) {
      return cb()
    }
--  var manRoot = path.resolve(npm.config.get('prefix'), 'share', 'man')
-+  var manRoot = path.resolve(npm.config.get('prefix'), 'man')
+-  const manRoot = path.resolve(npm.config.get('prefix'), 'share', 'man')
++  const manRoot = path.resolve(npm.config.get('prefix'), 'man')
    log.verbose('rmMans', 'man files are', pkg.man, 'in', manRoot)
    asyncMap(pkg.man, function (man, cb) {
      if (Array.isArray(man)) {
 Index: lib/utils/correct-mkdir.js
---- lib/utils/correct-mkdir.js.orig	2019-01-17 23:01:14.000000000 +0100
-+++ lib/utils/correct-mkdir.js	2019-01-18 09:35:37.769961000 +0100
+--- lib/utils/correct-mkdir.js.orig	2019-07-11 19:37:53.000000000 +0200
++++ lib/utils/correct-mkdir.js	2019-07-12 07:54:52.483368000 +0200
 @@ -1,4 +1,3 @@
 -var chownr = require('chownr')
  var dezalgo = require('dezalgo')
@@ -77,8 +77,8 @@ Index: lib/utils/correct-mkdir.js
 +  cb(null, st)
  }
 Index: node_modules/bin-links/index.js
---- node_modules/bin-links/index.js.orig	2019-01-17 23:01:14.000000000 +0100
-+++ node_modules/bin-links/index.js	2019-01-18 09:35:37.770178000 +0100
+--- node_modules/bin-links/index.js.orig	2019-07-11 19:37:53.000000000 +0200
++++ node_modules/bin-links/index.js	2019-07-12 07:54:52.483610000 +0200
 @@ -117,7 +117,7 @@
  function linkMans (pkg, folder, parent, gtop, opts) {
    if (!pkg.man || !gtop || process.platform === 'win32') return
@@ -89,8 +89,8 @@ Index: node_modules/bin-links/index.js
  
    // make sure that the mans are unique.
 Index: node_modules/npm-lifecycle/index.js
---- node_modules/npm-lifecycle/index.js.orig	2019-01-17 23:01:14.000000000 +0100
-+++ node_modules/npm-lifecycle/index.js	2019-01-18 09:35:37.770448000 +0100
+--- node_modules/npm-lifecycle/index.js.orig	2019-07-11 19:37:53.000000000 +0200
++++ node_modules/npm-lifecycle/index.js	2019-07-12 07:54:52.483893000 +0200
 @@ -178,7 +178,6 @@
    if (cfgsetting === 'warn-only') {
      if (isDifferentNodeInPath && !shouldPrependCurrentNodeDirToPATH.hasWarned) {

+ 2 - 2
npm/npm.spec

@@ -22,7 +22,7 @@
 ##
 
 #   package version
-%define       V_npm     6.10.0
+%define       V_npm     6.10.1
 %define       V_node12  12.6.0
 %define       V_node10  10.16.0
 %define       V_node8   8.16.0
@@ -38,7 +38,7 @@ Class:        PLUS
 Group:        Archiver
 License:      MIT
 Version:      %{V_npm}
-Release:      20190708
+Release:      20190712
 
 #   list of sources
 Source0:      https://github.com/npm/cli/archive/v%{V_npm}.tar.gz