[Pkg-javascript-commits] [node-asn1.js] 89/202: api: remove one last util.inherits

Bastien Roucariès rouca at moszumanska.debian.org
Thu Apr 20 19:18:57 UTC 2017


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

rouca pushed a commit to branch master
in repository node-asn1.js.

commit a66e9c068543cd085722e8721c748038c44a36e3
Author: Calvin Metcalf <cmetcalf at appgeo.com>
Date:   Mon Jan 12 11:37:44 2015 -0500

    api: remove one last util.inherits
---
 lib/asn1/api.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/asn1/api.js b/lib/asn1/api.js
index a1032c2..c76495e 100644
--- a/lib/asn1/api.js
+++ b/lib/asn1/api.js
@@ -1,5 +1,5 @@
 var asn1 = require('../asn1');
-var util = require('util');
+var inherits = require('inherits');
 var vm = require('vm');
 
 var api = exports;
@@ -20,7 +20,7 @@ Entity.prototype._createNamed = function createNamed(base) {
   var named = vm.runInThisContext('(function ' + this.name + '(entity) {\n' +
     '  this._initNamed(entity);\n' +
     '})');
-  util.inherits(named, base);
+  inherits(named, base);
   named.prototype._initNamed = function initnamed(entity) {
     base.call(this, entity);
   };

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



More information about the Pkg-javascript-commits mailing list