[Pkg-javascript-commits] [node-buble] 02/02: Add a patch to stop using os-homedir

Julien Puydt julien.puydt at laposte.net
Mon Nov 13 07:56:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository node-buble.

commit c9dd9be029ce857026364ed76e2e3ef547089bc8
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Mon Nov 6 04:07:16 2017 +0100

    Add a patch to stop using os-homedir
---
 debian/patches/os_homedir_is_useless.patch | 39 ++++++++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 40 insertions(+)

diff --git a/debian/patches/os_homedir_is_useless.patch b/debian/patches/os_homedir_is_useless.patch
new file mode 100644
index 0000000..8649d67
--- /dev/null
+++ b/debian/patches/os_homedir_is_useless.patch
@@ -0,0 +1,39 @@
+Description: os-homedir is deprecated, so don't use it
+Author: Julien Puydt
+Forwarded: no
+
+--- a/package-lock.json
++++ b/package-lock.json
+@@ -1198,11 +1198,6 @@
+         "wordwrap": "1.0.0"
+       }
+     },
+-    "os-homedir": {
+-      "version": "1.0.2",
+-      "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz",
+-      "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M="
+-    },
+     "parse-glob": {
+       "version": "3.0.4",
+       "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz",
+--- a/register.js
++++ b/register.js
+@@ -1,7 +1,7 @@
+ var fs = require( 'fs' );
+ var path = require( 'path' );
+ var crypto = require( 'crypto' );
+-var homedir = require( 'os-homedir' );
++var homedir = require( 'os' ).homedir;
+ var buble = require( './' );
+ 
+ var original = require.extensions[ '.js' ];
+--- a/package.json
++++ b/package.json
+@@ -66,7 +66,6 @@
+     "vlq": "0.2.1",
+     "magic-string": "^0.14.0",
+     "minimist": "^1.2.0",
+-    "os-homedir": "^1.0.1",
+     "vlq": "^0.2.2"
+   }
+ }
diff --git a/debian/patches/series b/debian/patches/series
index e26155c..67ffd91 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 fix_error_message.patch
 find_acorn
 fix-buble-path.patch
+os_homedir_is_useless.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-buble.git



More information about the Pkg-javascript-commits mailing list